Fix a problem with wxGetDisplay() in wxGTK/MSW build
Only define wxGetDisplay() in Unix builds. Closes https://github.com/wxWidgets/wxWidgets/pull/2206
This commit is contained in:
committed by
Vadim Zeitlin
parent
98d3a4ccdc
commit
a291e1c004
@@ -782,7 +782,7 @@ void WXDLLIMPEXP_CORE wxGetMousePosition( int* x, int* y );
|
||||
// X11 Display access
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if defined(__X__) || defined(__WXGTK__)
|
||||
#if defined(__X__) || (defined(__WXGTK__) && defined(__UNIX__))
|
||||
|
||||
#ifdef __WXGTK__
|
||||
WXDLLIMPEXP_CORE void *wxGetDisplay();
|
||||
|
Reference in New Issue
Block a user