X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..83141d3a74bc3ce6b97632dec8b28b7569c480a2:/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_