Author: johannes
Date: 2006-11-08 04:35:49 -0600 (Wed, 08 Nov 2006)
New Revision: 8996
Modified:
trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
Log:
That was way too fast ...
Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py 2006-11-08
10:23:03 UTC (rev 8995)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/entry.py 2006-11-08
10:35:49 UTC (rev 8996)
@@ -112,8 +112,7 @@
self.__border = self._uiDriver.control_border('default')
ctrl = wx.TextCtrl(parent, -1, size=csize, style=xFlags)
- ctrl.Bind(wx.EVT_TEXT, self.__on_text_changed)
- # ctrl.Bind(wx.EVT_CHAR, self.__on_keypress)
+ ctrl.Bind(wx.EVT_CHAR, self.__on_keypress)
ctrl.Bind(wx.EVT_SET_FOCUS, self.__on_set_focus)
# Currently wxMac does *not* recieve a button release event, so we
@@ -294,14 +293,6 @@
# -------------------------------------------------------------------------
- def __on_text_changed(self, event):
-
- self._request('REPLACEVALUE', text=event.GetEventObject().GetValue(),
- position=event.GetEventObject().GetInsertionPoint())
- event.Skip()
-
- # -------------------------------------------------------------------------
-
def __on_keypress(self, event):
if 'wxMac' in wx.PlatformInfo or \
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue