// See also the wxGetMousePosition in window.cpp // Deprecated: use wxPoint wxGetMousePosition() instead void wxGetMousePosition( int* x, int* y ) { POINT pt; wxGetCursorPosMSW( & pt ); if ( x ) *x = pt.x; if ( y ) *y = pt.y; }
bool wxUIActionSimulator::MouseUp(int button) { POINT p; wxGetCursorPosMSW(&p); mouse_event(EventTypeForMouseButton(button, false), p.x, p.y, 0, 0); return true; }