#include <wx/app.h>
#include <wx/frame.h>
#include <wx/menu.h>
+ #include <wx/msgdlg.h>
#include <wx/log.h>
#include <wx/textctrl.h>
#endif
#include "copy.xpm"
-#ifdef __WXUNIVERSAL__
- #include "wx/univ/theme.h"
-
- WX_USE_THEME(win32);
- WX_USE_THEME(gtk);
-#endif // __WXUNIVERSAL__
-
// ----------------------------------------------------------------------------
// classes
// ----------------------------------------------------------------------------
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))