]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/help/demo.cpp
Fix non-PCH builds (closes #12217)
[wxWidgets.git] / samples / help / demo.cpp
index 5935d59b1ffe74b6d51a4b52dfaa464ecb0b2c0d..505574ad6ade52bd8f837b0e820b00c61c362a87 100644 (file)
@@ -79,8 +79,8 @@
 // ressources
 // ----------------------------------------------------------------------------
 // the application icon
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__)
-    #include "mondrian.xpm"
+#if !defined(__WXMSW__) && !defined(__WXPM__)
+    #include "../sample.xpm"
 #endif
 
 // ----------------------------------------------------------------------------
@@ -396,7 +396,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
 #endif
 {
     // set the frame icon
-    SetIcon(wxICON(mondrian));
+    SetIcon(wxICON(sample));
 
     // create a menu bar
     wxMenu *menuFile = new wxMenu;