]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxMSW compilation without PCH.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jul 2012 22:39:41 +0000 (22:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 1 Jul 2012 22:39:41 +0000 (22:39 +0000)
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

include/wx/msw/dib.h

index 9ae349ba192ce18cc633f1a34c2823e7edd28f07..fcfce370fddfda998085950e56983d10317745a8 100644 (file)
 #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
 // ----------------------------------------------------------------------------