fix another MSVC /Wp64 warning about size_t to int conversion (closes #10140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,7 +93,7 @@ protected:
|
|||||||
|
|
||||||
void UpdateSelectedPage(size_t newsel)
|
void UpdateSelectedPage(size_t newsel)
|
||||||
{
|
{
|
||||||
m_selection = newsel;
|
m_selection = static_cast<int>(newsel);
|
||||||
GetChoiceCtrl()->Select(newsel);
|
GetChoiceCtrl()->Select(newsel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user