mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
Ensure variable is created before referencing it in aui framemanager.
This commit is contained in:
@@ -9654,6 +9654,8 @@ class AuiManager(wx.EvtHandler):
|
|||||||
if pane.IsFloating():
|
if pane.IsFloating():
|
||||||
diff = pane.floating_pos - (screenPt - self._action_offset)
|
diff = pane.floating_pos - (screenPt - self._action_offset)
|
||||||
pane.floating_pos = screenPt - self._action_offset
|
pane.floating_pos = screenPt - self._action_offset
|
||||||
|
else:
|
||||||
|
diff = wx.Point()
|
||||||
|
|
||||||
framePos = pane.floating_pos
|
framePos = pane.floating_pos
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user