+ // creates the bitmap from XPM data, supposed to be called from ctor
+ bool CreateFromXpm(const char **bits);
+
+#if wxUSE_IMAGE
+ // creates the bitmap from wxImage, supposed to be called from ctor
+ bool CreateFromImage(const wxImage& image, int depth);
+#endif // wxUSE_IMAGE
+
+#if wxUSE_DIB_FOR_BITMAP
+ void *CreateDIB(int width, int height, int depth);
+ void CopyDIBLine(void* src, void* dest, int count) const;
+#endif
+