#endif
// For all others, include the necessary headers (this file is usually all you
-// need because it includes almost all "standard" wxWindows headers
+// need because it includes almost all "standard" wxWidgets headers
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
wxHtmlWindow *m_Html;
wxHtmlProcessor *m_Processor;
- // Any class wishing to process wxWindows events must use this macro
+ // Any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
};
};
// ----------------------------------------------------------------------------
-// event tables and other macros for wxWindows
+// event tables and other macros for wxWidgets
// ----------------------------------------------------------------------------
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
wxFileSystem::AddHandler(new wxInternetFSHandler);
#endif
- SetVendorName(wxT("wxWindows"));
+ SetVendorName(wxT("wxWidgets"));
SetAppName(wxT("wxHtmlTest"));
// the following call to wxConfig::Get will use it to create an object...
SetAcceleratorTable(accel);
#endif // wxUSE_ACCEL
+#if wxUSE_STATUSBAR
CreateStatusBar(1);
+#endif // wxUSE_STATUSBAR
m_Processor = new BoldProcessor;
m_Processor->Enable(false);
m_Html = new wxHtmlWindow(this);
m_Html->SetRelatedFrame(this, _("HTML : %s"));
+#if wxUSE_STATUSBAR
m_Html->SetRelatedStatusBar(0);
+#endif // wxUSE_STATUSBAR
m_Html->ReadCustomization(wxConfig::Get());
m_Html->LoadFile(wxFileName(wxT("test.htm")));
m_Html->AddProcessor(m_Processor);