]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colrdlgg.h
wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
[wxWidgets.git] / include / wx / generic / colrdlgg.h
index c0629c183e4144faf452ab4eb3b9824132d02dd7..23fac19e1a07133fe668f677b0b352d7b1646c0d 100644 (file)
@@ -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,6 +116,8 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog
 DECLARE_EVENT_TABLE()
 };
 
+#ifdef __WXGTK__
 typedef wxGenericColourDialog wxColourDialog;
+#endif
 
 #endif