1
//--------------------------------------------------------------------------------------
2
// LenMus Phonascus: The teacher of music
3
// Copyright (c) 2002-2007 Cecilio Salmeron
5
// This program is free software; you can redistribute it and/or modify it under the
6
// terms of the GNU General Public License as published by the Free Software Foundation;
7
// either version 2 of the License, or (at your option) any later version.
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY
10
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
// PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
// You should have received a copy of the GNU General Public License along with this
14
// program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street,
15
// Fifth Floor, Boston, MA 02110-1301, USA.
17
// For any comment, suggestion or feature request, please contact the manager of
18
// the project at cecilios@users.sourceforge.net
20
//-------------------------------------------------------------------------------------
22
@brief Header file for class lmEditFrame
29
#ifndef _EDITFRAME_H //to avoid nested includes
32
#include "../mdi/DocViewMDI.h"
34
//#include "wx/docmdi.h"
35
#include "wx/docview.h"
39
class lmScoreDocument;
42
class lmEditFrame: public lmDocMDIChildFrame
44
DECLARE_DYNAMIC_CLASS(lmEditFrame)
46
lmEditFrame(wxDocument* doc, wxView* view, lmMainFrame* mainFrame,
47
const wxPoint& pos = wxDefaultPosition,
48
const wxSize& size = wxDefaultSize);
51
void OnSize(wxSizeEvent& WXUNUSED(event));
52
void OnClose(wxCloseEvent& event);
55
lmScoreView* m_pView; //the owner view of this frame
60
#endif // _EDITFRAME_H