Releases: AllenDang/wxDragon
Releases · AllenDang/wxDragon
v0.9.13
v0.9.12
New Features
- wxApp Methods: Added many new wxApp methods including
set_top_window,get_top_window,is_main_loop_running,exit_main_loop,set_exit_on_frame_delete,get_exit_on_frame_delete,set_app_name,get_app_name,set_app_display_name,get_app_display_name,set_vendor_name,get_vendor_name,set_vendor_display_name,get_vendor_display_name - BitmapToggleButton XRC: Added BitmapToggleButton support in XRC macro
Bug Fixes
- Fixed truncated string getters across widgets (StyledTextCtrl, TreeListCtrl, WebView) that could return corrupted text
- Auto cleanup DDE connections on Windows to prevent resource leaks
v0.9.10
New Features
- wxGrid: Wrapped wxGrid widget with full event support wired into the Rust event system
- wxMDIParentFrame/wxMDIChildFrame: Added MDI (Multiple Document Interface) support
- wxPrinter/wxPrintout: Added printing support with printing dialogs
- wxStdDialogButtonSizer: Wrapped wxStdDialogButtonSizer for standard dialog button layouts
- wxAccessible: Added accessibility support wrapper
- wxSound: Added wxSound for WAV playback
Enhancements
- wxGrid: Added additional grid functions beyond initial wrapping
- wxIPC: Refined wxServer/wxClient/wxConn to use DDE on Windows and TCP on Linux/macOS
- wxTopLevelWindow: Added
RequestUserAttentionwrapper
Bug Fixes
- Fixed
get_valueand related functions returning null bytes in the middle of strings
v0.9.9
New Features
- BitmapToggleButton: Added BitmapToggleButton widget
- wxConfig: Added wxConfig wrapper for persistent configuration storage
- wxUIActionSimulator: Added UI automation support for testing
- wxSingleInstanceChecker: Added single instance application support
- wxIPC: Added inter-process communication support
- AboutBox: Added AboutBox dialog and
Button::set_default()
Enhancements
- Menu/MenuBar: Added
find_item(), full menu item insertion and removal wrappers - ListBox: Added
set_string(),ensure_visible(), andinsert()methods - CheckListBox/Choice/ComboBox: Added
insert()method - AuiNotebook: Wrapped missing functions
- TreeCtrl: Added missing tree control functions
- wxLocale/wxUILocale: Added comprehensive locale support including
find_language_info()and language name lookup - MSWDisableComposited: Added Windows-specific composited rendering control
Bug Fixes
- Fixed issue #109
- Fixed cross-platform integer type conversion compatibility
- Fixed various clippy warnings
Build System
- Added static CRT linking support for MSVC targets
- Fixed zigbuild linking with proper libc++ for C++ runtime symbols
- Improved Linux CI build compatibility
v0.9.8
v0.9.7
v0.9.6
Enhancements
- Widget Copy Trait: Implemented
Copytrait for all widgets- All widgets now implement
Copy, eliminating the need to clone widgets before using them in closures - Simplifies event handler code by allowing direct widget usage without explicit cloning
- All widgets now implement
v0.9.5
New Features
- WebView Widget: Added WebView widget with Edge/WebView2 backend support for Windows
- Added Edge/WebView2 backend support for modern Windows rendering
- Auto-switch zoom type to Layout when WebView backend is IE
- Disable zoom in/out for IE backend
- Cross-platform WebView support with backend selection via enum
Enhancements
-
DPI Awareness: Apply DIP (Device Independent Pixels) awareness when converting wxPoint and wxSize
-
TextCtrl: Added
set_insertion_point_end()method for convenient cursor positioning at end of text -
Drag and Drop Improvements:
- Fixed Drag-N-Drop closures memory leakage
- Refined TextDropTarget implementation
- Refined FileDropTarget implementation
v0.9.4
Enhancements
- Refined gauge logic in gallery example for better demonstration
- Improved development workflow with default features enabled in wxdragon crate
- Added wxUSE_NO_MANIFEST=1 flag for better Windows compatibility
Bug Fixes
- Fixed Tool::on_click event handling for Linux platform
- Resolved cross-platform issues with tool events (EVT_TOOL)
Refactoring
- Renamed ScrollEvent to ScrollEventType and ScrollEventData to ScrollEvent for better clarity
- Removed unused ScrollEvents trait implementation from Slider widget
- Added dedicated Slider::on_slider method for slider-specific event handling
- Enhanced simple_xrc_test and neat_demo examples with improved code organization
Platform Support
- Enhanced Linux compatibility for tool events and window icons
- Improved cross-platform consistency for event handling
- Added cross-compiling support from Linux to Windows
Contributed by @ssrlive
v0.9.3
New Features
- Added MenuBar::enable_item & MenuBar::is_item_enabled
- Added Menu::enable_item & Menu::is_item_enabled
- Added Point::DEFAULT_POSITION & Size::DEFAULT_SIZE constants
- Added TreeCtrl::expand method
Enhancements
- Added WxWidget::process_menu_command & WxWidget::post_menu_command methods
- Added CustomDataViewTreeModel::item_added
- Added DataViewCtrl::set_sorting_column method
- Refactored wxDragon::Menu
- Improved CustomDataViewTreeModel
Bug Fixes
- Fixed taskbar issues in macOS
- Fixed popup_menu issue in menu_events_demo example
- Fixed DataViewEventData::get_position
Examples
- Completed neat_demo example
- Refined menu_events_demo, dataviewtree, and dark_mode_demo examples
Refactoring
- Renamed dataview example to dataviewtree
- Renamed TreeViewEventHandler to DataViewTreeEventHandler
- Renamed DataViewEvent to DataViewEventType
- Renamed DataViewEventData to DataViewEvent
Thanks for @ssrlive , It's all his great effort for this release!