X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2633e547c5cd30fc516827ae433a065a38731a7..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/unix/displayx11.cpp?ds=inline diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 99cb9e824c..e74d312163 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -326,6 +326,26 @@ 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 "wx/log.h" + +#include #include // TODO: make this a full-fledged class and move to a public header @@ -408,3 +428,4 @@ void wxClientDisplayRect(int *x, int *y, int *width, int *height) wxDisplaySize(width, height); } +#endif // wxUSE_LIBHILDON/!wxUSE_LIBHILDON