X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d572bb7513361b8f761e66e2559774bad7a62b02..961f4d0ce6fb0478c2850d2da37e072d8636639a:/utils/hhp2cached/hhp2cached.cpp diff --git a/utils/hhp2cached/hhp2cached.cpp b/utils/hhp2cached/hhp2cached.cpp index 4c6f30c52c..ffcd539982 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(wxT("Processing %s...\n"), argv[i]); data.SetTempDir(wxPathOnly(argv[i])); data.AddBook(argv[i]); } - return FALSE; + return false; }