]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toolbar.cpp
fix for a fatal bug in wxMGL's wxDir
[wxWidgets.git] / src / mac / toolbar.cpp
index bcf2beb0003606c37b9e42a30c222b4a0e9f1cf7..86020f988be8582a26d5fb2b7743d48bfc92fe63 100644 (file)
@@ -588,8 +588,6 @@ void wxToolBar::OnPaint(wxPaintEvent& event)
        {
                wxMacDrawingHelper help( win ) ;
                // the mac control manager always assumes to have the origin at 0,0
-               SetOrigin( 0 , 0 ) ;
-               
                bool                    hasTabBehind = false ;
                wxWindow* parent = GetParent() ;
                while ( parent )