]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/lseditor/wxstldefs.h
More updates.
[wxWidgets.git] / utils / wxPython / modules / lseditor / wxstldefs.h
1 #ifndef __WXSTLDEFS_G__
2 #define __WXSTLDEFS_G__
3
4
5 #include "config.h"
6
7 // defines some very commonly used container types
8 // for both template and macro-based configurations
9
10 #if defined( wxUSE_TEMPLATE_STL )
11
12 #include <vector>
13 using namespace std;
14 #ifdef WIN32xxx
15 #include <bstring.h>
16 #else
17
18 //#include <strclass.h>
19 //#include <string.h>
20 // For now
21 #include "wx/string.h"
22 #define string wxString
23
24 #endif
25
26 #else
27
28 #include "wx/string.h"
29 #include "wxstlvec.h"
30
31 // FOR NOW:: quick n' dirty:
32
33 #define string wxString
34
35 #endif
36
37 #if defined( wxUSE_TEMPLATE_STL )
38
39 typedef vector<string> StrListT;
40 typedef vector<int> IntListT;
41
42 #else
43
44 typedef WXSTL_VECTOR(string) StrListT;
45 typedef WXSTL_VECTOR_SHALLOW_COPY(int) IntListT;
46
47 #endif
48
49 #endif