added GTKProcessEvent() to allow controlling whether we leave or not events for the native widgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,6 +166,12 @@ public:
|
||||
// anything else. If it returns -1, the handler should continue as usual
|
||||
int GTKCallbackCommonPrologue(struct _GdkEventAny *event) const;
|
||||
|
||||
// override this if some events should never be consumed by wxWidgets but
|
||||
// but have to be left for the native control
|
||||
//
|
||||
// base version just does GetEventHandler()->ProcessEvent()
|
||||
virtual bool GTKProcessEvent(wxEvent& event) const;
|
||||
|
||||
protected:
|
||||
// Override GTKWidgetNeedsMnemonic and return true if your
|
||||
// needs to set its mnemonic widget, such as for a
|
||||
|
Reference in New Issue
Block a user