From 35713466d0e4c11df79055bf094627be28e29a8d Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Mon, 15 Dec 2003 02:21:53 +0000 Subject: [PATCH] fix broken compilation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/utilsunx.cpp | 1 - src/unix/utilsx11.cpp | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 8709321cf1..abe366b9fc 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -1189,5 +1189,4 @@ void wxHandleProcessTermination(wxEndProcessData *proc_data) } } - #endif // wxUSE_BASE diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 2a6eaf0deb..a5809199b2 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -15,10 +15,12 @@ #include "wx/wxprec.h" #include "wx/unix/utilsx11.h" +#include "wx/x11/privx.h" #include "wx/iconbndl.h" #include "wx/image.h" #include "wx/icon.h" #include "wx/log.h" +#include "wx/utils.h" #ifdef __VMS #pragma message disable nosimpint @@ -508,7 +510,7 @@ void wxSetFullScreenStateX11(WXDisplay* display, WXWindow rootWindow, bool wxGetKeyState(wxKeyCode key) { - Display *pDisplay = wxApp::GetDisplay(); + Display *pDisplay = (Display*) wxGetDisplay(); int iKey = wxCharCodeWXToX(key); int iKeyMask = 0; Window wDummy1, wDummy2; -- 2.45.2