Hi!
I use wxWidgets 3.3.0 on macOS with set(wxUSE_TOGGLEBTN OFF). When I tried to update to 3.3.3, I got a compile error:
build_wxw333/wxWidgets/src/osx/cocoa/button.mm:145:17: error: use of undeclared identifier 'toggleButtonType'
145 | toggleButtonType = NSToggleButton;
Tried to do a simple fix. Since bool isToggleButton is under #if wxUSE_TOGGLEBTN then its usage should be under the same condition. Code compiled successfully.
https://github.com/wxWidgets/wxWidgets/pull/26797
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks, will merge soon.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()