X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f696015cf1e474315b63823d697a5fa0462055b7..c40555e948e48d5c10f30d0c83b2c7702d23fa8e:/include/wx/bmpcbox.h?ds=inline diff --git a/include/wx/bmpcbox.h b/include/wx/bmpcbox.h index 7c28127e95..08b1f4638d 100644 --- a/include/wx/bmpcbox.h +++ b/include/wx/bmpcbox.h @@ -18,11 +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__) || defined(__WXUNIVERSAL__) #define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED #endif @@ -109,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