]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
make sure we always restore the passed in cg in a paint event
[wxWidgets.git] / src / mac / carbon / window.cpp
index 719f9376d08a5ae8cbf6be71967167e67905fffa..5cb844f3c0d3ab752c895d9743854638d46b0b6f 100644 (file)
@@ -1661,7 +1661,7 @@ void wxWindowMac::DoGetClientSize( int *x, int *y ) const
 
 bool wxWindowMac::SetCursor(const wxCursor& cursor)
 {
-    if (m_cursor.IsRefTo(&cursor))
+    if (m_cursor.IsSameAs(cursor))
         return false;
 
     if (!cursor.IsOk())