Use wxExternalField for gestures data in wxGTK too

Don't waste memory on gesture data in all windows.
This commit is contained in:
Vadim Zeitlin
2017-11-22 00:14:09 +01:00
parent 6fd435b83f
commit 1863f494f3
2 changed files with 44 additions and 25 deletions

View File

@@ -358,11 +358,6 @@ public:
wxRegion m_nativeUpdateRegion; // not transformed for RTL
#if defined(__WXGTK3__)
// Data used for gesture support, if available.
class wxWindowGesturesData* m_gesturesData;
#endif // __WXGTK3__
protected:
// implement the base class pure virtuals
virtual void DoGetTextExtent(const wxString& string,