]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/bitmap.h
fix wxOS2 build where OpenGL headers are available but there's no wxGlCanvas implemen...
[wxWidgets.git] / include / wx / os2 / bitmap.h
index 82639748f2fe80e64d0db466b5d3fe8525bf8d1c..9915a6a14df211470148f3ba3b36605a71b62d8e 100644 (file)
@@ -91,13 +91,13 @@ public:
     // needed for old GCC
     wxBitmap(char** data)
     {
-        *this = wxBitmap(wx_const_cast(const char* const*, data));
+        *this = wxBitmap(const_cast<const char* const*>(data));
     }
 #endif
 
     // Load a resource
     wxBitmap( int             nId
-             ,wxBitmapType    lType = wxBITMAP_TYPE_BMP_RESOURCE
+             ,wxBitmapType    lType = wxBITMAP_DEFAULT_TYPE
             );
 
     // For compatiability with other ports, under OS/2 does same as default ctor
@@ -161,10 +161,10 @@ public:
                         ,int   nDepth = 1
                        );
     virtual bool LoadFile( int             nId
-                          ,wxBitmapType    lType = wxBITMAP_TYPE_BMP_RESOURCE
+                          ,wxBitmapType    lType = wxBITMAP_DEFAULT_TYPE
                          );
     virtual bool LoadFile( const wxString& rName
-                          ,wxBitmapType    lType = wxBITMAP_TYPE_XPM
+                          ,wxBitmapType    lType = wxBITMAP_DEFAULT_TYPE
                          );
     virtual bool SaveFile( const wxString&  rName
                           ,wxBitmapType     lType