notify the event loop that synthesized events are on the queue, wait for them to be available, also on OSX a double click has to be synthesized slightly differently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,6 +25,8 @@ bool wxUIActionSimulator::MouseClick(int button)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifndef __WXOSX__
|
||||
|
||||
bool wxUIActionSimulator::MouseDblClick(int button)
|
||||
{
|
||||
MouseDown(button);
|
||||
@@ -35,6 +37,8 @@ bool wxUIActionSimulator::MouseDblClick(int button)
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool
|
||||
wxUIActionSimulator::MouseDragDrop(long x1, long y1, long x2, long y2,
|
||||
int button)
|
||||
|
||||
Reference in New Issue
Block a user