Changes to allow Cygwin to compile in non-PCH mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,6 +38,12 @@ zip32 -@ %dest\ogl3.zip < %src\utils\ogl\distrib\ogl.rsp
|
|||||||
rem Tex2RTF
|
rem Tex2RTF
|
||||||
zip32 -@ %dest\tex2rtf.zip < %src\distrib\msw\tex2rtf.rsp
|
zip32 -@ %dest\tex2rtf.zip < %src\distrib\msw\tex2rtf.rsp
|
||||||
|
|
||||||
|
copy %src\docs\changes.txt %dest
|
||||||
|
copy %src\docs\msw\install.txt %dest\install_msw.txt
|
||||||
|
copy %src\docs\motif\install.txt %dest\install_motif.txt
|
||||||
|
copy %src\docs\gtk\install.txt %dest\install_gtk.txt
|
||||||
|
copy %src\docs\readme.txt %dest
|
||||||
|
|
||||||
cd %dest
|
cd %dest
|
||||||
|
|
||||||
echo wxWindows archived.
|
echo wxWindows archived.
|
||||||
|
@@ -976,7 +976,6 @@ typedef void* gpointer;
|
|||||||
|
|
||||||
/* Stand-ins for GDK types */
|
/* Stand-ins for GDK types */
|
||||||
typedef gulong GdkAtom;
|
typedef gulong GdkAtom;
|
||||||
typedef struct _GdkVisual GdkVisual;
|
|
||||||
typedef struct _GdkColor GdkColor;
|
typedef struct _GdkColor GdkColor;
|
||||||
typedef struct _GdkColormap GdkColormap;
|
typedef struct _GdkColormap GdkColormap;
|
||||||
typedef struct _GdkFont GdkFont;
|
typedef struct _GdkFont GdkFont;
|
||||||
@@ -995,7 +994,42 @@ typedef struct _GtkList GtkList;
|
|||||||
typedef struct _GtkToolbar GtkToolbar;
|
typedef struct _GtkToolbar GtkToolbar;
|
||||||
typedef struct _GtkNotebook GtkNotebook;
|
typedef struct _GtkNotebook GtkNotebook;
|
||||||
typedef struct _GtkNotebookPage GtkNotebookPage;
|
typedef struct _GtkNotebookPage GtkNotebookPage;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// This is required because of clashing macros in windows.h, which may be
|
||||||
|
// included before or after wxWindows classes, and therefore must be
|
||||||
|
// disabled here before any significant wxWindows headers are included.
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
#ifdef GetClassInfo
|
||||||
|
#undef GetClassInfo
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef GetClassName
|
||||||
|
#undef GetClassName
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DrawText
|
||||||
|
#undef DrawText
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef GetCharWidth
|
||||||
|
#undef GetCharWidth
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef StartDoc
|
||||||
|
#undef StartDoc
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef FindWindow
|
||||||
|
#undef FindWindow
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef FindResource
|
||||||
|
#undef FindResource
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
// __WXMSW__
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_DEFS_H_
|
// _WX_DEFS_H_
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "wx/control.h"
|
#include "wx/control.h"
|
||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
|
#include "wx/textctrl.h"
|
||||||
|
|
||||||
#ifdef __GNUWIN32__
|
#ifdef __GNUWIN32__
|
||||||
# ifdef GetFirstChild
|
# ifdef GetFirstChild
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// check if to use precompiled headers
|
// check if to use precompiled headers
|
||||||
#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__) || defined(__GNUWIN32__)) && defined(__WXMSW__)
|
#if (defined(__BORLANDC__) || defined(_MSC_VER) || defined(__WATCOMC__)) && defined(__WXMSW__)
|
||||||
#if !NOPCH
|
#if !NOPCH
|
||||||
#define WX_PRECOMP
|
#define WX_PRECOMP
|
||||||
#endif
|
#endif
|
||||||
|
@@ -53,6 +53,9 @@
|
|||||||
#include <windows.h> // for GetTempFileName
|
#include <windows.h> // for GetTempFileName
|
||||||
#elif (defined(__UNIX__) || defined(__GNUWIN32__))
|
#elif (defined(__UNIX__) || defined(__GNUWIN32__))
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#ifdef __GNUWIN32__
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
#elif (defined(__WXSTUBS__))
|
#elif (defined(__WXSTUBS__))
|
||||||
// Have to ifdef this for different environments
|
// Have to ifdef this for different environments
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
|
@@ -39,6 +39,7 @@ typedef UINT MMRESULT;
|
|||||||
#define NO_JOYGETPOSEX
|
#define NO_JOYGETPOSEX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <wx/window.h>
|
||||||
#include <wx/msw/joystick.h>
|
#include <wx/msw/joystick.h>
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__WIN95__)
|
#if defined(__WIN95__)
|
||||||
|
@@ -60,12 +60,9 @@ DOCDIR = $(WXDIR)\docs
|
|||||||
|
|
||||||
GENERICOBJS= \
|
GENERICOBJS= \
|
||||||
$(GENDIR)/choicdgg.$(OBJSUFF) \
|
$(GENDIR)/choicdgg.$(OBJSUFF) \
|
||||||
$(GENDIR)/colrdlgg.$(OBJSUFF) \
|
|
||||||
$(GENDIR)/dirdlgg.$(OBJSUFF) \
|
$(GENDIR)/dirdlgg.$(OBJSUFF) \
|
||||||
$(GENDIR)/fontdlgg.$(OBJSUFF) \
|
|
||||||
$(GENDIR)/gridg.$(OBJSUFF) \
|
$(GENDIR)/gridg.$(OBJSUFF) \
|
||||||
$(GENDIR)/laywin.$(OBJSUFF) \
|
$(GENDIR)/laywin.$(OBJSUFF) \
|
||||||
$(GENDIR)/msgdlgg.$(OBJSUFF) \
|
|
||||||
$(GENDIR)/panelg.$(OBJSUFF) \
|
$(GENDIR)/panelg.$(OBJSUFF) \
|
||||||
$(GENDIR)/prop.$(OBJSUFF) \
|
$(GENDIR)/prop.$(OBJSUFF) \
|
||||||
$(GENDIR)/propform.$(OBJSUFF) \
|
$(GENDIR)/propform.$(OBJSUFF) \
|
||||||
@@ -77,8 +74,11 @@ GENERICOBJS= \
|
|||||||
$(GENDIR)/tabg.$(OBJSUFF) \
|
$(GENDIR)/tabg.$(OBJSUFF) \
|
||||||
$(GENDIR)/textdlgg.$(OBJSUFF)
|
$(GENDIR)/textdlgg.$(OBJSUFF)
|
||||||
|
|
||||||
|
# $(GENDIR)/colrdlgg.$(OBJSUFF) \
|
||||||
|
# $(GENDIR)/fontdlgg.$(OBJSUFF) \
|
||||||
# $(GENDIR)/prntdlgg.$(OBJSUFF) \
|
# $(GENDIR)/prntdlgg.$(OBJSUFF) \
|
||||||
# $(GENDIR)/printps.$(OBJSUFF) \
|
# $(GENDIR)/printps.$(OBJSUFF) \
|
||||||
|
# $(GENDIR)/msgdlgg.$(OBJSUFF) \
|
||||||
|
|
||||||
COMMONOBJS = \
|
COMMONOBJS = \
|
||||||
$(COMMDIR)/config.$(OBJSUFF) \
|
$(COMMDIR)/config.$(OBJSUFF) \
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <wx/utils.h>
|
||||||
|
#include <wx/brush.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WIN95__
|
#ifdef __WIN95__
|
||||||
|
@@ -21,15 +21,19 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
#include "wx/window.h"
|
||||||
|
#include "wx/frame.h"
|
||||||
|
#include "wx/utils.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WIN95__
|
#ifdef __WIN95__
|
||||||
|
|
||||||
#include <wx/msw/taskbar.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <wx/msw/taskbar.h>
|
||||||
#include <wx/msw/private.h>
|
#include <wx/msw/private.h>
|
||||||
|
|
||||||
#ifdef __GNUWIN32__
|
#ifdef __GNUWIN32__
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__WIN95__)
|
#if defined(__WIN95__)
|
||||||
@@ -54,6 +54,10 @@
|
|||||||
#undef GetNextSibling
|
#undef GetNextSibling
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef GetClassInfo
|
||||||
|
#undef GetClassInfo
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/msw/treectrl.h"
|
#include "wx/msw/treectrl.h"
|
||||||
|
|
||||||
// Bug in headers, sometimes
|
// Bug in headers, sometimes
|
||||||
|
Reference in New Issue
Block a user