]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/bitmap.h
Moved overridden SetMinSize() to base class.
[wxWidgets.git] / include / wx / os2 / bitmap.h
index a809df37ad622bda7bc2028ee88e6efb6669d6d9..b19a965bd9b3ecb2b5b0ad511b86cb9408882f69 100644 (file)
@@ -85,6 +85,13 @@ public:
 
     // Initialize with XPM data
     wxBitmap(const char* const* bits);
+#if defined (__GNUC__) && __GNUC__ < 3
+    // needed for old GCC
+    wxBitmap(char** data)
+    {
+        *this = wxBitmap(wx_const_cast(const char* const*, data));
+    }
+#endif
 
     // Load a resource
     wxBitmap( int             nId