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;
// static bool colourDialogCancelled;
public:
wxGenericColourDialog(void);
- wxGenericColourDialog(wxWindow *parent, wxColourData *data = NULL);
+ wxGenericColourDialog(wxWindow *parent, wxColourData *data = (wxColourData *) NULL);
~wxGenericColourDialog(void);
- bool Create(wxWindow *parent, wxColourData *data = NULL);
+ bool Create(wxWindow *parent, wxColourData *data = (wxColourData *) NULL);
int ShowModal(void);
wxColourData GetColourData(void) { return colourData; }
DECLARE_EVENT_TABLE()
};
-#ifdef __GTK__
+#ifdef __WXGTK__
typedef wxGenericColourDialog wxColourDialog;
#endif