]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/colour.cpp
For consistency with other ports, send TEXT event after SELECTED event
[wxWidgets.git] / src / palmos / colour.cpp
index a7581c47285edd3eb41a2a592a47e3f3656d0d2c..27d30108234888cf98dd4d78371bbbcd4851d3ef 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "colour.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 #include "wx/colour.h"
@@ -110,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;
 }
-