[GRASS-dev] Re: [GRASS GIS] #842: wx location wizard: spincontrol busted for UTM zone

GRASS GIS trac at osgeo.org
Tue Dec 29 23:35:31 EST 2009


#842: wx location wizard: spincontrol busted for UTM zone
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  major   |   Milestone:  6.4.0                    
 Component:  wxGUI   |     Version:  svn-develbranch6         
Resolution:          |    Keywords:  location wizard, utm     
  Platform:  Linux   |         Cpu:  x86-64                   
---------------------+------------------------------------------------------
Comment (by hamish):

 ah, I've just spotted this "hack around some weirdness", which may be a
 major clue..

 {{{
 # deal with weird spin control text event behavior, sending dup. event
 with negative number
    if event.GetId() >= 2000:
       num = event.GetId() - 2000
 }}}

 source:grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py at 40163#L720


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/842#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list