Support for scrolling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-05-07 04:17:46 +00:00
parent e7d5dd022c
commit 1c84ee88f6
4 changed files with 116 additions and 32 deletions

View File

@@ -1192,12 +1192,12 @@ void wxFrame::PositionToolBar()
}
#endif // wxUSE_STATUSBAR
if ( GetToolBar() )
if ( m_frameToolBar )
{
int nToolbarWidth;
int nToolbarHeight;
GetToolBar()->GetSize( &nToolbarWidth
m_frameToolBar->GetSize( &nToolbarWidth
,&nToolbarHeight
);