X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1ce969dfb27f5d366ee6a0de3ff2bc0205b56a..404b319a85dadd7decf7a5a5331020520031a41c:/src/os2/checkbox.cpp diff --git a/src/os2/checkbox.cpp b/src/os2/checkbox.cpp index 84d93fc94b..5462a84f7a 100644 --- a/src/os2/checkbox.cpp +++ b/src/os2/checkbox.cpp @@ -27,7 +27,6 @@ // macros // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox) extern void wxAssociateWinWithHandle( HWND hWnd @@ -96,7 +95,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