fixed wxBITMAP for Motif

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 1999-11-29 17:33:44 +00:00
parent c1b43f8220
commit b8aa1680f2

View 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