]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/clrpicker.h
[ 1522987 ] wxComboCtrl crashes if TAB is pressed while popup is open
[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;