diff --git a/include/wx/bmpcbox.h b/include/wx/bmpcbox.h index 9e8bb9026a..8418419701 100644 --- a/include/wx/bmpcbox.h +++ b/include/wx/bmpcbox.h @@ -25,7 +25,7 @@ class WXDLLIMPEXP_FWD_CORE wxItemContainer; // Define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED for platforms which // wxBitmapComboBox implementation utilizes ownerdrawn combobox // (either native or generic). -#if !defined(__WXGTK__) +#if !defined(__WXGTK20__) #define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED #endif @@ -112,7 +112,7 @@ private: #include "wx/generic/bmpcbox.h" #elif defined(__WXMSW__) #include "wx/msw/bmpcbox.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/bmpcbox.h" #else #include "wx/generic/bmpcbox.h"