X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8269a903770849a65ca2e76bcf672d8e4c050004..2adaf5969faf352d740f267b1a4ef79a2cf75980:/src/os2/utils.cpp?ds=sidebyside diff --git a/src/os2/utils.cpp b/src/os2/utils.cpp index 675b80e3e8..94a7823eeb 100644 --- a/src/os2/utils.cpp +++ b/src/os2/utils.cpp @@ -823,6 +823,18 @@ void wxDisplaySizeMM( ); } +void wxClientDisplayRect(int *x, int *y, int *width, int *height) +{ + // This is supposed to return desktop dimensions minus any window + // manager panels, menus, taskbars, etc. If there is a way to do that + // for this platform please fix this function, otherwise it defaults + // to the entire desktop. + if (x) *x = 0; + if (y) *y = 0; + wxDisplaySize(width, height); +} + + bool wxDirExists( const wxString& rDir )