Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -366,7 +366,7 @@ private:
|
||||
void wxClientDisplayRect(int *x, int *y, int *width, int *height)
|
||||
{
|
||||
Display * const dpy = wxGetX11Display();
|
||||
wxCHECK_RET( dpy, _T("can't be called before initializing the GUI") );
|
||||
wxCHECK_RET( dpy, wxT("can't be called before initializing the GUI") );
|
||||
|
||||
const Atom atomWorkArea = XInternAtom(dpy, "_NET_WORKAREA", True);
|
||||
if ( atomWorkArea )
|
||||
@@ -402,7 +402,7 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height)
|
||||
format != 32 ||
|
||||
numItems != 4 )
|
||||
{
|
||||
wxLogDebug(_T("XGetWindowProperty(\"_NET_WORKAREA\") failed"));
|
||||
wxLogDebug(wxT("XGetWindowProperty(\"_NET_WORKAREA\") failed"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user