]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_notbk.cpp
Trace module initialization and cleanup.
[wxWidgets.git] / src / xrc / xh_notbk.cpp
index cb2c6feae4a90972a30993db4d238972e2cd4f87..64d25359e527383c7d8e32c47c8570fe93be2705 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "xh_notbk.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -101,6 +97,8 @@ wxObject *wxNotebookXmlHandler::DoCreateResource()
                    GetStyle(wxT("style")),
                    GetName());
 
+        SetupWindow(nb);
+
         wxNotebook *old_par = m_notebook;
         m_notebook = nb;
         bool old_ins = m_isInside;