added #ifdef __X__ forgotten in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-15 23:21:56 +00:00
parent 0ce4fad6ae
commit dc2819335f

View File

@@ -656,9 +656,11 @@ void WXDLLEXPORT wxGetMousePosition( int* x, int* y );
#endif // MSW #endif // MSW
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Display and colorss (X only) // X11 Display access
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
#if defined(__X__) || defined(__WXGTK__)
#ifdef __WXGTK__ #ifdef __WXGTK__
void *wxGetDisplay(); void *wxGetDisplay();
#endif #endif
@@ -675,6 +677,8 @@ inline struct _XDisplay *wxGetX11Display()
return (_XDisplay *)wxGetDisplay(); return (_XDisplay *)wxGetDisplay();
} }
#endif // X11 || wxGTK
#endif // wxUSE_GUI #endif // wxUSE_GUI
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------