git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4152
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
13 files changed:
--I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
+-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
--I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
+-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-D__WXWIN__
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-D__WXWIN__
#! File: wat.t
#! Purpose: tmake template file from which makefile.wat is generated by running
#! tmake -t wat wxwin.pro -o makefile.wat
#! File: wat.t
#! Purpose: tmake template file from which makefile.wat is generated by running
#! tmake -t wat wxwin.pro -o makefile.wat
+#! TODO:
+#! - unzip.c must be compiled with $(CC), not $(CCC).
+#! - extended.c, unzip.c targets must be as per b32.t etc.
+#! - OLE files not generated correctly (need 'ole/' directory)
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
#! Author: Vadim Zeitlin
#! Created: 14.07.99
#! Version: $Id$
unzip32 -o ..\wx200msw.zip
unzip32 -o ..\wx200gen.zip
unzip32 -o ..\wx200vc.zip
unzip32 -o ..\wx200msw.zip
unzip32 -o ..\wx200gen.zip
unzip32 -o ..\wx200vc.zip
+unzip32 -o ..\wx200bc.zip
unzip32 -o ..\wx200hlp.zip
unzip32 -o ..\glcanvas.zip
unzip32 -o ..\treedraw.zip
unzip32 -o ..\wx200hlp.zip
unzip32 -o ..\glcanvas.zip
unzip32 -o ..\treedraw.zip
-BMROOT=d:\wx2\wxWind~1\docs\latex\wx ; Assume that bitmaps are where the source is
+BMROOT=d:\wx2\wxWind~1\docs/latex/wx ; Assume that bitmaps are where the source is
TITLE=wxWindows Manual
CONTENTS=Contents
COMPRESS=HIGH
TITLE=wxWindows Manual
CONTENTS=Contents
COMPRESS=HIGH
// wxFontBase represents a font object
// ----------------------------------------------------------------------------
// wxFontBase represents a font object
// ----------------------------------------------------------------------------
+class WXDLLEXPORT wxFontRefData;
+
class wxFontBase : public wxGDIObject
{
public:
class wxFontBase : public wxGDIObject
{
public:
protected:
// get the internal data
protected:
// get the internal data
- class WXDLLEXPORT wxFontRefData *GetFontData() const
+ wxFontRefData *GetFontData() const
{ return (wxFontRefData *)m_refData; }
private:
{ return (wxFontRefData *)m_refData; }
private:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-// For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
-#include "wx/defs.h"
-
-#if !defined(wxUSE_NEW_GRID) || !(wxUSE_NEW_GRID)
-#include "gridg.cpp"
-#else
-
#ifdef __GNUG__
#pragma implementation "grid.h"
#endif
#ifdef __GNUG__
#pragma implementation "grid.h"
#endif
+// For compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
+
+#include "wx/defs.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifdef __BORLANDC__
#pragma hdrstop
#endif
+#if !defined(wxUSE_NEW_GRID) || !(wxUSE_NEW_GRID)
+#include "gridg.cpp"
+#else
+
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/dcclient.h"
$(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
$(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib &
$(WATLIBDIR)\uuid.lib # $(WATLIBDIR)\odbc32.lib
$(WATLIBDIR)\comctl32.lib $(WATLIBDIR)\comdlg32.lib &
$(WATLIBDIR)\ole32.lib $(WATLIBDIR)\oleaut32.lib &
$(WATLIBDIR)\uuid.lib # $(WATLIBDIR)\odbc32.lib
-IFLAGS = -i=$(WXINC) -i=$(%watcom)\h;$(%watcom)\h\nt # -i=$(WXDIR)\include\wx\msw\gnuwin32
+IFLAGS = -i=$(WXINC) -i=$(%watcom)\h;$(%watcom)\h\nt;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\include\wx\msw\gnuwin32
RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
RESFLAGS2 = -R $(name) /i$(WXDIR)\include
RESFLAGS1 = -r -bt=nt /i$(WXDIR)\include
RESFLAGS2 = -R $(name) /i$(WXDIR)\include
-# This file was automatically generated by tmake at 18:37, 1999/10/22
+# This file was automatically generated by tmake at 14:33, 1999/10/23
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
#
--I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
+-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-# This file was automatically generated by tmake at 18:37, 1999/10/22
+# This file was automatically generated by tmake at 14:33, 1999/10/23
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
#
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
#
--I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
+-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-D__WXWIN__
-I$(WXDIR)\include\wx\msw\gnuwin32
-L$(BCCDIR)\lib
-D__WXWIN__
app.obj: $(MSWDIR)\app.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
app.obj: $(MSWDIR)\app.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-automtn.obj: $(MSWDIR)\automtn.cpp
+automtn.obj: $(MSWDIR)\ole\automtn.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
bitmap.obj: $(MSWDIR)\bitmap.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
bitmap.obj: $(MSWDIR)\bitmap.cpp
data.obj: $(MSWDIR)\data.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
data.obj: $(MSWDIR)\data.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-dataobj.obj: $(MSWDIR)\dataobj.cpp
+dataobj.obj: $(MSWDIR)\ole\dataobj.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dc.obj: $(MSWDIR)\dc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dc.obj: $(MSWDIR)\dc.cpp
dragimag.obj: $(MSWDIR)\dragimag.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
dragimag.obj: $(MSWDIR)\dragimag.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-dropsrc.obj: $(MSWDIR)\dropsrc.cpp
+dropsrc.obj: $(MSWDIR)\ole\dropsrc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-droptgt.obj: $(MSWDIR)\droptgt.cpp
+droptgt.obj: $(MSWDIR)\ole\droptgt.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
filedlg.obj: $(MSWDIR)\filedlg.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
filedlg.obj: $(MSWDIR)\filedlg.cpp
gdiobj.obj: $(MSWDIR)\gdiobj.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
gdiobj.obj: $(MSWDIR)\gdiobj.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-gsocket.obj: $(MSWDIR)\gsocket.cpp
+gsocket.obj: $(MSWDIR)\gsocket.c
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
helpwin.obj: $(MSWDIR)\helpwin.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
helpwin.obj: $(MSWDIR)\helpwin.cpp
utilsexc.obj: $(MSWDIR)\utilsexc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
utilsexc.obj: $(MSWDIR)\utilsexc.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-uuid.obj: $(MSWDIR)\uuid.cpp
+uuid.obj: $(MSWDIR)\ole\uuid.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
wave.obj: $(MSWDIR)\wave.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
wave.obj: $(MSWDIR)\wave.cpp
event.obj: $(COMMDIR)\event.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
event.obj: $(COMMDIR)\event.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-extended.obj: $(COMMDIR)\extended.cpp
+extended.obj: $(COMMDIR)\extended.c
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
ffile.obj: $(COMMDIR)\ffile.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
ffile.obj: $(COMMDIR)\ffile.cpp
txtstrm.obj: $(COMMDIR)\txtstrm.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
txtstrm.obj: $(COMMDIR)\txtstrm.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
-unzip.obj: $(COMMDIR)\unzip.cpp
- *$(CCC) $(CPPFLAGS) $(IFLAGS) $<
+unzip.obj: $(COMMDIR)\unzip.c
+ *$(CC) $(CPPFLAGS) $(IFLAGS) $<
url.obj: $(COMMDIR)\url.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
url.obj: $(COMMDIR)\url.cpp
*$(CCC) $(CPPFLAGS) $(IFLAGS) $<
case CF_OEMTEXT:
size = strlen((const char *)pBuf);
break;
case CF_OEMTEXT:
size = strlen((const char *)pBuf);
break;
case CF_UNICODETEXT:
size = wcslen((const wchar_t *)pBuf);
break;
case CF_UNICODETEXT:
size = wcslen((const wchar_t *)pBuf);
break;
case CF_BITMAP:
case CF_HDROP:
// these formats don't use size at all, anyhow (but
case CF_BITMAP:
case CF_HDROP:
// these formats don't use size at all, anyhow (but