projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix for ANSI build (added #if wxUSE_UNICODE)
[wxWidgets.git]
/
src
/
os2
/
checkbox.cpp
diff --git
a/src/os2/checkbox.cpp
b/src/os2/checkbox.cpp
index 84d93fc94b39162d987fd5ca6a03be44121db7ec..2925980a9fd3b0c243a4f8871dd27a086076c01a 100644
(file)
--- 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);
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
} // end of wxCheckBox::SetLabel
wxSize wxCheckBox::DoGetBestSize() const