Applied patch [ 807060 ] warning free demos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-18 13:33:34 +00:00
parent f0b1ccde63
commit babd36de3a
11 changed files with 88 additions and 88 deletions

View File

@@ -608,7 +608,7 @@ bool MyApp::OnInit()
// randomize();
pages[0] = 0;
TheMainWindow = new MainWindow(NULL, 500, _T("wxPoem"), wxPoint(XPos, YPos), wxSize(100, 100), wxCAPTION|wxMINIMIZE_BOX|wxSYSTEM_MENU);
TheMainWindow = new MainWindow(NULL, 500, _T("wxPoem"), wxPoint(XPos, YPos), wxSize(100, 100), wxCAPTION|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX);
#ifdef wx_x
TheMainWindow->SetIcon(Icon(_T("wxpoem")));
@@ -775,7 +775,7 @@ void MyCanvas::OnMouseEvent(wxMouseEvent& event)
// Process characters
void MyCanvas::OnChar(wxKeyEvent& event)
{
switch (event.KeyCode())
switch (event.GetKeyCode())
{
case 'n':
case 'N':