From 5f58391f7032da2c2e225346c1a468cce9d28955 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Sep 2003 07:18:26 +0000 Subject: [PATCH] Removed warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/mdi/mdi.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index 221fad9643..529f754792 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -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); -- 2.45.2