]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/bitmap.h
fix for Borland 5.5
[wxWidgets.git] / include / wx / msw / bitmap.h
index b176f616e5a6f642dcfa09d86bf9422d2e117c06..3a40de04cc6225d6a54f173cbc049367ac6b21f0 100644 (file)
@@ -45,6 +45,13 @@ public:
 
     // Initialize with XPM data
     wxBitmap(const char* const* data);
+#ifdef __BORLANDC__
+    // needed for Borland 5.5
+    wxBitmap(char** data)
+    {
+        *this = wxBitmap(wx_const_cast(const char* const*, data));
+    }
+#endif
 
     // Load a file or resource
     wxBitmap(const wxString& name, wxBitmapType type = wxBITMAP_TYPE_BMP_RESOURCE);