X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e421922f90186d0619a806d277a0a2182e61b5fb..6a54cc2a1156229f1db27ec816c9be84e8da2ee3:/samples/menu/menu.cpp diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 58abd848dd..0751bad75d 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -28,6 +28,7 @@ #include #include #include + #include #include #include #endif @@ -39,13 +40,6 @@ #include "copy.xpm" -#ifdef __WXUNIVERSAL__ - #include "wx/univ/theme.h" - - WX_USE_THEME(win32); - WX_USE_THEME(gtk); -#endif // __WXUNIVERSAL__ - // ---------------------------------------------------------------------------- // classes // ---------------------------------------------------------------------------- @@ -430,14 +424,9 @@ void MyFrame::OnClearLog(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { -#ifdef __WXUNIVERSAL__ - // wxMessageBox not implemented yet - wxLogMessage("wxWindows menu sample\n© 1999-2001 Vadim Zeitlin"); -#else (void)wxMessageBox("wxWindows menu sample\n© 1999-2001 Vadim Zeitlin", "About wxWindows menu sample", wxICON_INFORMATION); -#endif } void MyFrame::OnDeleteMenu(wxCommandEvent& WXUNUSED(event))