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);
|
||||
virtual ~wxMask();
|
||||
|
||||
wxBitmap GetBitmap() const;
|
||||
|
||||
// Implementation
|
||||
QBitmap *GetHandle() const;
|
||||
|
||||
@@ -119,8 +121,6 @@ protected:
|
||||
bool InitFromColour(const wxBitmap& bitmap, const wxColour& colour) wxOVERRIDE;
|
||||
bool InitFromMonoBitmap(const wxBitmap& bitmap) wxOVERRIDE;
|
||||
|
||||
wxBitmap GetBitmap() const;
|
||||
|
||||
protected:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxMask);
|
||||
|
||||
|
Reference in New Issue
Block a user