]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dib.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / msw / dib.h
index 6a2a40a02077f88e3d253f9f1ea55a929fa2e292..7f0d2ecb07a7de170be5e0bdea11482b950182f7 100644 (file)
@@ -17,6 +17,8 @@ class WXDLLEXPORT wxPalette;
 
 #include "wx/msw/private.h"
 
+#if wxUSE_WXDIB
+
 // ----------------------------------------------------------------------------
 // wxDIB: represents a DIB section
 // ----------------------------------------------------------------------------
@@ -225,5 +227,8 @@ inline wxDIB::~wxDIB()
     Free();
 }
 
+#endif
+    // wxUSE_WXDIB
+
 #endif // _WX_MSW_DIB_H_