From 12c44f1c79b55ca206f578358f12754d69c40c4c Mon Sep 17 00:00:00 2001 From: PB Date: Wed, 12 Sep 2018 17:05:06 +0200 Subject: [PATCH] Make small corrections in wxTimePickerCtrl docs --- interface/wx/timectrl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/wx/timectrl.h b/interface/wx/timectrl.h index 6e189513b0..c640f8f1b4 100644 --- a/interface/wx/timectrl.h +++ b/interface/wx/timectrl.h @@ -67,7 +67,7 @@ public: const wxSize& size = wxDefaultSize, long style = wxTP_DEFAULT, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "timectrl"); + const wxString& name = wxTimePickerCtrlNameStr); /** Create the control window. @@ -103,9 +103,9 @@ public: const wxDateTime& dt = wxDefaultDateTime, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxDP_DEFAULT | wxDP_SHOWCENTURY, + long style = wxTP_DEFAULT, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "timectrl"); + const wxString& name = wxTimePickerCtrlNameStr); /** Returns the currently entered time as hours, minutes and seconds.