1 | // |
---|
2 | // wx.h |
---|
3 | // |
---|
4 | // Include wxWidgets headers. |
---|
5 | // |
---|
6 | // Copyright (C) 2000,2001,2002 Mark R. Shinwell |
---|
7 | // Copyright (C) 2001,2003,2005,2006,2007,2008 Olly Betts |
---|
8 | // |
---|
9 | // This program is free software; you can redistribute it and/or modify |
---|
10 | // it under the terms of the GNU General Public License as published by |
---|
11 | // the Free Software Foundation; either version 2 of the License, or |
---|
12 | // (at your option) any later version. |
---|
13 | // |
---|
14 | // This program is distributed in the hope that it will be useful, |
---|
15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | // GNU General Public License for more details. |
---|
18 | // |
---|
19 | // You should have received a copy of the GNU General Public License |
---|
20 | // along with this program; if not, write to the Free Software |
---|
21 | // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
22 | // |
---|
23 | |
---|
24 | #include <wx/wxprec.h> |
---|
25 | |
---|
26 | #ifdef __BORLANDC__ |
---|
27 | # pragma hdrstop |
---|
28 | #endif |
---|
29 | |
---|
30 | #ifndef WX_PRECOMP |
---|
31 | # include <wx/wx.h> |
---|
32 | #endif |
---|
33 | |
---|
34 | #if !wxCHECK_VERSION(2,6,0) |
---|
35 | # error We support building with wxWidgets 2.6.0 or newer |
---|
36 | #endif |
---|
37 | |
---|
38 | // These were renamed in wx 2.7. |
---|
39 | #if !wxCHECK_VERSION(2,7,0) |
---|
40 | # define wxFD_OPEN wxOPEN |
---|
41 | # define wxFD_OVERWRITE_PROMPT wxOVERWRITE_PROMPT |
---|
42 | # define wxFD_SAVE wxSAVE |
---|
43 | # define wxFD_FILE_MUST_EXIST wxFILE_MUST_EXIST |
---|
44 | |
---|
45 | # define wxBK_BOTTOM wxNB_BOTTOM |
---|
46 | # define wxBK_LEFT wxNB_LEFT |
---|
47 | #endif |
---|
48 | |
---|
49 | #include <wx/splitter.h> |
---|
50 | #include <wx/treectrl.h> |
---|
51 | #include <wx/dnd.h> |
---|
52 | |
---|
53 | #if !wxUSE_GLCANVAS |
---|
54 | # error wxWidgets must be built with wxUSE_GLCANVAS set to 1 |
---|
55 | #endif |
---|
56 | #include <wx/glcanvas.h> |
---|