]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/oleauto/oleauto.cpp
Add support for id ranges to XRC.
[wxWidgets.git] / samples / oleauto / oleauto.cpp
index 383ef4d01284af008689cec592970bd8b546954f..18a83c83598b08a6f1420bf0bb7705a360dbf00c 100644 (file)
@@ -40,8 +40,8 @@
 // ressources
 // ----------------------------------------------------------------------------
 // the application icon
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__)
-    #include "mondrian.xpm"
+#if !defined(__WXMSW__) && !defined(__WXPM__)
+    #include "../sample.xpm"
 #endif
 
 // ----------------------------------------------------------------------------
@@ -152,7 +152,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
        : wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
 {
     // set the frame icon
-    SetIcon(wxICON(mondrian));
+    SetIcon(wxICON(sample));
 
     // create a menu bar
     wxMenu *menuFile = new wxMenu;