Swap out deprecated Iconized for IsIconized in python
Supported since wx 3.0, wxpython seems to have dropped it
This commit is contained in:
parent
30a4d3d2de
commit
7e089182b8
|
@ -118,7 +118,7 @@ class KiCadPyFrame():
|
||||||
|
|
||||||
def OnIconize(self, event):
|
def OnIconize(self, event):
|
||||||
"""Event handler for Iconize."""
|
"""Event handler for Iconize."""
|
||||||
self.iconized = event.Iconized()
|
self.iconized = event.IsIconized()
|
||||||
|
|
||||||
|
|
||||||
def __createMenus(self):
|
def __createMenus(self):
|
||||||
|
|
Loading…
Reference in New Issue