~s-cecilio/lenmus/v5.3

« back to all changes in this revision

Viewing changes to src/app/EditFrame.h

  • Committer: cecilios
  • Date: 2012-09-11 16:59:18 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:730
Paths: fixed problem with installation folders. Fixed Chinese ISO language code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//--------------------------------------------------------------------------------------
2
 
//    LenMus Phonascus: The teacher of music
3
 
//    Copyright (c) 2002-2007 Cecilio Salmeron
4
 
//
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.
8
 
//
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.
12
 
//
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.
16
 
//
17
 
//    For any comment, suggestion or feature request, please contact the manager of 
18
 
//    the project at cecilios@users.sourceforge.net
19
 
//
20
 
//-------------------------------------------------------------------------------------
21
 
/*! @file EditFrame.h
22
 
    @brief Header file for class lmEditFrame
23
 
    @ingroup app_gui
24
 
*/
25
 
#ifdef __GNUG__
26
 
// #pragma interface
27
 
#endif
28
 
 
29
 
#ifndef _EDITFRAME_H        //to avoid nested includes
30
 
#define _EDITFRAME_H
31
 
 
32
 
#include "../mdi/DocViewMDI.h"
33
 
 
34
 
//#include "wx/docmdi.h"
35
 
#include "wx/docview.h"
36
 
 
37
 
 
38
 
class lmMainFrame;
39
 
class lmScoreDocument;
40
 
class lmScoreView;
41
 
 
42
 
class lmEditFrame: public lmDocMDIChildFrame
43
 
{
44
 
    DECLARE_DYNAMIC_CLASS(lmEditFrame)
45
 
public:
46
 
    lmEditFrame(wxDocument* doc, wxView* view, lmMainFrame* mainFrame, 
47
 
                const wxPoint& pos = wxDefaultPosition,
48
 
                const wxSize& size = wxDefaultSize);
49
 
 
50
 
    // event handlers
51
 
    void OnSize(wxSizeEvent& WXUNUSED(event));
52
 
    void OnClose(wxCloseEvent& event);
53
 
 
54
 
private:
55
 
    lmScoreView*        m_pView;    //the owner view of this frame
56
 
 
57
 
    DECLARE_EVENT_TABLE()
58
 
};
59
 
 
60
 
#endif    // _EDITFRAME_H