mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fix shutdown error
This commit is contained in:
parent
54a29d5ece
commit
b9da2363f1
@ -62,6 +62,7 @@ class EmbeddedPandaWindow(wx.Window):
|
|||||||
self.win = None
|
self.win = None
|
||||||
|
|
||||||
def onSize(self, event):
|
def onSize(self, event):
|
||||||
|
if self.win:
|
||||||
wp = WindowProperties()
|
wp = WindowProperties()
|
||||||
wp.setOrigin(0, 0)
|
wp.setOrigin(0, 0)
|
||||||
wp.setSize(*self.GetClientSize())
|
wp.setSize(*self.GetClientSize())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user