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