- GetTextExtent(label, &w, &h, NULL, NULL, & this->GetFont());
- MoveWindow((HWND) GetHWND(), point.x, point.y, (int)(w + 10), (int)h,
- TRUE);
- SetWindowText((HWND) GetHWND(), (const char *)label);
+ int w, h;
+ GetTextExtent(label, &w, &h, NULL, NULL, & GetFont());
+ MoveWindow((HWND) GetHWND(), point.x, point.y, (int)(w + 10), (int)h, TRUE);
+ SetWindowText((HWND) GetHWND(), (const wxChar *)label);