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);
// be done.
#ifdef __WXUNIVERSAL__
event.Skip();
+#else
+ wxUnusedVar(event);
#endif
}