Make wxMask::GetBitmap a public function
According to the documentation this function should be declared as public, not protected.
This commit is contained in:
@@ -109,6 +109,8 @@ public:
|
|||||||
wxMask(const wxBitmap& bitmap);
|
wxMask(const wxBitmap& bitmap);
|
||||||
virtual ~wxMask();
|
virtual ~wxMask();
|
||||||
|
|
||||||
|
wxBitmap GetBitmap() const;
|
||||||
|
|
||||||
// Implementation
|
// Implementation
|
||||||
QBitmap *GetHandle() const;
|
QBitmap *GetHandle() const;
|
||||||
|
|
||||||
@@ -119,8 +121,6 @@ protected:
|
|||||||
bool InitFromColour(const wxBitmap& bitmap, const wxColour& colour) wxOVERRIDE;
|
bool InitFromColour(const wxBitmap& bitmap, const wxColour& colour) wxOVERRIDE;
|
||||||
bool InitFromMonoBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
bool InitFromMonoBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
||||||
|
|
||||||
wxBitmap GetBitmap() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
wxDECLARE_DYNAMIC_CLASS(wxMask);
|
wxDECLARE_DYNAMIC_CLASS(wxMask);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user