// 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);
+#if !defined(__VISAGECPP__)
void operator delete (void * buf);
+#endif
#if wxUSE_ARRAY_MEMORY_OPERATORS
void * operator new[] (size_t size);
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);
#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)
}
#endif
+#if !defined(__VISAGECPP__) // already defines this by default
void operator delete (void * buf)
{
#ifdef NO_DEBUG_ALLOCATION
wxDebugFree(buf);
#endif
}
+#endif
// VC++ 6.0
#if defined(__VISUALC__) && (__VISUALC__ >= 1200)
#include "wx/html/htmlwin.h"
#include "wx/busyinfo.h"
#include "wx/progdlg.h"
+#include "wx/toolbar.h"
// Bitmaps:
..\html\$D\m_list.obj \
..\html\$D\m_pre.obj \
..\html\$D\m_tables.obj \
- ..\html\$D\search.obj \
..\html\$D\winpars.obj
HTMLLIBOBJS = \
m_list.obj \
m_pre.obj \
m_tables.obj \
- search.obj \
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\search.obj
copy ..\html\$D\winpars.obj
$(OS2LIBOBJS1):
// Get user ID e.g. jacs
bool wxGetUserId(
wxChar* zBuf
-, int nMaxSize
+, int nType
)
{
- 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;
}
bool wxGetUserName(