- wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM );
- wxBitmap( const wxImage& image, int depth = -1 ) { (void)CreateFromImage(image, depth); }
+#ifdef wxNEEDS_CHARPP
+ // needed for old GCC
+ wxBitmap(char** data)
+ { *this = wxBitmap(const_cast<const char* const*>(data)); }
+#endif
+ wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_DEFAULT_TYPE );
+#if wxUSE_IMAGE
+ wxBitmap( const wxImage& image, int depth = wxBITMAP_SCREEN_DEPTH )
+ { (void)CreateFromImage(image, depth); }
+#endif // wxUSE_IMAGE