#endif
MyFrame *frame = new MyFrame(_("Printing test"),
- wxPoint(150, 50), wxSize(640, 480));
+ wxDefaultPosition, wxSize(640, 480));
// Show it and tell the application that it's our main window
// @@@ what does it do exactly, in fact? is it necessary here?
// ... and attach this menu bar to the frame
SetMenuBar(menuBar);
+#if wxUSE_STATUSBAR
CreateStatusBar(1);
+#endif // wxUSE_STATUSBAR
m_Html = new wxHtmlWindow(this);
m_Html -> SetRelatedFrame(this, _("HTML : %s"));
+#if wxUSE_STATUSBAR
m_Html -> SetRelatedStatusBar(0);
+#endif // wxUSE_STATUSBAR
m_Name = wxT("test.htm");
m_Html -> LoadPage(m_Name);