mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 12:39:04 +08:00
Bugfix: workaround for MSW wxWidgets not drawing the slider
This commit is contained in:
parent
829bd7378e
commit
baf070a36d
@ -23,7 +23,9 @@ sub new {
|
|||||||
$self, -1,
|
$self, -1,
|
||||||
0, # default
|
0, # default
|
||||||
0, # min
|
0, # min
|
||||||
0, # max
|
# we set max to a bogus non-zero value because the MSW implementation of wxSlider
|
||||||
|
# will skip drawing the slider if max <= min:
|
||||||
|
1, # max
|
||||||
wxDefaultPosition,
|
wxDefaultPosition,
|
||||||
wxDefaultSize,
|
wxDefaultSize,
|
||||||
wxVERTICAL | wxSL_INVERSE,
|
wxVERTICAL | wxSL_INVERSE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user