]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed typo
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 12 Jun 2003 16:15:26 +0000 (16:15 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 12 Jun 2003 16:15:26 +0000 (16:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xrc/xh_notbk.cpp
src/xrc/xh_notbk.cpp

index 3c427b6365482574effa4279c0ff90d97256dcf9..b8b459cc8281be4ea4d406a19654a93d28ece39f 100644 (file)
@@ -50,8 +50,8 @@ wxObject *wxNotebookXmlHandler::DoCreateResource()
         {
             bool old_ins = m_isInside;
             m_isInside = FALSE;
         {
             bool old_ins = m_isInside;
             m_isInside = FALSE;
-            m_isInside = old_ins;
             wxObject *item = CreateResFromNode(n, m_notebook, NULL);
             wxObject *item = CreateResFromNode(n, m_notebook, NULL);
+            m_isInside = old_ins;
             wxWindow *wnd = wxDynamicCast(item, wxWindow);
 
             if (wnd)
             wxWindow *wnd = wxDynamicCast(item, wxWindow);
 
             if (wnd)
index 3c427b6365482574effa4279c0ff90d97256dcf9..b8b459cc8281be4ea4d406a19654a93d28ece39f 100644 (file)
@@ -50,8 +50,8 @@ wxObject *wxNotebookXmlHandler::DoCreateResource()
         {
             bool old_ins = m_isInside;
             m_isInside = FALSE;
         {
             bool old_ins = m_isInside;
             m_isInside = FALSE;
-            m_isInside = old_ins;
             wxObject *item = CreateResFromNode(n, m_notebook, NULL);
             wxObject *item = CreateResFromNode(n, m_notebook, NULL);
+            m_isInside = old_ins;
             wxWindow *wnd = wxDynamicCast(item, wxWindow);
 
             if (wnd)
             wxWindow *wnd = wxDynamicCast(item, wxWindow);
 
             if (wnd)