Changeset b9f6d83 in sasview for src/sans/plottools/canvas.py


Ignore:
Timestamp:
Apr 1, 2014 5:23:29 AM (10 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
aba5876
Parents:
b099388
Message:

Re #216 Merging wx30 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sans/plottools/canvas.py

    ra9d5684 rb9f6d83  
    266266            self.panel.parent.set_plot_unfocus() 
    267267            self.panel.on_set_focus(None) 
    268          
    269268        return 
     269 
     270    # CRUFT: wx 3.0.0.0 on OS X doesn't release the mouse on leaving window 
     271    def _onLeave(self, evt): 
     272        if self.HasCapture(): self.ReleaseMouse() 
     273        super(FigureCanvas,self)._onLeave(evt) 
Note: See TracChangeset for help on using the changeset viewer.