X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564a150b1f7c63a060c1b205a7cd50035031cd4b..cf0cf17b0058bca4f7144b474a906d73b4fd06ef:/include/wx/mgl/colour.h diff --git a/include/wx/mgl/colour.h b/include/wx/mgl/colour.h index 1353189107..ac3c8e2a16 100644 --- a/include/wx/mgl/colour.h +++ b/include/wx/mgl/colour.h @@ -69,16 +69,19 @@ public: } bool operator != (const wxColour& colour) const { return !(*this == colour); } + void InitFromName(const wxString& colourName); + +protected: + + // Helper function + void Init(); + private: bool m_isInit; unsigned char m_red; unsigned char m_blue; unsigned char m_green; - // ctors helpers - void Init(); - void InitFromName(const wxString& colourName); - private: DECLARE_DYNAMIC_CLASS(wxColour) };