]>
git.saurik.com Git - wxWidgets.git/blob - src/common/uiactioncmn.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/uiactioncmn.cpp
3 // Purpose: wxUIActionSimulator common implementation
4 // Author: Kevin Ollivier
7 // RCS-ID: $Id: menu.cpp 54129 2008-06-11 19:30:52Z SC $
8 // Copyright: (c) Kevin Ollivier
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #include "wx/wxprec.h"
14 #if wxUSE_UIACTIONSIMULATOR
16 #include "wx/uiaction.h"
18 wxUIActionSimulator::wxUIActionSimulator()
22 wxUIActionSimulator::~wxUIActionSimulator()
27 bool wxUIActionSimulator::MouseClick(int button
)
35 bool wxUIActionSimulator::MouseDblClick(int button
)
45 bool wxUIActionSimulator::MouseDragDrop(long x1
, long y1
, long x2
, long y2
, int button
)
55 bool wxUIActionSimulator::Char(int keycode
, bool shiftDown
, bool cmdDown
, bool altDown
)
57 Key(keycode
, false, shiftDown
, cmdDown
, altDown
);
58 Key(keycode
, true, shiftDown
, cmdDown
, altDown
);
63 #endif // wxUSE_UIACTIONSIMULATOR