*** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/accel.h"
|
#include "wx/qt/accel.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/accel.h"
|
#include "wx/mac/accel.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/accel.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/accel.h"
|
#include "wx/stubs/accel.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -246,6 +246,8 @@ protected:
|
|||||||
#include "wx/gtk/app.h"
|
#include "wx/gtk/app.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/app.h"
|
#include "wx/mac/app.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/app.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/app.h"
|
#include "wx/stubs/app.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/bitmap.h"
|
#include "wx/qt/bitmap.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/bitmap.h"
|
#include "wx/mac/bitmap.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/bitmap.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/bitmap.h"
|
#include "wx/stubs/bitmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/bmpbuttn.h"
|
#include "wx/qt/bmpbuttn.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/bmpbuttn.h"
|
#include "wx/mac/bmpbuttn.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/bmpbuttn.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/bmpbuttn.h"
|
#include "wx/stubs/bmpbuttn.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/brush.h"
|
#include "wx/qt/brush.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/brush.h"
|
#include "wx/mac/brush.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/brush.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/brush.h"
|
#include "wx/stubs/brush.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/button.h"
|
#include "wx/qt/button.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/button.h"
|
#include "wx/mac/button.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/button.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/button.h"
|
#include "wx/stubs/button.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/checkbox.h"
|
#include "wx/qt/checkbox.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/checkbox.h"
|
#include "wx/mac/checkbox.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/checkbox.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/checkbox.h"
|
#include "wx/stubs/checkbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/checklst.h"
|
#include "wx/qt/checklst.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/checklst.h"
|
#include "wx/mac/checklst.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/checklst.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/checklst.h"
|
#include "wx/stubs/checklst.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -120,6 +120,8 @@ private:
|
|||||||
#include "wx/qt/choice.h"
|
#include "wx/qt/choice.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/choice.h"
|
#include "wx/mac/choice.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/choice.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/choice.h"
|
#include "wx/stubs/choice.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/gtk/clipbrd.h"
|
#include "wx/gtk/clipbrd.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/clipbrd.h"
|
#include "wx/mac/clipbrd.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/clipbrd.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/clipbrd.h"
|
#include "wx/stubs/clipbrd.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#include "wx/colour.h"
|
#include "wx/colour.h"
|
||||||
#include "wx/gdicmn.h"
|
#include "wx/gdicmn.h"
|
||||||
|
|
||||||
#if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT
|
#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT
|
||||||
class WXDLLEXPORT wxPrintSetupData;
|
class WXDLLEXPORT wxPrintSetupData;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -156,7 +156,7 @@ class WXDLLEXPORT wxPrintData: public wxObject
|
|||||||
void operator=(const wxPrintData& data);
|
void operator=(const wxPrintData& data);
|
||||||
|
|
||||||
// For compatibility
|
// For compatibility
|
||||||
#if (defined(__WXMOTIF__) || defined(__WXGTK__)) && wxUSE_POSTSCRIPT
|
#if (defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXPM__)) && wxUSE_POSTSCRIPT
|
||||||
void operator=(const wxPrintSetupData& setupData);
|
void operator=(const wxPrintSetupData& setupData);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/generic/colrdlgg.h"
|
#include "wx/generic/colrdlgg.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/generic/colrdlgg.h"
|
#include "wx/generic/colrdlgg.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/colrdlgg.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/colrdlgg.h"
|
#include "wx/generic/colrdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/colour.h"
|
#include "wx/qt/colour.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/colour.h"
|
#include "wx/mac/colour.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/colour.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/colour.h"
|
#include "wx/stubs/colour.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/combobox.h"
|
#include "wx/qt/combobox.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/combobox.h"
|
#include "wx/mac/combobox.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/combobox.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/combobox.h"
|
#include "wx/stubs/combobox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -62,6 +62,8 @@ protected:
|
|||||||
#include "wx/qt/control.h"
|
#include "wx/qt/control.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/control.h"
|
#include "wx/mac/control.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/control.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/control.h"
|
#include "wx/stubs/control.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/cursor.h"
|
#include "wx/qt/cursor.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/cursor.h"
|
#include "wx/mac/cursor.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/cursor.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/cursor.h"
|
#include "wx/stubs/cursor.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
#include "wx/qt/dnd.h"
|
#include "wx/qt/dnd.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dnd.h"
|
#include "wx/mac/dnd.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dnd.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dnd.h"
|
#include "wx/stubs/dnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -548,6 +548,8 @@ private:
|
|||||||
#include "wx/qt/dc.h"
|
#include "wx/qt/dc.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dc.h"
|
#include "wx/mac/dc.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dc.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dc.h"
|
#include "wx/stubs/dc.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/dcclient.h"
|
#include "wx/qt/dcclient.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dcclient.h"
|
#include "wx/mac/dcclient.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dcclient.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dcclient.h"
|
#include "wx/stubs/dcclient.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/dcmemory.h"
|
#include "wx/qt/dcmemory.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dcmemory.h"
|
#include "wx/mac/dcmemory.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dcmemory.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dcmemory.h"
|
#include "wx/stubs/dcmemory.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,6 +4,9 @@
|
|||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
#include "wx/msw/dcprint.h"
|
#include "wx/msw/dcprint.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__WXPM__)
|
||||||
|
#include "wx/os2/dcprint.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_DCPRINT_H_BASE_
|
// _WX_DCPRINT_H_BASE_
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/dcscreen.h"
|
#include "wx/qt/dcscreen.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dcscreen.h"
|
#include "wx/mac/dcscreen.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dcscreen.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dcscreen.h"
|
#include "wx/stubs/dcscreen.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/dde.h"
|
#include "wx/qt/dde.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dde.h"
|
#include "wx/mac/dde.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dde.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dde.h"
|
#include "wx/stubs/dde.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -68,6 +68,17 @@
|
|||||||
|
|
||||||
#elif defined(applec) || defined(THINK_C) || ( defined( __MWERKS__ ) && !defined(__INTEL__) )
|
#elif defined(applec) || defined(THINK_C) || ( defined( __MWERKS__ ) && !defined(__INTEL__) )
|
||||||
// MacOS
|
// MacOS
|
||||||
|
#elif defined(__OS2__)
|
||||||
|
#if defined(__IBMCPP__)
|
||||||
|
#define __VISAGEAVER__ __IBMCPP__
|
||||||
|
#endif
|
||||||
|
#ifndef __WXOS2__
|
||||||
|
#define __WXOS2__
|
||||||
|
#endif
|
||||||
|
#ifndef __WXPM__
|
||||||
|
#define __WXPM__
|
||||||
|
#endif
|
||||||
|
// Place other OS/2 compiler environment defines here
|
||||||
#else // Windows
|
#else // Windows
|
||||||
#ifndef __WINDOWS__
|
#ifndef __WINDOWS__
|
||||||
#define __WINDOWS__
|
#define __WINDOWS__
|
||||||
@@ -175,9 +186,9 @@
|
|||||||
// Make sure the environment is set correctly
|
// Make sure the environment is set correctly
|
||||||
#if defined(__WXMSW__) && defined(__X__)
|
#if defined(__WXMSW__) && defined(__X__)
|
||||||
#error "Target can't be both X and Windows"
|
#error "Target can't be both X and Windows"
|
||||||
#elif !defined(__WXMOTIF__) && !defined(__WXMSW__) && !defined(__WXGTK__) && \
|
#elif !defined(__WXMOTIF__) && !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXPM__) && \
|
||||||
!defined(__WXMAC__) && !defined(__X__) && !defined(__WXQT__) && !defined(__WXSTUBS__)
|
!defined(__WXMAC__) && !defined(__X__) && !defined(__WXQT__) && !defined(__WXSTUBS__)
|
||||||
#error "No Target! Use -D[__WXMOTIF__|__WXGTK__|__WXMSW__|__WXMAC__|__WXQT__|__WXSTUBS__]"
|
#error "No Target! Use -D[__WXMOTIF__|__WXGTK__|__WXMSW__|__WXMAC__|__WXQT__|__WXPM__|__WXSTUBS__]"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@@ -188,7 +199,7 @@
|
|||||||
// check for native bool type and TRUE/FALSE constants
|
// check for native bool type and TRUE/FALSE constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#if defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXQT__) || defined(__WXSTUBS__)
|
#if defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXQT__) || defined(__WXPM__) || defined(__WXSTUBS__)
|
||||||
// Bool is now obsolete, use bool instead
|
// Bool is now obsolete, use bool instead
|
||||||
// typedef int Bool;
|
// typedef int Bool;
|
||||||
|
|
||||||
@@ -233,6 +244,9 @@
|
|||||||
#elif defined(__GNUWIN32__)
|
#elif defined(__GNUWIN32__)
|
||||||
// Cygwin supports bool
|
// Cygwin supports bool
|
||||||
#define HAVE_BOOL
|
#define HAVE_BOOL
|
||||||
|
#elif defined(__VISAGECPP__)
|
||||||
|
typedef unsigned long bool;
|
||||||
|
#define HAVE_BOOL
|
||||||
#endif // compilers
|
#endif // compilers
|
||||||
#endif // HAVE_BOOL
|
#endif // HAVE_BOOL
|
||||||
|
|
||||||
@@ -263,7 +277,7 @@ typedef int wxWindowID;
|
|||||||
* Making or using wxWindows as a Windows DLL
|
* Making or using wxWindows as a Windows DLL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__)
|
||||||
|
|
||||||
// _declspec works in BC++ 5 and later, as well as VC++
|
// _declspec works in BC++ 5 and later, as well as VC++
|
||||||
#if defined(__VISUALC__) || defined(__BORLANDC__)
|
#if defined(__VISUALC__) || defined(__BORLANDC__)
|
||||||
@@ -282,6 +296,22 @@ typedef int wxWindowID;
|
|||||||
# define WXDLLEXPORT_CTORFN
|
# define WXDLLEXPORT_CTORFN
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
|
||||||
|
# ifdef WXMAKINGDLL
|
||||||
|
# define WXDLLEXPORT _Export
|
||||||
|
# define WXDLLEXPORT_DATA(type) _Export type
|
||||||
|
# define WXDLLEXPORT_CTORFN
|
||||||
|
# elif defined(WXUSINGDLL)
|
||||||
|
# define WXDLLEXPORT _Export
|
||||||
|
# define WXDLLEXPORT_DATA(type) _Export type
|
||||||
|
# define WXDLLEXPORT_CTORFN
|
||||||
|
# else
|
||||||
|
# define WXDLLEXPORT
|
||||||
|
# define WXDLLEXPORT_DATA(type) type
|
||||||
|
# define WXDLLEXPORT_CTORFN
|
||||||
|
# endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# define WXDLLEXPORT
|
# define WXDLLEXPORT
|
||||||
# define WXDLLEXPORT_DATA(type) type
|
# define WXDLLEXPORT_DATA(type) type
|
||||||
|
@@ -75,6 +75,8 @@ protected:
|
|||||||
#include "wx/qt/dialog.h"
|
#include "wx/qt/dialog.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dialog.h"
|
#include "wx/mac/dialog.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dialog.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dialog.h"
|
#include "wx/stubs/dialog.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
#include "wx/qt/dirdlg.h"
|
#include "wx/qt/dirdlg.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dirdlg.h"
|
#include "wx/mac/dirdlg.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dirdlg.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dirdlg.h"
|
#include "wx/stubs/dirdlg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -13,6 +13,8 @@
|
|||||||
#include "wx/qt/dnd.h"
|
#include "wx/qt/dnd.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/dnd.h"
|
#include "wx/mac/dnd.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/dnd.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/dnd.h"
|
#include "wx/stubs/dnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
#include "wx/generic/dragimag.h"
|
#include "wx/generic/dragimag.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/generic/dragimag.h"
|
#include "wx/generic/dragimag.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/dragimag.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/dragimag.h"
|
#include "wx/generic/dragimag.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -44,8 +44,10 @@
|
|||||||
must return negative value, 0 or positive value if pItem1 <, = or > pItem2
|
must return negative value, 0 or positive value if pItem1 <, = or > pItem2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __VISUALC__
|
#if defined(__VISUALC__)
|
||||||
#define CMPFUNC_CONV _cdecl
|
#define CMPFUNC_CONV _cdecl
|
||||||
|
#elif defined(__VISAGECPP__)
|
||||||
|
#define CMPFUNC_CONV _Optlink
|
||||||
#else // !Visual C++
|
#else // !Visual C++
|
||||||
#define CMPFUNC_CONV
|
#define CMPFUNC_CONV
|
||||||
#endif // compiler
|
#endif // compiler
|
||||||
|
@@ -42,6 +42,10 @@
|
|||||||
#elif defined(__WINDOWS__)
|
#elif defined(__WINDOWS__)
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
typedef HMODULE wxDllType;
|
typedef HMODULE wxDllType;
|
||||||
|
#elif defined(__OS2__)
|
||||||
|
# define INCL_DOS
|
||||||
|
# include <os2.h>
|
||||||
|
typedef HMODULE wxDllType;
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
typedef CFragConnectionID wxDllType;
|
typedef CFragConnectionID wxDllType;
|
||||||
#else
|
#else
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/filedlg.h"
|
#include "wx/qt/filedlg.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/filedlg.h"
|
#include "wx/mac/filedlg.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/filedlg.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/filedlg.h"
|
#include "wx/stubs/filedlg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -173,7 +173,7 @@ WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0);
|
|||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
#define wxFILE_SEP_PATH wxFILE_SEP_PATH_UNIX
|
#define wxFILE_SEP_PATH wxFILE_SEP_PATH_UNIX
|
||||||
#define wxPATH_SEP wxPATH_SEP_UNIX
|
#define wxPATH_SEP wxPATH_SEP_UNIX
|
||||||
#else // Windows
|
#else // Windows and OS/2
|
||||||
#define wxFILE_SEP_PATH wxFILE_SEP_PATH_DOS
|
#define wxFILE_SEP_PATH wxFILE_SEP_PATH_DOS
|
||||||
#define wxPATH_SEP wxPATH_SEP_DOS
|
#define wxPATH_SEP wxPATH_SEP_DOS
|
||||||
#endif // Unix/Windows
|
#endif // Unix/Windows
|
||||||
@@ -182,7 +182,7 @@ WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0);
|
|||||||
// filename1.IsSameAs(filename2, wxARE_FILENAMES_CASE_SENSITIVE)
|
// filename1.IsSameAs(filename2, wxARE_FILENAMES_CASE_SENSITIVE)
|
||||||
#ifdef __UNIX__
|
#ifdef __UNIX__
|
||||||
#define wxARE_FILENAMES_CASE_SENSITIVE TRUE
|
#define wxARE_FILENAMES_CASE_SENSITIVE TRUE
|
||||||
#else // Windows
|
#else // Windows and OS/2
|
||||||
#define wxARE_FILENAMES_CASE_SENSITIVE FALSE
|
#define wxARE_FILENAMES_CASE_SENSITIVE FALSE
|
||||||
#endif // Unix/Windows
|
#endif // Unix/Windows
|
||||||
|
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/font.h"
|
#include "wx/qt/font.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/font.h"
|
#include "wx/mac/font.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/font.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/font.h"
|
#include "wx/stubs/font.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -19,6 +19,10 @@
|
|||||||
#include "wx/generic/fontdlgg.h"
|
#include "wx/generic/fontdlgg.h"
|
||||||
# define wxFontDialog wxGenericFontDialog
|
# define wxFontDialog wxGenericFontDialog
|
||||||
# define sm_classwxFontDialog sm_classwxGenericFontDialog
|
# define sm_classwxFontDialog sm_classwxGenericFontDialog
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/fontdlgg.h"
|
||||||
|
# define wxFontDialog wxGenericFontDialog
|
||||||
|
# define sm_classwxFontDialog sm_classwxGenericFontDialog
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/fontdlgg.h"
|
#include "wx/generic/fontdlgg.h"
|
||||||
# define wxFontDialog wxGenericFontDialog
|
# define wxFontDialog wxGenericFontDialog
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/frame.h"
|
#include "wx/qt/frame.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/frame.h"
|
#include "wx/mac/frame.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/frame.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/frame.h"
|
#include "wx/stubs/frame.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/gauge.h"
|
#include "wx/qt/gauge.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/gauge.h"
|
#include "wx/mac/gauge.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/gauge.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/gauge.h"
|
#include "wx/stubs/gauge.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -131,6 +131,9 @@ enum wxStockCursor
|
|||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
// Load from a resource
|
// Load from a resource
|
||||||
#define wxICON(X) wxIcon("" #X "")
|
#define wxICON(X) wxIcon("" #X "")
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
// Load from a resource
|
||||||
|
#define wxICON(X) wxIcon("" #X "")
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
// Initialize from an included XPM
|
// Initialize from an included XPM
|
||||||
#define wxICON(X) wxIcon( (const char**) X##_xpm )
|
#define wxICON(X) wxIcon( (const char**) X##_xpm )
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/gdiobj.h"
|
#include "wx/qt/gdiobj.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/gdiobj.h"
|
#include "wx/mac/gdiobj.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/gdiobj.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/gdiobj.h"
|
#include "wx/stubs/gdiobj.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -17,6 +17,8 @@
|
|||||||
#include "wx/qt/icon.h"
|
#include "wx/qt/icon.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/icon.h"
|
#include "wx/mac/icon.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/icon.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/icon.h"
|
#include "wx/stubs/icon.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
#include "wx/generic/imaglist.h"
|
#include "wx/generic/imaglist.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/generic/imaglist.h"
|
#include "wx/generic/imaglist.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/imaglist.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/imaglist.h"
|
#include "wx/generic/imaglist.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -9,6 +9,8 @@
|
|||||||
#include "wx/gtk/joystick.h"
|
#include "wx/gtk/joystick.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/joystick.h"
|
#include "wx/mac/joystick.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/joystick.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/joystick.h"
|
#include "wx/stubs/joystick.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/listbox.h"
|
#include "wx/qt/listbox.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/listbox.h"
|
#include "wx/mac/listbox.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/listbox.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/listbox.h"
|
#include "wx/stubs/listbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,6 +15,8 @@
|
|||||||
#include "wx/generic/listctrl.h"
|
#include "wx/generic/listctrl.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/generic/listctrl.h"
|
#include "wx/generic/listctrl.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/listctrl.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/listctrl.h"
|
#include "wx/generic/listctrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/mdi.h"
|
#include "wx/qt/mdi.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/mdi.h"
|
#include "wx/mac/mdi.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/mdi.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/mdi.h"
|
#include "wx/stubs/mdi.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/menu.h"
|
#include "wx/qt/menu.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/menu.h"
|
#include "wx/mac/menu.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/menu.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/menu.h"
|
#include "wx/stubs/menu.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/menuitem.h"
|
#include "wx/qt/menuitem.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/menuitem.h"
|
#include "wx/mac/menuitem.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/menuitem.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/menuitem.h"
|
#include "wx/stubs/menuitem.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,6 +4,9 @@
|
|||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
#include "wx/msw/metafile.h"
|
#include "wx/msw/metafile.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__WXPM__)
|
||||||
|
#include "wx/os2/metafile.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_METAFILE_H_BASE_
|
// _WX_METAFILE_H_BASE_
|
||||||
|
@@ -9,6 +9,8 @@
|
|||||||
#include "wx/gtk/minifram.h"
|
#include "wx/gtk/minifram.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/minifram.h"
|
#include "wx/mac/minifram.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/minifram.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/minifram.h"
|
#include "wx/stubs/minifram.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/generic/msgdlgg.h"
|
#include "wx/generic/msgdlgg.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/msgdlg.h"
|
#include "wx/mac/msgdlg.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/msgdlg.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/msgdlgg.h"
|
#include "wx/generic/msgdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -103,6 +103,8 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
|
|||||||
#include "wx/qt/notebook.h"
|
#include "wx/qt/notebook.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/notebook.h"
|
#include "wx/mac/notebook.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/notebook.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/notebook.h"
|
#include "wx/stubs/notebook.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/palette.h"
|
#include "wx/qt/palette.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/palette.h"
|
#include "wx/mac/palette.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/palette.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/palette.h"
|
#include "wx/stubs/palette.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/pen.h"
|
#include "wx/qt/pen.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/pen.h"
|
#include "wx/mac/pen.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/pen.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/pen.h"
|
#include "wx/stubs/pen.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -9,6 +9,8 @@
|
|||||||
#include "wx/gtk/pnghand.h"
|
#include "wx/gtk/pnghand.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/pnghand.h"
|
#include "wx/mac/pnghand.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/pnghand.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/pnghand.h"
|
#include "wx/stubs/pnghand.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/generic/prntdlgg.h"
|
#include "wx/generic/prntdlgg.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/printdlg.h"
|
#include "wx/mac/printdlg.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/printdlg.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/prntdlgg.h"
|
#include "wx/generic/prntdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/radiobox.h"
|
#include "wx/qt/radiobox.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/radiobox.h"
|
#include "wx/mac/radiobox.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/radiobox.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/radiobox.h"
|
#include "wx/stubs/radiobox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/radiobut.h"
|
#include "wx/qt/radiobut.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/radiobut.h"
|
#include "wx/mac/radiobut.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/radiobut.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/radiobut.h"
|
#include "wx/stubs/radiobut.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/region.h"
|
#include "wx/qt/region.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/region.h"
|
#include "wx/mac/region.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/region.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/region.h"
|
#include "wx/stubs/region.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/scrolbar.h"
|
#include "wx/qt/scrolbar.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/scrolbar.h"
|
#include "wx/mac/scrolbar.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/scrolbar.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/scrolbar.h"
|
#include "wx/stubs/scrolbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -114,6 +114,8 @@
|
|||||||
#include "wx/qt/settings.h"
|
#include "wx/qt/settings.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/settings.h"
|
#include "wx/mac/settings.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/settings.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/settings.h"
|
#include "wx/stubs/settings.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
/* compatibility code, to be removed asap: */
|
/* compatibility code, to be removed asap: */
|
||||||
|
|
||||||
#if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__)
|
#if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXQT__) && !defined(__WXSTUBS__) && !defined(__WXMAC__) && !defined(__WXPM__)
|
||||||
# error No __WXxxx__ define set! Please define one of __WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXSTUBS__
|
# error No __WXxxx__ define set! Please define one of __WXGTK__,__WXMSW__,__WXMOTIF__,__WXMAC__,__WXQT__,__WXPM__,__WXSTUBS__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
@@ -16,6 +16,8 @@
|
|||||||
#include "wx/qt/setup.h"
|
#include "wx/qt/setup.h"
|
||||||
#elif defined(__WXMOTIF__)
|
#elif defined(__WXMOTIF__)
|
||||||
#include "wx/motif/setup.h"
|
#include "wx/motif/setup.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/setup.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/setup.h"
|
#include "wx/stubs/setup.h"
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/slider.h"
|
#include "wx/qt/slider.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/slider.h"
|
#include "wx/mac/slider.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/slider.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/slider.h"
|
#include "wx/stubs/slider.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -79,6 +79,8 @@ protected:
|
|||||||
#include "wx/qt/spinbutt.h"
|
#include "wx/qt/spinbutt.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/spinbutt.h"
|
#include "wx/mac/spinbutt.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/spinbutt.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/spinbutt.h"
|
#include "wx/stubs/spinbutt.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/statbmp.h"
|
#include "wx/qt/statbmp.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/statbmp.h"
|
#include "wx/mac/statbmp.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/statbmp.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/statbmp.h"
|
#include "wx/stubs/statbmp.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/statbox.h"
|
#include "wx/qt/statbox.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/statbox.h"
|
#include "wx/mac/statbox.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/statbox.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/statbox.h"
|
#include "wx/stubs/statbox.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -64,6 +64,8 @@ protected:
|
|||||||
#include "wx/msw/statline.h"
|
#include "wx/msw/statline.h"
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
#include "wx/gtk/statline.h"
|
#include "wx/gtk/statline.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/statline.h"
|
||||||
#else // use generic implementation for all other platforms
|
#else // use generic implementation for all other platforms
|
||||||
#include "wx/generic/statline.h"
|
#include "wx/generic/statline.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/stattext.h"
|
#include "wx/qt/stattext.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/stattext.h"
|
#include "wx/mac/stattext.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/stattext.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/stattext.h"
|
#include "wx/stubs/stattext.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -105,6 +105,8 @@ inline int WXDLLEXPORT Stricmp(const char *psz1, const char *psz2)
|
|||||||
return stricmp(psz1, psz2);
|
return stricmp(psz1, psz2);
|
||||||
#elif defined(__EMX__)
|
#elif defined(__EMX__)
|
||||||
return stricmp(psz1, psz2);
|
return stricmp(psz1, psz2);
|
||||||
|
#elif defined(__VISAGECPP__)
|
||||||
|
return stricmp(psz1, psz2);
|
||||||
#elif defined(__UNIX__) || defined(__GNUWIN32__)
|
#elif defined(__UNIX__) || defined(__GNUWIN32__)
|
||||||
return strcasecmp(psz1, psz2);
|
return strcasecmp(psz1, psz2);
|
||||||
#elif defined(__MWERKS__) && !defined(__INTEL__)
|
#elif defined(__MWERKS__) && !defined(__INTEL__)
|
||||||
|
@@ -8,6 +8,8 @@
|
|||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/tabctrl.h"
|
#include "wx/mac/tabctrl.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/tabctrl.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/tabctrl.h"
|
#include "wx/stubs/tabctrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -9,6 +9,8 @@
|
|||||||
#elif defined(__WXQT__)
|
#elif defined(__WXQT__)
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/taskbar.h"
|
#include "wx/mac/taskbar.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/taskbar.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/taskbar.h"
|
#include "wx/stubs/taskbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
#include "wx/motif/tbar95.h"
|
#include "wx/motif/tbar95.h"
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
#include "wx/gtk/tbar95.h"
|
#include "wx/gtk/tbar95.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/tbar95.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
#include "wx/motif/tbarmsw.h"
|
#include "wx/motif/tbarmsw.h"
|
||||||
#elif defined(__WXGTK__)
|
#elif defined(__WXGTK__)
|
||||||
#include "wx/gtk/tbarmsw.h"
|
#include "wx/gtk/tbarmsw.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/tbarmsw.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -172,6 +172,8 @@ private:
|
|||||||
#include "wx/qt/textctrl.h"
|
#include "wx/qt/textctrl.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/textctrl.h"
|
#include "wx/mac/textctrl.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/textctrl.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/textctrl.h"
|
#include "wx/stubs/textctrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -160,7 +160,7 @@ private:
|
|||||||
wxCriticalSection(const wxCriticalSection&);
|
wxCriticalSection(const wxCriticalSection&);
|
||||||
wxCriticalSection& operator=(const wxCriticalSection&);
|
wxCriticalSection& operator=(const wxCriticalSection&);
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) || defined(__WXPM__)
|
||||||
wxCriticalSectionInternal *m_critsect;
|
wxCriticalSectionInternal *m_critsect;
|
||||||
#else // !MSW
|
#else // !MSW
|
||||||
wxMutex m_mutex;
|
wxMutex m_mutex;
|
||||||
@@ -372,7 +372,7 @@ public:
|
|||||||
// implementation only until the end of file
|
// implementation only until the end of file
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
#ifdef __WXMSW__
|
#if defined(__WXMSW__) || defined(__WXPM__)
|
||||||
// unlock GUI if there are threads waiting for and lock it back when
|
// unlock GUI if there are threads waiting for and lock it back when
|
||||||
// there are no more of them - should be called periodically by the main
|
// there are no more of them - should be called periodically by the main
|
||||||
// thread
|
// thread
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/timer.h"
|
#include "wx/qt/timer.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/timer.h"
|
#include "wx/mac/timer.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/timer.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/stubs/timer.h"
|
#include "wx/stubs/timer.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -19,6 +19,8 @@
|
|||||||
# include "wx/qt/tbarqt.h"
|
# include "wx/qt/tbarqt.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
# include "wx/mac/toolbar.h"
|
# include "wx/mac/toolbar.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
# include "wx/os2/toolbar.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
# include "wx/stubs/toolbar.h"
|
# include "wx/stubs/toolbar.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -11,6 +11,8 @@
|
|||||||
#include "wx/qt/tooltip.h"
|
#include "wx/qt/tooltip.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/tooltip.h"
|
#include "wx/mac/tooltip.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/tooltip.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
// #include "wx/stubs/tooltip.h"
|
// #include "wx/stubs/tooltip.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -26,6 +26,8 @@
|
|||||||
#include "wx/qt/treectrl.h"
|
#include "wx/qt/treectrl.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/generic/treectrl.h"
|
#include "wx/generic/treectrl.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/generic/treectrl.h"
|
||||||
#elif defined(__WXSTUBS__)
|
#elif defined(__WXSTUBS__)
|
||||||
#include "wx/generic/treectrl.h"
|
#include "wx/generic/treectrl.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -7,6 +7,8 @@
|
|||||||
#include "wx/gtk/wave.h"
|
#include "wx/gtk/wave.h"
|
||||||
#elif defined(__WXQT__)
|
#elif defined(__WXQT__)
|
||||||
#include "wx/qt/wave.h"
|
#include "wx/qt/wave.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/wave.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -819,6 +819,8 @@ private:
|
|||||||
#include "wx/qt/window.h"
|
#include "wx/qt/window.h"
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#include "wx/mac/window.h"
|
#include "wx/mac/window.h"
|
||||||
|
#elif defined(__WXPM__)
|
||||||
|
#include "wx/os2/window.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -341,7 +341,7 @@ typedef unsigned char wxUChar;
|
|||||||
#if !defined(wxStricmp) && !wxUSE_UNICODE
|
#if !defined(wxStricmp) && !wxUSE_UNICODE
|
||||||
# if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__SALFORDC__)
|
# if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__SALFORDC__)
|
||||||
# define wxStricmp stricmp
|
# define wxStricmp stricmp
|
||||||
#elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS) && defined(__INTEL__))
|
# elif defined(__SC__) || defined(__VISUALC__) || defined(__VISAGECPP__) || (defined(__MWERKS) && defined(__INTEL__))
|
||||||
# define wxStricmp _stricmp
|
# define wxStricmp _stricmp
|
||||||
# elif defined(__UNIX__) || defined(__GNUWIN32__)
|
# elif defined(__UNIX__) || defined(__GNUWIN32__)
|
||||||
# define wxStricmp strcasecmp
|
# define wxStricmp strcasecmp
|
||||||
@@ -559,3 +559,4 @@ WXDLLEXPORT size_t wxStrftime(wxChar *s, size_t max, const wxChar *fmt, const
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
//_WX_WXCHAR_H_
|
//_WX_WXCHAR_H_
|
||||||
|
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#include "wx/defs.h" // compiler definitions
|
#include "wx/defs.h" // compiler definitions
|
||||||
|
|
||||||
// check if to use precompiled headers
|
// check if to use precompiled headers
|
||||||
#if (defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)
|
#if ((defined(__BORLANDC__) || defined(__VISUALC__) || defined(__WATCOMC__)) && defined(__WXMSW__)) || defined(__WXPM__)
|
||||||
#if !defined(NOPCH)
|
#if !defined(NOPCH)
|
||||||
#define WX_PRECOMP
|
#define WX_PRECOMP
|
||||||
#endif
|
#endif
|
||||||
@@ -32,6 +32,11 @@
|
|||||||
#include "wx/msw/winundef.h"
|
#include "wx/msw/winundef.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WXPM__
|
||||||
|
#define INCL_OS2
|
||||||
|
#include <os2.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,11 +1,14 @@
|
|||||||
#ifndef _WX_XPMHAND_H_BASE_
|
#ifndef _WX_XPMHAND_H_BASE_
|
||||||
#define _WX_XPMHAND_H_BASE_
|
#define _WX_XPMHAND_H_BASE_
|
||||||
|
|
||||||
// Only wxMSW currently defines a separate XPM handler, since
|
// Only wxMSW and wxPM currently defines a separate XPM handler, since
|
||||||
// mostly Windows apps won't need XPMs.
|
// mostly Windows and Presentation Manager apps won't need XPMs.
|
||||||
#if defined(__WXMSW__)
|
#if defined(__WXMSW__)
|
||||||
#include "wx/msw/xpmhand.h"
|
#include "wx/msw/xpmhand.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__WXPM__)
|
||||||
|
#include "wx/os2/xpmhand.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// _WX_XPMHAND_H_BASE_
|
// _WX_XPMHAND_H_BASE_
|
||||||
|
Reference in New Issue
Block a user