CW Pro 5 Adaptions (the .old.mcp are the Pro 4 Files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -239,7 +239,7 @@
|
||||
// (under Unix, configure tests for this)
|
||||
#ifndef HAVE_BOOL
|
||||
#if defined( __MWERKS__ )
|
||||
#if (__MWERKS__ >= 0x1000) && !__option(bool)
|
||||
#if (__MWERKS__ >= 0x1000) && __option(bool)
|
||||
#define HAVE_BOOL
|
||||
#endif
|
||||
#elif defined(__VISUALC__) && (__VISUALC__ == 1020)
|
||||
|
@@ -281,7 +281,11 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
#ifdef __MWERKS__
|
||||
friend class wxSplitterWindow;
|
||||
#else
|
||||
friend wxSplitterWindow;
|
||||
#endif
|
||||
|
||||
// data for the different types of event
|
||||
union
|
||||
|
@@ -32,7 +32,11 @@ class wxMimeTypesManagerImpl;
|
||||
// the accessors *must* be checked!
|
||||
class WXDLLEXPORT wxFileType
|
||||
{
|
||||
#ifdef __MWERKS__
|
||||
friend class wxMimeTypesManagerImpl; // it has access to m_impl
|
||||
#else
|
||||
friend wxMimeTypesManagerImpl; // it has access to m_impl
|
||||
#endif
|
||||
|
||||
public:
|
||||
// An object of this class must be passed to Get{Open|Print}Command. The
|
||||
|
@@ -41,7 +41,12 @@
|
||||
|
||||
class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
|
||||
{
|
||||
friend wxTreeCtrl;
|
||||
#ifdef __MWERKS__
|
||||
friend class wxTreeCtrl;
|
||||
#else
|
||||
friend wxTreeCtrl;
|
||||
#endif
|
||||
|
||||
public:
|
||||
wxTreeEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
|
||||
|
||||
|
@@ -26,6 +26,12 @@
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include <ansi_prefix.win32.h>
|
||||
#include <ansi_parms.h>
|
||||
#if defined( __MSL__ ) && __MSL__ >= 0x5012
|
||||
#define fileno _fileno
|
||||
#define fdopen _fdopen
|
||||
#define tell _tell
|
||||
#endif
|
||||
#elif defined( __WXMAC__)
|
||||
#include <ansi_prefix.mac.h>
|
||||
#endif
|
||||
|
@@ -341,7 +341,7 @@ typedef unsigned char wxUChar;
|
||||
#if !defined(wxStricmp) && !wxUSE_UNICODE
|
||||
# if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__SALFORDC__) || defined(__VISAGECPP__) || defined(__EMX__)
|
||||
# define wxStricmp stricmp
|
||||
# elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS) && defined(__INTEL__))
|
||||
# elif defined(__SC__) || defined(__VISUALC__) || (defined(__MWERKS__) && defined(__INTEL__))
|
||||
# define wxStricmp _stricmp
|
||||
# elif defined(__UNIX__) || defined(__GNUWIN32__)
|
||||
# define wxStricmp strcasecmp
|
||||
|
Reference in New Issue
Block a user