diff --git a/include/wx/window.h b/include/wx/window.h index af98d65c85..c7cbaa4611 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -865,7 +865,7 @@ protected: wxString m_windowName; bool m_themeEnabled; -#ifdef wxUSE_PALETTE +#if wxUSE_PALETTE wxPalette m_palette; bool m_hasCustomPalette; #endif // wxUSE_PALETTE