X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..c9980eb87155735ccb5d9589029dfa768199adff:/src/unix/displayx11.cpp?ds=sidebyside diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 0aafee0a54..db0f37b899 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -326,7 +326,7 @@ bool wxDisplayImplX11::ChangeMode(const wxVideoMode& WXUNUSED(mode)) #include "wx/utils.h" -#if wxUSE_LIBHILDON +#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2 void wxClientDisplayRect(int *x, int *y, int *width, int *height) { @@ -341,7 +341,7 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height) *height = 396; } -#else // !wxUSE_LIBHILDON +#else // !wxUSE_LIBHILDON || !wxUSE_LIBHILDON2 #include "wx/log.h" @@ -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; }