Merged with Edouard's modifications
authorlaurent
Thu, 31 Mar 2011 17:37:47 +0200
changeset 515 55213a347f16
parent 514 ee435a8546b9 (current diff)
parent 506 553747b2e980 (diff)
child 516 40290ddff19c
Merged with Edouard's modifications
--- a/dialogs/SFCDivergenceDialog.py	Thu Mar 31 17:36:52 2011 +0200
+++ b/dialogs/SFCDivergenceDialog.py	Thu Mar 31 17:37:47 2011 +0200
@@ -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)
 
--- a/graphics/GraphicCommons.py	Thu Mar 31 17:36:52 2011 +0200
+++ b/graphics/GraphicCommons.py	Thu Mar 31 17:37:47 2011 +0200
@@ -207,6 +207,9 @@
     def SetValue(self, value):
         self.Value = value
     
+    def GetValue(self):
+        return self.Value
+    
     def SetForced(self, forced):
         self.Forced = forced
     
@@ -1808,9 +1811,6 @@
                 block = self.StartConnected.GetParentBlock()
                 block.SpreadCurrent()
     
-    def GetValue(self):
-        return self.Value
-    
     # Unconnect the start and end points
     def Clean(self):
         if self.StartConnected: