From 6bd7d4c5401961217d62234a8d911292ffe25aec Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 27 Aug 2002 00:56:56 +0000 Subject: [PATCH] Don't use a wxPopupWindow on wxGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/ScintillaWX.cpp | 5 +++++ src/stc/ScintillaWX.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/contrib/src/stc/ScintillaWX.cpp b/contrib/src/stc/ScintillaWX.cpp index b35314aba4..5a256340ed 100644 --- a/contrib/src/stc/ScintillaWX.cpp +++ b/contrib/src/stc/ScintillaWX.cpp @@ -63,6 +63,11 @@ void wxSTCDropTarget::OnLeave() { #endif +#ifdef __WXGTK__ +#undef wxSTC_USE_POPUP +#define wxSTC_USE_POPUP 0 +#endif + #if wxUSE_POPUPWIN && wxSTC_USE_POPUP #include #define wxSTCCallTipBase wxPopupWindow diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index b35314aba4..5a256340ed 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -63,6 +63,11 @@ void wxSTCDropTarget::OnLeave() { #endif +#ifdef __WXGTK__ +#undef wxSTC_USE_POPUP +#define wxSTC_USE_POPUP 0 +#endif + #if wxUSE_POPUPWIN && wxSTC_USE_POPUP #include #define wxSTCCallTipBase wxPopupWindow