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:
@@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user