]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/weakref/weakref.cpp
implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)
[wxWidgets.git] / tests / weakref / weakref.cpp
index f2a9c79d04734107eeaa440e93137ea09b4d7128..2c0eea61be63b4f0199c6ebc4cbf21564a7d37c5 100644 (file)
@@ -226,15 +226,6 @@ void WeakRefTestCase::DeleteTest()
     wxEvtHandlerRef wre(peh);
     wxWeakRef<wxEvtHandler> wro(peh);
 
-    // test size of references (see that it has selected right base class)
-#ifdef HAVE_PARTIAL_SPECIALIZATION
-    CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) );
-    CPPUNIT_ASSERT_EQUAL( sizeof(void*)*4, sizeof(wro) );
-#else
-    CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wre) );
-    CPPUNIT_ASSERT_EQUAL( sizeof(void*)*3, sizeof(wro) );
-#endif
-
     CPPUNIT_ASSERT( wre.get() == peh );
     CPPUNIT_ASSERT( wro.get() == peh );