Include wx/bitmap.h as we need its GetHBITMAP() method in wx/msw/dib.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71925
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef _WX_MSW_DIB_H_
#define _WX_MSW_DIB_H_
-class WXDLLIMPEXP_FWD_CORE wxBitmap;
class WXDLLIMPEXP_FWD_CORE wxPalette;
#include "wx/msw/private.h"
#if wxUSE_WXDIB
+#ifdef __WXMSW__
+ #include "wx/bitmap.h"
+#endif // __WXMSW__
+
// ----------------------------------------------------------------------------
// wxDIB: represents a DIB section
// ----------------------------------------------------------------------------