]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/ogledit/ogledit.cpp
Changes that were in aclocal.m4 but not here
[wxWidgets.git] / contrib / samples / ogl / ogledit / ogledit.cpp
index 44226b4ac0ba92540965fa7e201c81b87981d654..b69f7dece33ea47d8b4847b2c4782c316c106cb5 100644 (file)
@@ -154,7 +154,7 @@ MyFrame::MyFrame(wxDocManager *manager, wxFrame *frame, const wxString& title,
   editMenu = NULL;
 }
 
-void MyFrame::OnSize(wxSizeEvent& WXUNUSED(event))
+void MyFrame::OnSize(wxSizeEvent& event)
 {
   if (canvas && palette)
   {
@@ -172,6 +172,7 @@ void MyFrame::OnSize(wxSizeEvent& WXUNUSED(event))
     palette->SetSize(paletteX, paletteY, paletteW, paletteH);
     canvas->SetSize(canvasX, canvasY, canvasW, canvasH);
   }
+  event.Skip();
 }
 
 void MyFrame::OnCloseWindow(wxCloseEvent& event)