projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another segfault fix
[wxWidgets.git]
/
src
/
msw
/
ole
/
automtn.cpp
diff --git
a/src/msw/ole/automtn.cpp
b/src/msw/ole/automtn.cpp
index 7586cd9aae203e4e0515c13f50c35ab18b68a055..ac4e48776dccdceb891813e33cde62102fe18826 100644
(file)
--- a/
src/msw/ole/automtn.cpp
+++ b/
src/msw/ole/automtn.cpp
@@
-24,7
+24,7
@@
// Watcom C++ gives a linker error if this is compiled in.
// With Borland C++, all samples crash if this is compiled in.
// Watcom C++ gives a linker error if this is compiled in.
// With Borland C++, all samples crash if this is compiled in.
-#if !defined(__WATCOMC__) && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
+#if
wxUSE_OLE &&
!defined(__WATCOMC__) && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
#include "wx/log.h"
#include "wx/msw/ole/automtn.h"
#include "wx/log.h"
#include "wx/msw/ole/automtn.h"