299
301
m_pOptions->fBorder = (m_nWindowStyle == wxSIMPLE_BORDER);
301
303
// create the lmScoreCtrol
302
wnd = new lmScoreCtrol((wxWindow*)pHtmlParser->GetWindow(), -1, m_pScore,
304
//wnd = new lmScoreCtrol((wxWindow*)pHtmlParser->GetWindow(), -1, m_pScore,
305
// m_pOptions, wxPoint(0,0), wxSize(m_nWidth, m_nHeight), m_nWindowStyle );
306
wnd = new lmScoreCtrol((wxWindow*)g_pMainFrame->GetHtmlWindow(), -1, m_pScore,
303
307
m_pOptions, wxPoint(0,0), wxSize(m_nWidth, m_nHeight), m_nWindowStyle );
305
309
pHtmlParser->GetContainer()->InsertCell(new wxHtmlWidgetCell(wnd, m_nPercent));