Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NewProject = wx.MenuItem(File, -1, "&New ProjecttCtrl+N", "Create a new project")
- try:
- # raises an error message but not an exception
- NewProject.SetBitmap(wx.Image( <path> ), wx.BITMAP_TYPE_PNG).ConvertToBitmap())
- except Exception:
- pass
- dummy_log=wx.LogNull()
Add Comment
Please, Sign In to add comment