]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/hhp2cached/hhp2cached.cpp
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / utils / hhp2cached / hhp2cached.cpp
index 4c6f30c52c19f72c453d965e88151e35310022e0..2321d28cb82cca6ba250b616a5cb73a98fd6a78f 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,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;
 }