X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e97a905185a72c04a7feb67c7885ab4412100ee..a881f34e499feadfef915b9d4c80e45a73ba37d4:/include/wx/choicebk.h?ds=sidebyside 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); }