commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/forms/src GFForm.py uidrivers/wx/UIdriver.py


From: James Thompson
Subject: gnue/forms/src GFForm.py uidrivers/wx/UIdriver.py
Date: Wed, 20 Feb 2002 15:44:46 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/02/20 15:44:46

Modified files:
        forms/src      : GFForm.py 
        forms/src/uidrivers/wx: UIdriver.py 

Log message:
        wx cursor position via mouse bug fixed
        mouse click on background attribute error fixed

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFForm.py.diff?tr1=1.156&tr2=1.157&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/uidrivers/wx/UIdriver.py.diff?tr1=1.151&tr2=1.152&r1=text&r2=text

Patches:
Index: gnue/forms/src/GFForm.py
diff -c gnue/forms/src/GFForm.py:1.156 gnue/forms/src/GFForm.py:1.157
*** gnue/forms/src/GFForm.py:1.156      Wed Feb 20 11:49:34 2002
--- gnue/forms/src/GFForm.py    Wed Feb 20 15:44:46 2002
***************
*** 225,232 ****
  
      message = None
  
!     try:
  
        if self._currentEntry:
          event = GFEvent('endEditMode', None)
          self._app.dispatchEvent(event)
--- 225,234 ----
  
      message = None
  
!     if not hasattr(widget,'_block'):
!       return message
  
+     try:
        if self._currentEntry:
          event = GFEvent('endEditMode', None)
          self._app.dispatchEvent(event)
Index: gnue/forms/src/uidrivers/wx/UIdriver.py
diff -c gnue/forms/src/uidrivers/wx/UIdriver.py:1.151 
gnue/forms/src/uidrivers/wx/UIdriver.py:1.152
*** gnue/forms/src/uidrivers/wx/UIdriver.py:1.151       Wed Feb 20 13:02:13 2002
--- gnue/forms/src/uidrivers/wx/UIdriver.py     Wed Feb 20 15:44:46 2002
***************
*** 910,916 ****
      
      # compute the location of the character in the widget
      x,y = event.GetPositionTuple()
!     cursorPosition = 1 + x/_charWidth
  
      # Move to proper object
      id = object.GetId()
--- 910,916 ----
      
      # compute the location of the character in the widget
      x,y = event.GetPositionTuple()
!     cursorPosition = x/_charWidth
  
      # Move to proper object
      id = object.GetId()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]