]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/glcanvas.cpp
pen.h depends from brush.h in compat mode
[wxWidgets.git] / src / mac / carbon / glcanvas.cpp
index 07fda365914260675abe4d64e21c3b396823c684..5fe1661ddd5b11709e12feea49e4aa839bc7dc67 100644 (file)
@@ -415,7 +415,7 @@ void wxGLCanvas::MacTopLevelWindowChangedPosition()
 
 void wxGLCanvas::MacVisibilityChanged()
 {
 
 void wxGLCanvas::MacVisibilityChanged()
 {
-    if ( MacIsReallyShown() != m_macCanvasIsShown )
+    if ( IsShownOnScreen() != m_macCanvasIsShown )
     {
         m_macCanvasIsShown = !m_macCanvasIsShown;
         MacUpdateView();
     {
         m_macCanvasIsShown = !m_macCanvasIsShown;
         MacUpdateView();