Applied patch #1190796 (Further accelerator changes).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2005-05-14 17:34:11 +00:00
parent 92199f4cb8
commit e94d504dd6
4 changed files with 24 additions and 16 deletions

View File

@@ -201,7 +201,7 @@ void wxRadioButton::SetFocus()
// generates BN_CLICKED which leads to showing another dialog and so on
// without end!
//
// to aviod this, we drop the pseudo BN_CLICKED events generated when the
// to avoid this, we drop the pseudo BN_CLICKED events generated when the
// button gains focus
m_bFocusJustSet = TRUE;
@@ -212,7 +212,8 @@ void wxRadioButton::SetLabel(
const wxString& rsLabel
)
{
::WinSetWindowText((HWND)GetHWND(), (const char *)rsLabel.c_str());
wxString sLabel = ::wxPMTextToLabel(rsLabel);
::WinSetWindowText((HWND)GetHWND(), (const char *)sLabel.c_str());
} // end of wxRadioButton::SetLabel
void wxRadioButton::SetValue(