From 419805785a8e62f0140e83f886cc25064547f185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 21 May 2014 07:40:50 +0000 Subject: [PATCH] Fix warning in wxSimplebook::UpdateSelectedPage(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76590 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 d54ebc45b6..5ca253ac10 100644 --- a/include/wx/simplebook.h +++ b/include/wx/simplebook.h @@ -139,7 +139,7 @@ public: protected: virtual void UpdateSelectedPage(size_t newsel) { - m_selection = newsel; + m_selection = (int)newsel; } virtual wxBookCtrlEvent* CreatePageChangingEvent() const