X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2633e547c5cd30fc516827ae433a065a38731a7..e2f3bc41106f177e3d4ab717961c1a2469abdbef:/src/unix/displayx11.cpp diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 99cb9e824c..687329efd2 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -326,6 +326,23 @@ bool wxDisplayImplX11::ChangeMode(const wxVideoMode& WXUNUSED(mode)) #include "wx/utils.h" +#if wxUSE_LIBHILDON + +void wxClientDisplayRect(int *x, int *y, int *width, int *height) +{ + // TODO: don't hardcode display size + if ( x ) + *x = 0; + if ( y ) + *y = 0; + if ( width ) + *width = 672; + if ( height ) + *height = 396; +} + +#else // !wxUSE_LIBHILDON + #include // TODO: make this a full-fledged class and move to a public header @@ -408,3 +425,4 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height) wxDisplaySize(width, height); } +#endif // wxUSE_LIBHILDON/!wxUSE_LIBHILDON