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:
@@ -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':
|
||||
|
Reference in New Issue
Block a user