]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checkbox.cpp
Return non-const pointer from wxDataViewRendererBase::GetView().
[wxWidgets.git] / src / os2 / checkbox.cpp
index 84d93fc94b39162d987fd5ca6a03be44121db7ec..5462a84f7a1e447cbc6425e273d3916c33005953 100644 (file)
@@ -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