X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e97a905185a72c04a7feb67c7885ab4412100ee..565382de29554aceb4bf275e650e3b9ef70826f8:/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); }