This is a "minor" project and I was hoping to be able to use the
wxWidgets control to save some time, so I tested it.
For my main program I also created a custom control for entering dates.
I preferred to use the generic control as an inspiration, since I find
it more intuitive to have an empty control to mean "no date". Having to
click a checkbox to say the same thing seems more complicated, but it is
a matter of taste.
I also prefer having the whole date as a single string, so it is
possible, for example, to copy and paste. I also added some keyboard
shortcuts to quickly change day and month.
I could not use directly wxGenericDatePickerCtrl because under Windows
it kills tab navigation. You cannot tab out of it.
For this reason I derived my control from wxComboCtrl and it works well
under Windows. It still has the tab problem under Linux
(
http://trac.wxwidgets.org/ticket/13840), and it has this problem under
OS X:
http://trac.wxwidgets.org/ticket/13841
Does you control have the same problem?
My program is approaching release time and those tickets are troubling me.
TAB navigation is a must for my program since users will make a lot of
data entry, so I am considering the idea of simply using a text control
with some keyboard shortcuts to handle dates under Linux and OS X, at
least until those tickets are fixed.
If you control does not have that problem it would be a good news.
Fulvio Senore