Changeset 1473


Ignore:
Timestamp:
Aug 20, 2014 2:04:07 PM (7 years ago)
Author:
toby
Message:

fix repaint problem; 2.9, mac only?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r1471 r1473  
    36443644            Page.toolbar.push_current()
    36453645            Page.toolbar.draw()
     3646            # patch for wx 2.9 on Mac, to force a redraw
     3647            i,j= wx.__version__.split('.')[0:2]
     3648            if int(i)+int(j)/10. > 2.8 and 'wxOSX' in wx.PlatformInfo:
     3649                Page.canvas.draw()
    36463650        else:
    36473651            Page.canvas.draw()
Note: See TracChangeset for help on using the changeset viewer.