]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/colour.h
Replaced all occurences of id with winid for Objective-C++ compatibility
[wxWidgets.git] / include / wx / mgl / colour.h
index eb75ad93ba210c1ea0f79304a4e3aa677aed1e00..13531891078118e2dec5819aac79b0a37d90c304 100644 (file)
@@ -25,7 +25,8 @@ public:
       // default
     wxColour();
       // from RGB
-    wxColour(unsigned char red, unsigned char green, unsigned char blue);
+    wxColour(unsigned char red, unsigned char green, unsigned char blue)
+        { Set(red, green, blue); }
     wxColour(unsigned long colRGB) { Set(colRGB); }
 
       // implicit conversion from the colour name
@@ -74,7 +75,8 @@ private:
     unsigned char m_blue;
     unsigned char m_green;
 
-    // helper func
+    // ctors helpers
+    void Init();
     void InitFromName(const wxString& colourName);
 
 private: