controls/CustomIntCtrl.py
changeset 1850 614396cbffbf
parent 1811 4e3c78a84c64
child 1881 091005ec69c4
equal deleted inserted replaced
1849:6811021e3d94 1850:614396cbffbf
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
    25 
    25 
    26 import wx
    26 import wx
    27 from wx.lib.intctrl import IntCtrl
    27 import wx.lib.intctrl
    28 
    28 
    29 
    29 
    30 class CustomIntUpdatedEvent(wx.PyCommandEvent):
    30 class CustomIntUpdatedEvent(wx.PyCommandEvent):
    31     def __init__(self, id, value=0, object=None):
    31     def __init__(self, id, value=0, object=None):
    32         wx.PyCommandEvent.__init__(self, CustomIntCtrl.wxEVT_COMMAND_CUSTOM_INT_UPDATED, id)
    32         wx.PyCommandEvent.__init__(self, CustomIntCtrl.wxEVT_COMMAND_CUSTOM_INT_UPDATED, id)