Weird painting behaviour of wx.lib.agw.aui on OSX 10.10.2

When using agw auto notebooks, the window doesn’t get drawn properly (drawing can be forced by a resize, but this is the only time that drawing works properly - Update() and Refresh() don’t result in a redraw). This occur both in the agw demo, and in custom code. I’m pretty stumped about what is causing this, but have so far been able to verify that the that EVT_PAINT methods are fired, and the OnPaint handlers are called following the Update() and Refresh() calls, although this doesn’t change what is shown on screen. Curiously this only occurs when using auto notebooks - when using the agw.aui framemanager without notebooks everything is fine, as is the use of a static agw.aui.AuiNotebook.

Any hints or suggestions would be much appreciated. I’m using wxPython 3.0.0 on python 2.7 (Anaconda) .

cheers,

David

Any hints or suggestions would be much appreciated. I'm using wxPython

3.0.0 on python 2.7 (Anaconda) .

I've had some odd (though different) issues like this with 3.0.0 on OS-X,
at least some of which have gone away with 3.0.1.

Unfortunately, Continuum has not upgraded wxPython -- You might put in a
request -- but maybe one of us will need to do a recipe at some point -- I
keep waiting have a bit of time to work on that.....

-Chris

···

On Mon, Feb 9, 2015 at 2:17 PM, David Baddeley <david.baddeley.nz@gmail.com> wrote:

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Upgrading to 3.0.2.0 fixed the issue - many thanks!