mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
Removed a line of dead code and renamed "ReseetPoint" to "ClearPoint".
This commit is contained in:
@@ -442,7 +442,6 @@ class PyColourChooser(wx.Panel):
|
||||
def onScroll(self, event):
|
||||
"""Updates the display to reflect the new "Value"."""
|
||||
value = self.slider.GetValue()
|
||||
colour = self.colour_slider.GetValue(value)
|
||||
colour = self.getColourFromControls()
|
||||
self.solid.SetColour(colour)
|
||||
self.UpdateEntries(colour)
|
||||
|
||||
@@ -157,7 +157,7 @@ class PyPalette(canvas.Canvas):
|
||||
self.point = (x, y)
|
||||
self.ReDraw()
|
||||
|
||||
def ReseetPoint(self):
|
||||
def ClearPoint(self):
|
||||
self.point = None
|
||||
|
||||
def GeneratePaletteBMP(self, file_name, granularity=1):
|
||||
|
||||
Reference in New Issue
Block a user