- int hh = m_frameToolBar->GetHeight();
- // VZ: according to earlier comments in this file, the tbar height
- // shouldn't be changed, so I comment out the next line
- // (09.05.99)
- //if (m_toolBarDetached) hh = wxPLACE_HOLDER;
-
- m_frameToolBar->InternalSetPosition(xx, yy);
- m_frameToolBar->InternalSetSize(ww, hh);
-
- gtk_myfixed_set_size( GTK_MYFIXED(m_mainWidget),
- m_frameToolBar->GetHandle(),
+ int hh = m_frameToolBar->m_height;
+ if (m_toolBarDetached) hh = wxPLACE_HOLDER;
+ m_frameToolBar->m_x = xx;
+ m_frameToolBar->m_y = yy;
+ /* m_frameToolBar->m_height = hh; don't change the toolbar's height */
+ m_frameToolBar->m_width = ww;
+ gtk_myfixed_set_size( GTK_MYFIXED(m_mainWidget),
+ m_frameToolBar->m_widget,