git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49828
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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 <X11/Xatom.h>
// TODO: make this a full-fledged class and move to a public header
wxDisplaySize(width, height);
}
+#endif // wxUSE_LIBHILDON/!wxUSE_LIBHILDON