Fix strange problems with spin entries on macOS (#1944).
authorCarl Hetherington <cth@carlh.net>
Mon, 29 Mar 2021 20:27:35 +0000 (22:27 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 29 Mar 2021 20:38:28 +0000 (22:38 +0200)
commit5baecb091f5f3f956be002668ce74291c7826b95
treeb9583297ce05ddf133ed441dac946b439b8d0fb2
parent25142b529304096d22baf885c45ba41bce480b72
Fix strange problems with spin entries on macOS (#1944).

SetRange() with minimum > 0 seems to stop entry of numbers by selecting
the existing one and typing new.  Also we can make Enter work properly
by adding a handler.
src/wx/dcpomatic_spin_ctrl.cc [new file with mode: 0644]
src/wx/dcpomatic_spin_ctrl.h [new file with mode: 0644]
src/wx/text_panel.cc
src/wx/text_panel.h
src/wx/wscript