]> git.saurik.com Git - wxWidgets.git/commitdiff
Rename src/generic/timectrl.cpp to timectrlg.cpp.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Dec 2011 14:01:23 +0000 (14:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Dec 2011 14:01:23 +0000 (14:01 +0000)
We can't use the same names for these files with VC6, it doesn't support this
and the project can't be built because of the output object file names
conflict.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

12 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_adv.dsp
build/msw/wx_vc7_adv.vcproj
build/msw/wx_vc8_adv.vcproj
build/msw/wx_vc9_adv.vcproj
src/generic/timectrl.cpp [deleted file]
src/generic/timectrlg.cpp [new file with mode: 0644]

index 80dbefb426f0380c85aadb868526e2c7b676b9aa..c4ecd271be67ad6f2d887ffed752e2ef72d0c3df 100644 (file)
@@ -6188,7 +6188,7 @@ COND_WXUNIV_0___ADVANCED_SRC_OBJECTS =  \
        monodll_richtooltipg.o \
        monodll_sashwin.o \
        monodll_splash.o \
-       monodll_generic_timectrl.o \
+       monodll_timectrlg.o \
        monodll_tipdlg.o \
        monodll_treelist.o \
        monodll_wizard.o \
@@ -6225,7 +6225,7 @@ COND_WXUNIV_1___ADVANCED_SRC_OBJECTS =  \
        monodll_richtooltipg.o \
        monodll_sashwin.o \
        monodll_splash.o \
-       monodll_generic_timectrl.o \
+       monodll_timectrlg.o \
        monodll_tipdlg.o \
        monodll_treelist.o \
        monodll_wizard.o \
@@ -6249,7 +6249,7 @@ COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS =  \
        monodll_datectrl.o \
        monodll_datetimectrl.o \
        monodll_msw_hyperlink.o \
-       monodll_msw_timectrl.o
+       monodll_timectrl.o
 @COND_TOOLKIT_MSW@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS = $(COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS)
 COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS =  \
        monodll_animateg.o \
@@ -6260,7 +6260,7 @@ COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS =  \
        monodll_datectrl.o \
        monodll_datetimectrl.o \
        monodll_msw_hyperlink.o \
-       monodll_msw_timectrl.o
+       monodll_timectrl.o
 @COND_TOOLKIT_WINCE@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS = $(COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS)
 @COND_TOOLKIT_COCOA@__MEDIA_PLATFORM_SRC_OBJECTS = \
 @COND_TOOLKIT_COCOA@   monodll_cocoa_mediactrl.o
@@ -8146,7 +8146,7 @@ COND_WXUNIV_0___ADVANCED_SRC_OBJECTS_1 =  \
        monolib_richtooltipg.o \
        monolib_sashwin.o \
        monolib_splash.o \
-       monolib_generic_timectrl.o \
+       monolib_timectrlg.o \
        monolib_tipdlg.o \
        monolib_treelist.o \
        monolib_wizard.o \
@@ -8183,7 +8183,7 @@ COND_WXUNIV_1___ADVANCED_SRC_OBJECTS_1 =  \
        monolib_richtooltipg.o \
        monolib_sashwin.o \
        monolib_splash.o \
-       monolib_generic_timectrl.o \
+       monolib_timectrlg.o \
        monolib_tipdlg.o \
        monolib_treelist.o \
        monolib_wizard.o \
@@ -8207,7 +8207,7 @@ COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1 =  \
        monolib_datectrl.o \
        monolib_datetimectrl.o \
        monolib_msw_hyperlink.o \
-       monolib_msw_timectrl.o
+       monolib_timectrl.o
 @COND_TOOLKIT_MSW@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1 = $(COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1)
 COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1 =  \
        monolib_animateg.o \
@@ -8218,7 +8218,7 @@ COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1 =  \
        monolib_datectrl.o \
        monolib_datetimectrl.o \
        monolib_msw_hyperlink.o \
-       monolib_msw_timectrl.o
+       monolib_timectrl.o
 @COND_TOOLKIT_WINCE@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1 = $(COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_1)
 @COND_TOOLKIT_COCOA@__MEDIA_PLATFORM_SRC_OBJECTS_1 = \
 @COND_TOOLKIT_COCOA@   monolib_cocoa_mediactrl.o
@@ -11946,7 +11946,7 @@ COND_WXUNIV_0___ADVANCED_SRC_OBJECTS_2 =  \
        advdll_richtooltipg.o \
        advdll_sashwin.o \
        advdll_splash.o \
-       advdll_generic_timectrl.o \
+       advdll_timectrlg.o \
        advdll_tipdlg.o \
        advdll_treelist.o \
        advdll_wizard.o \
@@ -11983,7 +11983,7 @@ COND_WXUNIV_1___ADVANCED_SRC_OBJECTS_2 =  \
        advdll_richtooltipg.o \
        advdll_sashwin.o \
        advdll_splash.o \
-       advdll_generic_timectrl.o \
+       advdll_timectrlg.o \
        advdll_tipdlg.o \
        advdll_treelist.o \
        advdll_wizard.o \
@@ -12007,7 +12007,7 @@ COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2 =  \
        advdll_datectrl.o \
        advdll_datetimectrl.o \
        advdll_msw_hyperlink.o \
-       advdll_msw_timectrl.o
+       advdll_timectrl.o
 @COND_TOOLKIT_MSW@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2 = $(COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2)
 COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2 =  \
        advdll_animateg.o \
@@ -12018,7 +12018,7 @@ COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2 =  \
        advdll_datectrl.o \
        advdll_datetimectrl.o \
        advdll_msw_hyperlink.o \
-       advdll_msw_timectrl.o
+       advdll_timectrl.o
 @COND_TOOLKIT_WINCE@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2 = $(COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_2)
 @COND_PLATFORM_UNIX_1_USE_PLUGINS_0@__PLUGIN_ADV_SRC_OBJECTS_2 \
 @COND_PLATFORM_UNIX_1_USE_PLUGINS_0@   = advdll_sound_sdl.o
@@ -12064,7 +12064,7 @@ COND_WXUNIV_0___ADVANCED_SRC_OBJECTS_3 =  \
        advlib_richtooltipg.o \
        advlib_sashwin.o \
        advlib_splash.o \
-       advlib_generic_timectrl.o \
+       advlib_timectrlg.o \
        advlib_tipdlg.o \
        advlib_treelist.o \
        advlib_wizard.o \
@@ -12101,7 +12101,7 @@ COND_WXUNIV_1___ADVANCED_SRC_OBJECTS_3 =  \
        advlib_richtooltipg.o \
        advlib_sashwin.o \
        advlib_splash.o \
-       advlib_generic_timectrl.o \
+       advlib_timectrlg.o \
        advlib_tipdlg.o \
        advlib_treelist.o \
        advlib_wizard.o \
@@ -12125,7 +12125,7 @@ COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3 =  \
        advlib_datectrl.o \
        advlib_datetimectrl.o \
        advlib_msw_hyperlink.o \
-       advlib_msw_timectrl.o
+       advlib_timectrl.o
 @COND_TOOLKIT_MSW@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3 = $(COND_TOOLKIT_MSW___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3)
 COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3 =  \
        advlib_animateg.o \
@@ -12136,7 +12136,7 @@ COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3 =  \
        advlib_datectrl.o \
        advlib_datetimectrl.o \
        advlib_msw_hyperlink.o \
-       advlib_msw_timectrl.o
+       advlib_timectrl.o
 @COND_TOOLKIT_WINCE@__ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3 = $(COND_TOOLKIT_WINCE___ADVANCED_PLATFORM_NATIVE_SRC_OBJECTS_3)
 @COND_PLATFORM_UNIX_1_USE_PLUGINS_0@__PLUGIN_ADV_SRC_OBJECTS_3 \
 @COND_PLATFORM_UNIX_1_USE_PLUGINS_0@   = advlib_sound_sdl.o
@@ -20759,8 +20759,8 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@monodll_splash.o: $(srcdir)/src/generic/splash.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/splash.cpp
 
-@COND_USE_GUI_1@monodll_generic_timectrl.o: $(srcdir)/src/generic/timectrl.cpp $(MONODLL_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/timectrl.cpp
+@COND_USE_GUI_1@monodll_timectrlg.o: $(srcdir)/src/generic/timectrlg.cpp $(MONODLL_ODEP)
+@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/timectrlg.cpp
 
 @COND_USE_GUI_1@monodll_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(MONODLL_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/generic/tipdlg.cpp
@@ -21032,10 +21032,10 @@ monodll_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONODLL_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_msw_hyperlink.o: $(srcdir)/src/msw/hyperlink.cpp $(MONODLL_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@        $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/hyperlink.cpp
 
-@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monodll_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONODLL_ODEP)
 @COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@  $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
-@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONODLL_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monodll_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONODLL_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@        $(CXXC) -c -o $@ $(MONODLL_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
 @COND_TOOLKIT_MSW_USE_GUI_1@monodll_mediactrl_am.o: $(srcdir)/src/msw/mediactrl_am.cpp $(MONODLL_ODEP)
@@ -26147,8 +26147,8 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@monolib_splash.o: $(srcdir)/src/generic/splash.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/splash.cpp
 
-@COND_USE_GUI_1@monolib_generic_timectrl.o: $(srcdir)/src/generic/timectrl.cpp $(MONOLIB_ODEP)
-@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/timectrl.cpp
+@COND_USE_GUI_1@monolib_timectrlg.o: $(srcdir)/src/generic/timectrlg.cpp $(MONOLIB_ODEP)
+@COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/timectrlg.cpp
 
 @COND_USE_GUI_1@monolib_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(MONOLIB_ODEP)
 @COND_USE_GUI_1@       $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/generic/tipdlg.cpp
@@ -26420,10 +26420,10 @@ monolib_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp $(MONOLIB_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_msw_hyperlink.o: $(srcdir)/src/msw/hyperlink.cpp $(MONOLIB_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@        $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/hyperlink.cpp
 
-@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@monolib_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONOLIB_ODEP)
 @COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@  $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
-@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONOLIB_ODEP)
+@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@monolib_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(MONOLIB_ODEP)
 @COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@        $(CXXC) -c -o $@ $(MONOLIB_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
 @COND_TOOLKIT_MSW_USE_GUI_1@monolib_mediactrl_am.o: $(srcdir)/src/msw/mediactrl_am.cpp $(MONOLIB_ODEP)
@@ -35735,8 +35735,8 @@ advdll_sashwin.o: $(srcdir)/src/generic/sashwin.cpp $(ADVDLL_ODEP)
 advdll_splash.o: $(srcdir)/src/generic/splash.cpp $(ADVDLL_ODEP)
        $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/splash.cpp
 
-advdll_generic_timectrl.o: $(srcdir)/src/generic/timectrl.cpp $(ADVDLL_ODEP)
-       $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/timectrl.cpp
+advdll_timectrlg.o: $(srcdir)/src/generic/timectrlg.cpp $(ADVDLL_ODEP)
+       $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/timectrlg.cpp
 
 advdll_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(ADVDLL_ODEP)
        $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/generic/tipdlg.cpp
@@ -36008,10 +36008,10 @@ advdll_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVDLL_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@advdll_msw_hyperlink.o: $(srcdir)/src/msw/hyperlink.cpp $(ADVDLL_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@  $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/msw/hyperlink.cpp
 
-@COND_TOOLKIT_MSW_WXUNIV_0@advdll_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVDLL_ODEP)
+@COND_TOOLKIT_MSW_WXUNIV_0@advdll_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVDLL_ODEP)
 @COND_TOOLKIT_MSW_WXUNIV_0@    $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
-@COND_TOOLKIT_WINCE_WXUNIV_0@advdll_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVDLL_ODEP)
+@COND_TOOLKIT_WINCE_WXUNIV_0@advdll_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVDLL_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@  $(CXXC) -c -o $@ $(ADVDLL_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
 advlib_gtk_aboutdlg.o: $(srcdir)/src/gtk/aboutdlg.cpp $(ADVLIB_ODEP)
@@ -36122,8 +36122,8 @@ advlib_sashwin.o: $(srcdir)/src/generic/sashwin.cpp $(ADVLIB_ODEP)
 advlib_splash.o: $(srcdir)/src/generic/splash.cpp $(ADVLIB_ODEP)
        $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/splash.cpp
 
-advlib_generic_timectrl.o: $(srcdir)/src/generic/timectrl.cpp $(ADVLIB_ODEP)
-       $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/timectrl.cpp
+advlib_timectrlg.o: $(srcdir)/src/generic/timectrlg.cpp $(ADVLIB_ODEP)
+       $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/timectrlg.cpp
 
 advlib_tipdlg.o: $(srcdir)/src/generic/tipdlg.cpp $(ADVLIB_ODEP)
        $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/generic/tipdlg.cpp
@@ -36395,10 +36395,10 @@ advlib_wizard.o: $(srcdir)/src/generic/wizard.cpp $(ADVLIB_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@advlib_msw_hyperlink.o: $(srcdir)/src/msw/hyperlink.cpp $(ADVLIB_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@  $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/msw/hyperlink.cpp
 
-@COND_TOOLKIT_MSW_WXUNIV_0@advlib_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVLIB_ODEP)
+@COND_TOOLKIT_MSW_WXUNIV_0@advlib_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVLIB_ODEP)
 @COND_TOOLKIT_MSW_WXUNIV_0@    $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
-@COND_TOOLKIT_WINCE_WXUNIV_0@advlib_msw_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVLIB_ODEP)
+@COND_TOOLKIT_WINCE_WXUNIV_0@advlib_timectrl.o: $(srcdir)/src/msw/timectrl.cpp $(ADVLIB_ODEP)
 @COND_TOOLKIT_WINCE_WXUNIV_0@  $(CXXC) -c -o $@ $(ADVLIB_CXXFLAGS) $(srcdir)/src/msw/timectrl.cpp
 
 mediadll_version_rc.o: $(srcdir)/src/msw/version.rc $(MEDIADLL_ODEP)
index d4a6dab336f029a118586767548ec998d8f382d5..327fa2e606166417dd45cb5cd324cec7f1861c36 100644 (file)
@@ -2986,7 +2986,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/generic/richtooltipg.cpp
     src/generic/sashwin.cpp
     src/generic/splash.cpp
-    src/generic/timectrl.cpp
+    src/generic/timectrlg.cpp
     src/generic/tipdlg.cpp
     src/generic/treelist.cpp
     src/generic/wizard.cpp
index 351d72227d9f73eaa790cebbc0966e65714337b0..773e4749279f9a0328191088f3f5c996af450fad 100644 (file)
@@ -2289,7 +2289,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.obj \\r
        $(OBJS)\monodll_sashwin.obj \\r
        $(OBJS)\monodll_splash.obj \\r
-       $(OBJS)\monodll_generic_timectrl.obj \\r
+       $(OBJS)\monodll_timectrlg.obj \\r
        $(OBJS)\monodll_tipdlg.obj \\r
        $(OBJS)\monodll_treelist.obj \\r
        $(OBJS)\monodll_wizard.obj \\r
@@ -2308,7 +2308,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_datectrl.obj \\r
        $(OBJS)\monodll_datetimectrl.obj \\r
        $(OBJS)\monodll_hyperlink.obj \\r
-       $(OBJS)\monodll_msw_timectrl.obj\r
+       $(OBJS)\monodll_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_OBJECTS =  \\r
@@ -2341,7 +2341,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.obj \\r
        $(OBJS)\monodll_sashwin.obj \\r
        $(OBJS)\monodll_splash.obj \\r
-       $(OBJS)\monodll_generic_timectrl.obj \\r
+       $(OBJS)\monodll_timectrlg.obj \\r
        $(OBJS)\monodll_tipdlg.obj \\r
        $(OBJS)\monodll_treelist.obj \\r
        $(OBJS)\monodll_wizard.obj \\r
@@ -3072,7 +3072,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.obj \\r
        $(OBJS)\monolib_sashwin.obj \\r
        $(OBJS)\monolib_splash.obj \\r
-       $(OBJS)\monolib_generic_timectrl.obj \\r
+       $(OBJS)\monolib_timectrlg.obj \\r
        $(OBJS)\monolib_tipdlg.obj \\r
        $(OBJS)\monolib_treelist.obj \\r
        $(OBJS)\monolib_wizard.obj \\r
@@ -3091,7 +3091,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_datectrl.obj \\r
        $(OBJS)\monolib_datetimectrl.obj \\r
        $(OBJS)\monolib_hyperlink.obj \\r
-       $(OBJS)\monolib_msw_timectrl.obj\r
+       $(OBJS)\monolib_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \\r
@@ -3124,7 +3124,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.obj \\r
        $(OBJS)\monolib_sashwin.obj \\r
        $(OBJS)\monolib_splash.obj \\r
-       $(OBJS)\monolib_generic_timectrl.obj \\r
+       $(OBJS)\monolib_timectrlg.obj \\r
        $(OBJS)\monolib_tipdlg.obj \\r
        $(OBJS)\monolib_treelist.obj \\r
        $(OBJS)\monolib_wizard.obj \\r
@@ -4290,7 +4290,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.obj \\r
        $(OBJS)\advdll_sashwin.obj \\r
        $(OBJS)\advdll_splash.obj \\r
-       $(OBJS)\advdll_generic_timectrl.obj \\r
+       $(OBJS)\advdll_timectrlg.obj \\r
        $(OBJS)\advdll_tipdlg.obj \\r
        $(OBJS)\advdll_treelist.obj \\r
        $(OBJS)\advdll_wizard.obj \\r
@@ -4309,7 +4309,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_datectrl.obj \\r
        $(OBJS)\advdll_datetimectrl.obj \\r
        $(OBJS)\advdll_hyperlink.obj \\r
-       $(OBJS)\advdll_msw_timectrl.obj\r
+       $(OBJS)\advdll_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \\r
@@ -4342,7 +4342,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.obj \\r
        $(OBJS)\advdll_sashwin.obj \\r
        $(OBJS)\advdll_splash.obj \\r
-       $(OBJS)\advdll_generic_timectrl.obj \\r
+       $(OBJS)\advdll_timectrlg.obj \\r
        $(OBJS)\advdll_tipdlg.obj \\r
        $(OBJS)\advdll_treelist.obj \\r
        $(OBJS)\advdll_wizard.obj \\r
@@ -4390,7 +4390,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.obj \\r
        $(OBJS)\advlib_sashwin.obj \\r
        $(OBJS)\advlib_splash.obj \\r
-       $(OBJS)\advlib_generic_timectrl.obj \\r
+       $(OBJS)\advlib_timectrlg.obj \\r
        $(OBJS)\advlib_tipdlg.obj \\r
        $(OBJS)\advlib_treelist.obj \\r
        $(OBJS)\advlib_wizard.obj \\r
@@ -4409,7 +4409,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_datectrl.obj \\r
        $(OBJS)\advlib_datetimectrl.obj \\r
        $(OBJS)\advlib_hyperlink.obj \\r
-       $(OBJS)\advlib_msw_timectrl.obj\r
+       $(OBJS)\advlib_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \\r
@@ -4442,7 +4442,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.obj \\r
        $(OBJS)\advlib_sashwin.obj \\r
        $(OBJS)\advlib_splash.obj \\r
-       $(OBJS)\advlib_generic_timectrl.obj \\r
+       $(OBJS)\advlib_timectrlg.obj \\r
        $(OBJS)\advlib_tipdlg.obj \\r
        $(OBJS)\advlib_treelist.obj \\r
        $(OBJS)\advlib_wizard.obj \\r
@@ -6751,7 +6751,7 @@ $(OBJS)\monodll_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monodll_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\monodll_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monodll_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\monodll_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp\r
@@ -8392,8 +8392,8 @@ $(OBJS)\monodll_splash.obj: ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monodll_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
@@ -9156,7 +9156,7 @@ $(OBJS)\monolib_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monolib_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\monolib_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monolib_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\monolib_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp\r
@@ -10797,8 +10797,8 @@ $(OBJS)\monolib_splash.obj: ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monolib_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
@@ -14464,7 +14464,7 @@ $(OBJS)\advdll_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advdll_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\advdll_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advdll_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\advdll_animatecmn.obj: ..\..\src\common\animatecmn.cpp\r
@@ -14554,8 +14554,8 @@ $(OBJS)\advdll_sashwin.obj: ..\..\src\generic\sashwin.cpp
 $(OBJS)\advdll_splash.obj: ..\..\src\generic\splash.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\splash.cpp\r
 \r
-$(OBJS)\advdll_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advdll_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 \r
 $(OBJS)\advdll_tipdlg.obj: ..\..\src\generic\tipdlg.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\tipdlg.cpp\r
@@ -14614,7 +14614,7 @@ $(OBJS)\advlib_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advlib_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\advlib_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advlib_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\advlib_animatecmn.obj: ..\..\src\common\animatecmn.cpp\r
@@ -14704,8 +14704,8 @@ $(OBJS)\advlib_sashwin.obj: ..\..\src\generic\sashwin.cpp
 $(OBJS)\advlib_splash.obj: ..\..\src\generic\splash.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\splash.cpp\r
 \r
-$(OBJS)\advlib_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advlib_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 \r
 $(OBJS)\advlib_tipdlg.obj: ..\..\src\generic\tipdlg.cpp\r
        $(CXX) -q -c -P -o$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\tipdlg.cpp\r
index 6855909f612b743c89ff0a40f487c5252c3baddf..b42052a7a6c4932300792bcb8a92d3274cc4a9b0 100644 (file)
@@ -2304,7 +2304,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.o \\r
        $(OBJS)\monodll_sashwin.o \\r
        $(OBJS)\monodll_splash.o \\r
-       $(OBJS)\monodll_generic_timectrl.o \\r
+       $(OBJS)\monodll_timectrlg.o \\r
        $(OBJS)\monodll_tipdlg.o \\r
        $(OBJS)\monodll_treelist.o \\r
        $(OBJS)\monodll_wizard.o \\r
@@ -2323,7 +2323,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_datectrl.o \\r
        $(OBJS)\monodll_datetimectrl.o \\r
        $(OBJS)\monodll_hyperlink.o \\r
-       $(OBJS)\monodll_msw_timectrl.o\r
+       $(OBJS)\monodll_timectrl.o\r
 endif\r
 ifeq ($(WXUNIV),1)\r
 ____ADVANCED_SRC_FILENAMES_OBJECTS =  \\r
@@ -2356,7 +2356,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.o \\r
        $(OBJS)\monodll_sashwin.o \\r
        $(OBJS)\monodll_splash.o \\r
-       $(OBJS)\monodll_generic_timectrl.o \\r
+       $(OBJS)\monodll_timectrlg.o \\r
        $(OBJS)\monodll_tipdlg.o \\r
        $(OBJS)\monodll_treelist.o \\r
        $(OBJS)\monodll_wizard.o \\r
@@ -3093,7 +3093,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.o \\r
        $(OBJS)\monolib_sashwin.o \\r
        $(OBJS)\monolib_splash.o \\r
-       $(OBJS)\monolib_generic_timectrl.o \\r
+       $(OBJS)\monolib_timectrlg.o \\r
        $(OBJS)\monolib_tipdlg.o \\r
        $(OBJS)\monolib_treelist.o \\r
        $(OBJS)\monolib_wizard.o \\r
@@ -3112,7 +3112,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_datectrl.o \\r
        $(OBJS)\monolib_datetimectrl.o \\r
        $(OBJS)\monolib_hyperlink.o \\r
-       $(OBJS)\monolib_msw_timectrl.o\r
+       $(OBJS)\monolib_timectrl.o\r
 endif\r
 ifeq ($(WXUNIV),1)\r
 ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \\r
@@ -3145,7 +3145,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.o \\r
        $(OBJS)\monolib_sashwin.o \\r
        $(OBJS)\monolib_splash.o \\r
-       $(OBJS)\monolib_generic_timectrl.o \\r
+       $(OBJS)\monolib_timectrlg.o \\r
        $(OBJS)\monolib_tipdlg.o \\r
        $(OBJS)\monolib_treelist.o \\r
        $(OBJS)\monolib_wizard.o \\r
@@ -4339,7 +4339,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.o \\r
        $(OBJS)\advdll_sashwin.o \\r
        $(OBJS)\advdll_splash.o \\r
-       $(OBJS)\advdll_generic_timectrl.o \\r
+       $(OBJS)\advdll_timectrlg.o \\r
        $(OBJS)\advdll_tipdlg.o \\r
        $(OBJS)\advdll_treelist.o \\r
        $(OBJS)\advdll_wizard.o \\r
@@ -4358,7 +4358,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_datectrl.o \\r
        $(OBJS)\advdll_datetimectrl.o \\r
        $(OBJS)\advdll_hyperlink.o \\r
-       $(OBJS)\advdll_msw_timectrl.o\r
+       $(OBJS)\advdll_timectrl.o\r
 endif\r
 ifeq ($(WXUNIV),1)\r
 ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \\r
@@ -4391,7 +4391,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.o \\r
        $(OBJS)\advdll_sashwin.o \\r
        $(OBJS)\advdll_splash.o \\r
-       $(OBJS)\advdll_generic_timectrl.o \\r
+       $(OBJS)\advdll_timectrlg.o \\r
        $(OBJS)\advdll_tipdlg.o \\r
        $(OBJS)\advdll_treelist.o \\r
        $(OBJS)\advdll_wizard.o \\r
@@ -4443,7 +4443,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.o \\r
        $(OBJS)\advlib_sashwin.o \\r
        $(OBJS)\advlib_splash.o \\r
-       $(OBJS)\advlib_generic_timectrl.o \\r
+       $(OBJS)\advlib_timectrlg.o \\r
        $(OBJS)\advlib_tipdlg.o \\r
        $(OBJS)\advlib_treelist.o \\r
        $(OBJS)\advlib_wizard.o \\r
@@ -4462,7 +4462,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_datectrl.o \\r
        $(OBJS)\advlib_datetimectrl.o \\r
        $(OBJS)\advlib_hyperlink.o \\r
-       $(OBJS)\advlib_msw_timectrl.o\r
+       $(OBJS)\advlib_timectrl.o\r
 endif\r
 ifeq ($(WXUNIV),1)\r
 ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \\r
@@ -4495,7 +4495,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.o \\r
        $(OBJS)\advlib_sashwin.o \\r
        $(OBJS)\advlib_splash.o \\r
-       $(OBJS)\advlib_generic_timectrl.o \\r
+       $(OBJS)\advlib_timectrlg.o \\r
        $(OBJS)\advlib_tipdlg.o \\r
        $(OBJS)\advlib_treelist.o \\r
        $(OBJS)\advlib_wizard.o \\r
@@ -6919,7 +6919,7 @@ $(OBJS)\monodll_datetimectrl.o: ../../src/msw/datetimectrl.cpp
 $(OBJS)\monodll_hyperlink.o: ../../src/msw/hyperlink.cpp\r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\monodll_msw_timectrl.o: ../../src/msw/timectrl.cpp\r
+$(OBJS)\monodll_timectrl.o: ../../src/msw/timectrl.cpp\r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\monodll_mediactrlcmn.o: ../../src/common/mediactrlcmn.cpp\r
@@ -8560,7 +8560,7 @@ $(OBJS)\monodll_splash.o: ../../src/generic/splash.cpp
 endif\r
 \r
 ifeq ($(USE_GUI),1)\r
-$(OBJS)\monodll_generic_timectrl.o: ../../src/generic/timectrl.cpp\r
+$(OBJS)\monodll_timectrlg.o: ../../src/generic/timectrlg.cpp\r
        $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
@@ -9324,7 +9324,7 @@ $(OBJS)\monolib_datetimectrl.o: ../../src/msw/datetimectrl.cpp
 $(OBJS)\monolib_hyperlink.o: ../../src/msw/hyperlink.cpp\r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\monolib_msw_timectrl.o: ../../src/msw/timectrl.cpp\r
+$(OBJS)\monolib_timectrl.o: ../../src/msw/timectrl.cpp\r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\monolib_mediactrlcmn.o: ../../src/common/mediactrlcmn.cpp\r
@@ -10965,7 +10965,7 @@ $(OBJS)\monolib_splash.o: ../../src/generic/splash.cpp
 endif\r
 \r
 ifeq ($(USE_GUI),1)\r
-$(OBJS)\monolib_generic_timectrl.o: ../../src/generic/timectrl.cpp\r
+$(OBJS)\monolib_timectrlg.o: ../../src/generic/timectrlg.cpp\r
        $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
 endif\r
 \r
@@ -14632,7 +14632,7 @@ $(OBJS)\advdll_datetimectrl.o: ../../src/msw/datetimectrl.cpp
 $(OBJS)\advdll_hyperlink.o: ../../src/msw/hyperlink.cpp\r
        $(CXX) -c -o $@ $(ADVDLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\advdll_msw_timectrl.o: ../../src/msw/timectrl.cpp\r
+$(OBJS)\advdll_timectrl.o: ../../src/msw/timectrl.cpp\r
        $(CXX) -c -o $@ $(ADVDLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\advdll_animatecmn.o: ../../src/common/animatecmn.cpp\r
@@ -14722,7 +14722,7 @@ $(OBJS)\advdll_sashwin.o: ../../src/generic/sashwin.cpp
 $(OBJS)\advdll_splash.o: ../../src/generic/splash.cpp\r
        $(CXX) -c -o $@ $(ADVDLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\advdll_generic_timectrl.o: ../../src/generic/timectrl.cpp\r
+$(OBJS)\advdll_timectrlg.o: ../../src/generic/timectrlg.cpp\r
        $(CXX) -c -o $@ $(ADVDLL_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\advdll_tipdlg.o: ../../src/generic/tipdlg.cpp\r
@@ -14782,7 +14782,7 @@ $(OBJS)\advlib_datetimectrl.o: ../../src/msw/datetimectrl.cpp
 $(OBJS)\advlib_hyperlink.o: ../../src/msw/hyperlink.cpp\r
        $(CXX) -c -o $@ $(ADVLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\advlib_msw_timectrl.o: ../../src/msw/timectrl.cpp\r
+$(OBJS)\advlib_timectrl.o: ../../src/msw/timectrl.cpp\r
        $(CXX) -c -o $@ $(ADVLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\advlib_animatecmn.o: ../../src/common/animatecmn.cpp\r
@@ -14872,7 +14872,7 @@ $(OBJS)\advlib_sashwin.o: ../../src/generic/sashwin.cpp
 $(OBJS)\advlib_splash.o: ../../src/generic/splash.cpp\r
        $(CXX) -c -o $@ $(ADVLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
-$(OBJS)\advlib_generic_timectrl.o: ../../src/generic/timectrl.cpp\r
+$(OBJS)\advlib_timectrlg.o: ../../src/generic/timectrlg.cpp\r
        $(CXX) -c -o $@ $(ADVLIB_CXXFLAGS) $(CPPDEPS) $<\r
 \r
 $(OBJS)\advlib_tipdlg.o: ../../src/generic/tipdlg.cpp\r
index f64c8fddc9a9af6dac3062eba98c6cdd6b0d89e1..73928f423814b97265e1cdbab2998d1621209357 100644 (file)
@@ -2503,7 +2503,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.obj \\r
        $(OBJS)\monodll_sashwin.obj \\r
        $(OBJS)\monodll_splash.obj \\r
-       $(OBJS)\monodll_generic_timectrl.obj \\r
+       $(OBJS)\monodll_timectrlg.obj \\r
        $(OBJS)\monodll_tipdlg.obj \\r
        $(OBJS)\monodll_treelist.obj \\r
        $(OBJS)\monodll_wizard.obj \\r
@@ -2522,7 +2522,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_datectrl.obj \\r
        $(OBJS)\monodll_datetimectrl.obj \\r
        $(OBJS)\monodll_hyperlink.obj \\r
-       $(OBJS)\monodll_msw_timectrl.obj\r
+       $(OBJS)\monodll_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_OBJECTS =  \\r
@@ -2555,7 +2555,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  \
        $(OBJS)\monodll_richtooltipg.obj \\r
        $(OBJS)\monodll_sashwin.obj \\r
        $(OBJS)\monodll_splash.obj \\r
-       $(OBJS)\monodll_generic_timectrl.obj \\r
+       $(OBJS)\monodll_timectrlg.obj \\r
        $(OBJS)\monodll_tipdlg.obj \\r
        $(OBJS)\monodll_treelist.obj \\r
        $(OBJS)\monodll_wizard.obj \\r
@@ -3292,7 +3292,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.obj \\r
        $(OBJS)\monolib_sashwin.obj \\r
        $(OBJS)\monolib_splash.obj \\r
-       $(OBJS)\monolib_generic_timectrl.obj \\r
+       $(OBJS)\monolib_timectrlg.obj \\r
        $(OBJS)\monolib_tipdlg.obj \\r
        $(OBJS)\monolib_treelist.obj \\r
        $(OBJS)\monolib_wizard.obj \\r
@@ -3311,7 +3311,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_datectrl.obj \\r
        $(OBJS)\monolib_datetimectrl.obj \\r
        $(OBJS)\monolib_hyperlink.obj \\r
-       $(OBJS)\monolib_msw_timectrl.obj\r
+       $(OBJS)\monolib_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \\r
@@ -3344,7 +3344,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  \
        $(OBJS)\monolib_richtooltipg.obj \\r
        $(OBJS)\monolib_sashwin.obj \\r
        $(OBJS)\monolib_splash.obj \\r
-       $(OBJS)\monolib_generic_timectrl.obj \\r
+       $(OBJS)\monolib_timectrlg.obj \\r
        $(OBJS)\monolib_tipdlg.obj \\r
        $(OBJS)\monolib_treelist.obj \\r
        $(OBJS)\monolib_wizard.obj \\r
@@ -4600,7 +4600,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.obj \\r
        $(OBJS)\advdll_sashwin.obj \\r
        $(OBJS)\advdll_splash.obj \\r
-       $(OBJS)\advdll_generic_timectrl.obj \\r
+       $(OBJS)\advdll_timectrlg.obj \\r
        $(OBJS)\advdll_tipdlg.obj \\r
        $(OBJS)\advdll_treelist.obj \\r
        $(OBJS)\advdll_wizard.obj \\r
@@ -4619,7 +4619,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_datectrl.obj \\r
        $(OBJS)\advdll_datetimectrl.obj \\r
        $(OBJS)\advdll_hyperlink.obj \\r
-       $(OBJS)\advdll_msw_timectrl.obj\r
+       $(OBJS)\advdll_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \\r
@@ -4652,7 +4652,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  \
        $(OBJS)\advdll_richtooltipg.obj \\r
        $(OBJS)\advdll_sashwin.obj \\r
        $(OBJS)\advdll_splash.obj \\r
-       $(OBJS)\advdll_generic_timectrl.obj \\r
+       $(OBJS)\advdll_timectrlg.obj \\r
        $(OBJS)\advdll_tipdlg.obj \\r
        $(OBJS)\advdll_treelist.obj \\r
        $(OBJS)\advdll_wizard.obj \\r
@@ -4706,7 +4706,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.obj \\r
        $(OBJS)\advlib_sashwin.obj \\r
        $(OBJS)\advlib_splash.obj \\r
-       $(OBJS)\advlib_generic_timectrl.obj \\r
+       $(OBJS)\advlib_timectrlg.obj \\r
        $(OBJS)\advlib_tipdlg.obj \\r
        $(OBJS)\advlib_treelist.obj \\r
        $(OBJS)\advlib_wizard.obj \\r
@@ -4725,7 +4725,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_datectrl.obj \\r
        $(OBJS)\advlib_datetimectrl.obj \\r
        $(OBJS)\advlib_hyperlink.obj \\r
-       $(OBJS)\advlib_msw_timectrl.obj\r
+       $(OBJS)\advlib_timectrl.obj\r
 !endif\r
 !if "$(WXUNIV)" == "1"\r
 ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \\r
@@ -4758,7 +4758,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  \
        $(OBJS)\advlib_richtooltipg.obj \\r
        $(OBJS)\advlib_sashwin.obj \\r
        $(OBJS)\advlib_splash.obj \\r
-       $(OBJS)\advlib_generic_timectrl.obj \\r
+       $(OBJS)\advlib_timectrlg.obj \\r
        $(OBJS)\advlib_tipdlg.obj \\r
        $(OBJS)\advlib_treelist.obj \\r
        $(OBJS)\advlib_wizard.obj \\r
@@ -7357,7 +7357,7 @@ $(OBJS)\monodll_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monodll_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\monodll_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monodll_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\monodll_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp\r
@@ -8998,8 +8998,8 @@ $(OBJS)\monodll_splash.obj: ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monodll_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
@@ -9762,7 +9762,7 @@ $(OBJS)\monolib_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monolib_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\monolib_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monolib_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\monolib_mediactrlcmn.obj: ..\..\src\common\mediactrlcmn.cpp\r
@@ -11403,8 +11403,8 @@ $(OBJS)\monolib_splash.obj: ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monolib_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 !endif\r
 \r
 !if "$(USE_GUI)" == "1"\r
@@ -15070,7 +15070,7 @@ $(OBJS)\advdll_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advdll_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\advdll_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advdll_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\advdll_animatecmn.obj: ..\..\src\common\animatecmn.cpp\r
@@ -15160,8 +15160,8 @@ $(OBJS)\advdll_sashwin.obj: ..\..\src\generic\sashwin.cpp
 $(OBJS)\advdll_splash.obj: ..\..\src\generic\splash.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\splash.cpp\r
 \r
-$(OBJS)\advdll_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advdll_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 \r
 $(OBJS)\advdll_tipdlg.obj: ..\..\src\generic\tipdlg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVDLL_CXXFLAGS) ..\..\src\generic\tipdlg.cpp\r
@@ -15220,7 +15220,7 @@ $(OBJS)\advlib_datetimectrl.obj: ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advlib_hyperlink.obj: ..\..\src\msw\hyperlink.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\msw\hyperlink.cpp\r
 \r
-$(OBJS)\advlib_msw_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advlib_timectrl.obj: ..\..\src\msw\timectrl.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\msw\timectrl.cpp\r
 \r
 $(OBJS)\advlib_animatecmn.obj: ..\..\src\common\animatecmn.cpp\r
@@ -15310,8 +15310,8 @@ $(OBJS)\advlib_sashwin.obj: ..\..\src\generic\sashwin.cpp
 $(OBJS)\advlib_splash.obj: ..\..\src\generic\splash.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\splash.cpp\r
 \r
-$(OBJS)\advlib_generic_timectrl.obj: ..\..\src\generic\timectrl.cpp\r
-       $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advlib_timectrlg.obj: ..\..\src\generic\timectrlg.cpp\r
+       $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\timectrlg.cpp\r
 \r
 $(OBJS)\advlib_tipdlg.obj: ..\..\src\generic\tipdlg.cpp\r
        $(CXX) /c /nologo /TP /Fo$@ $(ADVLIB_CXXFLAGS) ..\..\src\generic\tipdlg.cpp\r
index b03ef51786c30ada76e64a3f1b1ea38961aff104..ff89936797b26771656c887cb6a7762594660ba7 100644 (file)
@@ -818,7 +818,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  &
        $(OBJS)\monodll_richtooltipg.obj &\r
        $(OBJS)\monodll_sashwin.obj &\r
        $(OBJS)\monodll_splash.obj &\r
-       $(OBJS)\monodll_generic_timectrl.obj &\r
+       $(OBJS)\monodll_timectrlg.obj &\r
        $(OBJS)\monodll_tipdlg.obj &\r
        $(OBJS)\monodll_treelist.obj &\r
        $(OBJS)\monodll_wizard.obj &\r
@@ -837,7 +837,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  &
        $(OBJS)\monodll_datectrl.obj &\r
        $(OBJS)\monodll_datetimectrl.obj &\r
        $(OBJS)\monodll_hyperlink.obj &\r
-       $(OBJS)\monodll_msw_timectrl.obj\r
+       $(OBJS)\monodll_timectrl.obj\r
 !endif\r
 !ifeq WXUNIV 1\r
 ____ADVANCED_SRC_FILENAMES_OBJECTS =  &\r
@@ -870,7 +870,7 @@ ____ADVANCED_SRC_FILENAMES_OBJECTS =  &
        $(OBJS)\monodll_richtooltipg.obj &\r
        $(OBJS)\monodll_sashwin.obj &\r
        $(OBJS)\monodll_splash.obj &\r
-       $(OBJS)\monodll_generic_timectrl.obj &\r
+       $(OBJS)\monodll_timectrlg.obj &\r
        $(OBJS)\monodll_tipdlg.obj &\r
        $(OBJS)\monodll_treelist.obj &\r
        $(OBJS)\monodll_wizard.obj &\r
@@ -1612,7 +1612,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  &
        $(OBJS)\monolib_richtooltipg.obj &\r
        $(OBJS)\monolib_sashwin.obj &\r
        $(OBJS)\monolib_splash.obj &\r
-       $(OBJS)\monolib_generic_timectrl.obj &\r
+       $(OBJS)\monolib_timectrlg.obj &\r
        $(OBJS)\monolib_tipdlg.obj &\r
        $(OBJS)\monolib_treelist.obj &\r
        $(OBJS)\monolib_wizard.obj &\r
@@ -1631,7 +1631,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  &
        $(OBJS)\monolib_datectrl.obj &\r
        $(OBJS)\monolib_datetimectrl.obj &\r
        $(OBJS)\monolib_hyperlink.obj &\r
-       $(OBJS)\monolib_msw_timectrl.obj\r
+       $(OBJS)\monolib_timectrl.obj\r
 !endif\r
 !ifeq WXUNIV 1\r
 ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  &\r
@@ -1664,7 +1664,7 @@ ____ADVANCED_SRC_FILENAMES_1_OBJECTS =  &
        $(OBJS)\monolib_richtooltipg.obj &\r
        $(OBJS)\monolib_sashwin.obj &\r
        $(OBJS)\monolib_splash.obj &\r
-       $(OBJS)\monolib_generic_timectrl.obj &\r
+       $(OBJS)\monolib_timectrlg.obj &\r
        $(OBJS)\monolib_tipdlg.obj &\r
        $(OBJS)\monolib_treelist.obj &\r
        $(OBJS)\monolib_wizard.obj &\r
@@ -2874,7 +2874,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  &
        $(OBJS)\advdll_richtooltipg.obj &\r
        $(OBJS)\advdll_sashwin.obj &\r
        $(OBJS)\advdll_splash.obj &\r
-       $(OBJS)\advdll_generic_timectrl.obj &\r
+       $(OBJS)\advdll_timectrlg.obj &\r
        $(OBJS)\advdll_tipdlg.obj &\r
        $(OBJS)\advdll_treelist.obj &\r
        $(OBJS)\advdll_wizard.obj &\r
@@ -2893,7 +2893,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  &
        $(OBJS)\advdll_datectrl.obj &\r
        $(OBJS)\advdll_datetimectrl.obj &\r
        $(OBJS)\advdll_hyperlink.obj &\r
-       $(OBJS)\advdll_msw_timectrl.obj\r
+       $(OBJS)\advdll_timectrl.obj\r
 !endif\r
 !ifeq WXUNIV 1\r
 ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  &\r
@@ -2926,7 +2926,7 @@ ____ADVANCED_SRC_FILENAMES_2_OBJECTS =  &
        $(OBJS)\advdll_richtooltipg.obj &\r
        $(OBJS)\advdll_sashwin.obj &\r
        $(OBJS)\advdll_splash.obj &\r
-       $(OBJS)\advdll_generic_timectrl.obj &\r
+       $(OBJS)\advdll_timectrlg.obj &\r
        $(OBJS)\advdll_tipdlg.obj &\r
        $(OBJS)\advdll_treelist.obj &\r
        $(OBJS)\advdll_wizard.obj &\r
@@ -2980,7 +2980,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  &
        $(OBJS)\advlib_richtooltipg.obj &\r
        $(OBJS)\advlib_sashwin.obj &\r
        $(OBJS)\advlib_splash.obj &\r
-       $(OBJS)\advlib_generic_timectrl.obj &\r
+       $(OBJS)\advlib_timectrlg.obj &\r
        $(OBJS)\advlib_tipdlg.obj &\r
        $(OBJS)\advlib_treelist.obj &\r
        $(OBJS)\advlib_wizard.obj &\r
@@ -2999,7 +2999,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  &
        $(OBJS)\advlib_datectrl.obj &\r
        $(OBJS)\advlib_datetimectrl.obj &\r
        $(OBJS)\advlib_hyperlink.obj &\r
-       $(OBJS)\advlib_msw_timectrl.obj\r
+       $(OBJS)\advlib_timectrl.obj\r
 !endif\r
 !ifeq WXUNIV 1\r
 ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  &\r
@@ -3032,7 +3032,7 @@ ____ADVANCED_SRC_FILENAMES_3_OBJECTS =  &
        $(OBJS)\advlib_richtooltipg.obj &\r
        $(OBJS)\advlib_sashwin.obj &\r
        $(OBJS)\advlib_splash.obj &\r
-       $(OBJS)\advlib_generic_timectrl.obj &\r
+       $(OBJS)\advlib_timectrlg.obj &\r
        $(OBJS)\advlib_tipdlg.obj &\r
        $(OBJS)\advlib_treelist.obj &\r
        $(OBJS)\advlib_wizard.obj &\r
@@ -7190,7 +7190,7 @@ $(OBJS)\monodll_datetimectrl.obj :  .AUTODEPEND ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monodll_hyperlink.obj :  .AUTODEPEND ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 \r
-$(OBJS)\monodll_msw_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monodll_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 \r
 $(OBJS)\monodll_mediactrlcmn.obj :  .AUTODEPEND ..\..\src\common\mediactrlcmn.cpp\r
@@ -8831,7 +8831,7 @@ $(OBJS)\monodll_splash.obj :  .AUTODEPEND ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !ifeq USE_GUI 1\r
-$(OBJS)\monodll_generic_timectrl.obj :  .AUTODEPEND ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monodll_timectrlg.obj :  .AUTODEPEND ..\..\src\generic\timectrlg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
 !endif\r
 \r
@@ -9595,7 +9595,7 @@ $(OBJS)\monolib_datetimectrl.obj :  .AUTODEPEND ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\monolib_hyperlink.obj :  .AUTODEPEND ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 \r
-$(OBJS)\monolib_msw_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\monolib_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 \r
 $(OBJS)\monolib_mediactrlcmn.obj :  .AUTODEPEND ..\..\src\common\mediactrlcmn.cpp\r
@@ -11236,7 +11236,7 @@ $(OBJS)\monolib_splash.obj :  .AUTODEPEND ..\..\src\generic\splash.cpp
 !endif\r
 \r
 !ifeq USE_GUI 1\r
-$(OBJS)\monolib_generic_timectrl.obj :  .AUTODEPEND ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\monolib_timectrlg.obj :  .AUTODEPEND ..\..\src\generic\timectrlg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
 !endif\r
 \r
@@ -14903,7 +14903,7 @@ $(OBJS)\advdll_datetimectrl.obj :  .AUTODEPEND ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advdll_hyperlink.obj :  .AUTODEPEND ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVDLL_CXXFLAGS) $<\r
 \r
-$(OBJS)\advdll_msw_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advdll_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVDLL_CXXFLAGS) $<\r
 \r
 $(OBJS)\advdll_animatecmn.obj :  .AUTODEPEND ..\..\src\common\animatecmn.cpp\r
@@ -14993,7 +14993,7 @@ $(OBJS)\advdll_sashwin.obj :  .AUTODEPEND ..\..\src\generic\sashwin.cpp
 $(OBJS)\advdll_splash.obj :  .AUTODEPEND ..\..\src\generic\splash.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVDLL_CXXFLAGS) $<\r
 \r
-$(OBJS)\advdll_generic_timectrl.obj :  .AUTODEPEND ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advdll_timectrlg.obj :  .AUTODEPEND ..\..\src\generic\timectrlg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVDLL_CXXFLAGS) $<\r
 \r
 $(OBJS)\advdll_tipdlg.obj :  .AUTODEPEND ..\..\src\generic\tipdlg.cpp\r
@@ -15053,7 +15053,7 @@ $(OBJS)\advlib_datetimectrl.obj :  .AUTODEPEND ..\..\src\msw\datetimectrl.cpp
 $(OBJS)\advlib_hyperlink.obj :  .AUTODEPEND ..\..\src\msw\hyperlink.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVLIB_CXXFLAGS) $<\r
 \r
-$(OBJS)\advlib_msw_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
+$(OBJS)\advlib_timectrl.obj :  .AUTODEPEND ..\..\src\msw\timectrl.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVLIB_CXXFLAGS) $<\r
 \r
 $(OBJS)\advlib_animatecmn.obj :  .AUTODEPEND ..\..\src\common\animatecmn.cpp\r
@@ -15143,7 +15143,7 @@ $(OBJS)\advlib_sashwin.obj :  .AUTODEPEND ..\..\src\generic\sashwin.cpp
 $(OBJS)\advlib_splash.obj :  .AUTODEPEND ..\..\src\generic\splash.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVLIB_CXXFLAGS) $<\r
 \r
-$(OBJS)\advlib_generic_timectrl.obj :  .AUTODEPEND ..\..\src\generic\timectrl.cpp\r
+$(OBJS)\advlib_timectrlg.obj :  .AUTODEPEND ..\..\src\generic\timectrlg.cpp\r
        $(CXX) -bt=nt -zq -fo=$^@ $(ADVLIB_CXXFLAGS) $<\r
 \r
 $(OBJS)\advlib_tipdlg.obj :  .AUTODEPEND ..\..\src\generic\tipdlg.cpp\r
index 3d3e3810ef8ad5c63ef88931f01262a5fc010e8e..b966effbc4223bb26bd76c8959001a80a1af2392 100644 (file)
@@ -721,7 +721,7 @@ SOURCE=..\..\src\generic\splash.cpp
 # End Source File\r
 # Begin Source File\r
 \r
-SOURCE=..\..\src\generic\timectrl.cpp\r
+SOURCE=..\..\src\generic\timectrlg.cpp\r
 # End Source File\r
 # Begin Source File\r
 \r
index d7ddcf3352c0b96a7180314a35b4fb5d065628e6..9415d891a334ab18b448a72aa5b5a29eb424c35b 100644 (file)
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\msw\timectrl.cpp">\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\msw_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\msw_timectrl.obj"/>\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="Universal Debug|Win32"\r
                                        ExcludedFromBuild="TRUE"/>\r
                                <FileConfiguration\r
                                        Name="Universal Release|Win32"\r
                                        ExcludedFromBuild="TRUE"/>\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\msw_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\msw_timectrl.obj"/>\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="DLL Universal Debug|Win32"\r
                                        ExcludedFromBuild="TRUE"/>\r
                                RelativePath="..\..\src\generic\splash.cpp">\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\generic\timectrl.cpp">\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivud\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivu\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Debug|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivuddll\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Release|Win32">\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivudll\adv\generic_timectrl.obj"/>\r
-                               </FileConfiguration>\r
+                               RelativePath="..\..\src\generic\timectrlg.cpp">\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\tipdlg.cpp">\r
index ae08fda5771b4f31f25e9a86e648da1206442461..d4bee28a70c291681211e0103abec0d0bc8f086b 100644 (file)
                        <File\r
                                RelativePath="..\..\src\msw\timectrl.cpp"\r
                                >\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="Universal Debug|Win32"\r
                                        ExcludedFromBuild="true"\r
                                        Name="Universal Release|Win32"\r
                                        ExcludedFromBuild="true"\r
                                />\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="DLL Universal Debug|Win32"\r
                                        ExcludedFromBuild="true"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\generic\timectrl.cpp"\r
+                               RelativePath="..\..\src\generic\timectrlg.cpp"\r
                                >\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivud\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivu\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivuddll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivudll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\tipdlg.cpp"\r
index 79edd375e967a955ef243dd6a967670a89fdae6b..5820692ca9d5693ade1c33ad679defea21ef2d0f 100644 (file)
                        <File\r
                                RelativePath="..\..\src\msw\timectrl.cpp"\r
                                >\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="Universal Debug|Win32"\r
                                        ExcludedFromBuild="true"\r
                                        Name="Universal Release|Win32"\r
                                        ExcludedFromBuild="true"\r
                                />\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\msw_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                                <FileConfiguration\r
                                        Name="DLL Universal Debug|Win32"\r
                                        ExcludedFromBuild="true"\r
                                >\r
                        </File>\r
                        <File\r
-                               RelativePath="..\..\src\generic\timectrl.cpp"\r
+                               RelativePath="..\..\src\generic\timectrlg.cpp"\r
                                >\r
-                               <FileConfiguration\r
-                                       Name="Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswud\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswu\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivud\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="Universal Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivu\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswuddll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswudll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Debug|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivuddll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
-                               <FileConfiguration\r
-                                       Name="DLL Universal Release|Win32"\r
-                                       >\r
-                                       <Tool\r
-                                               Name="VCCLCompilerTool"\r
-                                               ObjectFile="vc_mswunivudll\adv\generic_timectrl.obj"\r
-                                       />\r
-                               </FileConfiguration>\r
                        </File>\r
                        <File\r
                                RelativePath="..\..\src\generic\tipdlg.cpp"\r
diff --git a/src/generic/timectrl.cpp b/src/generic/timectrl.cpp
deleted file mode 100644 (file)
index b3d0e5a..0000000
+++ /dev/null
@@ -1,668 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// Name:        src/generic/timectrl.cpp
-// Purpose:     Generic implementation of wxTimePickerCtrl.
-// Author:      Paul Breen, Vadim Zeitlin
-// Created:     2011-09-22
-// RCS-ID:      $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $
-// Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence:     wxWindows licence
-///////////////////////////////////////////////////////////////////////////////
-
-// ============================================================================
-// declarations
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// headers
-// ----------------------------------------------------------------------------
-
-// for compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-#if wxUSE_TIMEPICKCTRL
-
-#ifndef WX_PRECOMP
-    #include "wx/textctrl.h"
-#endif // WX_PRECOMP
-
-#include "wx/timectrl.h"
-
-// This class is only compiled if there is no native version or if we
-// explicitly want to use both the native and generic one (this is useful for
-// testing but not much otherwise and so by default we don't use the generic
-// implementation if a native one is available).
-#if !defined(wxHAS_NATIVE_TIMEPICKERCTRL) || wxUSE_TIMEPICKCTRL_GENERIC
-
-#include "wx/generic/timectrl.h"
-
-#include "wx/dateevt.h"
-#include "wx/spinbutt.h"
-
-#ifndef wxHAS_NATIVE_TIMEPICKERCTRL
-    IMPLEMENT_DYNAMIC_CLASS(wxTimePickerCtrl, wxControl)
-#endif
-
-// ----------------------------------------------------------------------------
-// Constants
-// ----------------------------------------------------------------------------
-
-enum
-{
-    // Horizontal margin between the text and spin control.
-    HMARGIN_TEXT_SPIN = 2
-};
-
-// ----------------------------------------------------------------------------
-// wxTimePickerGenericImpl: used to implement wxTimePickerCtrlGeneric
-// ----------------------------------------------------------------------------
-
-class wxTimePickerGenericImpl : public wxEvtHandler
-{
-public:
-    wxTimePickerGenericImpl(wxTimePickerCtrlGeneric* ctrl)
-    {
-        m_text = new wxTextCtrl(ctrl, wxID_ANY, wxString());
-
-        // As this text can't be edited, don't use the standard cursor for it
-        // to avoid misleading the user. Ideally we'd also hide the caret but
-        // this is not currently supported by wxTextCtrl.
-        m_text->SetCursor(wxCURSOR_ARROW);
-
-        m_btn = new wxSpinButton(ctrl, wxID_ANY,
-                                 wxDefaultPosition, wxDefaultSize,
-                                 wxSP_VERTICAL | wxSP_WRAP);
-
-        m_currentField = Field_Hour;
-        m_isFirstDigit = true;
-
-        // We don't support arbitrary formats currently as this requires
-        // significantly more work both here and also in wxLocale::GetInfo().
-        //
-        // For now just use either "%H:%M:%S" or "%I:%M:%S %p". It would be
-        // nice to add support to "%k" and "%l" (hours with leading blanks
-        // instead of zeros) too as this is the most common unsupported case in
-        // practice.
-        m_useAMPM = wxLocale::GetInfo(wxLOCALE_TIME_FMT).Contains("%p");
-
-        m_text->Connect
-                (
-                    wxEVT_SET_FOCUS,
-                    wxFocusEventHandler(wxTimePickerGenericImpl::OnTextSetFocus),
-                    NULL,
-                    this
-                );
-        m_text->Connect
-                (
-                    wxEVT_KEY_DOWN,
-                    wxKeyEventHandler(wxTimePickerGenericImpl::OnTextKeyDown),
-                    NULL,
-                    this
-                );
-        m_text->Connect
-                (
-                    wxEVT_LEFT_DOWN,
-                    wxMouseEventHandler(wxTimePickerGenericImpl::OnTextClick),
-                    NULL,
-                    this
-                );
-
-        m_btn->Connect
-               (
-                    wxEVT_SPIN_UP,
-                    wxSpinEventHandler(wxTimePickerGenericImpl::OnArrowUp),
-                    NULL,
-                    this
-               );
-        m_btn->Connect
-               (
-                    wxEVT_SPIN_DOWN,
-                    wxSpinEventHandler(wxTimePickerGenericImpl::OnArrowDown),
-                    NULL,
-                    this
-               );
-    }
-
-    // Set the new value.
-    void SetValue(const wxDateTime& time)
-    {
-        m_time = time.IsValid() ? time : wxDateTime::Now();
-
-        UpdateTextWithoutEvent();
-    }
-
-
-    // The text part of the control.
-    wxTextCtrl* m_text;
-
-    // The spin button used to change the text fields.
-    wxSpinButton* m_btn;
-
-    // The current time (date part is ignored).
-    wxDateTime m_time;
-
-private:
-    // The logical fields of the text control (AM/PM one may not be present).
-    enum Field
-    {
-        Field_Hour,
-        Field_Min,
-        Field_Sec,
-        Field_AMPM,
-        Field_Max
-    };
-
-    // Direction of change of time fields.
-    enum Direction
-    {
-        // Notice that the enum elements values matter.
-        Dir_Down = -1,
-        Dir_Up   = +1
-    };
-
-    // A range of character positions ("from" is inclusive, "to" -- exclusive).
-    struct CharRange
-    {
-        int from,
-            to;
-    };
-
-    // Event handlers for various events in our controls.
-    void OnTextSetFocus(wxFocusEvent& event)
-    {
-        HighlightCurrentField();
-
-        event.Skip();
-    }
-
-    // Keyboard interface here is modelled over MSW native control and may need
-    // adjustments for other platforms.
-    void OnTextKeyDown(wxKeyEvent& event)
-    {
-        const int key = event.GetKeyCode();
-
-        switch ( key )
-        {
-            case WXK_DOWN:
-                ChangeCurrentFieldBy1(Dir_Down);
-                break;
-
-            case WXK_UP:
-                ChangeCurrentFieldBy1(Dir_Up);
-                break;
-
-            case WXK_LEFT:
-                CycleCurrentField(Dir_Down);
-                break;
-
-            case WXK_RIGHT:
-                CycleCurrentField(Dir_Up);
-                break;
-
-            case WXK_HOME:
-                ResetCurrentField(Dir_Down);
-                break;
-
-            case WXK_END:
-                ResetCurrentField(Dir_Up);
-                break;
-
-            case '0':
-            case '1':
-            case '2':
-            case '3':
-            case '4':
-            case '5':
-            case '6':
-            case '7':
-            case '8':
-            case '9':
-                // The digits work in all keys except AM/PM.
-                if ( m_currentField != Field_AMPM )
-                {
-                    AppendDigitToCurrentField(key - '0');
-                }
-                break;
-
-            case 'A':
-            case 'P':
-                // These keys only work to toggle AM/PM field.
-                if ( m_currentField == Field_AMPM )
-                {
-                    unsigned hour = m_time.GetHour();
-                    if ( key == 'A' )
-                    {
-                        if ( hour >= 12 )
-                            hour -= 12;
-                    }
-                    else // PM
-                    {
-                        if ( hour < 12 )
-                            hour += 12;
-                    }
-
-                    if ( hour != m_time.GetHour() )
-                    {
-                        m_time.SetHour(hour);
-                        UpdateText();
-                    }
-                }
-                break;
-
-            // Do not skip the other events, just consume them to prevent the
-            // user from editing the text directly.
-        }
-    }
-
-    void OnTextClick(wxMouseEvent& event)
-    {
-        Field field wxDUMMY_INITIALIZE(Field_Max);
-        long pos;
-        switch ( m_text->HitTest(event.GetPosition(), &pos) )
-        {
-            case wxTE_HT_UNKNOWN:
-                // Don't do anything, it's better than doing something wrong.
-                return;
-
-            case wxTE_HT_BEFORE:
-                // Select the first field.
-                field = Field_Hour;
-                break;
-
-            case wxTE_HT_ON_TEXT:
-                // Find the field containing this position.
-                for ( field = Field_Hour; field <= GetLastField(); )
-                {
-                    const CharRange range = GetFieldRange(field);
-
-                    // Normally the "to" end is exclusive but we want to give
-                    // focus to some field when the user clicks between them so
-                    // count it as part of the preceding field here.
-                    if ( range.from <= pos && pos <= range.to )
-                        break;
-
-                    field = static_cast<Field>(field + 1);
-                }
-                break;
-
-            case wxTE_HT_BELOW:
-                // This shouldn't happen for single line control.
-                wxFAIL_MSG( "Unreachable" );
-                // fall through
-
-            case wxTE_HT_BEYOND:
-                // Select the last field.
-                field = GetLastField();
-                break;
-        }
-
-        ChangeCurrentField(field);
-    }
-
-    void OnArrowUp(wxSpinEvent& WXUNUSED(event))
-    {
-        ChangeCurrentFieldBy1(Dir_Up);
-    }
-
-    void OnArrowDown(wxSpinEvent& WXUNUSED(event))
-    {
-        ChangeCurrentFieldBy1(Dir_Down);
-    }
-
-
-    // Get the range of the given field in character positions ("from" is
-    // inclusive, "to" exclusive).
-    static CharRange GetFieldRange(Field field)
-    {
-        // Currently we can just hard code the ranges as they are the same for
-        // both supported formats, if we want to support arbitrary formats in
-        // the future, we'd need to determine them dynamically by examining the
-        // format here.
-        static const CharRange ranges[] =
-        {
-            { 0, 2 },
-            { 3, 5 },
-            { 6, 8 },
-            { 9, 11},
-        };
-
-        wxCOMPILE_TIME_ASSERT( WXSIZEOF(ranges) == Field_Max,
-                               FieldRangesMismatch );
-
-        return ranges[field];
-    }
-
-    // Get the last field used depending on m_useAMPM.
-    Field GetLastField() const
-    {
-        return m_useAMPM ? Field_AMPM : Field_Sec;
-    }
-
-    // Change the current field. For convenience, accept int field here as this
-    // allows us to use arithmetic operations in the caller.
-    void ChangeCurrentField(int field)
-    {
-        if ( field == m_currentField )
-            return;
-
-        wxCHECK_RET( field <= GetLastField(), "Invalid field" );
-
-        m_currentField = static_cast<Field>(field);
-        m_isFirstDigit = true;
-
-        HighlightCurrentField();
-    }
-
-    // Go to the next (Dir_Up) or previous (Dir_Down) field, wrapping if
-    // necessary.
-    void CycleCurrentField(Direction dir)
-    {
-        const unsigned numFields = GetLastField() + 1;
-
-        ChangeCurrentField((m_currentField + numFields + dir) % numFields);
-    }
-
-    // Select the currently actively field.
-    void HighlightCurrentField()
-    {
-        m_text->SetFocus();
-
-        const CharRange range = GetFieldRange(m_currentField);
-
-        m_text->SetSelection(range.from, range.to);
-    }
-
-    // Decrement or increment the value of the current field (wrapping if
-    // necessary).
-    void ChangeCurrentFieldBy1(Direction dir)
-    {
-        switch ( m_currentField )
-        {
-            case Field_Hour:
-                m_time.SetHour((m_time.GetHour() + 24 + dir) % 24);
-                break;
-
-            case Field_Min:
-                m_time.SetMinute((m_time.GetMinute() + 60 + dir) % 60);
-                break;
-
-            case Field_Sec:
-                m_time.SetSecond((m_time.GetSecond() + 60 + dir) % 60);
-                break;
-
-            case Field_AMPM:
-                m_time.SetHour((m_time.GetHour() + 12) % 24);
-                break;
-
-            case Field_Max:
-                wxFAIL_MSG( "Invalid field" );
-        }
-
-        UpdateText();
-    }
-
-    // Set the current field to its minimal or maximal value.
-    void ResetCurrentField(Direction dir)
-    {
-        switch ( m_currentField )
-        {
-            case Field_Hour:
-            case Field_AMPM:
-                // In 12-hour mode setting the hour to the minimal value
-                // also changes the suffix to AM and, correspondingly,
-                // setting it to the maximal one changes the suffix to PM.
-                // And, for consistency with the native MSW behaviour, we
-                // also do the same thing when changing AM/PM field itself,
-                // so change hours in any case.
-                m_time.SetHour(dir == Dir_Down ? 0 : 23);
-                break;
-
-            case Field_Min:
-                m_time.SetMinute(dir == Dir_Down ? 0 : 59);
-                break;
-
-            case Field_Sec:
-                m_time.SetSecond(dir == Dir_Down ? 0 : 59);
-                break;
-
-            case Field_Max:
-                wxFAIL_MSG( "Invalid field" );
-        }
-
-        UpdateText();
-    }
-
-    // Append the given digit (from 0 to 9) to the current value of the current
-    // field.
-    void AppendDigitToCurrentField(int n)
-    {
-        bool moveToNextField = false;
-
-        if ( !m_isFirstDigit )
-        {
-            // The first digit simply replaces the existing field contents,
-            // but the second one should be combined with the previous one,
-            // otherwise entering 2-digit numbers would be impossible.
-            int currentValue wxDUMMY_INITIALIZE(0),
-                maxValue wxDUMMY_INITIALIZE(0);
-
-            switch ( m_currentField )
-            {
-                case Field_Hour:
-                    currentValue = m_time.GetHour();
-                    maxValue = 23;
-                    break;
-
-                case Field_Min:
-                    currentValue = m_time.GetMinute();
-                    maxValue = 59;
-                    break;
-
-                case Field_Sec:
-                    currentValue = m_time.GetSecond();
-                    maxValue = 59;
-                    break;
-
-                case Field_AMPM:
-                case Field_Max:
-                    wxFAIL_MSG( "Invalid field" );
-            }
-
-            // Check if the new value is acceptable. If not, we just handle
-            // this digit as if it were the first one.
-            int newValue = currentValue*10 + n;
-            if ( newValue < maxValue )
-            {
-                n = newValue;
-
-                // If we're not on the seconds field, advance to the next one.
-                // This makes it more convenient to enter times as you can just
-                // press all digits one after one without touching the cursor
-                // arrow keys at all.
-                //
-                // Notice that MSW native control doesn't do this but it seems
-                // so useful that we intentionally diverge from it here.
-                moveToNextField = true;
-
-                // We entered both digits so the next one will be "first" again.
-                m_isFirstDigit = true;
-            }
-        }
-        else // First digit entered.
-        {
-            // The next one won't be first any more.
-            m_isFirstDigit = false;
-        }
-
-        switch ( m_currentField )
-        {
-            case Field_Hour:
-                m_time.SetHour(n);
-                break;
-
-            case Field_Min:
-                m_time.SetMinute(n);
-                break;
-
-            case Field_Sec:
-                m_time.SetSecond(n);
-                break;
-
-            case Field_AMPM:
-            case Field_Max:
-                wxFAIL_MSG( "Invalid field" );
-        }
-
-        if ( moveToNextField && m_currentField < Field_Sec )
-            CycleCurrentField(Dir_Up);
-
-        UpdateText();
-    }
-
-    // Update the text value to correspond to the current time. By default also
-    // generate an event but this can be avoided by calling the "WithoutEvent"
-    // variant.
-    void UpdateText()
-    {
-        UpdateTextWithoutEvent();
-
-        wxWindow* const ctrl = m_text->GetParent();
-
-        wxDateEvent event(ctrl, m_time, wxEVT_TIME_CHANGED);
-        ctrl->HandleWindowEvent(event);
-    }
-
-    void UpdateTextWithoutEvent()
-    {
-        m_text->SetValue(m_time.Format(m_useAMPM ? "%I:%M:%S %p" : "%H:%M:%S"));
-
-        HighlightCurrentField();
-    }
-
-
-    // The current field of the text control: this is the one affected by
-    // pressing arrow keys or spin button.
-    Field m_currentField;
-
-    // Flag indicating whether we use AM/PM indicator or not.
-    bool m_useAMPM;
-
-    // Flag indicating whether the next digit pressed by user will be the first
-    // digit of the current field or the second one. This is necessary because
-    // the first digit replaces the current field contents while the second one
-    // is appended to it (if possible, e.g. pressing '7' in a field already
-    // containing '8' will still replace it as "78" would be invalid).
-    bool m_isFirstDigit;
-
-    wxDECLARE_NO_COPY_CLASS(wxTimePickerGenericImpl);
-};
-
-// ============================================================================
-// wxTimePickerCtrlGeneric implementation
-// ============================================================================
-
-// ----------------------------------------------------------------------------
-// wxTimePickerCtrlGeneric creation
-// ----------------------------------------------------------------------------
-
-void wxTimePickerCtrlGeneric::Init()
-{
-    m_impl = NULL;
-}
-
-bool
-wxTimePickerCtrlGeneric::Create(wxWindow *parent,
-                                wxWindowID id,
-                                const wxDateTime& date,
-                                const wxPoint& pos,
-                                const wxSize& size,
-                                long style,
-                                const wxValidator& validator,
-                                const wxString& name)
-{
-    // The text control we use already has a border, so we don't need one
-    // ourselves.
-    style &= ~wxBORDER_MASK;
-    style |= wxBORDER_NONE;
-
-    if ( !Base::Create(parent, id, pos, size, style, validator, name) )
-        return false;
-
-    m_impl = new wxTimePickerGenericImpl(this);
-    m_impl->SetValue(date);
-
-    InvalidateBestSize();
-    SetInitialSize(size);
-
-    return true;
-}
-
-wxTimePickerCtrlGeneric::~wxTimePickerCtrlGeneric()
-{
-    delete m_impl;
-}
-
-wxWindowList wxTimePickerCtrlGeneric::GetCompositeWindowParts() const
-{
-    wxWindowList parts;
-    if ( m_impl )
-    {
-        parts.push_back(m_impl->m_text);
-        parts.push_back(m_impl->m_btn);
-    }
-    return parts;
-}
-
-// ----------------------------------------------------------------------------
-// wxTimePickerCtrlGeneric value
-// ----------------------------------------------------------------------------
-
-void wxTimePickerCtrlGeneric::SetValue(const wxDateTime& date)
-{
-    wxCHECK_RET( m_impl, "Must create first" );
-
-    m_impl->SetValue(date);
-}
-
-wxDateTime wxTimePickerCtrlGeneric::GetValue() const
-{
-    wxCHECK_MSG( m_impl, wxDateTime(), "Must create first" );
-
-    return m_impl->m_time;
-}
-
-// ----------------------------------------------------------------------------
-// wxTimePickerCtrlGeneric geometry
-// ----------------------------------------------------------------------------
-
-void wxTimePickerCtrlGeneric::DoMoveWindow(int x, int y, int width, int height)
-{
-    Base::DoMoveWindow(x, y, width, height);
-
-    if ( !m_impl )
-        return;
-
-    const int widthBtn = m_impl->m_btn->GetSize().x;
-    const int widthText = width - widthBtn - HMARGIN_TEXT_SPIN;
-
-    m_impl->m_text->SetSize(0, 0, widthText, height);
-    m_impl->m_btn->SetSize(widthText + HMARGIN_TEXT_SPIN, 0, widthBtn, height);
-}
-
-wxSize wxTimePickerCtrlGeneric::DoGetBestSize() const
-{
-    if ( !m_impl )
-        return Base::DoGetBestSize();
-
-    wxSize size = m_impl->m_text->GetBestSize();
-    size.x += m_impl->m_btn->GetBestSize().x + HMARGIN_TEXT_SPIN;
-
-    return size;
-}
-
-#endif // !wxHAS_NATIVE_TIMEPICKERCTRL || wxUSE_TIMEPICKCTRL_GENERIC
-
-#endif // wxUSE_TIMEPICKCTRL
diff --git a/src/generic/timectrlg.cpp b/src/generic/timectrlg.cpp
new file mode 100644 (file)
index 0000000..b3d0e5a
--- /dev/null
@@ -0,0 +1,668 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        src/generic/timectrl.cpp
+// Purpose:     Generic implementation of wxTimePickerCtrl.
+// Author:      Paul Breen, Vadim Zeitlin
+// Created:     2011-09-22
+// RCS-ID:      $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $
+// Copyright:   (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
+// Licence:     wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
+#if wxUSE_TIMEPICKCTRL
+
+#ifndef WX_PRECOMP
+    #include "wx/textctrl.h"
+#endif // WX_PRECOMP
+
+#include "wx/timectrl.h"
+
+// This class is only compiled if there is no native version or if we
+// explicitly want to use both the native and generic one (this is useful for
+// testing but not much otherwise and so by default we don't use the generic
+// implementation if a native one is available).
+#if !defined(wxHAS_NATIVE_TIMEPICKERCTRL) || wxUSE_TIMEPICKCTRL_GENERIC
+
+#include "wx/generic/timectrl.h"
+
+#include "wx/dateevt.h"
+#include "wx/spinbutt.h"
+
+#ifndef wxHAS_NATIVE_TIMEPICKERCTRL
+    IMPLEMENT_DYNAMIC_CLASS(wxTimePickerCtrl, wxControl)
+#endif
+
+// ----------------------------------------------------------------------------
+// Constants
+// ----------------------------------------------------------------------------
+
+enum
+{
+    // Horizontal margin between the text and spin control.
+    HMARGIN_TEXT_SPIN = 2
+};
+
+// ----------------------------------------------------------------------------
+// wxTimePickerGenericImpl: used to implement wxTimePickerCtrlGeneric
+// ----------------------------------------------------------------------------
+
+class wxTimePickerGenericImpl : public wxEvtHandler
+{
+public:
+    wxTimePickerGenericImpl(wxTimePickerCtrlGeneric* ctrl)
+    {
+        m_text = new wxTextCtrl(ctrl, wxID_ANY, wxString());
+
+        // As this text can't be edited, don't use the standard cursor for it
+        // to avoid misleading the user. Ideally we'd also hide the caret but
+        // this is not currently supported by wxTextCtrl.
+        m_text->SetCursor(wxCURSOR_ARROW);
+
+        m_btn = new wxSpinButton(ctrl, wxID_ANY,
+                                 wxDefaultPosition, wxDefaultSize,
+                                 wxSP_VERTICAL | wxSP_WRAP);
+
+        m_currentField = Field_Hour;
+        m_isFirstDigit = true;
+
+        // We don't support arbitrary formats currently as this requires
+        // significantly more work both here and also in wxLocale::GetInfo().
+        //
+        // For now just use either "%H:%M:%S" or "%I:%M:%S %p". It would be
+        // nice to add support to "%k" and "%l" (hours with leading blanks
+        // instead of zeros) too as this is the most common unsupported case in
+        // practice.
+        m_useAMPM = wxLocale::GetInfo(wxLOCALE_TIME_FMT).Contains("%p");
+
+        m_text->Connect
+                (
+                    wxEVT_SET_FOCUS,
+                    wxFocusEventHandler(wxTimePickerGenericImpl::OnTextSetFocus),
+                    NULL,
+                    this
+                );
+        m_text->Connect
+                (
+                    wxEVT_KEY_DOWN,
+                    wxKeyEventHandler(wxTimePickerGenericImpl::OnTextKeyDown),
+                    NULL,
+                    this
+                );
+        m_text->Connect
+                (
+                    wxEVT_LEFT_DOWN,
+                    wxMouseEventHandler(wxTimePickerGenericImpl::OnTextClick),
+                    NULL,
+                    this
+                );
+
+        m_btn->Connect
+               (
+                    wxEVT_SPIN_UP,
+                    wxSpinEventHandler(wxTimePickerGenericImpl::OnArrowUp),
+                    NULL,
+                    this
+               );
+        m_btn->Connect
+               (
+                    wxEVT_SPIN_DOWN,
+                    wxSpinEventHandler(wxTimePickerGenericImpl::OnArrowDown),
+                    NULL,
+                    this
+               );
+    }
+
+    // Set the new value.
+    void SetValue(const wxDateTime& time)
+    {
+        m_time = time.IsValid() ? time : wxDateTime::Now();
+
+        UpdateTextWithoutEvent();
+    }
+
+
+    // The text part of the control.
+    wxTextCtrl* m_text;
+
+    // The spin button used to change the text fields.
+    wxSpinButton* m_btn;
+
+    // The current time (date part is ignored).
+    wxDateTime m_time;
+
+private:
+    // The logical fields of the text control (AM/PM one may not be present).
+    enum Field
+    {
+        Field_Hour,
+        Field_Min,
+        Field_Sec,
+        Field_AMPM,
+        Field_Max
+    };
+
+    // Direction of change of time fields.
+    enum Direction
+    {
+        // Notice that the enum elements values matter.
+        Dir_Down = -1,
+        Dir_Up   = +1
+    };
+
+    // A range of character positions ("from" is inclusive, "to" -- exclusive).
+    struct CharRange
+    {
+        int from,
+            to;
+    };
+
+    // Event handlers for various events in our controls.
+    void OnTextSetFocus(wxFocusEvent& event)
+    {
+        HighlightCurrentField();
+
+        event.Skip();
+    }
+
+    // Keyboard interface here is modelled over MSW native control and may need
+    // adjustments for other platforms.
+    void OnTextKeyDown(wxKeyEvent& event)
+    {
+        const int key = event.GetKeyCode();
+
+        switch ( key )
+        {
+            case WXK_DOWN:
+                ChangeCurrentFieldBy1(Dir_Down);
+                break;
+
+            case WXK_UP:
+                ChangeCurrentFieldBy1(Dir_Up);
+                break;
+
+            case WXK_LEFT:
+                CycleCurrentField(Dir_Down);
+                break;
+
+            case WXK_RIGHT:
+                CycleCurrentField(Dir_Up);
+                break;
+
+            case WXK_HOME:
+                ResetCurrentField(Dir_Down);
+                break;
+
+            case WXK_END:
+                ResetCurrentField(Dir_Up);
+                break;
+
+            case '0':
+            case '1':
+            case '2':
+            case '3':
+            case '4':
+            case '5':
+            case '6':
+            case '7':
+            case '8':
+            case '9':
+                // The digits work in all keys except AM/PM.
+                if ( m_currentField != Field_AMPM )
+                {
+                    AppendDigitToCurrentField(key - '0');
+                }
+                break;
+
+            case 'A':
+            case 'P':
+                // These keys only work to toggle AM/PM field.
+                if ( m_currentField == Field_AMPM )
+                {
+                    unsigned hour = m_time.GetHour();
+                    if ( key == 'A' )
+                    {
+                        if ( hour >= 12 )
+                            hour -= 12;
+                    }
+                    else // PM
+                    {
+                        if ( hour < 12 )
+                            hour += 12;
+                    }
+
+                    if ( hour != m_time.GetHour() )
+                    {
+                        m_time.SetHour(hour);
+                        UpdateText();
+                    }
+                }
+                break;
+
+            // Do not skip the other events, just consume them to prevent the
+            // user from editing the text directly.
+        }
+    }
+
+    void OnTextClick(wxMouseEvent& event)
+    {
+        Field field wxDUMMY_INITIALIZE(Field_Max);
+        long pos;
+        switch ( m_text->HitTest(event.GetPosition(), &pos) )
+        {
+            case wxTE_HT_UNKNOWN:
+                // Don't do anything, it's better than doing something wrong.
+                return;
+
+            case wxTE_HT_BEFORE:
+                // Select the first field.
+                field = Field_Hour;
+                break;
+
+            case wxTE_HT_ON_TEXT:
+                // Find the field containing this position.
+                for ( field = Field_Hour; field <= GetLastField(); )
+                {
+                    const CharRange range = GetFieldRange(field);
+
+                    // Normally the "to" end is exclusive but we want to give
+                    // focus to some field when the user clicks between them so
+                    // count it as part of the preceding field here.
+                    if ( range.from <= pos && pos <= range.to )
+                        break;
+
+                    field = static_cast<Field>(field + 1);
+                }
+                break;
+
+            case wxTE_HT_BELOW:
+                // This shouldn't happen for single line control.
+                wxFAIL_MSG( "Unreachable" );
+                // fall through
+
+            case wxTE_HT_BEYOND:
+                // Select the last field.
+                field = GetLastField();
+                break;
+        }
+
+        ChangeCurrentField(field);
+    }
+
+    void OnArrowUp(wxSpinEvent& WXUNUSED(event))
+    {
+        ChangeCurrentFieldBy1(Dir_Up);
+    }
+
+    void OnArrowDown(wxSpinEvent& WXUNUSED(event))
+    {
+        ChangeCurrentFieldBy1(Dir_Down);
+    }
+
+
+    // Get the range of the given field in character positions ("from" is
+    // inclusive, "to" exclusive).
+    static CharRange GetFieldRange(Field field)
+    {
+        // Currently we can just hard code the ranges as they are the same for
+        // both supported formats, if we want to support arbitrary formats in
+        // the future, we'd need to determine them dynamically by examining the
+        // format here.
+        static const CharRange ranges[] =
+        {
+            { 0, 2 },
+            { 3, 5 },
+            { 6, 8 },
+            { 9, 11},
+        };
+
+        wxCOMPILE_TIME_ASSERT( WXSIZEOF(ranges) == Field_Max,
+                               FieldRangesMismatch );
+
+        return ranges[field];
+    }
+
+    // Get the last field used depending on m_useAMPM.
+    Field GetLastField() const
+    {
+        return m_useAMPM ? Field_AMPM : Field_Sec;
+    }
+
+    // Change the current field. For convenience, accept int field here as this
+    // allows us to use arithmetic operations in the caller.
+    void ChangeCurrentField(int field)
+    {
+        if ( field == m_currentField )
+            return;
+
+        wxCHECK_RET( field <= GetLastField(), "Invalid field" );
+
+        m_currentField = static_cast<Field>(field);
+        m_isFirstDigit = true;
+
+        HighlightCurrentField();
+    }
+
+    // Go to the next (Dir_Up) or previous (Dir_Down) field, wrapping if
+    // necessary.
+    void CycleCurrentField(Direction dir)
+    {
+        const unsigned numFields = GetLastField() + 1;
+
+        ChangeCurrentField((m_currentField + numFields + dir) % numFields);
+    }
+
+    // Select the currently actively field.
+    void HighlightCurrentField()
+    {
+        m_text->SetFocus();
+
+        const CharRange range = GetFieldRange(m_currentField);
+
+        m_text->SetSelection(range.from, range.to);
+    }
+
+    // Decrement or increment the value of the current field (wrapping if
+    // necessary).
+    void ChangeCurrentFieldBy1(Direction dir)
+    {
+        switch ( m_currentField )
+        {
+            case Field_Hour:
+                m_time.SetHour((m_time.GetHour() + 24 + dir) % 24);
+                break;
+
+            case Field_Min:
+                m_time.SetMinute((m_time.GetMinute() + 60 + dir) % 60);
+                break;
+
+            case Field_Sec:
+                m_time.SetSecond((m_time.GetSecond() + 60 + dir) % 60);
+                break;
+
+            case Field_AMPM:
+                m_time.SetHour((m_time.GetHour() + 12) % 24);
+                break;
+
+            case Field_Max:
+                wxFAIL_MSG( "Invalid field" );
+        }
+
+        UpdateText();
+    }
+
+    // Set the current field to its minimal or maximal value.
+    void ResetCurrentField(Direction dir)
+    {
+        switch ( m_currentField )
+        {
+            case Field_Hour:
+            case Field_AMPM:
+                // In 12-hour mode setting the hour to the minimal value
+                // also changes the suffix to AM and, correspondingly,
+                // setting it to the maximal one changes the suffix to PM.
+                // And, for consistency with the native MSW behaviour, we
+                // also do the same thing when changing AM/PM field itself,
+                // so change hours in any case.
+                m_time.SetHour(dir == Dir_Down ? 0 : 23);
+                break;
+
+            case Field_Min:
+                m_time.SetMinute(dir == Dir_Down ? 0 : 59);
+                break;
+
+            case Field_Sec:
+                m_time.SetSecond(dir == Dir_Down ? 0 : 59);
+                break;
+
+            case Field_Max:
+                wxFAIL_MSG( "Invalid field" );
+        }
+
+        UpdateText();
+    }
+
+    // Append the given digit (from 0 to 9) to the current value of the current
+    // field.
+    void AppendDigitToCurrentField(int n)
+    {
+        bool moveToNextField = false;
+
+        if ( !m_isFirstDigit )
+        {
+            // The first digit simply replaces the existing field contents,
+            // but the second one should be combined with the previous one,
+            // otherwise entering 2-digit numbers would be impossible.
+            int currentValue wxDUMMY_INITIALIZE(0),
+                maxValue wxDUMMY_INITIALIZE(0);
+
+            switch ( m_currentField )
+            {
+                case Field_Hour:
+                    currentValue = m_time.GetHour();
+                    maxValue = 23;
+                    break;
+
+                case Field_Min:
+                    currentValue = m_time.GetMinute();
+                    maxValue = 59;
+                    break;
+
+                case Field_Sec:
+                    currentValue = m_time.GetSecond();
+                    maxValue = 59;
+                    break;
+
+                case Field_AMPM:
+                case Field_Max:
+                    wxFAIL_MSG( "Invalid field" );
+            }
+
+            // Check if the new value is acceptable. If not, we just handle
+            // this digit as if it were the first one.
+            int newValue = currentValue*10 + n;
+            if ( newValue < maxValue )
+            {
+                n = newValue;
+
+                // If we're not on the seconds field, advance to the next one.
+                // This makes it more convenient to enter times as you can just
+                // press all digits one after one without touching the cursor
+                // arrow keys at all.
+                //
+                // Notice that MSW native control doesn't do this but it seems
+                // so useful that we intentionally diverge from it here.
+                moveToNextField = true;
+
+                // We entered both digits so the next one will be "first" again.
+                m_isFirstDigit = true;
+            }
+        }
+        else // First digit entered.
+        {
+            // The next one won't be first any more.
+            m_isFirstDigit = false;
+        }
+
+        switch ( m_currentField )
+        {
+            case Field_Hour:
+                m_time.SetHour(n);
+                break;
+
+            case Field_Min:
+                m_time.SetMinute(n);
+                break;
+
+            case Field_Sec:
+                m_time.SetSecond(n);
+                break;
+
+            case Field_AMPM:
+            case Field_Max:
+                wxFAIL_MSG( "Invalid field" );
+        }
+
+        if ( moveToNextField && m_currentField < Field_Sec )
+            CycleCurrentField(Dir_Up);
+
+        UpdateText();
+    }
+
+    // Update the text value to correspond to the current time. By default also
+    // generate an event but this can be avoided by calling the "WithoutEvent"
+    // variant.
+    void UpdateText()
+    {
+        UpdateTextWithoutEvent();
+
+        wxWindow* const ctrl = m_text->GetParent();
+
+        wxDateEvent event(ctrl, m_time, wxEVT_TIME_CHANGED);
+        ctrl->HandleWindowEvent(event);
+    }
+
+    void UpdateTextWithoutEvent()
+    {
+        m_text->SetValue(m_time.Format(m_useAMPM ? "%I:%M:%S %p" : "%H:%M:%S"));
+
+        HighlightCurrentField();
+    }
+
+
+    // The current field of the text control: this is the one affected by
+    // pressing arrow keys or spin button.
+    Field m_currentField;
+
+    // Flag indicating whether we use AM/PM indicator or not.
+    bool m_useAMPM;
+
+    // Flag indicating whether the next digit pressed by user will be the first
+    // digit of the current field or the second one. This is necessary because
+    // the first digit replaces the current field contents while the second one
+    // is appended to it (if possible, e.g. pressing '7' in a field already
+    // containing '8' will still replace it as "78" would be invalid).
+    bool m_isFirstDigit;
+
+    wxDECLARE_NO_COPY_CLASS(wxTimePickerGenericImpl);
+};
+
+// ============================================================================
+// wxTimePickerCtrlGeneric implementation
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// wxTimePickerCtrlGeneric creation
+// ----------------------------------------------------------------------------
+
+void wxTimePickerCtrlGeneric::Init()
+{
+    m_impl = NULL;
+}
+
+bool
+wxTimePickerCtrlGeneric::Create(wxWindow *parent,
+                                wxWindowID id,
+                                const wxDateTime& date,
+                                const wxPoint& pos,
+                                const wxSize& size,
+                                long style,
+                                const wxValidator& validator,
+                                const wxString& name)
+{
+    // The text control we use already has a border, so we don't need one
+    // ourselves.
+    style &= ~wxBORDER_MASK;
+    style |= wxBORDER_NONE;
+
+    if ( !Base::Create(parent, id, pos, size, style, validator, name) )
+        return false;
+
+    m_impl = new wxTimePickerGenericImpl(this);
+    m_impl->SetValue(date);
+
+    InvalidateBestSize();
+    SetInitialSize(size);
+
+    return true;
+}
+
+wxTimePickerCtrlGeneric::~wxTimePickerCtrlGeneric()
+{
+    delete m_impl;
+}
+
+wxWindowList wxTimePickerCtrlGeneric::GetCompositeWindowParts() const
+{
+    wxWindowList parts;
+    if ( m_impl )
+    {
+        parts.push_back(m_impl->m_text);
+        parts.push_back(m_impl->m_btn);
+    }
+    return parts;
+}
+
+// ----------------------------------------------------------------------------
+// wxTimePickerCtrlGeneric value
+// ----------------------------------------------------------------------------
+
+void wxTimePickerCtrlGeneric::SetValue(const wxDateTime& date)
+{
+    wxCHECK_RET( m_impl, "Must create first" );
+
+    m_impl->SetValue(date);
+}
+
+wxDateTime wxTimePickerCtrlGeneric::GetValue() const
+{
+    wxCHECK_MSG( m_impl, wxDateTime(), "Must create first" );
+
+    return m_impl->m_time;
+}
+
+// ----------------------------------------------------------------------------
+// wxTimePickerCtrlGeneric geometry
+// ----------------------------------------------------------------------------
+
+void wxTimePickerCtrlGeneric::DoMoveWindow(int x, int y, int width, int height)
+{
+    Base::DoMoveWindow(x, y, width, height);
+
+    if ( !m_impl )
+        return;
+
+    const int widthBtn = m_impl->m_btn->GetSize().x;
+    const int widthText = width - widthBtn - HMARGIN_TEXT_SPIN;
+
+    m_impl->m_text->SetSize(0, 0, widthText, height);
+    m_impl->m_btn->SetSize(widthText + HMARGIN_TEXT_SPIN, 0, widthBtn, height);
+}
+
+wxSize wxTimePickerCtrlGeneric::DoGetBestSize() const
+{
+    if ( !m_impl )
+        return Base::DoGetBestSize();
+
+    wxSize size = m_impl->m_text->GetBestSize();
+    size.x += m_impl->m_btn->GetBestSize().x + HMARGIN_TEXT_SPIN;
+
+    return size;
+}
+
+#endif // !wxHAS_NATIVE_TIMEPICKERCTRL || wxUSE_TIMEPICKCTRL_GENERIC
+
+#endif // wxUSE_TIMEPICKCTRL