X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef77f91e5be312b09b5b3cb6114f05b593376db1..e9aad10ab71721934d6c297cb4cec01f71782a0f:/include/wx/generic/colrdlgg.h diff --git a/include/wx/generic/colrdlgg.h b/include/wx/generic/colrdlgg.h index f82865066b..23fac19e1a 100644 --- a/include/wx/generic/colrdlgg.h +++ b/include/wx/generic/colrdlgg.h @@ -76,10 +76,10 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog // 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; } @@ -116,7 +116,7 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog DECLARE_EVENT_TABLE() }; -#ifdef __GTK__ +#ifdef __WXGTK__ typedef wxGenericColourDialog wxColourDialog; #endif