X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ab09e65f950ca30fbbcb29e0ddd0ff1af073b36..2c8204062697e1d3c6600bc73c40c97fd29a13dd:/src/common/utilscmn.cpp?ds=sidebyside diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 2f359b7cc7..318fce96b1 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -816,8 +816,8 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags) #elif defined(__WXMAC__) OSStatus err; ICInstance inst; - SInt32 startSel; - SInt32 endSel; + long int startSel; + long int endSel; err = ICStart(&inst, 'STKA'); // put your app creator code here if (err == noErr) @@ -1077,7 +1077,7 @@ wxWindow* wxFindWindowAtPoint(wxWindow* win, const wxPoint& pt) } wxRect rect(pos, sz); - if (rect.Inside(pt)) + if (rect.Contains(pt)) return win; return NULL;