Compilation fixes for WXWIN_COMPATIBILITY_2_4.

Don't include wx/wx.h, use the much smaller set of
required headers instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-09-13 16:11:09 +00:00
parent a7b1654d9d
commit ea172e69cf
11 changed files with 48 additions and 12 deletions

View File

@@ -21,13 +21,16 @@
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "tex2any.h"
#include "tex2rtf.h"
#include "table.h"
#if !WXWIN_COMPATIBILITY_2_4
static inline wxChar* copystring(const wxChar* s)
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
#endif
extern wxHashTable TexReferences;