]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed warnings
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Sep 2003 07:18:26 +0000 (07:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Sep 2003 07:18:26 +0000 (07:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/mdi/mdi.cpp

index 221fad9643a7845d689a5ce9e4958ca93a907528..529f7547928ca8f63bb293d4025e0fa68a212877 100644 (file)
@@ -275,7 +275,13 @@ void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) )
     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);