Misc. fixes for obscure compilers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-02-08 19:17:00 +00:00
parent a2327a9f80
commit 3e0b743f1d
3 changed files with 4 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
wxPoint pt(0, 0);
#if wxUSE_TOOLBAR
if ( GetToolBar() )
if ( GetToolBar() && GetToolBar()->IsShown() )
{
int w, h;
GetToolBar()->GetSize(& w, & h);