]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/headerctrltest.cpp
Store the result of wxWindow::NewControlId() in wxWindowIDRef.
[wxWidgets.git] / tests / controls / headerctrltest.cpp
index 2b02f830a52326945569e4048f4dab7626ae69ab..f13f4a891ff2d872194508af88239b5bc3ae5ec2 100644 (file)
@@ -78,19 +78,19 @@ void HeaderCtrlTestCase::tearDown()
 
 void HeaderCtrlTestCase::AddDelete()
 {
-    CPPUNIT_ASSERT_EQUAL( 0, (size_t)m_header->GetColumnCount() );
+    CPPUNIT_ASSERT_EQUAL( 0, m_header->GetColumnCount() );
 
     m_header->AppendColumn(wxHeaderColumnSimple("Column 1"));
-    CPPUNIT_ASSERT_EQUAL( 1, (size_t)m_header->GetColumnCount() );
+    CPPUNIT_ASSERT_EQUAL( 1, m_header->GetColumnCount() );
 
     m_header->AppendColumn(wxHeaderColumnSimple("Column 2"));
-    CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() );
+    CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
 
     m_header->InsertColumn(wxHeaderColumnSimple("Column 0"), 0);
-    CPPUNIT_ASSERT_EQUAL( 3, (size_t)m_header->GetColumnCount() );
+    CPPUNIT_ASSERT_EQUAL( 3, m_header->GetColumnCount() );
 
     m_header->DeleteColumn(2);
-    CPPUNIT_ASSERT_EQUAL( 2, (size_t)m_header->GetColumnCount() );
+    CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
 }
 
 void HeaderCtrlTestCase::BestSize()