]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/framuniv.cpp
build a tarball when building the new docs
[wxWidgets.git] / src / univ / framuniv.cpp
index 4052121966c7434df67c8b0da3fda774fa8fc9a0..c61366cee5db07a94f596f211be0e46ab5e9b4a6 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     19.05.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ===========================================================================
@@ -259,7 +259,9 @@ void wxFrame::DoSetClientSize(int width, int height)
 #if wxUSE_TOOLBAR
     if ( m_frameToolBar )
     {
+#if wxUSE_STATUSBAR
         height += m_frameStatusBar->GetSize().y;
+#endif // wxUSE_STATUSBAR
 
         if ( m_frameToolBar->GetWindowStyleFlag() & wxTB_VERTICAL )
             width += m_frameToolBar->GetSize().x;