From 9194902451d474037352b5edf0f6b6f769d0103d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 21 May 2014 07:41:15 +0000 Subject: [PATCH] Fix warning in wxSimplebook::UpdateSelectedPage(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/simplebook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/simplebook.h b/include/wx/simplebook.h index f8ee1b8729..0af078a121 100644 --- a/include/wx/simplebook.h +++ b/include/wx/simplebook.h @@ -139,7 +139,7 @@ public: protected: virtual void UpdateSelectedPage(size_t newsel) wxOVERRIDE { - m_selection = newsel; + m_selection = (int)newsel; } virtual wxBookCtrlEvent* CreatePageChangingEvent() const wxOVERRIDE