]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
changing graphics pen, brushes and fonts to be refcounted objects, having no subclasses
[wxWidgets.git] / src / common / utilscmn.cpp
index 2f359b7cc7c5e07f1c7da5e4090b7879c0b3b735..318fce96b100f89f89998475edfd84185838d940 100644 (file)
@@ -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;