# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
# Created: 1993
# Version: $Id$
-# Copyright:(c) 1993, AIAI, University of Edinburgh,
+# Copyright:,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
# Copyright:(c) 2001, Ron Lee
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
contrib/configure.in
contrib/configure
-contrib/samples/canvas/simple/*.cpp
-contrib/samples/canvas/simple/*.h
-contrib/samples/canvas/simple/*.def
-contrib/samples/canvas/simple/makefile*
-contrib/samples/canvas/simple/*.xbm
-contrib/samples/canvas/simple/*.xpm
-contrib/samples/canvas/simple/*.txt
-contrib/samples/canvas/simple/*.ico
-contrib/samples/canvas/simple/*.bmp
-contrib/samples/canvas/simple/*.rc
-contrib/samples/canvas/simple/SimpleVC.dsp
-contrib/samples/canvas/simple/SimpleVC.dsw
-
-contrib/samples/canvas/test/*.cpp
-contrib/samples/canvas/test/*.h
-contrib/samples/canvas/test/*.def
-contrib/samples/canvas/test/makefile*
-contrib/samples/canvas/test/*.xbm
-contrib/samples/canvas/test/*.xpm
-contrib/samples/canvas/test/*.txt
-contrib/samples/canvas/test/*.ico
-contrib/samples/canvas/test/*.bmp
-contrib/samples/canvas/test/*.rc
-contrib/samples/canvas/test/TestVC.dsp
-contrib/samples/canvas/test/TestVC.dsw
-
contrib/samples/plot/*.cpp
contrib/samples/plot/*.h
contrib/samples/plot/*.def
contrib/samples/fl/fl_sample3/fl_demo.dsp
contrib/samples/fl/fl_sample3/fl_demo.dsw
-contrib/src/canvas/*.cpp
-contrib/src/canvas/*.h
-contrib/src/canvas/make*
-contrib/src/canvas/CanvasVC.dsp
-contrib/src/canvas/CanvasVC.dsw
-contrib/include/wx/canvas/*.h
-
contrib/src/plot/*.cpp
contrib/src/plot/*.h
contrib/src/plot/make*
samples/sashtest/*W7.xml
samples/scroll/*W7.xml
samples/scrollsub/*W7.xml
+samples/shaped/*W7.xml
samples/sockets/*W7.xml
samples/splitter/*W7.xml
samples/statbar/*W7.xml
samples/scroll/*.mcp
samples/scrollsub/*M?.xml
samples/scrollsub/*.mcp
+samples/shaped/*M?.xml
+samples/shaped/*.mcp
samples/sockets/*M?.xml
samples/sockets/*.mcp
samples/splitter/*M?.xml
samples/scrollsub/*.txt
samples/scrollsub/*.pro
+samples/shaped/*.cpp
+samples/shaped/*.h
+samples/shaped/makefile*
+samples/shaped/*.rc
+samples/shaped/*.def
+samples/shaped/*.bmp
+samples/shaped/*.xpm
+samples/shaped/*.xbm
+samples/shaped/*.png
+samples/shaped/*.ico
+samples/shaped/*.txt
+samples/shaped/*.pro
+
samples/splitter/*.cpp
samples/splitter/*.h
samples/splitter/*.def
samples/sashtest/Makefile.in
samples/scroll/Makefile.in
samples/scrollsub/Makefile.in
+samples/shaped/Makefile.in
samples/splitter/Makefile.in
samples/statbar/Makefile.in
samples/text/Makefile.in
samples/scrollsub/scrollsub.dsp
samples/scrollsub/scrollsub.dsw
+samples/shaped/shaped.dsp
+samples/shaped/shaped.dsw
+
samples/sockets/client.dsp
samples/sockets/server.dsp
samples/sockets/client.dsw
<li><a href="../../samples/event">event</a>: demonstrates event handling.
<li><a href="../../samples/exec">exec</a>: demonstrates wxExecute.
<li><a href="../../samples/font">font</a>: tests fonts, font enumerator, font encodings.
-<li><a href="../../samples/grid">grid</a>: demonstrates the wxGrid class. This demo should work
-when the old grid implementation is compiled into wxWindows, and also with the new implementation.
+<li><a href="../../samples/grid">grid</a>: demonstrates the wxGrid class.
Please see newgrid below for a full demo of the new implementation's capabilities.
<li><a href="../../samples/help">help</a>: shows how to use wxHelpController.
<li><a href="../../samples/html">html</a>: a number of demos for the wxHTML class library, used inside
<li><a href="../../samples/mobile">mobile</a>: mini applications for embedded platforms.
<li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWindows can load a standard Windows
dialog resource, translating the controls into wxWindows controls (Windows only).
-<li><a href="../../samples/newgrid">newgrid</a>: demonstrates the new wxGrid implementation, by Michael Bedward and others.
<li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control.
<li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
Excel to be present).
wxExpr *listExpr = new wxExpr(wxExprList);
- wxNode *node = the_list->First();
+ wxNode *node = the_list->GetFirst();
while (node)
{
- wxExpr *expr = (wxExpr *)node->Data();
+ wxExpr *expr = (wxExpr *)node->GetData();
listExpr->Append(expr);
- node = node->Next();
+ node = node->GetNext();
}
Append(listExpr);
// First make a list of wxExpr strings
wxExpr *listExpr = new wxExpr(wxExprList);
- wxNode *node = string_list->First();
+ wxNode *node = string_list->GetFirst();
while (node)
{
wxChar *string = (wxChar*)node->GetData();
wxExpr *expr = new wxExpr(wxExprString, wxString(string));
listExpr->Append(expr);
- node = node->Next();
+ node = node->GetNext();
}
// Now make an (=, Att, Value) triple
void wxExprDatabase::BeginFind(void) // Initialise a search
{
- position = First();
+ position = GetFirst();
}
wxExpr *wxExprDatabase::FindClause(long id) // Find a term based on an integer id attribute
wxExpr *found = NULL;
while (position && !found)
{
- wxExpr *term = (wxExpr *)position->Data();
+ wxExpr *term = (wxExpr *)position->GetData();
if (term->Type() == wxExprList)
{
if (value->Type() == wxExprInteger && value->IntegerValue() == id)
found = term;
}
- position = position->Next();
+ position = position->GetNext();
}
return found;
}
wxExpr *found = NULL;
while (position && !found)
{
- wxExpr *term = (wxExpr *)position->Data();
+ wxExpr *term = (wxExpr *)position->GetData();
if (term->Type() == wxExprList)
{
(value->Type() == wxExprString && value->StringValue() == val))
found = term;
}
- position = position->Next();
+ position = position->GetNext();
}
return found;
}
wxExpr *found = NULL;
while (position && !found)
{
- wxExpr *term = (wxExpr *)position->Data();
+ wxExpr *term = (wxExpr *)position->GetData();
if (term->Type() == wxExprList)
{
if ((value->Type() == wxExprInteger) && (value->IntegerValue() == val))
found = term;
}
- position = position->Next();
+ position = position->GetNext();
}
return found;
}
wxExpr *found = NULL;
while (position && !found)
{
- wxExpr *term = (wxExpr *)position->Data();
+ wxExpr *term = (wxExpr *)position->GetData();
if (term->Type() == wxExprList)
{
if ((value->Type() == wxExprReal) && (value->RealValue() == val))
found = term;
}
- position = position->Next();
+ position = position->GetNext();
}
return found;
}
wxExpr *found = NULL;
while (position && !found)
{
- wxExpr *term = (wxExpr *)position->Data();
+ wxExpr *term = (wxExpr *)position->GetData();
if (term->Type() == wxExprList)
{
if (term->Functor() == functor)
found = term;
}
- position = position->Next();
+ position = position->GetNext();
}
return found;
}
void wxExprDatabase::ClearDatabase(void)
{
noErrors = 0;
- wxNode *node = First();
+ wxNode *node = GetFirst();
while (node)
{
- wxExpr *expr = (wxExpr *)node->Data();
+ wxExpr *expr = (wxExpr *)node->GetData();
delete expr;
delete node;
- node = First();
+ node = GetFirst();
}
if (hash_table)
bool wxExprDatabase::Write(FILE *stream)
{
noErrors = 0;
- wxNode *node = First();
+ wxNode *node = GetFirst();
while (node)
{
- wxExpr *expr = (wxExpr *)node->Data();
+ wxExpr *expr = (wxExpr *)node->GetData();
expr->WriteClause(stream);
- node = node->Next();
+ node = node->GetNext();
}
return (noErrors == 0);
}
# Author: David Webster
# Created: 1999
# Updated:
-# Copyright: c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin, Ron Lee
# Created: 1993
# Updated: 2001
-# Copyright:(c) 1993, AIAI, University of Edinburgh,
+# Copyright:,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
# Copyright:(c) 2001, Ron Lee
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
wxDCCacheEntry* wxDC::FindBitmapInCache(WXHDC dc, int w, int h)
{
int depth = ::GetDeviceCaps((HDC) dc, PLANES) * ::GetDeviceCaps((HDC) dc, BITSPIXEL);
- wxNode* node = sm_bitmapCache.First();
+ wxNode* node = sm_bitmapCache.GetFirst();
while (node)
{
- wxDCCacheEntry* entry = (wxDCCacheEntry*) node->Data();
+ wxDCCacheEntry* entry = (wxDCCacheEntry*) node->GetData();
if (entry->m_depth == depth)
{
return entry;
}
- node = node->Next();
+ node = node->GetNext();
}
WXHBITMAP hBitmap = (WXHBITMAP) ::CreateCompatibleBitmap((HDC) dc, w, h);
if ( !hBitmap)
wxDCCacheEntry* wxDC::FindDCInCache(wxDCCacheEntry* notThis, WXHDC dc)
{
int depth = ::GetDeviceCaps((HDC) dc, PLANES) * ::GetDeviceCaps((HDC) dc, BITSPIXEL);
- wxNode* node = sm_dcCache.First();
+ wxNode* node = sm_dcCache.GetFirst();
while (node)
{
- wxDCCacheEntry* entry = (wxDCCacheEntry*) node->Data();
+ wxDCCacheEntry* entry = (wxDCCacheEntry*) node->GetData();
// Don't return the same one as we already have
if (!notThis || (notThis != entry))
}
}
- node = node->Next();
+ node = node->GetNext();
}
WXHDC hDC = (WXHDC) ::CreateCompatibleDC((HDC) dc);
if ( !hDC)
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright:(c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
# Created: 1993
# Updated: 1999
-# Copyright:(c) 1993, AIAI, University of Edinburgh,
+# Copyright:,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
#
# Author: David Webster
# Created: 1999
# Updated:
-# Copyright: c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: David Webster
# Created: 1999
# Updated:
-# Copyright: c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Patrick Halke
# Created: 1995
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1995
# Updated:
-# Copyright: (c) 1995, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# Author: Julian Smart
# Created: 1993
# Updated:
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#
# File: makefile.nt
# Author: Julian Smart
# Created: 1993
-# Copyright: (c) 1993, AIAI, University of Edinburgh
+# Copyright:
#
# "%W% %G%"
#