]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/clrpicker.h
Use proper format in wxGTK clipboard selection handler.
[wxWidgets.git] / include / wx / gtk / clrpicker.h
index 1ddbfe3b1818fb5e41879d067c75f26a7e1bb5a1..7f80b7dd354d43d8cf1ca0dece01b5b86cf663dd 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef _WX_GTK_CLRPICKER_H_
 #define _WX_GTK_CLRPICKER_H_
 
 #ifndef _WX_GTK_CLRPICKER_H_
 #define _WX_GTK_CLRPICKER_H_
 
+#include "wx/button.h"
+
 //-----------------------------------------------------------------------------
 // wxColourButton
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 // wxColourButton
 //-----------------------------------------------------------------------------
@@ -50,8 +52,8 @@ protected:
 
 public:     // used by the GTK callback only
 
 
 public:     // used by the GTK callback only
 
-    void SetGdkColor(const GdkColor& gdkColor)
-        { m_colour = wxColor(gdkColor); }
+    void GTKSetColour(const wxColour& colour)
+        { m_colour = colour; }
 
     wxWindow *m_topParent;
 
 
     wxWindow *m_topParent;