From 90e4ceb1c63871e15150fcf03015b85e59579826 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 29 Sep 2019 20:16:05 +0200 Subject: [PATCH] Make wxMask::GetBitmap a public function According to the documentation this function should be declared as public, not protected. --- include/wx/qt/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/qt/bitmap.h b/include/wx/qt/bitmap.h index ef275da7dd..0505d4c3f6 100644 --- a/include/wx/qt/bitmap.h +++ b/include/wx/qt/bitmap.h @@ -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);