Add support for building with GTK3

This commit is contained in:
Scott Talbert
2016-02-25 20:53:33 -05:00
parent 4ecd949e32
commit a57bec2e71
17 changed files with 54 additions and 21 deletions

View File

@@ -17,7 +17,7 @@ class MyHtmlWindow(html.HtmlWindow):
def __init__(self, parent, id, log):
html.HtmlWindow.__init__(self, parent, id, style=wx.NO_FULL_REPAINT_ON_RESIZE)
self.log = log
if "gtk2" in wx.PlatformInfo:
if "gtk2" in wx.PlatformInfo or "gtk3" in wx.PlatformInfo:
self.SetStandardFonts()
def OnLinkClicked(self, linkinfo):