mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Remove pre-wxWidgets 3.1.3 DPI fallback code
Since we now target wxWidgets 3.3, the custom DPI change event workaround (DpiChangedEvent, EVT_DPI_CHANGED_SLICER, register_win32_dpi_event) is dead code. wxWidgets 3.1.3+ provides native wxEVT_DPI_CHANGED / wxDPIChangedEvent which is already wired up in the "true" branch of the version guards. Removes: - DpiChangedEvent struct and EVT_DPI_CHANGED_SLICER declaration/definition - register_win32_dpi_event() function and its call site - All associated #if !wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3) guards
This commit is contained in:
4
task.md
Normal file
4
task.md
Normal file
@@ -0,0 +1,4 @@
|
||||
Upgrade wxwidgets to latest 3.3.2 from https://github.com/SoftFever/Orca-deps-wxWidgets/tree/v3.3.2
|
||||
our current version is quite old(3.1.5) with some custom patches which we expect are not needed anymore for latest wxwidgets version.
|
||||
1. check wxwidgets's document to figure out what API have changed from 3.1.5 to 3.3.2
|
||||
2. plan the upgrade and use practical approaches, avoid making excessive changes.
|
||||
Reference in New Issue
Block a user