]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/clrpicker.h
1. more accurate conversion from 8-bit wx color to 16-bit GDK color
[wxWidgets.git] / include / wx / gtk / clrpicker.h
index 5a301ad9b6bf012cac563a7e4e601948004ae3b0..3998ca027dd4ff50fc7d3e2c431c7be01ac9f04e 100644 (file)
@@ -57,8 +57,8 @@ protected:
 
 public:     // used by the GTK callback only
 
-    GdkColor *GetGdkColor() const
-        { return m_colour.GetColor(); }
+    void SetGdkColor(const GdkColor& gdkColor)
+        { m_colour = wxColor(gdkColor); }
 
     wxWindow *m_topParent;