]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checkbox.cpp
No need to match bg colours any more
[wxWidgets.git] / src / os2 / checkbox.cpp
index 83480a8ef2ff54c281fd68f3c1e27b536de6e982..547270a72da9f44657407e29751dcb6498a055f0 100644 (file)
@@ -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