Added support for "help" parameter (context help text).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-08-12 14:09:24 +00:00
parent c3b7706c4f
commit b23030d6fa
2 changed files with 19 additions and 16 deletions

View File

@@ -1417,6 +1417,8 @@ void wxXmlResourceHandler::SetupWindow(wxWindow *wnd)
#endif
if (HasParam(wxT("font")))
wnd->SetFont(GetFont());
if (HasParam(wxT("help")))
wnd->SetHelpText(GetText(wxT("help")));
}