]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checkbox.cpp
make wxSelectDispatcher ctor public, it can be useful to create it in places other...
[wxWidgets.git] / src / os2 / checkbox.cpp
index 84d93fc94b39162d987fd5ca6a03be44121db7ec..2925980a9fd3b0c243a4f8871dd27a086076c01a 100644 (file)
@@ -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