diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-25 20:21:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-26 11:21:29 +0100 |
| commit | 8a743225a7e34bbadba63795076204204aac551a (patch) | |
| tree | 5806059f3cf32c42511eec0f47a8a4f05ef683fa /src/wx/time_picker.cc | |
| parent | ed7986e9f0975ca26ac0ba72caaaedda482fe5e7 (diff) | |
Allow building and running with wxWidgets 3.1.x as well as 3.0.x.
Diffstat (limited to 'src/wx/time_picker.cc')
| -rw-r--r-- | src/wx/time_picker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/time_picker.cc b/src/wx/time_picker.cc index 295bbd52d..efd5e20ed 100644 --- a/src/wx/time_picker.cc +++ b/src/wx/time_picker.cc @@ -44,10 +44,10 @@ TimePicker::TimePicker (wxWindow* parent, wxDateTime time) wxBoxSizer* sizer = new wxBoxSizer (wxHORIZONTAL); _hours = new wxSpinCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); - sizer->Add (_hours, 1, wxEXPAND | wxLEFT | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP); + sizer->Add (_hours, 1, wxEXPAND | wxLEFT, DCPOMATIC_SIZER_GAP); sizer->Add (new StaticText (this, wxT (":")), 0, wxALIGN_CENTER_VERTICAL); _minutes = new wxSpinCtrl (this, wxID_ANY, wxT(""), wxDefaultPosition, size); - sizer->Add (_minutes, 1, wxEXPAND | wxRIGHT | wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP); + sizer->Add (_minutes, 1, wxEXPAND | wxRIGHT, DCPOMATIC_SIZER_GAP); SetSizerAndFit (sizer); |
