2 Problems with wxToolbar on Mac

crjjrc crjjrc at gmail.com
Thu Apr 26 09:03:13 PDT 2007


On Apr 20, 11:46 am, crjjrc <crj... at gmail.com> wrote:

> The second problem I'm now facing is that the enabled bitmaps for the
> tools disappear as soon as they're clicked on.  They do not reappear,
> even if the buttons are toggled off.  On startup, the first tool is
> already selected, so only the dummy tool's image appears.  As soon as
> I click on it, the image is gone.  The text labels remain.

I found that the toolbar images remain if I resize the input images to
a 16x16 resolution.  Before, they were 24x24.  The wxToolBar
documentation states that the default size is 16x15.  I figured it was
safe to deviate from this, but apparently not under wxMac?  (I tried
16x16 rather than 16x15 because a black line appeared to the right of
the images in the toolbar sample.)

- Chris







More information about the wx-users mailing list