X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e421922f90186d0619a806d277a0a2182e61b5fb..f2616db56739e4962f683f59ac9e207756efe23c:/samples/menu/menu.cpp?ds=sidebyside 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))