]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
fix compilation without wxUSE_STREAMS (closes #10900)
[wxWidgets.git] / src / gtk / window.cpp
index db5446339cbfbbf0e3d72d2bdf05e28c1cf3f34a..b5d5d18bfe1c98c559c6682368c04bdde4a25da7 100644 (file)
@@ -1208,6 +1208,11 @@ bool wxWindowGTK::GTKProcessEvent(wxEvent& event) const
     return HandleWindowEvent(event);
 }
 
+bool wxWindowGTK::GTKShouldIgnoreEvent() const
+{
+    return !m_hasVMT || g_blockEventsOnDrag;
+}
+
 int wxWindowGTK::GTKCallbackCommonPrologue(GdkEventAny *event) const
 {
     if (!m_hasVMT)