/////////////////////////////////////////////////////////////////////////////
-// Name: test.cpp
-// Purpose: wxHtml testing example
+// Name: about.cpp
+// Purpose: wxHtml sample: about dialog test
+// Author: ?
+// Modified by:
+// Created: ?
+// RCS-ID: $Id$
+// Copyright: (c) wxWidgets team
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxhtml.h"
#include "wx/statline.h"
+#ifndef wxHAS_IMAGES_IN_RESOURCES
+ #include "../../sample.xpm"
+#endif
+
+
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// `Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
// we use a PNG image in our HTML page
wxImage::AddHandler(new wxPNGHandler);
MyFrame::MyFrame(const wxString& title)
: wxFrame((wxFrame *)NULL, wxID_ANY, title)
{
+ SetIcon(wxICON(sample));
+
// create a menu bar
wxMenu *menuFile = new wxMenu;