]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpcbox.h
avoid creating and immediately destroying a wxGraphicsContext when creating a wxDC...
[wxWidgets.git] / include / wx / bmpcbox.h
index f73f82e047818a62de72e1460cc915b89a04a7cc..c0b753bebd376feebf65529911012b823e024b08 100644 (file)
@@ -18,8 +18,8 @@
 #if wxUSE_BITMAPCOMBOBOX
 
 #include "wx/bitmap.h"
-#include "wx/window.h"
 
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 class WXDLLIMPEXP_FWD_CORE wxItemContainer;
 
 // Define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED for platforms which
@@ -27,6 +27,8 @@ class WXDLLIMPEXP_FWD_CORE wxItemContainer;
 // (either native or generic).
 #if !defined(__WXGTK20__) || defined(__WXUNIVERSAL__)
     #define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED
+
+class WXDLLIMPEXP_FWD_CORE wxDC;
 #endif
 
 extern WXDLLIMPEXP_DATA_ADV(const char) wxBitmapComboBoxNameStr[];