]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mdi/mdi.cpp
Fixed compilation problem.
[wxWidgets.git] / samples / mdi / mdi.cpp
index 221fad9643a7845d689a5ce9e4958ca93a907528..529f7547928ca8f63bb293d4025e0fa68a212877 100644 (file)
@@ -275,7 +275,13 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) )
     subframe->Show(TRUE);
 }
 
     subframe->Show(TRUE);
 }
 
-void MyFrame::OnSize(wxSizeEvent& event)
+void MyFrame::OnSize(wxSizeEvent& 
+                                  #ifdef __WXUNIVERSAL__
+                                  event
+                                  #else
+                                  WXUNUSED(event)
+                                  #endif
+                                  )
 {
     int w, h;
     GetClientSize(&w, &h);
 {
     int w, h;
     GetClientSize(&w, &h);