diff --git a/samples/html/help/help.cpp b/samples/html/help/help.cpp
index 26a13b0c03..a150939d3f 100644
--- a/samples/html/help/help.cpp
+++ b/samples/html/help/help.cpp
@@ -155,6 +155,7 @@
help.UseConfig(wxConfig::Get());
bool ret;
+ help.SetTempDir(".");
ret = help.AddBook("helpfiles/testing.hhp");
if (! ret)
wxMessageBox("Failed adding book helpfiles/testing.hhp");