m_hWnd = (WXHWND)CreateWindowEx
(
MakeExtendedStyle(m_windowStyle),
- "BUTTON",
+ _T("BUTTON"),
label,
WS_VISIBLE | WS_TABSTOP | WS_CHILD,
0, 0, 0, 0,
int current_width;
int cyf;
- char buf[300];
+ wxChar buf[300];
GetWindowText((HWND) GetHWND(), buf, 300);
GetTextExtent(buf, ¤t_width, &cyf,NULL,NULL,
& this->GetFont());
void wxButton::SetLabel(const wxString& label)
{
- SetWindowText((HWND) GetHWND(), (const char *) label);
+ SetWindowText((HWND) GetHWND(), (const wxChar *) label);
}
WXHBRUSH wxButton::OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,