From aa642a456cde1a8e4b97a74bdd16bd575e7123b1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 24 Jan 2011 16:45:58 +0000 Subject: [PATCH] fixing toolbar repositioning (iOS) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/carbon/frame.cpp b/src/osx/carbon/frame.cpp index da12834891..29c5880a89 100644 --- a/src/osx/carbon/frame.cpp +++ b/src/osx/carbon/frame.cpp @@ -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; -- 2.45.2