OK I solved it by making an EnableToolTip call on the FlatNoteBook.
I'll be happy to feed back my changes (flexible fancy tabs, gradient on the
disabled tab and greying out of the disabled image), what is the process for
that?
Either enter a "patch report" on the wxWidgets trac (specify
wxPython-specific) or send me the modified code and I will change the
source in SVN. Thank you for contributing back your enhancements
Since we are talking about FlatNotebook, I noticed that FlatNotebook
doesn't quite follow the wx.Notebook semantics of .RemovePage(). That
is, FlatNotebook.RemovePage() deletes the specified page rather than
allowing the user to .RemovePage() then either AppendPage() or
InsertPage().
- Josiah
···
On Thu, Jul 10, 2008 at 9:27 AM, Andrea Gavana <andrea.gavana@gmail.com> wrote:
Hi Paul,
On 7/10/08, Paul Sijben wrote:
OK I solved it by making an EnableToolTip call on the FlatNoteBook.
I'll be happy to feed back my changes (flexible fancy tabs, gradient on the
disabled tab and greying out of the disabled image), what is the process for
that?
Either enter a "patch report" on the wxWidgets trac (specify
wxPython-specific) or send me the modified code and I will change the
source in SVN. Thank you for contributing back your enhancements
I found out that the bitmap has an Alpha before I put it into the ImageList but the bitmap I get from the ImageList does not have it. Trying to re-enable it in the bitmap I get from the ImageList does not help.
Is this a bug in the ImageList?
On Windows the native ImageList is used. When you call GetBitmap it uses the native API to get a HBITMAP handle of the image stored in the image list and a new wxBitmap is wrapped around it. I wouldn't be surprised if the handle type is one that doesn't include the alpha channel. It may be possible to fix or workaround this however, so go ahead and create a bug report about it.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!