From 7acabb810de0445a3a3dc495942c9781aadbe136 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 31 Oct 2008 23:07:49 +0000 Subject: [PATCH] fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/choicebk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h index 0c06f3c5ff..517870c580 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 = wx_static_cast(int, newsel); GetChoiceCtrl()->Select(newsel); }