]> git.saurik.com Git - wxWidgets.git/blame - user/wxFile/wxFile.h
and the compilation fix for the warning fixes
[wxWidgets.git] / user / wxFile / wxFile.h
CommitLineData
c801d85f
KB
1/*
2 * Program: wxFile
3 *
4 * Author: Robert Roebling
5 *
6 * Copyright: (C) 1997, GNU (Robert Roebling)
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23#ifndef __WXFILEH__
24#define __WXFILEH__
25
26#ifdef __GNUG__
27#pragma interface
28#endif
29
30#include "wx/wx.h"
31#include "wx/dcscreen.h"
32#include "wx/splitter.h"
33#include "wx/toolbar.h"
34#include "filectrl.h"
35#include "dirctrl.h"
36
37//-----------------------------------------------------------------------------
38// derived classes
39//-----------------------------------------------------------------------------
40
41class MyFrame;
42class MyApp;
43
44//-----------------------------------------------------------------------------
45// MyFrame
46//-----------------------------------------------------------------------------
47
48class MyFrame: public wxFrame
49{
50 DECLARE_DYNAMIC_CLASS(MyFrame)
51
52 public:
53
54 MyFrame(void);
c801d85f
KB
55 void OnCommand( wxCommandEvent &event );
56 void OnAbout( wxCommandEvent &event );
57 void OnView( wxCommandEvent &event );
58 void OnListKeyDown( wxListEvent &event );
59 void OnListDeleteItem( wxListEvent &event );
60 void OnListEndLabelEdit( wxListEvent &event );
61 void OnListDrag( wxListEvent &event );
62 void OnTreeSelected( wxTreeEvent &event );
63 void OnTreeKeyDown( wxTreeEvent &event );
64
c801d85f
KB
65 wxSplitterWindow *m_splitter;
66 wxFileCtrl *m_rightFile;
67 wxFileCtrl *m_leftFile;
68 wxDirCtrl *m_dir;
69
70 DECLARE_EVENT_TABLE()
71};
72
73//-----------------------------------------------------------------------------
74// MyApp
75//-----------------------------------------------------------------------------
76
77class MyApp: public wxApp
78{
79 public:
80
81 MyApp(void);
82 virtual bool OnInit(void);
83};
84
85#endif // __WXFILEH__