1. wxInputHandler::Map() can return a sequence of actions, not only one
2. wxControl::PerformAction() takes a wxEvent parameter 3. wxGTK fix: send enter/leave events even when the mouse is captured 4. renamed "highlighted" state to "current" git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#pragma interface "inphand.h"
|
||||
#endif
|
||||
|
||||
#include "wx/control.h" // for wxControlAction
|
||||
#include "wx/control.h" // for wxControlAction(s)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxInputHandler: maps the events to the actions
|
||||
@@ -26,12 +26,12 @@
|
||||
class WXDLLEXPORT wxInputHandler
|
||||
{
|
||||
public:
|
||||
// map a keyboard event to an action (pressed == TRUE if the key was
|
||||
// pressed, FALSE if released)
|
||||
virtual wxControlAction Map(const wxKeyEvent& event, bool pressed) = 0;
|
||||
// map a keyboard event to one or more actions (pressed == TRUE if the key
|
||||
// was pressed, FALSE if released)
|
||||
virtual wxControlActions Map(const wxKeyEvent& event, bool pressed) = 0;
|
||||
|
||||
// map a mouse event to an action
|
||||
virtual wxControlAction Map(const wxMouseEvent& event) = 0;
|
||||
// map a mouse event to one or more actions
|
||||
virtual wxControlActions Map(const wxMouseEvent& event) = 0;
|
||||
|
||||
// virtual dtor for any base class
|
||||
virtual ~wxInputHandler();
|
||||
|
Reference in New Issue
Block a user