Refactoring to common code for focus set and lost events, so that

changes can be made a single place

See #14269.

(this is a backport of 2b99f92 from master)
This commit is contained in:
Stefan Csomor
2014-05-18 10:44:24 +00:00
committed by Dimitri Schoolwerth
parent 8d2956100f
commit 6749ca7405
2 changed files with 32 additions and 22 deletions

View File

@@ -129,6 +129,8 @@ public :
virtual bool DoHandleMouseEvent(NSEvent *event);
virtual bool DoHandleKeyEvent(NSEvent *event);
virtual bool DoHandleCharEvent(NSEvent *event, NSString *text);
virtual void DoNotifyFocusSet();
virtual void DoNotifyFocusLost();
virtual void DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow);
virtual void SetupKeyEvent(wxKeyEvent &wxevent, NSEvent * nsEvent, NSString* charString = NULL);