]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/about/about.cpp
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / samples / html / about / about.cpp
index 7b5f005112808825b191c84dd915fa5eefa2ecc2..4675c6085f0851c83e33ace29c4022ccffa8e4bf 100644 (file)
@@ -9,7 +9,7 @@
 #endif
 
 // For compilers that support precompilation, includes "wx/wx.h".
 #endif
 
 // For compilers that support precompilation, includes "wx/wx.h".
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
     #pragma hdrstop
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -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);