]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
[wxWidgets.git] / include / wx / choicebk.h
index 32092c5631b8e2d0ba3b8b760e6ea783d1a43c35..d85f1f5c4ce41c54cbeb1ebdf50d277bb23a0dc9 100644 (file)
@@ -93,7 +93,7 @@ protected:
 
     void UpdateSelectedPage(size_t newsel)
     {
-        m_selection = newsel;
+        m_selection = static_cast<int>(newsel);
         GetChoiceCtrl()->Select(newsel);
     }