X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1777b9bbf4573dabecf4a3256d0d3c2c0c2a3fdf..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/colordlg.h diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h index 7500259cb8..984ce43dc8 100644 --- a/include/wx/colordlg.h +++ b/include/wx/colordlg.h @@ -17,10 +17,14 @@ #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_