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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user