]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
fix PCH-less build after changing timer id type to WPARAM (closes #10901)
[wxWidgets.git] / include / wx / choicebk.h
index 46014cc251c8a978d1399b90d3128c77626648b6..4daa5b28fff19e04acedba7b88308396d177115c 100644 (file)
@@ -97,7 +97,7 @@ protected:
     void UpdateSelectedPage(size_t newsel)
     {
         m_selection = static_cast<int>(newsel);
-        GetChoiceCtrl()->Select(newsel);
+        GetChoiceCtrl()->Select(m_selection);
     }
 
     wxBookCtrlEvent* CreatePageChangingEvent() const;