Minor optical changes to toolbar and the help frame's

options dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-12-20 20:16:37 +00:00
parent c25a510b30
commit 6f67eafe67
3 changed files with 14 additions and 12 deletions

View File

@@ -316,6 +316,9 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
{
wxToolBarTool *tool = (wxToolBarTool *)toolBase;
// we have inserted a space before all the tools
if (m_xMargin > 1) pos++;
if ( tool->IsButton() )
{
wxBitmap bitmap = tool->GetBitmap1();
@@ -399,7 +402,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
GtkRequisition req;
(* GTK_WIDGET_CLASS( GTK_OBJECT(m_widget)->klass )->size_request ) (m_widget, &req );
m_width = req.width + m_xMargin;
m_height = req.height + 2*m_yMargin + 4;
m_height = req.height + 2*m_yMargin;
return TRUE;
}