]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
move virtual GetPath() implementation out of line to work around an apparent Fedora...
[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;