]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dib.cpp
xti additions / changes, trying to reduce dependencies
[wxWidgets.git] / src / msw / dib.cpp
index 31621f273403e8b23595fa92e527ff7bcd359c57..3b42e9c0f7089b16150897835572c5fca7adf54c 100644 (file)
@@ -35,6 +35,8 @@
     #include "wx/log.h"
 #endif //WX_PRECOMP
 
+#if wxUSE_WXDIB
+
 #include "wx/bitmap.h"
 #include "wx/intl.h"
 #include "wx/file.h"
@@ -440,9 +442,6 @@ size_t wxDIB::ConvertFromBitmap(BITMAPINFO *pbi, HBITMAP hbmp)
 }
 
 /* static */
-#ifdef __DIGITALMARS__
-extern "C"
-#endif
 HGLOBAL wxDIB::ConvertFromBitmap(HBITMAP hbmp)
 {
     // first calculate the size needed
@@ -609,3 +608,6 @@ bool wxDIB::Create(const wxImage& image)
 
 #endif // wxUSE_IMAGE
 
+#endif
+    // wxUSE_WXDIB
+