// Copy constructors
inline wxBitmap(const wxBitmap& bitmap)
{ Ref(bitmap); if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); }
- inline wxBitmap(const wxBitmap* bitmap) { if (bitmap) Ref(*bitmap); if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); }
// Initialize with raw data
wxBitmap(const char bits[], int width, int height, int depth = 1);
#if wxUSE_XPM_IN_MSW
class wxItem;
// Initialize with XPM data
- wxBitmap(const char **data, wxItem *anItem = NULL);
+ wxBitmap(char **data, wxItem *anItem = NULL);
#endif
// Load a file or resource