if ( !title.empty() )
{
- ::SetWindowText(GetHwnd(), title);
+ ::SetWindowText(GetHwnd(), title.wx_str());
}
SubclassWin(m_hWnd);
exflags |= WS_EX_LAYOUTRTL;
#endif
- return MSWCreate(wxCanvasClassName, title, pos, sz, flags, exflags);
+ return MSWCreate(wxCanvasClassName, title.wx_str(), pos, sz, flags, exflags);
}
bool wxTopLevelWindowMSW::Create(wxWindow *parent,