Remove MSVC6 support.
Don't support this compiler any more, this allows to get rid of tons of MSVC6-specific workarounds, in particular we can now use Bind() and natural template functions calls in the library code. Also remove MSVC6 project and solution files and don't generate them when bakefile_gen is ran any more (removing the remaining occurrences of msvc6prj from the bakefiles results in weird bake-time errors, so it's simpler to just leave them there). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,12 +90,8 @@ void WeakRefTestCase::DeclareTest()
|
||||
{
|
||||
{
|
||||
// Not initializing or initializing with NULL should work too
|
||||
//
|
||||
// FIXME-VC6: but it doesn't with VC6, see comment in wx/weakref.h
|
||||
#ifndef __VISUALC6__
|
||||
wxWeakRef<wxEvtHandler> wroDef;
|
||||
wxWeakRef<wxEvtHandler> wro0(NULL);
|
||||
#endif // __VISUALC6__
|
||||
|
||||
wxObject o; // Should not work
|
||||
wxEvtHandler eh;
|
||||
@@ -169,9 +165,6 @@ void WeakRefTestCase::AssignTest()
|
||||
CPPUNIT_ASSERT( !wro2 );
|
||||
|
||||
// Explicitly resetting should work too
|
||||
//
|
||||
// FIXME-VC6: as above, it doesn't work with VC6, see wx/weakref.h
|
||||
#ifndef __VISUALC6__
|
||||
wxEvtHandler eh;
|
||||
wxObjectTrackable ot;
|
||||
|
||||
@@ -183,7 +176,6 @@ void WeakRefTestCase::AssignTest()
|
||||
|
||||
CPPUNIT_ASSERT( !wro1 );
|
||||
CPPUNIT_ASSERT( !wro2 );
|
||||
#endif // __VISUALC6__
|
||||
}
|
||||
|
||||
void WeakRefTestCase::AssignWeakRefTest()
|
||||
|
Reference in New Issue
Block a user