X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eafc087e69e52add5952190bfd5bcbbf931ad12b..0f217db31814dde7432ceb2e00ddf42b968b9fa3:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index dedecb696e..d0d75b07a9 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -51,6 +51,12 @@ int wxKill(long pid, int sig) return kill(pid, sig); }; +void wxDisplaySize( int *width, int *height ) +{ + if (width) *width = gdk_screen_width(); + if (height) *height = gdk_screen_height(); +} + //------------------------------------------------------------------------ // user and home routines //------------------------------------------------------------------------ @@ -441,3 +447,4 @@ long wxExecute( const wxString& command, bool sync, wxProcess *process ) return wxExecute(argv, sync, process); }; +