| 1 | #ifndef _WX_COLORDLG_H_BASE_ |
| 2 | #define _WX_COLORDLG_H_BASE_ |
| 3 | |
| 4 | #if defined(__WXMSW__) |
| 5 | #include "wx/msw/colordlg.h" |
| 6 | #elif defined(__WXMOTIF__) |
| 7 | #include "wx/generic/colrdlgg.h" |
| 8 | #elif defined(__WXGTK__) |
| 9 | #include "wx/generic/colrdlgg.h" |
| 10 | #elif defined(__WXQT__) |
| 11 | #include "wx/generic/colrdlgg.h" |
| 12 | #elif defined(__WXMAC__) |
| 13 | #include "wx/generic/colrdlgg.h" |
| 14 | #elif defined(__WXPM__) |
| 15 | #include "wx/generic/colrdlgg.h" |
| 16 | #elif defined(__WXSTUBS__) |
| 17 | #include "wx/generic/colrdlgg.h" |
| 18 | #endif |
| 19 | |
| 20 | #if !defined(__WXMSW__) |
| 21 | #define wxColourDialog wxGenericColourDialog |
| 22 | #define sm_classwxColourDialog sm_classwxGenericColourDialog |
| 23 | #endif |
| 24 | |
| 25 | // get the colour from user and return it |
| 26 | wxColour WXDLLEXPORT wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL, |
| 27 | const wxColour& colInit = wxNullColour); |
| 28 | |
| 29 | #endif |
| 30 | // _WX_COLORDLG_H_BASE_ |