]> git.saurik.com Git - wxWidgets.git/commitdiff
fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 Oct 2008 23:07:49 +0000 (23:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 31 Oct 2008 23:07:49 +0000 (23:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
     }