+#ifdef __WXGTK3__
+ /* wxDatePickerCtrl is too small with the GTK3 backend so we need to make it bigger with some fudge factors */
+ wxClientDC dc (parent);
+ wxSize size = dc.GetTextExtent (wxT("99/99/9999"));
+ size.SetWidth (size.GetWidth() * 1.75);
+ size.SetHeight (-1);
+#else
+ wxSize size = wxDefaultSize;
+#endif
+