X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6463b9f5399b8670a0c74f2f8666bc2c9f37a406..2f3d9587ab2b78d8c409f7e5e08ea6eb532057b5:/src/os2/checkbox.cpp?ds=inline diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 83480a8ef2..547270a72d 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -106,7 +106,7 @@ void wxCheckBox::SetLabel( const wxString& rsLabel ) { - ::WinSetWindowText(GetHwnd(), rsLabel.c_str()); + ::WinSetWindowText(GetHwnd(), (PSZ)rsLabel.c_str()); } // end of wxCheckBox::SetLabel wxSize wxCheckBox::DoGetBestSize() const