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,13 +798,14 @@ 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()
|
||||||
conf.x, conf.y = self.GetPosition()
|
if not self.IsIconized():
|
||||||
conf.width, conf.height = self.GetSize()
|
conf.x, conf.y = self.GetPosition()
|
||||||
if conf.embedPanel:
|
conf.width, conf.height = self.GetSize()
|
||||||
conf.sashPos = self.splitter.GetSashPosition()
|
if conf.embedPanel:
|
||||||
else:
|
conf.sashPos = self.splitter.GetSashPosition()
|
||||||
conf.panelX, conf.panelY = self.miniFrame.GetPosition()
|
else:
|
||||||
conf.panelWidth, conf.panelHeight = self.miniFrame.GetSize()
|
conf.panelX, conf.panelY = self.miniFrame.GetPosition()
|
||||||
|
conf.panelWidth, conf.panelHeight = self.miniFrame.GetSize()
|
||||||
evt.Skip()
|
evt.Skip()
|
||||||
|
|
||||||
def Clear(self):
|
def Clear(self):
|
||||||
|
Reference in New Issue
Block a user