don't add empty image to tabs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-11-04 17:53:20 +00:00
parent d21d3f21a2
commit 9fbad34ddd

View 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;