X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f07941fc73d4f263a33e767263c4da507ba9bc54..17b1d76b4add82305463d10b9f65668d06169363:/samples/artprov/arttest.cpp diff --git a/samples/artprov/arttest.cpp b/samples/artprov/arttest.cpp index 186fd43003..9a69a2535f 100644 --- a/samples/artprov/arttest.cpp +++ b/samples/artprov/arttest.cpp @@ -20,7 +20,7 @@ #include "wx/wx.h" #endif -#ifndef __WXMSW__ +#if !defined(__WXMSW__) && !defined(__WXPM__) #include "mondrian.xpm" #endif @@ -52,7 +52,7 @@ private: #endif // wxUSE_LOG void OnBrowser(wxCommandEvent& event); void OnPlugProvider(wxCommandEvent& event); - + DECLARE_EVENT_TABLE() }; @@ -156,7 +156,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, 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 @@ -216,7 +216,7 @@ void MyFrame::OnBrowser(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnPlugProvider(wxCommandEvent& event) { if ( event.IsChecked() ) - wxArtProvider::PushProvider(new MyArtProvider); + wxArtProvider::Push(new MyArtProvider); else - wxArtProvider::PopProvider(); + wxArtProvider::Pop(); }