X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564a150b1f7c63a060c1b205a7cd50035031cd4b..6bc3b8e9680e8aa3d50ae4bb41dad22c6dd3ce1b:/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)
 };