X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f91df4ff55c634134b27473641acc0340ed1a7f..75d7ef36eb97f84a53715721d11708cc33420cc2:/samples/html/about/about.cpp?ds=sidebyside diff --git a/samples/html/about/about.cpp b/samples/html/about/about.cpp index 7b5f005112..7b6aec192e 100644 --- a/samples/html/about/about.cpp +++ b/samples/html/about/about.cpp @@ -9,7 +9,7 @@ #endif // For compilers that support precompilation, includes "wx/wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -18,13 +18,13 @@ // for all others, include the necessary headers (this file is usually all you // need because it includes almost all "standard" wxWindows headers #ifndef WX_PRECOMP - #include + #include "wx/wx.h" #endif -#include -#include -#include -#include +#include "wx/image.h" +#include "wx/imagpng.h" +#include "wx/wxhtml.h" +#include "wx/statline.h" // ---------------------------------------------------------------------------- // private classes @@ -74,7 +74,7 @@ Minimal_Forward, // controls start here (the numbers are, of course, arbitrary) - Minimal_Text = 1000, + Minimal_Text = 1000 }; // ---------------------------------------------------------------------------- @@ -159,7 +159,7 @@ { wxBoxSizer *topsizer; wxHtmlWindow *html; - wxDialog dlg(this, -1, "About"); + wxDialog dlg(this, -1, wxString("About")); topsizer = new wxBoxSizer(wxVERTICAL);