]> git.saurik.com Git - wxWidgets.git/blame - include/wx/setup.h
speed optimizations: some functions now use wxString::Alloc, wxTextFile::Read
[wxWidgets.git] / include / wx / setup.h
CommitLineData
c801d85f
KB
1
2#ifndef __SETUPH_BASE__
3#define __SETUPH_BASE__
4
2049ba38
KB
5// compatibility code, to be removed asap:
6
7#if ! defined(__WXMSW__) && ! defined(__WXGTK__) && ! defined(__WXMOTIF__)
8# if defined(__WINDOWS__)
9# define __WXMSW__
10# elif defined(__GTK__)
11# define __WXGTK__
12# elif defined(__MOTIF__)
13# define __WXMOTIF__
14# else
15# error No __WXxxx__ define set! Please define __WXGTK__,__WXMSW__ or __WXMOTIF__.
16# endif
17#endif
18
19#if defined(__WXMSW__)
c801d85f 20#include "wx/msw/setup.h"
2049ba38 21#elif defined(__WXMOTIF__)
c801d85f 22#include "wx/xt/setup.h"
2049ba38 23#elif defined(__WXGTK__)
c801d85f
KB
24#include "wx/gtk/setup.h"
25#endif
26
27#endif
28 // __SETUPH_BASE__