]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/clrpicker.h
Implement for selection code.
[wxWidgets.git] / include / wx / gtk / clrpicker.h
index 5e54c4c2984828d8b8c285be60869509a0a52eac..3998ca027dd4ff50fc7d3e2c431c7be01ac9f04e 100644 (file)
@@ -52,13 +52,13 @@ public:     // overrides
                 const wxValidator& validator = wxDefaultValidator,
                 const wxString& name = wxColourPickerWidgetNameStr);
 
+protected:
     void UpdateColour();
 
-
 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;