wxDateTime from;
from.SetToCurrent ();
_from_date = new wxDatePickerCtrl (this, wxID_ANY, from, wxDefaultPosition, size);
-#ifdef DCPOMATIC_OSX
- /* Hack to tweak alignment, which I can't get right by "proper" means for some reason */
- table->Add (_from_date, 0, wxALIGN_CENTER_VERTICAL | wxBOTTOM, 4);
-#else
table->Add (_from_date, 0, wxALIGN_CENTER_VERTICAL);
-#endif
#ifdef __WXGTK3__
_from_time = new TimePickerText (this, from);
}
_until_date = new wxDatePickerCtrl (this, wxID_ANY, to, wxDefaultPosition, size);
-#ifdef DCPOMATIC_OSX
- /* Hack to tweak alignment, which I can't get right by "proper" means for some reason */
- table->Add (_until_date, 0, wxALIGN_CENTER_VERTICAL | wxBOTTOM, 4);
-#else
table->Add (_until_date, 0, wxALIGN_CENTER_VERTICAL);
-#endif
#ifdef __WXGTK3__
_until_time = new TimePickerText (this, to);