X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fba44b4103530bd7904c4b5720b7568b753daec..27d2f680a7d16b7489e445e00c3324a45d0d0b28:/src/os2/checkbox.cpp diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 547270a72d..e4df892446 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -106,7 +106,8 @@ void wxCheckBox::SetLabel( const wxString& rsLabel ) { - ::WinSetWindowText(GetHwnd(), (PSZ)rsLabel.c_str()); + wxString sLabel=::wxPMTextToLabel(rsLabel); + ::WinSetWindowText(GetHwnd(), (PSZ)sLabel.c_str()); } // end of wxCheckBox::SetLabel wxSize wxCheckBox::DoGetBestSize() const