X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1ce969dfb27f5d366ee6a0de3ff2bc0205b56a..fdf7ff738cb755be0e9e7e1378d8c3073f08f0e1:/src/os2/checkbox.cpp?ds=sidebyside diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 84d93fc94b..2925980a9f 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -96,7 +96,7 @@ bool wxCheckBox::Create(wxWindow* pParent, void wxCheckBox::SetLabel( const wxString& rsLabel ) { wxString sLabel=::wxPMTextToLabel(rsLabel); - ::WinSetWindowText(GetHwnd(), (PSZ)sLabel.c_str()); + ::WinSetWindowText(GetHwnd(), sLabel.c_str()); } // end of wxCheckBox::SetLabel wxSize wxCheckBox::DoGetBestSize() const