X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0532484d0f2f5fd592c16522a2b45e84422c9a5f..a407ff6ae8668b8f37b139a9420bcc041fa8adc1:/include/wx/gdicmn.h diff --git a/include/wx/gdicmn.h b/include/wx/gdicmn.h index 063bce9b80..199f6aa679 100644 --- a/include/wx/gdicmn.h +++ b/include/wx/gdicmn.h @@ -78,6 +78,8 @@ enum wxBitmapType wxBITMAP_TYPE_PICT_RESOURCE, wxBITMAP_TYPE_ICON, wxBITMAP_TYPE_ICON_RESOURCE, + wxBITMAP_TYPE_ANI, + wxBITMAP_TYPE_IFF, wxBITMAP_TYPE_MACCURSOR, wxBITMAP_TYPE_MACCURSOR_RESOURCE, wxBITMAP_TYPE_ANY = 50 @@ -153,8 +155,8 @@ enum wxStockCursor // Load from a resource #define wxICON(X) wxIcon("" #X "") #elif defined(__WXMGL__) - // Load from a resource - #define wxICON(X) wxIcon("" #X "") + // Initialize from an included XPM + #define wxICON(X) wxIcon( (const char**) X##_xpm ) #elif defined(__WXGTK__) // Initialize from an included XPM #define wxICON(X) wxIcon( (const char**) X##_xpm ) @@ -173,9 +175,9 @@ enum wxStockCursor under Unix bitmaps live in XPMs and under Windows they're in ressources. */ -#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMGL__) +#if defined(__WXMSW__) || defined(__WXPM__) #define wxBITMAP(name) wxBitmap(#name, wxBITMAP_TYPE_RESOURCE) -#elif defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) +#elif defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) // Initialize from an included XPM #define wxBITMAP(name) wxBitmap( (const char**) name##_xpm ) #else // other platforms