git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4235
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Added JACS 25/11/98: needed for some compilers
void * operator new (size_t size);
// Added JACS 25/11/98: needed for some compilers
void * operator new (size_t size);
void * operator new (size_t size, wxChar * fileName, int lineNum);
void * operator new (size_t size, wxChar * fileName, int lineNum);
+#if !defined(__VISAGECPP__)
void operator delete (void * buf);
void operator delete (void * buf);
#if wxUSE_ARRAY_MEMORY_OPERATORS
void * operator new[] (size_t size);
#if wxUSE_ARRAY_MEMORY_OPERATORS
void * operator new[] (size_t size);
static void SetCheckpoint(bool all = FALSE);
static wxMemStruct *GetCheckpoint(void) { return checkPoint; }
static void SetCheckpoint(bool all = FALSE);
static wxMemStruct *GetCheckpoint(void) { return checkPoint; }
// Calculated from the request size and any padding needed
// before the final marker.
static size_t PaddedSize (const size_t reqSize);
// Calculated from the request size and any padding needed
// before the final marker.
static size_t PaddedSize (const size_t reqSize);
#define wxUSE_DRAG_AND_DROP 1
// 0 for no drag and drop
#define wxUSE_DRAG_AND_DROP 1
// 0 for no drag and drop
+#define wxUSE_TOOLBAR 1
+ // Define 1 to use toolbar classes
#define wxUSE_BUTTONBAR 1
// Define 1 to use buttonbar classes (enhanced toolbar
// for MS Windows)
#define wxUSE_BUTTONBAR 1
// Define 1 to use buttonbar classes (enhanced toolbar
// for MS Windows)
+#if !defined(__VISAGECPP__) // already defines this by default
void operator delete (void * buf)
{
#ifdef NO_DEBUG_ALLOCATION
void operator delete (void * buf)
{
#ifdef NO_DEBUG_ALLOCATION
wxDebugFree(buf);
#endif
}
wxDebugFree(buf);
#endif
}
// VC++ 6.0
#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
// VC++ 6.0
#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
#include "wx/html/htmlwin.h"
#include "wx/busyinfo.h"
#include "wx/progdlg.h"
#include "wx/html/htmlwin.h"
#include "wx/busyinfo.h"
#include "wx/progdlg.h"
..\html\$D\m_list.obj \
..\html\$D\m_pre.obj \
..\html\$D\m_tables.obj \
..\html\$D\m_list.obj \
..\html\$D\m_pre.obj \
..\html\$D\m_tables.obj \
- ..\html\$D\search.obj \
..\html\$D\winpars.obj
HTMLLIBOBJS = \
..\html\$D\winpars.obj
HTMLLIBOBJS = \
m_list.obj \
m_pre.obj \
m_tables.obj \
m_list.obj \
m_pre.obj \
m_tables.obj \
winpars.obj
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
winpars.obj
# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
copy ..\html\$D\m_list.obj
copy ..\html\$D\m_pre.obj
copy ..\html\$D\m_tables.obj
copy ..\html\$D\m_list.obj
copy ..\html\$D\m_pre.obj
copy ..\html\$D\m_tables.obj
- copy ..\html\$D\search.obj
copy ..\html\$D\winpars.obj
$(OS2LIBOBJS1):
copy ..\html\$D\winpars.obj
$(OS2LIBOBJS1):
// Get user ID e.g. jacs
bool wxGetUserId(
wxChar* zBuf
// Get user ID e.g. jacs
bool wxGetUserId(
wxChar* zBuf
- return(U32ELOCL((unsigned char*)zBuf, (unsigned long *)&nMaxSize));
+ long lrc;
+ // UPM procs return 0 on success
+ lrc = U32ELOCU((unsigned char*)zBuf, (unsigned long *)&nType);
+ if (lrc == 0) return TRUE;
+ return FALSE;