]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/timectrl.py
Added a typemap that converts the references returned for some GDI
[wxWidgets.git] / wxPython / wx / lib / timectrl.py
index f3c40ab2bcc9fc2077545eddfe37d778f57f1a1e..c7d08a8ba7739847ce63e7ae78ab239159f4f6d0 100644 (file)
@@ -967,7 +967,7 @@ class TimeCtrl(MaskedTextCtrl):
         causes control to behave as if up arrow was pressed.
         """
         dbg('TimeCtrl::OnSpinUp', indent=1)
-        self.__OnSpin(WXK_UP)
+        self.__OnSpin(wx.WXK_UP)
         keep_processing = False
         dbg(indent=0)
         return keep_processing
@@ -979,7 +979,7 @@ class TimeCtrl(MaskedTextCtrl):
         causes control to behave as if down arrow was pressed.
         """
         dbg('TimeCtrl::OnSpinDown', indent=1)
-        self.__OnSpin(WXK_DOWN)
+        self.__OnSpin(wx.WXK_DOWN)
         keep_processing = False
         dbg(indent=0)
         return keep_processing