A few weeks of Unicode fixes (my old win95 laptop compiles sloowly,
especially when through the nullmodem cable). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user