]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gdicmn.h
1. bug in wxString::find_first_of() fixed
[wxWidgets.git] / include / wx / gdicmn.h
index b89c81760a0b360d55e73833151795b6bdc53ec0..c392d75df6c402ec7442e41f6efde2f4cebface4 100644 (file)
@@ -163,7 +163,10 @@ enum wxStockCursor
 
 #if defined(__WXMSW__) || defined(__WXPM__)
     #define wxBITMAP(name) wxBitmap(#name, wxBITMAP_TYPE_RESOURCE)
-#else // !(Windows || OS2)
+#elif defined(__WXGTK__) || defined(__WXMOTIF__)
+    // Initialize from an included XPM
+    #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm )
+#else // other platforms
     #define wxBITMAP(name) wxBitmap(name##_xpm, wxBITMAP_TYPE_XPM)
 #endif // platform