#if wxUSE_COLOURPICKERCTRL
-#include "wx/control.h"
#include "wx/pickerbase.h"
// used, a textctrl next to it.
// ----------------------------------------------------------------------------
-#define wxCLRP_USE_TEXTCTRL wxPB_USE_TEXTCTRL
+#define wxCLRP_USE_TEXTCTRL (wxPB_USE_TEXTCTRL)
#define wxCLRP_DEFAULT_STYLE 0
class WXDLLIMPEXP_CORE wxColourPickerCtrl : public wxPickerBase
// event handler for our picker
void OnColourChange(wxColourPickerEvent &);
+protected:
virtual long GetPickerStyle(long style) const
{ return (style & wxCLRP_SHOW_LABEL); }
-protected:
-
// true if the next UpdateTextCtrl() call is to ignore
bool m_bIgnoreNextTextCtrlUpdate;