X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/86de7616de6aa6f28451d82dc3f59aef1b087960..2b8f5a2488b051daf6f9c0d161e57e0d1dabeab0:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index 4981257808..16a0cb09ad 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -66,7 +66,7 @@ bool wxControl::OS2CreateControl(const wxChar *classname, WXDWORD style) if ( !m_hWnd ) { #ifdef __WXDEBUG__ - wxLogError(_T("Failed to create a control of class '%s'"), classname); + wxLogError(wxT("Failed to create a control of class '%s'"), classname); #endif // DEBUG return FALSE; @@ -81,7 +81,7 @@ bool wxControl::OS2CreateControl(const wxChar *classname, WXDWORD style) return TRUE; } -wxSize wxControl::DoGetBestSize() +wxSize wxControl::DoGetBestSize() const { return wxSize(DEFAULT_ITEM_WIDTH, DEFAULT_ITEM_HEIGHT); }