[Dev] wxBitmapButton derivative
alecf at osafoundation.org
Fri Feb 17 11:45:54 PST 2006
Reid Ellis wrote:
> I've written up my thoughts on implementing a fairly simple class that
> derives from wxBitmapButton to handle the additional functionality
> required for the buttons on the Markup Bar.
> Any comments appreciated:
Reid - there is an existing Python-based Bitmap Button which works
fairly well, and I'm sure we could extend it further to add the things
we need. We're using it in the calendar already (that's what the
next/back buttons are) - its in wx.lib.buttons.GenBitmapButton
The problem with wx.BitmapButton is that it is really (REALLY)
inconsistent across platforms - its really a piece of junk. On Mac I
think you get this nasty old-style native 3d border. On Linux you get a
strange border during hover, and it looks fine on windows.
GenBitmapButton is identical on all three platforms.
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Open Source Applications Foundation "Dev" mailing list
More information about the Dev