X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42ed75321c19f7e77a62a451726c0c2131d8933a..bd76e17e0f94ccb5459d0510b0234237aa2060f7:/samples/mdi/mdi.cpp diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index a915f7fffb..529f754792 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// @@ -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);