]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpcbox.h
silence warning about wxOSX_USE_COCOA not being defined
[wxWidgets.git] / include / wx / bmpcbox.h
index b625e122b3e6218bc22a068904e900eab123a08b..c0b753bebd376feebf65529911012b823e024b08 100644 (file)
 
 class WXDLLIMPEXP_FWD_CORE wxWindow;
 class WXDLLIMPEXP_FWD_CORE wxItemContainer;
-#if defined(wxBITMAPCOMBOBOX_OWNERDRAWN_BASED)
-class WXDLLIMPEXP_FWD_CORE wxDC;
-#endif
 
 // Define wxBITMAPCOMBOBOX_OWNERDRAWN_BASED for platforms which
 // wxBitmapComboBox implementation utilizes ownerdrawn combobox
 // (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[];