X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e8b10e9027497ec09ce669de288b757a1fbcfc9..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/wxPython/wx/tools/XRCed/tools.py diff --git a/wxPython/wx/tools/XRCed/tools.py b/wxPython/wx/tools/XRCed/tools.py index 061e4496c7..d6264f22aa 100644 --- a/wxPython/wx/tools/XRCed/tools.py +++ b/wxPython/wx/tools/XRCed/tools.py @@ -83,6 +83,7 @@ class Tools(wxPanel): (ID_NEW.LIST_CTRL, images.getToolListCtrlBitmap()), (ID_NEW.NOTEBOOK, images.getToolNotebookBitmap()), + (ID_NEW.SPLITTER_WINDOW, images.getToolSplitterWindowBitmap()), (ID_NEW.UNKNOWN, images.getToolUnknownBitmap())] ] @@ -114,7 +115,7 @@ class Tools(wxPanel): def AddGroup(self, name): # Each group is inside box box = wxStaticBox(self, -1, name, style=wxWANTS_CHARS) - box.SetFont(smallerFont) + box.SetFont(g.smallerFont()) boxSizer = wxStaticBoxSizer(box, wxVERTICAL) boxSizer.Add((0, 4)) self.curSizer = wxGridSizer(0, 3) @@ -245,7 +246,8 @@ class Tools(wxPanel): self.EnableGroup(GROUP_CONTROLS) self.EnableGroupItems(GROUP_CONTROLS, [ ID_NEW.TREE_CTRL, - ID_NEW.NOTEBOOK ], + ID_NEW.NOTEBOOK, + ID_NEW.SPLITTER_WINDOW ], False) elif state == STATE_MENU: self.EnableGroup(GROUP_MENUS)