diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-14 13:40:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-14 13:40:35 +0000 |
| commit | b1e4b53ed5b674bb3b65390eba4c04873a8b9ec7 (patch) | |
| tree | 9f3171a9290f1b6421ad284d6286b8d3da22c37a /src/wx/wx_util.cc | |
| parent | d99ca0a95e61b53105f765497bc465a7420e7a47 (diff) | |
Add ratio control to multi-select.
Diffstat (limited to 'src/wx/wx_util.cc')
| -rw-r--r-- | src/wx/wx_util.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 515550e59..27a4554ca 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -277,3 +277,15 @@ dcpomatic_setup_i18n () dcpomatic_setup_gettext_i18n (wx_to_std (locale->GetCanonicalName ())); } } + +int +wx_get (wxSpinCtrl* w) +{ + return w->GetValue (); +} + +int +wx_get (wxChoice* w) +{ + return w->GetSelection (); +} |
