// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// private classes
// ----------------------------------------------------------------------------
// handlers) which process them. It can be also done at run-time, but for the
// simple menu events like this the static method is much simpler.
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
// handlers) which process them. It can be also done at run-time, but for the
// simple menu events like this the static method is much simpler.
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
// the application object during program execution (it's better than using a
// static object for many reasons) and also declares the accessor function
// wxGetApp() which will return the reference of the right type (i.e. MyApp and
// the application object during program execution (it's better than using a
// static object for many reasons) and also declares the accessor function
// wxGetApp() which will return the reference of the right type (i.e. MyApp and
// Create the main application window
MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
// Create the main application window
MyFrame *frame = new MyFrame(_("wxHtmlWindow testing application"),
// success: wxApp::OnRun() will be called which will enter the main message
// loop and the application will run. If we returned false here, the
// success: wxApp::OnRun() will be called which will enter the main message
// loop and the application will run. If we returned false here, the
-: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
+ : wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
html = new wxHtmlWindow(this);
html -> SetRelatedFrame(this, _("HTML : %s"));
html = new wxHtmlWindow(this);
html -> SetRelatedFrame(this, _("HTML : %s"));