Search found 53 matches
- Wed Nov 25, 2009 10:00 pm
- Forum: General Development
- Topic: wxWidgets 2.9.0 early adopters: opinions anyone?
- Replies: 5
- Views: 2171
Thanks everyone for your answers! My take is that no one uses 2.9 in development yet (at least no one that actually does replied to this topic). My only project that requires some migration/upgrade to Unicode support can wait until next year, and there is an OS X port in the queue (my first!), which...
- Thu Nov 19, 2009 1:20 pm
- Forum: General Development
- Topic: wxWidgets 2.9.0 early adopters: opinions anyone?
- Replies: 5
- Views: 2171
wxWidgets 2.9.0 early adopters: opinions anyone?
I just dump this question here in the hope of sparking some discussion of the (de)merits of a switch to 2.9. I am particularly interested if you use 2.9 in a production environment, which 2.8 annoyances were fixed, and which new bugs have been newly introduced. On the surface, the Unicode changes lo...
- Mon Jun 15, 2009 5:04 pm
- Forum: C++ Development
- Topic: wxFileDialog SetDirectory and SetFilename Seem to be ignored
- Replies: 30
- Views: 6512
- Mon Jun 15, 2009 4:40 pm
- Forum: C++ Development
- Topic: again on png transparency
- Replies: 24
- Views: 7972
This ticket seems to be close: http://trac.wxwidgets.org/ticket/9050 There's a patch that seems to address problems with controls using wxImageList. Here's a link to the related forum thread: http://forums.wxwidgets.org/viewtopic.php?p=78331 The sound of the ticket and its discussion is rather omino...
- Wed Jun 10, 2009 8:11 am
- Forum: C++ Development
- Topic: again on png transparency
- Replies: 24
- Views: 7972
Might be worth a bug report (or, if one already exists, a test against SVn and a patch ;) ) There are many bug reports. I guess the problem is that this kind of bug is difficult to reproduce for the devs: If you change some small parameter you get a completely different result (read: it might be wo...
- Tue Jun 09, 2009 5:15 pm
- Forum: C++ Development
- Topic: again on png transparency
- Replies: 24
- Views: 7972
This whole alpha transparency business is a disgrace. With much trial and error I have worked around most problems, but still can't get my images to work for all Windows display settings. Right now my code works for 8-bit and 32-bit color depths, images in 16-bit wxTreeCtrls and wxNotebooks are brok...
- Tue Jan 13, 2009 7:34 pm
- Forum: Platform Related Issues
- Topic: Windows: set disabled bitmap for menu items
- Replies: 1
- Views: 1007
Windows: set disabled bitmap for menu items
Any bitmap attached to a menu item is rendered very ugly once a menu item is disabled. Is there a way to explicitly set the disabled bitmap for a menu item?
Using the source, I found wxMenuItem::SetDisabledBitmap(), which sets the bmpDisabled member of wxMenuItem, but this member is used nowhere.
Using the source, I found wxMenuItem::SetDisabledBitmap(), which sets the bmpDisabled member of wxMenuItem, but this member is used nowhere.
- Tue Jan 13, 2009 7:29 pm
- Forum: Platform Related Issues
- Topic: Windows: default menu item in popup menus
- Replies: 2
- Views: 1102
Windows: default menu item in popup menus
Is there a way to render the default menu item (the one that usually gets executed if an item is double-clicked) with a bold font?
Thanks!
Thanks!
- Tue Jan 13, 2009 6:29 pm
- Forum: Platform Related Issues
- Topic: Windows 32bpp Bitmap with alpha & load from resource
- Replies: 3
- Views: 1948
In the meantime I implemented the PNG to data string conversion thingy as outlined above, and things are a lot better. Even though, just today I encountered another fishyness. I have a 32bpp PNG, added to an wxImagelist and displayed in a wxNotebook tab. Event though the PNG has a transparent backgr...
- Wed Oct 29, 2008 9:09 pm
- Forum: Platform Related Issues
- Topic: Windows 32bpp Bitmap with alpha & load from resource
- Replies: 3
- Views: 1948
Windows 32bpp Bitmap with alpha & load from resource
After a lot of trial and error, it is my considered opinion that wx has no way to get a 32bpp bitmap loaded from a resource without loosing or mangling the alpha channel, using either BITMAP or ICON resources. Is there anyone out there who has managed? I'm loading these bitmaps now from strings with...
- Thu Sep 18, 2008 2:08 pm
- Forum: C++ Development
- Topic: SetCursor(wxNullCursor) not updating until the mouse moves?
- Replies: 2
- Views: 1213
Probably this topic is long dead, but I stumbled upon the same problem wenn trying to change the cursor of a wxTreeCtrl. (wxMSW 2.8.8, Windows XP). As a workaround, I added a dummy mouse event to the wxTreeCtrl event queue to update the cursor on screen: wxMouseEvent Dummy; AddPendingEvent(Dummy); S...
- Thu Sep 18, 2008 1:48 pm
- Forum: C++ Development
- Topic: Alpha Channel with wxBitmap
- Replies: 2
- Views: 2238
- Fri Sep 28, 2007 4:23 pm
- Forum: C++ Development
- Topic: Memory leaking when using wxAuiNotebook
- Replies: 6
- Views: 1952
- Fri Sep 28, 2007 1:00 pm
- Forum: C++ Development
- Topic: Hiding items in a wxTreeCtrl
- Replies: 1
- Views: 1834
There is no way that I am aware of. Keep important data elsewhere, and delete the tree items for good. Recreate the item to un-hide. If the tree doesn't get too large, it is probably an option to rebuild the entire tree from scratch, you probably already have the code that does this. Use code like b...
- Fri Sep 28, 2007 12:38 pm
- Forum: C++ Development
- Topic: Transparent icon with alpha in wxImageList?
- Replies: 1
- Views: 1095
This is a troublesome topic. For use with image lists on MSW I convert all images with alpha to the *.ico (32bpp) format, and include them as ICON resources, using the wxICON macro to add the image: ImageList->Add(wxICON(MyIcon)); If the display color depth is 32bit, this usually works well. If I re...