X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ebb7cade2df5aeb8531950d2a79cd57a336bcec..f7f8a13c0466725ffffc0cbe9f10da729c3423dd:/src/xrc/xh_htmllbox.cpp diff --git a/src/xrc/xh_htmllbox.cpp b/src/xrc/xh_htmllbox.cpp index f351b04cae..f2af2a89c9 100644 --- a/src/xrc/xh_htmllbox.cpp +++ b/src/xrc/xh_htmllbox.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_simplehtmllbox.cpp +// Name: src/xrc/xh_simplehtmllbox.cpp // Purpose: XML resource handler for wxSimpleHtmlListBox // Author: Francesco Montorsi // Created: 2006/10/21 -// RCS-ID: $Id$ // Copyright: (c) 2006 Francesco Montorsi // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,6 +21,8 @@ #include "wx/htmllbox.h" #include "wx/filesys.h" +#include "wx/xml/xml.h" + IMPLEMENT_DYNAMIC_CLASS(wxSimpleHtmlListBoxXmlHandler, wxXmlResourceHandler) wxSimpleHtmlListBoxXmlHandler::wxSimpleHtmlListBoxXmlHandler() @@ -50,7 +51,7 @@ wxObject *wxSimpleHtmlListBoxXmlHandler::DoCreateResource() GetID(), GetPosition(), GetSize(), strList, - GetStyle(_T("style"), wxHLB_DEFAULT_STYLE), + GetStyle(wxT("style"), wxHLB_DEFAULT_STYLE), wxDefaultValidator, GetName());