[wx-dev] wxMac strange toolbar behaviour

Stefan Csomor csomor at advancedconcepts.ch
Sat Apr 14 02:34:35 PDT 2007


Hi

> Vadim Zeitlin wrote:
> > On Mon, 19 Mar 2007 10:53:10 +0000 Julian Smart
> <julian at anthemion.co.uk> wrote:
> >
> > JS> The workarounds are to either pass the wxTB_TEXT flag, or
> compile wxMac with
> > JS> wxMAC_USE_NATIVE_TOOLBAR set to 0 in
> include/wx/mac/carbon/chkconf.h.
> >
> >  Maybe we should force wxTB_TEXT to be on for
> wxMAC_USE_NATIVE_TOOLBAR==1
> > (default) case then?
> >
> Yes, I think this is the best we can do for now, unless Stefan has
> further insight into the problem.

I hope I have found a workaround (CVS HEAD) (the problem is that the OS
was making the control smaller than the size we've indicated as minimal
size, and since we were always giving back the 'current size' as minimum
size, from this again 2 pixels were subtracted etc.. resulting in a
every shrinking control)

Thanks for feedback and tests,

Stefan





More information about the wx-dev mailing list