User:Frm
Jump to navigation
Jump to search
Things to patch in wx in order to improve it (in order of importance for me):
- merge wxBitmapButton with wxButton
- make wxMessageBox be smart against long messages which would exceed the screen height; e.g. currently in the font sample, choosing "Select->Enumerate Encodings" you get a giant message dialog... a smaller window with scrollbars would be much better!
- clean "console" sample moving the automated tests inside it under "tests"
- propose wxDownloadThread and wxDownloadDialog for submission in wx once they've been fully tested
- deprecate wxGetenv() in favour of wxGetEnv
- make wxLocale functions take wxLanguage enum instead of "int"
- add proper #if WXWIN_COMPATIBILITY_2_8/ #endif blocks around all wxDEPRECATED functions
- rewrite wxMSW's wxBitmapRefData constructor etc
- wxHtmlHelpWindow slows down the application *a lot* - need some benchmarking to find the bottlenecks and remove them
- cross-platform "get administrator privileges" dialog to allow installations inside system paths.
- introduce a wxControlWithMultipleSelections class as base class of wxListBox?
- rework wxListCtrl and wxTreeCtrl to derive from wxControlWithMultipleSelections?
- add a system in wxWindow which checks for given styles and warns about unrecognized ones. This should probably be implemented using a function CheckStyle() which, when __WXDEBUG__ is defined, calls a virtual function, DoCheckStyle(), which checks the style for the wxWindow-derived class. Maybe the extended RTTI system could also be used.
- rename wxWindow styles to wxWS_XXXXX; rename wxFrame styles to wxFRAME_XXXX or wxFS_XXXX; rename wxDialog styles to wxDIALOG_XXXX or wxDS_XXXXX; rename wxMiniFrame styles to wxMF_XXXXX. Rename default styles wxXX_DEFAULT to wxXX_DEFAULT_STYLE and add such symbols for all controls removing = 0 stuff.
- add to wxWindow some code which, at runtime, when enabled, builds a table of all used IDs and warns about same IDs used by different controls (to differentiate controls the name or the wxClassInfo associated could be used)
- add to wxControlWithItems, or to wxCommandEvent, a GetOldSelection() function to retrieve the index of the item which was selected prior the currently selected one (only user selections are remembered)
- margins should be different from platform to platform as some typically have larger controls (e.g. GTK respect to MSW) while others have them smaller (MSW). Thus wxSizer::Add should take as margin parameter a double indicating the multiplicative factor to use with the 'default margin size' of the current platform to get the real margin (in pixels). Thus doing wxSizer::Add(myctrl, 0, wxALL, 1.0); should mean: use the default margin size.
- nice GTK controls to wrap: http://developer.gnome.org/doc/API/2.0/gtk/GtkToolButton.html, GtkAssistant
- work on these closed/rejected patches:
full names in header files: http://sourceforge.net/tracker/index.php?func=detail&aid=1662391&group_id=9863&atid=309863
MIME types filtering: https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1554229&group_id=9863