]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing warnings
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Apr 2010 18:57:35 +0000 (18:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Apr 2010 18:57:35 +0000 (18:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/graphics.cpp

index 8f4e0cde52a9871600fd2aedc1d4c6f6471c2949..4d1bd50a12e9e5f70a2ec1056e4ea37681433692 100644 (file)
@@ -1545,6 +1545,11 @@ public :
             m_userOffset = CGContextConvertSizeToUserSpace( m_cg, CGSizeMake( 0.5 , 0.5 ) );
             CGContextTranslateCTM( m_cg, m_userOffset.width , m_userOffset.height );
         }
+        else 
+        {
+            m_userOffset = CGSizeMake(0.0, 0.0);
+        }
+
     }
     ~wxQuartzOffsetHelper( )
     {