X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d984207cc37ad70649b2392314fb9e42719506c3..b4d1ebf058c64f5b9e0ddf3264ce8a801eae4f79:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 52cc30e279..573121b725 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -166,7 +166,7 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id, const wxString& ti // toolbar? if (style & wxHF_TOOLBAR) { wxToolBar *toolBar = CreateToolBar(wxNO_BORDER | wxTB_HORIZONTAL | wxTB_DOCKABLE); - toolBar -> SetMargins(2, 2); + toolBar->SetMargins( 2, 2 ); toolBar -> AddTool(wxID_HTML_PANEL, wxBITMAP(wpanel), wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, @@ -188,6 +188,9 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id, const wxString& ti m_Bookmarks -> Append(m_BookmarksNames[i]); m_Bookmarks -> SetSelection(0); toolBar -> AddControl(m_Bookmarks); +#ifdef __WXGTK__ + toolBar -> AddSeparator(); +#endif toolBar -> AddTool(wxID_HTML_BOOKMARKSADD, wxBITMAP(wbkadd), wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, _("Add current page to bookmarks")); @@ -678,11 +681,7 @@ class wxHtmlHelpFrameOptionsDialog : public wxDialog sizer2 -> Add(new wxStaticText(this, -1, _("Normal font:")), 0, wxLEFT | wxTOP, 10); sizer2 -> Add(NormalFont = new wxComboBox(this, -1, wxEmptyString, wxDefaultPosition, -//#ifdef __WXMSW__ wxSize(200, 200), -//#else -// wxSize(200, -1), -//#endif // FIXME: temporarily commented by VS to demonstrate the problem 0, NULL, wxCB_DROPDOWN | wxCB_READONLY), 1, wxEXPAND | wxLEFT | wxRIGHT, 10); @@ -699,11 +698,7 @@ class wxHtmlHelpFrameOptionsDialog : public wxDialog sizer2 -> Add(new wxStaticText(this, -1, _("Fixed font:")), 0, wxLEFT | wxTOP, 10); sizer2 -> Add(FixedFont = new wxComboBox(this, -1, wxEmptyString, wxDefaultPosition, -//#ifdef __WXMSW__ wxSize(200, 200), -//#else -// wxSize(200, -1), -//#endif // FIXME: temporarily commented by VS to demonstrate the problem 0, NULL, wxCB_DROPDOWN | wxCB_READONLY), 1, wxEXPAND | wxLEFT | wxRIGHT, 10);