From: Vadim Zeitlin Date: Fri, 31 Oct 2008 23:07:49 +0000 (+0000) Subject: fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e79d4945d7456b44868893db291234775fd2dd3f fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h index 32092c5631..d85f1f5c4c 100644 --- a/include/wx/choicebk.h +++ b/include/wx/choicebk.h @@ -93,7 +93,7 @@ protected: void UpdateSelectedPage(size_t newsel) { - m_selection = newsel; + m_selection = static_cast(newsel); GetChoiceCtrl()->Select(newsel); }