added helper GTKShouldIgnoreEvent() to use in void GTK event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user