Skip to content

Commit

Permalink
wxGUI: avoid printing annoying wx debug message on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Oct 22, 2019
1 parent ebaafb3 commit a5c598a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gui/wxpython/wxgui.py
Expand Up @@ -33,6 +33,11 @@
from core.utils import registerPid, unregisterPid

import wx
# import adv and html before wx.App is created, otherwise
# we get annoying "Debug: Adding duplicate image handler for 'Windows bitmap file'"
# during start up, remove when not needed
import wx.adv
import wx.html
try:
import wx.lib.agw.advancedsplash as SC
except ImportError:
Expand Down

0 comments on commit a5c598a

Please sign in to comment.