wxWindow *dialogParent;
// Area reserved for grids of colours
- wxRectangle standardColoursRect;
- wxRectangle customColoursRect;
- wxRectangle singleCustomColourRect;
+ wxRect standardColoursRect;
+ wxRect customColoursRect;
+ wxRect singleCustomColourRect;
// Size of each colour rectangle
- wxIntPoint smallRectangleSize;
+ wxPoint smallRectangleSize;
// For single customizable colour
- wxIntPoint customRectangleSize;
+ wxPoint customRectangleSize;
// Grid spacing (between rectangles)
int gridSpacing;
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);