X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..96c9640205933ad0673d5af2c96af0816c50160c:/src/msw/utilsgui.cpp?ds=sidebyside diff --git a/src/msw/utilsgui.cpp b/src/msw/utilsgui.cpp index 277535f0dc..7c44c41a18 100644 --- a/src/msw/utilsgui.cpp +++ b/src/msw/utilsgui.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/utilsgui.cpp +// Name: src/msw/utilsgui.cpp // Purpose: Various utility functions only available in GUI // Author: Vadim Zeitlin // Modified by: @@ -113,7 +113,7 @@ bool wxCheckForInterrupt(wxWindow *wnd) void wxGetMousePosition( int* x, int* y ) { POINT pt; - GetCursorPos( & pt ); + wxGetCursorPosMSW( & pt ); if ( x ) *x = pt.x; if ( y ) *y = pt.y; } @@ -374,7 +374,6 @@ bool wxLaunchDefaultApplication(const wxString& document, int flags) WinStruct sei; sei.lpFile = document.wx_str(); - sei.lpVerb = wxT("open"); #ifdef __WXWINCE__ sei.nShow = SW_SHOWNORMAL; // SW_SHOWDEFAULT not defined under CE (#10216) #else