X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd34332fc40b7f43507ec3c724a3abb64d42ff7c..22bd93879da9809ecb6ac5cd3bdf58c2aabf0da1:/include/wx/colordlg.h diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h index 75e6b83f7d..984ce43dc8 100644 --- a/include/wx/colordlg.h +++ b/include/wx/colordlg.h @@ -12,7 +12,7 @@ #elif defined(__WXMAC__) #include "wx/generic/colrdlgg.h" #elif defined(__WXPM__) -#include "wx/os2/colordlg.h" +#include "wx/generic/colrdlgg.h" #elif defined(__WXSTUBS__) #include "wx/generic/colrdlgg.h" #endif @@ -22,5 +22,9 @@ #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_