diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp
index 7b5f005112..f4c03cfeb6 100644
--- a/samples/html/about/about.cpp
+++ b/samples/html/about/about.cpp
@@ -159,7 +159,7 @@
{
wxBoxSizer *topsizer;
wxHtmlWindow *html;
- wxDialog dlg(this, -1, "About");
+ wxDialog dlg(this, -1, wxString("About"));
topsizer = new wxBoxSizer(wxVERTICAL);