]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
removed obsolete file
[wxWidgets.git] / src / mac / window.cpp
index 9587ffa3a7f9f7baca1c066f4bf2a33e29b8a930..aa3e705ea1ace34751e772d7357df3edb400747c 100644 (file)
@@ -886,7 +886,10 @@ void wxWindowMac::Refresh(bool eraseBack, const wxRect *rect)
     if ( MacGetTopLevelWindow() == NULL )
         return ;
 
-    wxPoint client = GetClientAreaOrigin();
+    if ( !MacIsReallyShown() )
+       return ;
+     wxPoint client = GetClientAreaOrigin();
     int x1 = -client.x;
     int y1 = -client.y;
     int x2 = m_width - client.x;