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

@@ -9,11 +9,11 @@ All:
- Fixed wxScopeGuard to work with VC++, documented it. - Fixed wxScopeGuard to work with VC++, documented it.
- Fixed proxy handling in wxURL. - Fixed proxy handling in wxURL.
- Added wxEVT_MEDIA_LOADED event for wxMediaCtrl - Added wxEVT_MEDIA_LOADED event for wxMediaCtrl.
- Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls) - Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls).
- Added wxZipFSHandler::Cleanup() (Stas Sergeev) - Added wxZipFSHandler::Cleanup() (Stas Sergeev).
- Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson) - Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson).
- Fixed compilation with IBM xlC compiler - Fixed compilation with IBM xlC compiler.
- wxABI_VERSION, see 'Backward Compatibility' in the manual. - wxABI_VERSION, see 'Backward Compatibility' in the manual.
All (GUI): All (GUI):
@@ -21,22 +21,23 @@ All (GUI):
- Added wxXmlResource::Unload(). - Added wxXmlResource::Unload().
- Possibility of modeless wxWizard dialog (with presentation in sample). - Possibility of modeless wxWizard dialog (with presentation in sample).
- Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet). - Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet).
- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zag<61>rski) - Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zag<61>rski).
- Cross-compile now supported for wxGTK, wxX11 and wxMotif. - Cross-compile now supported for wxGTK, wxX11 and wxMotif.
- Cygwin compilation of wxX11, wxGTK and wxMotif now supported. - Cygwin compilation of wxX11, wxGTK and wxMotif now supported.
- Now reads "help" parameter for all windows (context help text).
wxMSW: wxMSW:
- wxMSW now builds with (beta of) MSVC 8 (a.k.a. 2005) - wxMSW now builds with (beta of) MSVC 8 (a.k.a. 2005).
- Separators are now correctly shown in the toolbars under Windows XP. - Separators are now correctly shown in the toolbars under Windows XP.
- Fixed multiline tooltips handling. - Fixed multiline tooltips handling.
- Fixed wxSlider::GetSelEnd() (Atilim Cetin). - Fixed wxSlider::GetSelEnd() (Atilim Cetin).
- Fixed accelerators of menu items added to already attached submenus. - Fixed accelerators of menu items added to already attached submenus.
- Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates. - Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates.
- Handle absence of wxListCtrl column image better (Zbigniew Zag<61>rski) - Handle absence of wxListCtrl column image better (Zbigniew Zag<61>rski).
- Fixed asynchronous playback of large sound files in wxSound - Fixed asynchronous playback of large sound files in wxSound.
- Added wxDynamicLibrary::GetSymbolAorW() - Added wxDynamicLibrary::GetSymbolAorW().
- Fixed default size of wxStaticText controls with border being too small - Fixed default size of wxStaticText controls with border being too small.
wxWinCE: wxWinCE:
@@ -44,13 +45,13 @@ wxWinCE:
wxGTK: wxGTK:
- ShowFullScreen() shows the window if it was still hidden (rpedroso) - ShowFullScreen() shows the window if it was still hidden (rpedroso).
- Implemented wxTopLevelWindow::RequestUserAttention() (Mart Raudsepp) - Implemented wxTopLevelWindow::RequestUserAttention() (Mart Raudsepp).
- Base library is now binary compatible when built with wxGTK and wxMotif. - Base library is now binary compatible when built with wxGTK and wxMotif.
- wxTextCtrl::XYToPosition, PositionToXY and GetLineLength calls are now - wxTextCtrl::XYToPosition, PositionToXY and GetLineLength calls are now
instantaneous in case of GTK+2 multi-line controls (Mart Raudsepp) instantaneous in case of GTK+2 multi-line controls (Mart Raudsepp).
- Added support for left, centre and right text alignment attributes under - Added support for left, centre and right text alignment attributes under
GTK+2 multi-line text controls (Mart Raudsepp) GTK+2 multi-line text controls (Mart Raudsepp).
wxOS2 wxOS2
@@ -59,7 +60,7 @@ wxOS2
wxUniv: wxUniv:
- Window creation now honours wxVSCROLL. - Window creation now honours wxVSCROLL.
- Standalone scrollbars generate events of correct type (Jochen Roemmler) - Standalone scrollbars generate events of correct type (Jochen Roemmler).
wxMotif: wxMotif:

View File

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