]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
disable new events for MSVC 7, it fails to compile it (#10000)
[wxWidgets.git] / samples / mdi / mdi.cpp
index f923e543dab9e18682bcc5e6f9d566b8a76d3153..047adfa6eb2c95104e2c1be2331c2153c4d00162 100644 (file)
@@ -229,13 +229,7 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) )
     subframe->Show(true);
 }
 
-void MyFrame::OnSize(wxSizeEvent&
-                                  #ifdef __WXUNIVERSAL__
-                                  event
-                                  #else
-                                  WXUNUSED(event)
-                                  #endif
-                                  )
+void MyFrame::OnSize(wxSizeEvent& event)
 {
     int w, h;
     GetClientSize(&w, &h);
@@ -248,6 +242,8 @@ void MyFrame::OnSize(wxSizeEvent&
     // be done.
 #ifdef __WXUNIVERSAL__
     event.Skip();
+#else
+    wxUnusedVar(event);
 #endif
 }