wxWidgets/samples/calendar
Vadim Zeitlin 8a64b6acea Fix inheritance hierarchy of wxTimePickerCtrlGeneric
This class must not derive from the native wxDatePickerCtrl, as it
doesn't make much sense and resulted in the need for an ugly hack with
either overriding unused and inapplicable pure virtual methods in this
class itself, as was originally done in 569c7d8ccb (Add wxTimePickerCtrl
class., 2011-09-29) when it was introduced, or not making these methods
pure virtual in the first place, as was done in d0da5061ce (Dirty hack
to allow generic wxDatePickerCtrl to compile under MSW., 2011-10-20),
but didn't really fix the problem.

Do fix it now by using different hierarchies for the native and generic
classes. The main disadvantage of doing it is that there is no common
base class for wxTimePickerCtrl and wxTimePickerCtrlGeneric providing
SetTime() and GetTime() methods any more, but this seems like a
relatively small price to pay because real applications won't be using
these two classes simultaneously, as the calendar sample does, anyhow.
2020-11-05 00:34:10 +01:00
..
calendar_vc7.vcproj
calendar_vc8.vcproj
calendar_vc9.vcproj
calendar.bkl
calendar.cpp Fix inheritance hierarchy of wxTimePickerCtrlGeneric 2020-11-05 00:34:10 +01:00
calendar.rc
descrip.mms
makefile.gcc Remove HAVE_W32API_H definition and checks 2020-10-20 01:47:47 +02:00
Makefile.in
makefile.unx
makefile.vc