]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/colour.cpp
disallow creation of wxDC objects and made wxDC an ABC; use wxDCTemp instead of wxDC...
[wxWidgets.git] / src / palmos / colour.cpp
index 42b1ea79a6240390544ee5673727edcfb3767c0b..27d30108234888cf98dd4d78371bbbcd4851d3ef 100644 (file)
@@ -106,5 +106,8 @@ wxColour::~wxColour()
 
 void wxColour::Set(unsigned char r, unsigned char g, unsigned char b)
 {
+    m_red = r;
+    m_green = g;
+    m_blue = b;
+    m_isInit = true;
 }
-