]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_filectrl.cpp
Don't test for DC validity in wxX11 wxDC text extent functions.
[wxWidgets.git] / src / xrc / xh_filectrl.cpp
index be5e0f4d6c1013c80c07d033b2097b6a791fa1a9..5b0e18cb2e4112a58b286ba1b2a61bddc89b90b9 100644 (file)
@@ -1,7 +1,7 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        src/xrc/xh_filectrl.cpp
 // Purpose:     XML resource handler for wxFileCtrl
-// Author:      Kinaou Hervé
+// Author:      Kinaou Hervé
 // Created:     2009-05-11
 // RCS-ID:      $Id$
 // Copyright:   (c) 2009 wxWidgets development team
@@ -42,7 +42,7 @@ wxObject *wxFileCtrlXmlHandler::DoCreateResource()
                      GetText(wxT("defaultdirectory")),
                      GetText(wxT("defaultfilename")),
                      GetParamValue(wxT("wildcard")),
-                     GetStyle(_T("style"), wxFC_DEFAULT_STYLE),
+                     GetStyle(wxT("style"), wxFC_DEFAULT_STYLE),
                      GetPosition(),
                      GetSize(),
                      GetName());