]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Trace module initialization and cleanup.
[wxWidgets.git] / src / xrc / xmlres.cpp
index 12441c1320e4cd3cc868458e5be93476f63735e7..37855b675c15ee6843218701bb1f2fbc75b11613 100644 (file)
@@ -8,10 +8,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "xmlres.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -1417,6 +1413,8 @@ void wxXmlResourceHandler::SetupWindow(wxWindow *wnd)
 #endif
     if (HasParam(wxT("font")))
         wnd->SetFont(GetFont());
+    if (HasParam(wxT("help")))
+        wnd->SetHelpText(GetText(wxT("help")));
 }