]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing toolbar repositioning (iOS)
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 24 Jan 2011 16:45:58 +0000 (16:45 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 24 Jan 2011 16:45:58 +0000 (16:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/frame.cpp

index da1283489109ef266b9545665ea30b5d819ef01e..29c5880a89bcd2fcef879b9da3904b083045a6f8 100644 (file)
@@ -80,7 +80,7 @@ wxPoint wxFrame::GetClientAreaOrigin() const
         {
             pt.x += w;
         }
-        else if ( HasFlag(wxTB_TOP) )
+        else if ( toolbar->HasFlag(wxTB_TOP) )
         {
 #if !wxOSX_USE_NATIVE_TOOLBAR
             pt.y += h;