]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_treebk.cpp
non mach-o fix
[wxWidgets.git] / src / xrc / xh_treebk.cpp
index ed2c6ce3bcf5c11e2222cab7033722fdde538e47..b2394c6dcf76e57b493bda605f4681d581f443ba 100644 (file)
@@ -123,7 +123,7 @@ wxObject *wxTreebookXmlHandler::DoCreateResource()
         }
         else
         {
-            m_tbk->AddSubPage(m_treeContext.Item(depth - 1), wnd,
+            m_tbk->InsertSubPage(m_treeContext.Item(depth - 1), wnd,
                 GetText(wxT("label")), GetBool(wxT("selected")), imgIndex);
         }