X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..cf471cab8277f4cc2c19bce417356badf9e2ca49:/include/wx/colordlg.h diff --git a/include/wx/colordlg.h b/include/wx/colordlg.h index 8e113d039e..4f32249140 100644 --- a/include/wx/colordlg.h +++ b/include/wx/colordlg.h @@ -1,13 +1,26 @@ -#ifndef __COLORDLGH_BASE__ -#define __COLORDLGH_BASE__ +#ifndef _WX_COLORDLG_H_BASE_ +#define _WX_COLORDLG_H_BASE_ -#if defined(__WINDOWS__) +#if defined(__WXMSW__) #include "wx/msw/colordlg.h" -#elif defined(__MOTIF__) +#elif defined(__WXMOTIF__) #include "wx/generic/colrdlgg.h" -#elif defined(__GTK__) +#elif defined(__WXGTK__) #include "wx/generic/colrdlgg.h" +#elif defined(__WXQT__) +#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 #endif - // __COLORDLGH_BASE__ + // _WX_COLORDLG_H_BASE_