X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c574bfa9022576fd0444be7155b0e22e6f6b8d85..6c960f2e810bb16143bd64f228f301e9397a44bc:/include/wx/bmpcbox.h?ds=sidebyside diff --git a/include/wx/bmpcbox.h b/include/wx/bmpcbox.h index 608fb1838f..8418419701 100644 --- a/include/wx/bmpcbox.h +++ b/include/wx/bmpcbox.h @@ -18,13 +18,14 @@ #if wxUSE_BITMAPCOMBOBOX #include "wx/bitmap.h" +#include "wx/window.h" class WXDLLIMPEXP_FWD_CORE wxItemContainer; // Define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED for platforms which // wxBitmapComboBox implementation utilizes ownerdrawn combobox // (either native or generic). -#if 1 +#if !defined(__WXGTK20__) #define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED #endif @@ -111,6 +112,8 @@ private: #include "wx/generic/bmpcbox.h" #elif defined(__WXMSW__) #include "wx/msw/bmpcbox.h" +#elif defined(__WXGTK20__) + #include "wx/gtk/bmpcbox.h" #else #include "wx/generic/bmpcbox.h" #endif