Added accelerator handling for buttons and infrastructure to do the same for
other controls (patch 893580). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,6 +240,15 @@ WXDWORD wxControl::OS2GetStyle(
|
||||
return dwStyle;
|
||||
} // end of wxControl::OS2GetStyle
|
||||
|
||||
void wxControl::SetLabel(
|
||||
const wxString& rsLabel
|
||||
)
|
||||
{
|
||||
wxString sLabel = ::wxPMTextToLabel(rsLabel);
|
||||
|
||||
::WinSetWindowText(GetHwnd(), sLabel.c_str());
|
||||
} // end of wxControl::SetLabel
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// global functions
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user