#ifndef _BASE_H_
#define _BASE_H_

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
    #pragma hdrstop
#endif

#include <vector>
#include <map>

#include <SDL/SDL.h>

#include <wx/dcbuffer.h>  
#include "wx/process.h"
#include "wx/txtstrm.h"
#include "wx/list.h"
#include "wx/tokenzr.h"
#include "wx/app.h"
#include "wx/grid.h"
#include "wx/laywin.h"
#include "wx/treectrl.h"
#include "wx/spinctrl.h"
#include "wx/artprov.h"
#include "wx/clipbrd.h"
#include "wx/image.h"
#include "wx/combobox.h"
#include "wx/colordlg.h"
#include "wx/wxhtml.h"
#include "wx/imaglist.h"
#include "wx/dataobj.h"
#include "wx/dcclient.h"
#include "wx/bmpbuttn.h"
#include "wx/menu.h"
#include "wx/toolbar.h"
#include "wx/tooltip.h"
#include "wx/statusbr.h"
#include "wx/msgdlg.h"
#include "wx/textdlg.h"
#include "wx/timer.h"
#include "wx/statline.h"
#include "wx/listctrl.h"
#include "wx/dir.h"
#include "wx/file.h"
#include "wx/mimetype.h"
#include "wx/regex.h"
#include "wx/taskbar.h"
#include "wx/xml/xml.h"
#include "wx/aui/aui.h"
#include "wx/stc/stc.h"  // styled text control
#include "wx/treelistctrl/treelistctrl.h"
#include "wx/fiximp/fiximp.h"
#include "wx/propgrid/propgrid.h"
#include <wx/propgrid/propdev.h>
#include <wx/propgrid/advprops.h>
#include <wx/propgrid/manager.h>
#include <wx/propgrid/xh_propgrid.h>
#include <wx/ffile.h>
#include <wx/bitmap.h> 
#include <wx/mstream.h> 
#include <wx/stream.h> 
#include <wx/sstream.h>
#include <wx/config.h>
#include <wx/confbase.h>
#include <wx/fileconf.h> 
#include <wx/fontenum.h>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
#include <tlhelp32.h>
#include <winsock.h>
#include <windows.h>

#include <shellapi.h>

using namespace std;

extern wxString exePath;

extern wxString fontFace;
extern unsigned int fontSize;

enum {
	ID_EXIT = wxID_HIGHEST+1,
};

#define STATUS_BAR					myFrame->m_statusBar
#define MENU_BAR					myFrame->m_menuBar
#define FILE_TOOLBAR				myFrame->m_fileToolBar
#define M_MGR						myFrame->m_mgr

#define GET_BITMAP(name)	\
	wxBitmap(wxString::Format("%s/icon/%s.png", \
	exePath.c_str(), name), \
	wxBITMAP_TYPE_PNG)
#define GET_ICON(name)	\
	wxIcon(wxString::Format("%s/icon/%s.png", \
	exePath.c_str(), name), \
	wxBITMAP_TYPE_PNG)

#define WIDTH	640
#define HEIGHT	480

#endif




