Fix VC6 compilation which was somehow broken by adding wxWeakRef ctor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 13:08:01 +0000 (13:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 13:08:01 +0000 (13:08 +0000)
commit946ceed9cd2b7b0453c715110eb9a921febf8b3d
tree250dc7343fe85d997449cf43672df614150206bc
parentc6d9001128e007380f9c9ea4505538207b2d8524
Fix VC6 compilation which was somehow broken by adding wxWeakRef ctor.

For some mysterious reason, adding non-template wxWeakRef ctor breaks VC6
build with the apparently completely unrelated errors:

include\wx/toplevel.h(223) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion)
include\wx/toplevel.h(231) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion)
src\common\dummy.cpp(27) : error C2856: #pragma hdrstop cannot be inside an #if block

Simply don't define it for VC6 to at least allow the code not using wxWeakRef
to compile.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/weakref.h