]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/toolbar.cpp
PCH support.
[wxWidgets.git] / src / mac / carbon / toolbar.cpp
index d1f29edb1a191514dc08dbebe5036a2ba30db419..d4382cc13772f9bd594b7a9f0b77b702e57d1bb1 100644 (file)
@@ -1648,7 +1648,9 @@ void wxToolBar::OnPaint(wxPaintEvent& event)
             drawInfo.kind = kThemeBackgroundMetal;
             HIThemeApplyBackground( &hiToolbarrect, &drawInfo, cgContext, kHIThemeOrientationNormal );
 
+#ifndef __LP64__
             QDEndCGContext( (CGrafPtr) dc.m_macPort, &cgContext );
+#endif
 #endif
         }
     }