]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/about/about.cpp
reset preview bitmap variable to NULL after deleting it
[wxWidgets.git] / samples / html / about / about.cpp
index 7b5f005112808825b191c84dd915fa5eefa2ecc2..a97c5e58c3854750d850715dc6c4d5762302a761 100644 (file)
@@ -74,7 +74,7 @@
    Minimal_Forward,
 
     // controls start here (the numbers are, of course, arbitrary)
-   Minimal_Text = 1000,
+   Minimal_Text = 1000
    };
 
 // ----------------------------------------------------------------------------
    {
         wxBoxSizer *topsizer;
         wxHtmlWindow *html;
-        wxDialog dlg(this, -1, "About");
+        wxDialog dlg(this, -1, wxString("About"));
 
         topsizer = new wxBoxSizer(wxVERTICAL);