]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed wxBITMAP for Motif
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Nov 1999 17:33:44 +0000 (17:33 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 29 Nov 1999 17:33:44 +0000 (17:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gdicmn.h

index ed81546eecf445b753f7ffe111ef89449e3d9a55..c392d75df6c402ec7442e41f6efde2f4cebface4 100644 (file)
@@ -163,10 +163,10 @@ enum wxStockCursor
 
 #if defined(__WXMSW__) || defined(__WXPM__)
     #define wxBITMAP(name) wxBitmap(#name, wxBITMAP_TYPE_RESOURCE)
-#elif defined(__WXGTK__)
+#elif defined(__WXGTK__) || defined(__WXMOTIF__)
     // Initialize from an included XPM
     #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm )
-#else // !(Windows || OS2)
+#else // other platforms
     #define wxBITMAP(name) wxBitmap(name##_xpm, wxBITMAP_TYPE_XPM)
 #endif // platform