]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
fixed memory leak in wxNativeFontInfo when using Pango
[wxWidgets.git] / src / html / helpfrm.cpp
index d0e25f3765e0ad6712c796b74e77c8e17c722d4d..abcdb10dcf3a7ab39211dd6e22efcd509f678176 100644 (file)
@@ -731,7 +731,7 @@ bool wxHtmlHelpFrame::DisplayIndex()
 
     return true;
 }
-#include <gtk/gtk.h>
+
 void wxHtmlHelpFrame::DisplayIndexItem(const wxHtmlHelpMergedIndexItem *it)
 {
     if (it->items.size() == 1)
@@ -1178,11 +1178,11 @@ public:
         sizer->Add(new wxStaticText(this, wxID_ANY, _("Font size:")));
 
         sizer->Add(NormalFont = new wxComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition,
-                      wxSize(200, 200),
+                      wxSize(200, -1),
                       0, NULL, wxCB_DROPDOWN | wxCB_READONLY));
 
         sizer->Add(FixedFont = new wxComboBox(this, wxID_ANY, wxEmptyString, wxDefaultPosition,
-                      wxSize(200, 200),
+                      wxSize(200, -1),
                       0, NULL, wxCB_DROPDOWN | wxCB_READONLY));
 
         sizer->Add(FontSize = new wxSpinCtrl(this, wxID_ANY));