]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/uma.cpp
removed __DARWIN__ conditional tests (the help menu doesn't work otherwise)
[wxWidgets.git] / src / mac / uma.cpp
index 2ca3e8cc2bec759f095533a783490ed7811e2dad..4fe99c0e6a8d7ce5eac08d6cc0df0177b2f3aad1 100644 (file)
@@ -379,7 +379,7 @@ GrafPtr             UMAGetWindowPort( WindowRef inWindowRef )
 {
        wxASSERT( inWindowRef != NULL ) ;
 #if TARGET_CARBON 
-       return GetWindowPort( inWindowRef ) ; 
+       return (GrafPtr) GetWindowPort( inWindowRef ) ; 
 #else
        return (GrafPtr) inWindowRef ;
 #endif