X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..fb52c2b67139da20b026475aa48d73522e6afe2b:/include/wx/gtk/clrpicker.h 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;