X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..d7e1a3227440c2910124edfc8896bbe23d6d0ab3:/include/wx/colordlg.h diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h index 977c8e5bde..984ce43dc8 100644 --- a/include/wx/colordlg.h +++ b/include/wx/colordlg.h @@ -11,9 +11,20 @@ #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 +#if !defined(__WXMSW__) +#define wxColourDialog wxGenericColourDialog +#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_