[wx-dev] wxMac GetToolbarSize bug

Stefan Csomor csomor at advancedconcepts.ch
Mon Feb 4 11:04:09 PST 2008


Hi

are you asking this from a native toolbar ? if yes, what would you do with
that info ?

Best,

STefan


On 2/3/08 10:26 PM, "Chris Elliott" <biol75 at york.ac.uk> wrote:

> 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
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
> 

-- 

Advanced Concepts AG
Software-Engineering
Heldweg 10   
CH-8475 Ossingen
Switzerland

phone:+41 52 245 0 245
fax:+41 52 245 0 246
http://www.advanced.ch
mailto:csomor at advanced.ch








More information about the wx-dev mailing list