]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/colour.h
added a few more composite functions
[wxWidgets.git] / include / wx / mgl / colour.h
index 13531891078118e2dec5819aac79b0a37d90c304..ac3c8e2a162b6c283138f4bc7844559d74372c1d 100644 (file)
@@ -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)
 };