]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/safearray.cpp
Use deferred window positioning in wxWindow::Layout() in wxMSW.
[wxWidgets.git] / src / msw / ole / safearray.cpp
index c4061e75ab40d4a1dcd669c00616717568467db5..920177672280cef4eb702937d08992201272b4ab 100644 (file)
@@ -23,6 +23,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_OLE && wxUSE_VARIANT
+
 #ifndef WX_PRECOMP
     #include "wx/variant.h"
 #endif // WX_PRECOMP
@@ -131,4 +133,4 @@ bool wxSafeArrayBase::Unlock()
     return true;
 }
 
-
+#endif  // wxUSE_OLE && wxUSE_VARIANT