]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/control.cpp
Corrected wxFileSystemHandler::GetRightLocation for the case
[wxWidgets.git] / src / os2 / control.cpp
index 324ea885b21935c133eedbb6266a93c67ab271de..1dd3f453d139f04fcf6142992350144a615f7436 100644 (file)
@@ -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
 // ---------------------------------------------------------------------------