lots'o' wxpython modules files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
49
utils/wxPython/modules/lseditor/wxstldefs.h
Normal file
49
utils/wxPython/modules/lseditor/wxstldefs.h
Normal file
@@ -0,0 +1,49 @@
|
||||
#ifndef __WXSTLDEFS_G__
|
||||
#define __WXSTLDEFS_G__
|
||||
|
||||
|
||||
#include "config.h"
|
||||
|
||||
// defines some very commonly used container types
|
||||
// for both template and macro-based configurations
|
||||
|
||||
#if defined( wxUSE_TEMPLATE_STL )
|
||||
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
#ifdef WIN32xxx
|
||||
#include <bstring.h>
|
||||
#else
|
||||
|
||||
//#include <strclass.h>
|
||||
//#include <string.h>
|
||||
// For now
|
||||
#include "wx/string.h"
|
||||
#define string wxString
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#include "wx/string.h"
|
||||
#include "wxstlvec.h"
|
||||
|
||||
// FOR NOW:: quick n' dirty:
|
||||
|
||||
#define string wxString
|
||||
|
||||
#endif
|
||||
|
||||
#if defined( wxUSE_TEMPLATE_STL )
|
||||
|
||||
typedef vector<string> StrListT;
|
||||
typedef vector<int> IntListT;
|
||||
|
||||
#else
|
||||
|
||||
typedef WXSTL_VECTOR(string) StrListT;
|
||||
typedef WXSTL_VECTOR_SHALLOW_COPY(int) IntListT;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user