Solve "global name 'ID_TRANSITIONCONTENTDIALOGSPACER' is not defined" error on "Create a new divergence" in SFC editor.
authorEdouard Tisserant
Sat, 26 Mar 2011 22:54:33 +0100
changeset 506 553747b2e980
parent 505 c5aec2269fb3
child 515 55213a347f16
Solve "global name 'ID_TRANSITIONCONTENTDIALOGSPACER' is not defined" error on "Create a new divergence" in SFC editor.
dialogs/SFCDivergenceDialog.py
--- a/dialogs/SFCDivergenceDialog.py	Sat Mar 26 18:55:23 2011 +0100
+++ b/dialogs/SFCDivergenceDialog.py	Sat Mar 26 22:54:33 2011 +0100
@@ -151,7 +151,7 @@
         setattr(self.Preview, "GetDrawingMode", lambda:FREEDRAWING_MODE)
         setattr(self.Preview, "IsOfType", ctrler.IsOfType)
 
-        self.Spacer = wx.Panel(id=ID_TRANSITIONCONTENTDIALOGSPACER,
+        self.Spacer = wx.Panel(id=ID_SFCDIVERGENCEDIALOGSPACER,
               name='Spacer', parent=self, pos=wx.Point(0, 0),
               size=wx.Size(0, 0), style=wx.TAB_TRAVERSAL)