From: Václav Slavík Date: Thu, 4 Nov 2004 17:53:20 +0000 (+0000) Subject: don't add empty image to tabs X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9fbad34ddd8c01de8948b0cb93c2c9facd72cd9b don't add empty image to tabs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_notbk.cpp b/src/xrc/xh_notbk.cpp index f6d646786f..3392b59e57 100644 --- a/src/xrc/xh_notbk.cpp +++ b/src/xrc/xh_notbk.cpp @@ -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;