MyFrame *frame = new MyFrame((wxFrame *) NULL);
// Give it an icon
-#ifdef wx_msw
+#ifdef __WXMSW__
frame->SetIcon(wxIcon("mondrian"));
+#else
frame->SetIcon(wxIcon(mondrian_xpm));
#endif
{}
// Intercept menu commands
-void MyFrame::OnQuit(wxCommandEvent& event)
+void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
{
Close(TRUE);
}