Optical improvements under OS X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-23 23:35:18 +00:00
parent e675d6d86e
commit 4e0d42061e

View File

@@ -342,6 +342,7 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id,
wxTB_DOCKABLE | wxTB_NODIVIDER | wxTB_DOCKABLE | wxTB_NODIVIDER |
(helpStyle & wxHF_FLAT_TOOLBAR ? wxTB_FLAT : 0)); (helpStyle & wxHF_FLAT_TOOLBAR ? wxTB_FLAT : 0));
toolBar->SetMargins( 2, 2 ); toolBar->SetMargins( 2, 2 );
toolBar->SetToolBitmapSize( wxSize(22,22) );
AddToolbarButtons(toolBar, helpStyle); AddToolbarButtons(toolBar, helpStyle);
toolBar->Realize(); toolBar->Realize();
topWindowSizer->Add(toolBar, 0, wxEXPAND); topWindowSizer->Add(toolBar, 0, wxEXPAND);
@@ -437,7 +438,7 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id,
m_ContentsBox = new wxTreeCtrl(dummy, wxID_HTML_TREECTRL, m_ContentsBox = new wxTreeCtrl(dummy, wxID_HTML_TREECTRL,
wxDefaultPosition, wxDefaultSize, wxDefaultPosition, wxDefaultSize,
#ifdef __WXGTK20__ #if defined(__WXGTK20__) || defined(__WXMAC__)
wxSUNKEN_BORDER | wxSUNKEN_BORDER |
wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT | wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT |
wxTR_NO_LINES wxTR_NO_LINES