Don't create the fonts until after they are needed (after the App

object has been created.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-18 03:05:02 +00:00
parent 7a72b62e43
commit 289128a4fb
4 changed files with 26 additions and 10 deletions

View File

@@ -114,7 +114,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)