Blame mathgl-2.4.1-gcc7.patch
|
Dmitrij S. Kryzhevich |
09bdd5e |
diff -urp mathgl-2.4.1/examples/wx_example.cpp mathgl-2.4.1-gcc7/examples/wx_example.cpp
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
--- mathgl-2.4.1/examples/wx_example.cpp 2017-12-05 12:02:01.771791180 +0700
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
+++ mathgl-2.4.1-gcc7/examples/wx_example.cpp 2017-12-05 15:41:42.622938431 +0700
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
@@ -53,7 +53,7 @@ IMPLEMENT_APP(testApp)
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
//-----------------------------------------------------------------------------
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
bool testApp::OnInit()
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
{
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
- testFrame* frame = new testFrame(0L, _("MathGL + wxWidgets sample"));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
+ testFrame* frame = new testFrame(0L, wxString(_("MathGL + wxWidgets sample")));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
frame->Show();
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
return true;
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
}
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
@@ -68,8 +68,8 @@ testFrame::testFrame(wxFrame *frame, con
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
// create a menu bar
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
wxMenuBar* mbar = new wxMenuBar();
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
wxMenu* fileMenu = new wxMenu(_T(""));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
- fileMenu->Append(idMenuQuit, _("&Quit\tAlt-F4"), _("Quit the application"));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
- mbar->Append(fileMenu, _("&File"));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
+ fileMenu->Append(idMenuQuit, wxString(_("&Quit\tAlt-F4")), wxString(_("Quit the application")));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
+ mbar->Append(fileMenu, wxString(_("&File")));
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
SetMenuBar(mbar);
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
SetSize(800,620);
|
|
Dmitrij S. Kryzhevich |
09bdd5e |
|