]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colrdlgg.h
More progress on wxMotif, incl. wxTreeCtrl/wxListCtrl beginning to work
[wxWidgets.git] / include / wx / generic / colrdlgg.h
index f82865066b868315e1534840913f800355fbce72..b54d4df0fda6ef4258625f4487b1f2bfc499bb89 100644 (file)
@@ -35,9 +35,9 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog
   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;
@@ -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