DialogButtons fixes and apply to more windows #9809
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
KNOWN ISSUE
• Minor: Hover effects not working properly for first button if its loaded from cache and not refreshed
----ex: Open create presets dialog > Choose printer > Press Create > Press Return > hover effect not works for Create > Press Create again > Hover effects not working for Return button
----No automized solution yet
FIXES
• buttons doesnt get focus. switched to wxPanel instead wxWindow
• Primary button stealing focus from inputs / combo boxes. limited SetFocus function, now its focuses only if there is no focus. This will also fix cant write number / text to input boxes on some dialogs
• No left gap on small windows
• Back button translation on create printer / filament dialog. Problem with this one "Back" used as side of object on translations. added GetRETURN() for quick access and fixed proper case usage in #9831
• First button not getting hover effects. Used ->Raise() to ensure every button has correct Z-order
CHANGES
• Switched to wxPanel instead wxWindow. wxPanel also supports keyboard shortcuts when they defined in class. its not required to bind events on parent
COMPARISON
SINGLE CHOOSE DIALOG


Before-After
FLUSHING VOLUMES DIALOG


Before-After
STEP FILE IMPORT DIALOG


Before-After
PLATE NAME DIALOG


Before-After
PLATE SETTINGS DIALOG


Before-After
DROP 3MF DIALOG


Before-After
COMPARE PRESETS DIALOG


Before-After
SAVE PRESET DIALOG


Before-After