X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d572bb7513361b8f761e66e2559774bad7a62b02..084ad0c2424aa998a640c151f8fa762435364449:/utils/hhp2cached/hhp2cached.cpp diff --git a/utils/hhp2cached/hhp2cached.cpp b/utils/hhp2cached/hhp2cached.cpp index 4c6f30c52c..2321d28cb8 100644 --- a/utils/hhp2cached/hhp2cached.cpp +++ b/utils/hhp2cached/hhp2cached.cpp @@ -6,9 +6,18 @@ */ +// For compilers that support precompilation, includes "wx/wx.h". +#include "wx/wxprec.h" -#include -#include +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/wx.h" +#endif + +#include "wx/html/helpdata.h" class MyApp : public wxApp @@ -24,10 +33,10 @@ bool MyApp::OnInit() for (int i = 1; i < argc; i++) { wxHtmlHelpData data; - wxPrintf("Processing %s...\n", argv[i]); + wxPrintf(_T("Processing %s...\n"), argv[i]); data.SetTempDir(wxPathOnly(argv[i])); data.AddBook(argv[i]); } - return FALSE; + return false; }