X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c589ad076cb531a3ef7808aaedadc03c8286942..7d4194184e83bbccf1a88325cca59d8d0d2faef1:/src/msw/statbox.cpp diff --git a/src/msw/statbox.cpp b/src/msw/statbox.cpp index 15d87f01bc..6ca6074e54 100644 --- a/src/msw/statbox.cpp +++ b/src/msw/statbox.cpp @@ -75,7 +75,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, WXDWORD exStyle = Determine3DEffects(0, &want3D) ; HWND wx_button = - CreateWindowEx(exStyle, "BUTTON", (const char *)label, msStyle, + CreateWindowEx(exStyle, _T("BUTTON"), (const wxChar *)label, msStyle, 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)m_windowId, wxGetInstance(), NULL); #if wxUSE_CTL3D @@ -101,7 +101,7 @@ bool wxStaticBox::Create(wxWindow *parent, wxWindowID id, void wxStaticBox::SetLabel(const wxString& label) { - SetWindowText((HWND)m_hWnd, (const char *)label); + SetWindowText((HWND)m_hWnd, (const wxChar *)label); } void wxStaticBox::DoSetSize(int x, int y, int width, int height, int sizeFlags)