Move code for creating a disabled bitmap to wxBitmap
To allow using it from multiple places
This commit is contained in:
@@ -136,6 +136,7 @@ public:
|
||||
cairo_t* CairoCreate() const;
|
||||
void Draw(cairo_t* cr, int x, int y, bool useMask = true, const wxColour* fg = NULL, const wxColour* bg = NULL) const;
|
||||
void SetSourceSurface(cairo_t* cr, int x, int y, const wxColour* fg = NULL, const wxColour* bg = NULL) const;
|
||||
wxBitmap CreateDisabled() const;
|
||||
#else
|
||||
GdkPixmap *GetPixmap() const;
|
||||
bool HasPixmap() const;
|
||||
|
Reference in New Issue
Block a user