]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_notbk.cpp
fixup
[wxWidgets.git] / src / xrc / xh_notbk.cpp
index f6d646786f029ac7bf82cd41dd1a411c231376af..3392b59e57fd938fa0b442315f57ee1bae9fdf00 100644 (file)
@@ -59,7 +59,7 @@ wxObject *wxNotebookXmlHandler::DoCreateResource()
 
             if (wnd)
                 m_notebook->AddPage(wnd, GetText(wxT("label")),
-                                         GetBool(wxT("selected"), 0));
+                                         GetBool(wxT("selected")));
             else
                 wxLogError(wxT("Error in resource."));
             return wnd;