X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..d9b33d7001af25479a63df96ca2f130b2cbc21aa:/include/wx/gtk/clrpicker.h?ds=sidebyside diff --git a/include/wx/gtk/clrpicker.h b/include/wx/gtk/clrpicker.h index 5e54c4c298..3998ca027d 100644 --- a/include/wx/gtk/clrpicker.h +++ b/include/wx/gtk/clrpicker.h @@ -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;