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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user