Make sure the window is not iconized before saving position and size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -798,6 +798,7 @@ Homepage: http://xrced.sourceforge.net\
|
|||||||
panel.cacheParent.Destroy()
|
panel.cacheParent.Destroy()
|
||||||
if not panel.GetPageCount() == 2:
|
if not panel.GetPageCount() == 2:
|
||||||
panel.page2.Destroy()
|
panel.page2.Destroy()
|
||||||
|
if not self.IsIconized():
|
||||||
conf.x, conf.y = self.GetPosition()
|
conf.x, conf.y = self.GetPosition()
|
||||||
conf.width, conf.height = self.GetSize()
|
conf.width, conf.height = self.GetSize()
|
||||||
if conf.embedPanel:
|
if conf.embedPanel:
|
||||||
|
Reference in New Issue
Block a user