X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0093fe11c5f581abbc37447b191903e871112f46..b2247ee93bd093d52417ea063720f4165d8a0da8:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 324ea885b2..1dd3f453d1 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -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 // ---------------------------------------------------------------------------