Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
6f02a879ed
make access specifiers for the virtual functions match their access in the base class (patch 1400131)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Włodzimierz Skiba
222702b112
[ 1216436 ] cleanup 'shadow variable' warnings from gcc in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 15:17:42 +00:00
Julian Smart
99d800190a
Added licence/copyright information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 18:57:50 +00:00
Vadim Zeitlin
5a2ec1b841
explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently needed for xlC (AIX compiler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 18:19:22 +00:00
Włodzimierz Skiba
5d3e7b52d8
Source cleaning: whitespaces, tabs, FALSE/false, TRUE/true, -1/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 13:20:18 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Mattia Barbon
4b1e72e266
Fix memory leak by letting the base class version handle the
...
destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 17:15:36 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
6aa33060cd
Fix for pure virtual method call caused by wxHashTable not
...
overriding virtual destructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:33:29 +00:00
Mattia Barbon
6e86701b83
Use new wxHashTable implementation not using keyed wxList
...
when !WXWIN_COMPATIBILITY_24. It is faster. It is almost 100%
compatible, too, the only difference being Next() return value
type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 20:59:17 +00:00
Mattia Barbon
1a6d9c7680
New wxHashTable implementation when wxUSE_STL == 1. Replaces
...
the old implementation based upon wxHashMap. Removed support
for wxHashTable in wxHashMap.
Rationale: using wxHashMap for wxHashTable implementation required
special support in wxHashMap. This precluded using STL-provided
hash_map to implement wxHashMap. This new implementation does not
use keyed wxList interface and should be almost totally compatible
with the old non-STL wxHashTable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-23 08:12:34 +00:00
Mattia Barbon
7057f62a37
Updated wxHashTable::Next documentation to use wxHashTable::Node*
...
for the return type (which currently is just a typedef for wxNode*).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-02 15:32:24 +00:00
Mattia Barbon
760d3c7cd3
Fixes for wxHashTable when wxUSE_STL=1:
...
wxHashTable must work like an hash_multimap, not an hash_map.
wxHashTable::Delete is supposed to actually delete entries
more tests in console sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 21:17:04 +00:00
Mattia Barbon
72eef31646
Expose GetCount when wxUSE_STL=1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:48:07 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Mattia Barbon
684d26bb27
Removed (wrong) wxHashTable::compatibility_iterator::GetPrevious
...
implementation: hash table iterators are forward-only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:29:42 +00:00
Mattia Barbon
d8274c928e
Fixed memory leaks when wxUSE_STL=1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:06:14 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
29a2a24da6
fixed class/struct mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:17:14 +00:00
Mattia Barbon
df5168c427
Added --use-stl to cnfigure, wxUSE_STL to setup0.h
...
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
Made wxBase compile when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Mattia Barbon
ba8c160144
Moved some methods/classes inside COMPATIBILITY_2_4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:59:55 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Julian Smart
53e112a093
Added Delete member to wxStringHashTable in order to implement
...
wxHelpProvider::RemoveHelp, which is now called from ~wxWindowBase.
Without cleaning up the hash tables, reused window addresses will cause
the CS help to fail rather comically over time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 21:06:18 +00:00
Gilles Depeyrot
d84afea9d1
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Ron Lee
0b9ab0bd82
Added new dynamic loading classes. (which handle proper
...
wxRTTI and wxModule initialisation and unloading)
Removed serialisation code from wxObject and elsewhere.
Added USER_EXPORTED hash and list macros.
Added *_PLUGGABLE_CLASS defines for exporting dynamic wxObjects
from dlls.
----------------------------------------------------------------------
Modified Files:
Makefile.in configure configure.in setup.h.in debian/changelog
distrib/msw/tmake/filelist.txt include/wx/defs.h
include/wx/docview.h include/wx/dynlib.h include/wx/fileconf.h
include/wx/hash.h include/wx/list.h include/wx/module.h
include/wx/object.h include/wx/resource.h include/wx/stream.h
include/wx/gtk/setup0.h include/wx/msw/setup0.h src/files.lst
src/wxBase.dsp src/wxUniv.dsp src/wxWindows.dsp
src/common/dynlib.cpp src/common/filename.cpp
src/common/module.cpp src/common/object.cpp
src/common/stream.cpp src/gtk/files.lst src/mac/files.lst
src/mgl/files.lst src/mgl/makefile.wat src/motif/files.lst
src/msw/dialup.cpp src/msw/files.lst src/msw/helpchm.cpp
src/msw/makefile.b32 src/msw/makefile.bcc src/msw/makefile.dos
src/msw/makefile.g95 src/msw/makefile.sc src/msw/makefile.vc
src/msw/makefile.wat src/os2/files.lst src/univ/files.lst
Added Files:
include/wx/dynload.h src/common/dynload.cpp
Removed Files:
include/wx/objstrm.h include/wx/serbase.h
src/common/objstrm.cpp src/common/serbase.cpp
utils/serialize/.cvsignore utils/serialize/makefile.b32
utils/serialize/sercore.cpp utils/serialize/sercore.h
utils/serialize/serctrl.cpp utils/serialize/serctrl.h
utils/serialize/serext.cpp utils/serialize/serext.h
utils/serialize/sergdi.cpp utils/serialize/sergdi.h
utils/serialize/sermain.cpp utils/serialize/serwnd.cpp
utils/serialize/serwnd.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 07:09:58 +00:00
Vadim Zeitlin
6788ecb8a9
applied patch 444915 (warning fixes for gcc 2.95.4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 15:00:33 +00:00
Jouk Jansen
1a0d517ea4
Committing in .
...
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/caret.h
wxWindows/include/wx/dynlib.h wxWindows/include/wx/hash.h
wxWindows/include/wx/gtk/window.h
wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/unix/dialup.cpp
-Removed some redundant ;'s from the .h files
-Updated wxGTK for OpenVMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:23:32 +00:00
Vadim Zeitlin
6a5391afa9
fix for DoPut() from long time ago
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 12:40:57 +00:00
Vadim Zeitlin
bd83cb56d2
1. added wxHelpProvider and (unfinished) wxSimpleHelpProvider
...
2. added wxStringHashTable which wxStringHashTable uses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 12:43:37 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
a95e38c034
1. wxGrid row can't be resized to less than minimal height
...
2. memory leaks fixed in wxHashTableLong
3. and in wxGrid
4. changed newgrid sample to use char buffers
5. fixed double clicking owner-drawn buttons
6. compilation fix in enhmeta.cpp for !wxUSE_DND
7. bug introduced earlier today in wxGridCellAttr::GetEditor() fixed
8. bool renderer/editor now look as good as I may ever make them look
good under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 00:58:11 +00:00
Vadim Zeitlin
c2bb85e9e3
added wxHashTableLong
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:19:36 +00:00
Vadim Zeitlin
bcaa23de09
WX_DECLARE_HASH() macro for type safe hashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 19:23:11 +00:00
Václav Slavík
c7fb814ac3
fixed DeleteContents inconsistency: didn't free memory if DeleteContents called before inserting data (and creating wxList)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:40 +00:00
Bart A.M. Jourquin
5692876f3b
Adding GetCount() to wxHashTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:19:35 +00:00
Václav Slavík
4e67bfc7a4
added copy ctor to wxHashTable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:33:05 +00:00
Ove Kaaven
9d2f3c71d8
Oh well, I'll just stuff in the rest of the Unicode changes I have made
...
so far here. You may start complaining now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:20:19 +00:00
Robert Roebling
e55ad60e19
Updates to memcheck
...
Corrected and beautified memory (output)
Fixed a few memory leaks
Fixed resizing in in wxRadioBox
Added many wxFAIL and wxASSERT
Corrected other wxFAIL (removed from ..::Ok())
Added wxBrush::Set..() functions
Added CopyOnWrite support in GDI objects (Unshare)
Disabled all occurences of WXDEBUG_NEW
made clean, recompiled with mem_chcking on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-11 09:05:26 +00:00
Julian Smart
34138703c3
Changes mostly as a result of __WXSTUBS__ compilation. The stubs code now
...
compiles under Windows with VC++. Also OGL enhancements espec. wxDrawnShape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-15 00:23:28 +00:00
Julian Smart
debe6624c1
Sorry, I went and removed consts as per the style guide :-)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-04 15:17:59 +00:00
Karsten Ballüder
c801d85f15
Initial revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:01:55 +00:00