From c25665759055290f25645c910c80ee067f1fbdf5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 18 Mar 2009 21:58:15 +0000 Subject: [PATCH] fix (harmless) MSVC 64 bit compilation warning (closes #10140) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/choicebk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h index 46014cc251..4daa5b28ff 100644 --- a/include/wx/choicebk.h +++ b/include/wx/choicebk.h @@ -97,7 +97,7 @@ protected: void UpdateSelectedPage(size_t newsel) { m_selection = static_cast(newsel); - GetChoiceCtrl()->Select(newsel); + GetChoiceCtrl()->Select(m_selection); } wxBookCtrlEvent* CreatePageChangingEvent() const;