]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/myframe.cpp
Allow the renderer to also work with wxMemoryDCs
[wxWidgets.git] / samples / xrc / myframe.cpp
index fe36c8acfab43b4167050b1ff41a5eb2a12bda3d..103d03b851d60843674ce90487ade3ec728ee038 100644 (file)
 // Regular resources (the non-XRC kind).
 //-----------------------------------------------------------------------------
 
-// The application icon
-// All non-MSW platforms use an xpm. MSW uses an .ico file
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__)
-    #include "rc/appicon.xpm"
+// the application icon (under Windows and OS/2 it is in resources and even
+// though we could still include the XPM here it would be unused)
+#if !defined(__WXMSW__) && !defined(__WXPM__)
+    #include "../sample.xpm"
 #endif
 
 //-----------------------------------------------------------------------------