// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-// #pragma implementation
-#endif
-
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
// X seems to require a forced resize
int x, y;
frame->GetSize(&x, &y);
- frame->SetSize(wxDefaultPosition.x, wxDefaultPosition.y, x, y);
+ frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y);
#endif
frame->Show(true);
}
canvas->view = (wxView *) NULL;
canvas = (MyCanvas *) NULL;
- wxString s(wxTheApp->GetAppName());
+ wxString s(wxTheApp->GetAppDisplayName());
if (frame)
frame->SetTitle(s);
// X seems to require a forced resize
int x, y;
frame->GetSize(&x, &y);
- frame->SetSize(wxDefaultPosition.x, wxDefaultPosition.y, x, y);
+ frame->SetSize(wxDefaultCoord, wxDefaultCoord, x, y);
#endif
frame->Show(true);