]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/hhp2cached/hhp2cached.cpp
link against the net library, too
[wxWidgets.git] / utils / hhp2cached / hhp2cached.cpp
index 4c6f30c52c19f72c453d965e88151e35310022e0..655f4f8dbb6426bcff7b4ad5951a0609bfb1514f 100644 (file)
@@ -6,9 +6,18 @@
 
 */
 
+// For compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
 
-#include <wx/wx.h>
-#include <wx/html/helpdata.h>
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
+
+#include "wx/html/helpdata.h"
 
 
 class MyApp : public wxApp
@@ -24,7 +33,7 @@ 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]);
     }