#define yy_scan_bytes PROIO_scan_bytes
#define yy_flex_debug PROIO_flex_debug
#define yy_flush_buffer PROIO_flush_buffer
+#if !defined(__VISAGECPP__)
+// multiply defined???
#define yyleng PROIO_yyleng
#define yytext PROIO_yytext
+#endif
#ifdef __cplusplus
extern "C" {
// define this to 0 when building wxBase library
#define wxUSE_GUI 1
-#define WXWIN_COMPATIBILITY 0
- // Compatibility with 1.68 API.
- // Level 0: no backward compatibility, all new features
- // Level 1: Some compatibility. In fact
- // the compatibility code is now very minimal so there
- // is little advantage to setting it to 1.
-
// ----------------------------------------------------------------------------
// General features
// ----------------------------------------------------------------------------
-#define wxUSE_NET_API 0 // Utilize OS/2's UPM netapi's
+#define wxUSE_PCX 1 // Utilize PCX images
+
+#define wxUSE_PNM 1 // Utilize PNM images
+
+#define wxUSE_GIF 1 // Utilize GIF images
+
+#if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
+#define wxUSE_LONG_LONG 1
+#endif
+
+#define wxUSE_NET_API 1 // Utilize OS/2's UPM netapi's
#define wxUSE_CONFIG 1
// Use wxConfig, with CreateConfig in wxApp
-#define WXWIN_COMPATIBILITY 0
- // Compatibility with 1.68 API.
- // Level 0: no backward compatibility, all new features
- // Level 1: Some compatibility. In fact
- // the compatibility code is now very minimal so there
- // is little advantage to setting it to 1.
-
#define wxUSE_POSTSCRIPT 1
// 0 for no PostScript device context
#define wxUSE_AFM_FOR_POSTSCRIPT 1
#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_CHECKLISTBOX 1
// Define 1 to compile check listbox
-#define wxUSE_CHOICE 1
- // Define 1 to compile choice
-
#define wxUSE_CARET 1
// Define 1 to use wxCaret class
#define wxUSE_XPM_IN_OS2 1
// Some databases/ODBC drivers only allow forward scrolling cursors.
// Unless you specifically want to use backward scrolling
// cursors, and you know that all of the databases/ODBC drivers
- // that you will use these odbc classes with allow backward
+ // that you will use these odbc classes with allow backward
// scrolling cursors, this setting should remain set to 1
// for maximum database/driver compatibilty
// complains about deallocating
// arrays of wxPoints if wxPoint is a class.
-#define wxUSE_DRAG_AND_DROP 1
-
#define wxUSE_PORTABLE_FONTS_IN_OS2 0
// Define 1 to use new portable font scheme in Windows
// (used by default under X)
// define this to 0 when building wxBase library
#define wxUSE_GUI 1
-#define WXWIN_COMPATIBILITY 0
- // Compatibility with 1.68 API.
- // Level 0: no backward compatibility, all new features
- // Level 1: Some compatibility. In fact
- // the compatibility code is now very minimal so there
- // is little advantage to setting it to 1.
-
// ----------------------------------------------------------------------------
// General features
// ----------------------------------------------------------------------------
-#define wxUSE_NET_API 0 // Utilize OS/2's UPM netapi's
+#define wxUSE_PCX 1 // Utilize PCX images
+
+#define wxUSE_PNM 1 // Utilize PNM images
+
+#define wxUSE_GIF 1 // Utilize GIF images
+
+#if defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 )
+#define wxUSE_LONG_LONG 1
+#endif
+
+#define wxUSE_NET_API 1 // Utilize OS/2's UPM netapi's
#define wxUSE_CONFIG 1
// Use wxConfig, with CreateConfig in wxApp
-#define WXWIN_COMPATIBILITY 0
- // Compatibility with 1.68 API.
- // Level 0: no backward compatibility, all new features
- // Level 1: Some compatibility. In fact
- // the compatibility code is now very minimal so there
- // is little advantage to setting it to 1.
-
#define wxUSE_POSTSCRIPT 1
// 0 for no PostScript device context
#define wxUSE_AFM_FOR_POSTSCRIPT 1
#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_CHECKLISTBOX 1
// Define 1 to compile check listbox
-
-#define wxUSE_CHOICE 1
- // Define 1 to compile choice
-
#define wxUSE_CARET 1
// Define 1 to use wxCaret class
#define wxUSE_XPM_IN_OS2 1
// complains about deallocating
// arrays of wxPoints if wxPoint is a class.
-#define wxUSE_DRAG_AND_DROP 1
-
#define wxUSE_PORTABLE_FONTS_IN_OS2 0
// Define 1 to use new portable font scheme in Windows
// (used by default under X)
if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
YY_FATAL_ERROR( "read() in flex scanner failed" );
#else
-# undef unput
+# ifndef unput
+# undef unput
+# endif
# define unput(_c) my_unput(_c)
#endif
// Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation
// Author: Guillermo Rodriguez Garcia <guille@iies.es>
// Version: 3.03
-// RCS-ID:
+// RCS-ID:
// Copyright: (c) Guillermo Rodriguez Garcia
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include <stdlib.h>
#include <string.h>
#include "wx/gifdecod.h"
-
+
//---------------------------------------------------------------------------
// wxGIFDecoder constructor and destructor
return TRUE;
}
-
+
//---------------------------------------------------------------------------
// Data accessors
//---------------------------------------------------------------------------
}
else
return FALSE;
-}
+}
bool wxGIFDecoder::GoPrevFrame(bool cyclic)
{
/* adjust total number of bits extracted from the buffer */
m_restbits = m_restbits + 8;
}
-
+
/* find number of bits remaining for next code */
m_restbits = (m_restbits - bits);
pprev = NULL;
pimg = NULL;
+#if defined(__VISAGECPP__)
+// VA just can't stand while(1)
+ bool bOs2var = TRUE;
+ while(bOs2var)
+#else
while (1)
+#endif
{
type = (unsigned char)m_f->GetC();
}
else
/* other extension, skip */
- {
+ {
while ((i = (unsigned char)m_f->GetC()) != 0)
{
/* This line should not be neccessary!
wxString upper_header;
upper_header = header.Upper();
-
+
node = m_headers.Find(upper_header);
if (!node)
return wxEmptyString;
m_headers.Clear();
m_read = TRUE;
- while (1) {
+#if defined(__VISAGECPP__)
+// VA just can't stand while(1)
+ bool bOs2var = TRUE;
+ while(bOs2var) {
+#else
+ while (1) {
+#endif
m_perr = GetLine(this, line);
if (m_perr != wxPROTO_NOERR)
return FALSE;
// If there is no User-Agent defined, define it.
if (GetHeader(wxT("User-Agent")).IsNull())
- SetHeader(wxT("User-Agent"), wxT("wxWindows 2.x"));
+ SetHeader(wxT("User-Agent"), wxT("wxWindows 2.x"));
switch (req) {
case wxHTTP_GET:
wxString szName = szName0;
if(szName.Find('.') != -1) // contains a dot
szName = szName.Left(szName.Find('.'));
-
+
// FIXME VZ: I forgot the exact meaning of LC_PATH - anyone to remind me?
// KB: search path where to find the mo files, probably : delimited
#if 0
size_t32 nIncr = 1 + (nHashVal % (m_nHashSize - 2));
- while ( TRUE ) {
+#if defined(__VISAGECPP__)
+// VA just can't stand while(1) or while(TRUE)
+ bool bOs2var = TRUE;
+ while(bOs2var) {
+#else
+ while (1) {
+#endif
size_t32 nStr = Swap(m_pHashTable[nIndex]);
if ( nStr == 0 )
return NULL;
..\common\$D\mstream.obj \
..\common\$D\object.obj \
..\common\$D\objstrm.obj \
- ..\common\$D\odbc.obj \
..\common\$D\paper.obj \
..\common\$D\prntbase.obj \
..\common\$D\process.obj \
mstream.obj \
object.obj \
objstrm.obj \
- odbc.obj \
paper.obj \
prntbase.obj \
process.obj \
url.obj \
utilscmn.obj \
valgen.obj \
- validate.obj
+ validate.obj \
+ valtext.obj
COMLIBOBJS3 = \
- valtext.obj \
variant.obj \
wfstream.obj \
wincmn.obj \
copy ..\common\$D\mstream.obj
copy ..\common\$D\object.obj
copy ..\common\$D\objstrm.obj
- copy ..\common\$D\odbc.obj
copy ..\common\$D\paper.obj
copy ..\common\$D\prntbase.obj
copy ..\common\$D\process.obj
copy ..\common\$D\utilscmn.obj
copy ..\common\$D\valgen.obj
copy ..\common\$D\validate.obj
+ copy ..\common\$D\valtext.obj
$(COMLIBOBJS3):
- copy ..\common\$D\valtext.obj
copy ..\common\$D\variant.obj
copy ..\common\$D\wfstream.obj
copy ..\common\$D\wincmn.obj