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