- {
- wxConfig *cfg = new wxConfig("wxHtmlTest");
- html = new wxHtmlWindow(this);
- html -> SetRelatedFrame(this, "HTML : %s");
- html -> SetRelatedStatusBar(0);
- html -> ReadCustomization(cfg);
- delete cfg;
- html -> LoadPage("test.htm");
- }
+ m_Html = new wxHtmlWindow(this);
+ m_Html -> SetRelatedFrame(this, "HTML : %s");
+ m_Html -> SetRelatedStatusBar(0);
+ m_Html -> ReadCustomization(wxConfig::Get());
+ m_Html -> LoadPage("test.htm");