wxMac GetToolbarSize bug

Chris Elliott biol75 at york.ac.uk
Sun Feb 3 13:26:21 PST 2008


Hi, In debugging 2.8.7 at

wxToolBar::DoGetSize (this=0x102d000, width=0xbfffe134,  
height=0xbfffe138) at ../src/mac/carbon/toolbar.cpp:965


after the call to GetControlBounds( (ControlRef) m_macHIToolbarRef,  
&boundsR );
I get:

(gdb) p ownToolbarInstalled
$3 = true

(gdb) p boundsR
$4 = {
   top = 0,
   left = 0,
   bottom = 1,
   right = 0
}

This doesn't seem the right size.
I'd be grateful for advice!
chris




More information about the wx-dev mailing list