#include "wx/wx.h"
#endif
-#ifndef __WXMSW__
+#if !defined(__WXMSW__) && !defined(__WXPM__)
#include "mondrian.xpm"
#endif
#endif // wxUSE_LOG
void OnBrowser(wxCommandEvent& event);
void OnPlugProvider(wxCommandEvent& event);
-
+
DECLARE_EVENT_TABLE()
};
wxMenu *helpMenu = new wxMenu;
helpMenu->Append(wxID_ABOUT, _T("&About...\tF1"), _T("Show about dialog"));
- menuFile->AppendCheckItem(ID_PlugProvider, _T("&Plug-in art provider"), _T("Enable custom art provider"));
+ menuFile->AppendCheckItem(ID_PlugProvider, _T("&Plug-in art provider"), _T("Enable custom art provider"));
menuFile->AppendSeparator();
#if wxUSE_LOG
void MyFrame::OnPlugProvider(wxCommandEvent& event)
{
if ( event.IsChecked() )
- wxArtProvider::PushProvider(new MyArtProvider);
+ wxArtProvider::Push(new MyArtProvider);
else
- wxArtProvider::PopProvider();
+ wxArtProvider::Pop();
}