~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/html/ScoreCtrolParams.h

  • Committer: cecilios
  • Date: 2006-03-19 16:36:00 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:trunk:13

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#include "../exercises/ScoreConstrains.h"
46
46
#include "../ldp_parser/AuxString.h"
47
47
 
 
48
#include "../app/MainFrame.h"           //CSG_ADDED
 
49
extern lmMainFrame* g_pMainFrame;       //CSG_ADDED
48
50
 
49
51
enum EHtmlScoreTypes
50
52
{
299
301
    m_pOptions->fBorder = (m_nWindowStyle == wxSIMPLE_BORDER);
300
302
 
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 );
304
308
    wnd->Show(true);
305
309
    pHtmlParser->GetContainer()->InsertCell(new wxHtmlWidgetCell(wnd, m_nPercent));