]> git.saurik.com Git - wxWidgets.git/commitdiff
intel pict fixes
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 17 Mar 2006 18:29:14 +0000 (18:29 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 17 Mar 2006 18:29:14 +0000 (18:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/private.h

index 752a9be73b8b0213385c5e6c33303a5da1386c82..3941352de703acdfc4ae9e54b034e19aa6c7cd8f 100644 (file)
@@ -816,6 +816,19 @@ private :
 
 ControlRef wxMacFindControlUnderMouse( wxTopLevelWindowMac* toplevelWindow, const Point& location , WindowRef window , ControlPartCode *outPart ) ;
 
+#if WORDS_BIGENDIAN
+    inline Rect* wxMacGetPictureBounds( PicHandle pict , Rect* rect ) 
+    { 
+       *rect = (**pict).picFrame ; 
+        return rect ;
+    }
+#else
+    inline Rect* wxMacGetPictureBounds( PicHandle pict , Rect* rect ) 
+    {   
+        return QDGetPictureBounds( pict , rect ) ;
+    }
+#endif
+
 #endif // wxUSE_GUI
 
 #define wxMAC_DEFINE_PROC_GETTER( UPP , x ) \