commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms/src UIwxpython.py


From: James Thompson
Subject: gnue/forms/src UIwxpython.py
Date: Sun, 17 Feb 2002 01:19:29 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/02/17 01:19:29

Modified files:
        forms/src      : UIwxpython.py 

Log message:
        Fixed dropdown initial value bug

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/UIwxpython.py.diff?tr1=1.140&tr2=1.141&r1=text&r2=text

Patches:
Index: gnue/forms/src/UIwxpython.py
diff -c gnue/forms/src/UIwxpython.py:1.140 gnue/forms/src/UIwxpython.py:1.141
*** gnue/forms/src/UIwxpython.py:1.140  Sun Feb 17 01:08:46 2002
--- gnue/forms/src/UIwxpython.py        Sun Feb 17 01:19:29 2002
***************
*** 640,648 ****
  
        newWidget = wxComboBox(container, -1, "",defaultPoint,
                                
wxSize(object.width*int(textWidth),object.height*int(textHeight)),
!                              choices, wxCB_DROPDOWN|wxWANTS_CHARS,)
! 
        EVT_COMBOBOX(newWidget, newWidget.GetId(), self.comboHandler)
        
      elif style == 'label':
        newWidget = wxStaticText(container, -1, "",defaultPoint,defaultSize,
--- 640,649 ----
  
        newWidget = wxComboBox(container, -1, "",defaultPoint,
                                
wxSize(object.width*int(textWidth),object.height*int(textHeight)),
!                              choices, wxCB_DROPDOWN,) # |wxWANTS_CHARS,)
!       newWidget.SetValue("")
        EVT_COMBOBOX(newWidget, newWidget.GetId(), self.comboHandler)
+       
        
      elif style == 'label':
        newWidget = wxStaticText(container, -1, "",defaultPoint,defaultSize,



reply via email to

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