From dc2819335f5c717ba92c76df4a51591fc4cf5143 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Apr 2007 23:21:56 +0000 Subject: [PATCH] added #ifdef __X__ forgotten in last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/utils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/utils.h b/include/wx/utils.h index d0eb5286dd..40e742482c 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -656,9 +656,11 @@ void WXDLLEXPORT wxGetMousePosition( int* x, int* y ); #endif // MSW // ---------------------------------------------------------------------------- -// Display and colorss (X only) +// X11 Display access // ---------------------------------------------------------------------------- +#if defined(__X__) || defined(__WXGTK__) + #ifdef __WXGTK__ void *wxGetDisplay(); #endif @@ -675,6 +677,8 @@ inline struct _XDisplay *wxGetX11Display() return (_XDisplay *)wxGetDisplay(); } +#endif // X11 || wxGTK + #endif // wxUSE_GUI // ---------------------------------------------------------------------------- -- 2.47.2