]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_datectrl.cpp
Allow using windows that can't be focused with wxNavigationEnabled<>.
[wxWidgets.git] / src / xrc / xh_datectrl.cpp
index f3e4de97fe77e7d5a8bc143dd02e6574a12780e8..4c0225b57fe7fa5a71447864c3f03f34c297406c 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_datectrl.cpp
+// Name:        src/xrc/xh_datectrl.cpp
 // Purpose:     XML resource handler for wxDatePickerCtrl
 // Author:      Vaclav Slavik
 // Created:     2005-02-07
@@ -40,7 +40,7 @@ wxObject *wxDateCtrlXmlHandler::DoCreateResource()
                   GetID(),
                   wxDefaultDateTime,
                   GetPosition(), GetSize(),
-                  GetStyle(_T("style"), wxDP_DEFAULT | wxDP_SHOWCENTURY),
+                  GetStyle(wxT("style"), wxDP_DEFAULT | wxDP_SHOWCENTURY),
                   wxDefaultValidator,
                   GetName());