+ wxPalette *GetPalette() const;
+ wxPalette *GetColourMap() const { return GetPalette(); };
+
+ static void InitStandardHandlers() { }
+ static void CleanUpHandlers() { }
+
+ // implementation
+ // --------------
+
+ void SetHeight( int height );
+ void SetWidth( int width );
+ void SetDepth( int depth );
+ void SetPixmap( GdkPixmap *pixmap );
+ void SetBitmap( GdkBitmap *bitmap );
+
+ GdkPixmap *GetPixmap() const;
+ GdkBitmap *GetBitmap() const;
+
+ // Basically, this corresponds to Win32 StretchBlt()
+ wxBitmap Rescale( int clipx, int clipy, int clipwidth, int clipheight, int width, int height );
+protected:
+ bool CreateFromXpm(const char **bits);
+ bool CreateFromImage(const wxImage& image, int depth);
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxBitmap)