]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/colordlg.h
Committing in .
[wxWidgets.git] / include / wx / colordlg.h
index 7500259cb85009f9b8a4734960c33ae7d13e46a7..984ce43dc84f43764a4f7b2b8db647b7f84b28f6 100644 (file)
 #include "wx/generic/colrdlgg.h"
 #endif
 
-#ifndef __WXMSW__
+#if !defined(__WXMSW__)
 #define wxColourDialog wxGenericColourDialog
-#define sm_classwxColourDialog sm_classwxColourDialog
+#define sm_classwxColourDialog sm_classwxGenericColourDialog
 #endif
 
+// get the colour from user and return it
+wxColour WXDLLEXPORT wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
+                                         const wxColour& colInit = wxNullColour);
+
 #endif
     // _WX_COLORDLG_H_BASE_