bool Create(wxWindow *parent, wxColourData *data = (wxColourData *) NULL);
int ShowModal(void);
- wxColourData GetColourData(void) { return colourData; }
+ wxColourData &GetColourData(void) { return colourData; }
// Internal functions
void OnMouseEvent(wxMouseEvent& event);
void OnPaint(wxPaintEvent& event);
- bool OnClose(void);
-
virtual void CalculateMeasurements(void);
virtual void CreateWidgets(void);
virtual void InitializeColours(void);
virtual void OnBasicColourClick(int which);
virtual void OnCustomColourClick(int which);
-/*
- virtual void OnOk(void);
- virtual void OnCancel(void);
- virtual void OnAddCustom(void);
-*/
void OnAddCustom(wxCommandEvent& event);
void OnRedSlider(wxCommandEvent& event);
void OnGreenSlider(wxCommandEvent& event);
void OnBlueSlider(wxCommandEvent& event);
+ void OnCloseWindow(wxCloseEvent& event);
+
DECLARE_EVENT_TABLE()
};