]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/about/about.cpp
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in...
[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_Forward,
 
     // controls start here (the numbers are, of course, arbitrary)
-   Minimal_Text = 1000,
+   Minimal_Text = 1000
    };
 
 // ----------------------------------------------------------------------------
    };
 
 // ----------------------------------------------------------------------------
    {
         wxBoxSizer *topsizer;
         wxHtmlWindow *html;
    {
         wxBoxSizer *topsizer;
         wxHtmlWindow *html;
-        wxDialog dlg(this, -1, "About");
+        wxDialog dlg(this, -1, wxString("About"));
 
         topsizer = new wxBoxSizer(wxVERTICAL);
 
 
         topsizer = new wxBoxSizer(wxVERTICAL);