X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36b0b0907868ef9e55ebae74f876dfff91c8b153..692a0709d32058c72b46ef0512bd4aee8f485b8a:/src/msw/spinctrl.cpp diff --git a/src/msw/spinctrl.cpp b/src/msw/spinctrl.cpp index 0017413e0a..921d767fb0 100644 --- a/src/msw/spinctrl.cpp +++ b/src/msw/spinctrl.cpp @@ -452,7 +452,7 @@ void wxSpinCtrl::SetValue(int val) // to leave it like this, while we really want to always show the // current value in the control, so do it manually ::SetWindowText(GetBuddyHwnd(), - wxString::Format(wxT("%d"), val).wx_str()); + wxString::Format(wxT("%d"), val).t_str()); } m_oldValue = GetValue();