]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/colordlg.h
fixed GetMargins() compilation
[wxWidgets.git] / include / wx / colordlg.h
index a8ca97c25bcdc9154d5c9b3ddacae9a4b67e1926..984ce43dc84f43764a4f7b2b8db647b7f84b28f6 100644 (file)
 #include "wx/generic/colrdlgg.h"
 #elif defined(__WXMAC__)
 #include "wx/generic/colrdlgg.h"
+#elif defined(__WXPM__)
+#include "wx/generic/colrdlgg.h"
 #elif defined(__WXSTUBS__)
 #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_