]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/hhp2cached/hhp2cached.cpp
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / utils / hhp2cached / hhp2cached.cpp
index 4c6f30c52c19f72c453d965e88151e35310022e0..ffcd539982c9b370a763c78172dd8e65edc2ec8c 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(wxT("Processing %s...\n"), argv[i]);
         data.SetTempDir(wxPathOnly(argv[i]));
         data.AddBook(argv[i]);
     }
 
-    return FALSE;
+    return false;
 }