diff --git a/include/wx/palette.h b/include/wx/palette.h index 8e8c6b5bba..dc29333be0 100644 --- a/include/wx/palette.h +++ b/include/wx/palette.h @@ -1,6 +1,9 @@ #ifndef _WX_PALETTE_H_BASE_ #define _WX_PALETTE_H_BASE_ +// include it to get wxUSE_PALETTE value +#include "wx/setup.h" + #if wxUSE_PALETTE #if defined(__WXMSW__)