]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/notebook.cpp
Michael Fieldings patch 598106 applied in part
[wxWidgets.git] / src / univ / notebook.cpp
index 39bf56b22863c6d923f98311880fbc7dcee8c5a0..4c19121069fa5851af7e7bd9308856e780ec36f7 100644 (file)
@@ -255,7 +255,7 @@ int wxNotebook::SetSelection(int nPage)
         m_pages[m_sel]->Show();
     }
 
-    return m_sel;
+    return selOld;
 }
 
 void wxNotebook::ChangePage(int nPage)