Vadim Zeitlin
85149efad7
removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTable is destroyed it's not going to be recreated again; instead leave last wxClassInfo::Unregister() call do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:54:00 +00:00
Michael Wetherell
8d7eaf9140
Warning fixes for VC5 (Igor Korot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Vadim Zeitlin
f8855e4725
great copy ctor/assignment operators cleanup by Paul Cornett (patch 1307665)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 00:51:23 +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
Vadim Zeitlin
258e7b2562
remove unused wxTrue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 20:58:55 +00:00
Vadim Zeitlin
f730d32b0f
corrected typo and changed wording of an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 21:29:18 +00:00
Vadim Zeitlin
47547fbe45
show the name of incrimanted class in RTTI registration assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 15:27:16 +00:00
Václav Slavík
d9f0e93224
minor clarification of broken build cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 10:16:44 +00:00
Vadim Zeitlin
66d2fa18ee
blind fix for XTI compilation after last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 23:21:59 +00:00
Vadim Zeitlin
14ca93a0d9
two changes and some cleanup:
...
1. DECLARE_ABSTRACT_CLASS() shouldn't declare wxCreateObject() (which is not
defined by IMPLEMENT_ABSTRACT_CLASS())
2. don't make GetClassInfo() declaration inside DECLARE_CLASS inline in an
attempt to fix linking problems with HP-UX compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 01:52:19 +00:00
Włodzimierz Skiba
525d858363
Last .empty() string source cleaning before 2.5.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 13:57:02 +00:00
Włodzimierz Skiba
7e548f6b13
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 11:31:49 +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
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
Stefan Csomor
2c4c398782
VC6 template fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-19 13:41:33 +00:00
Stefan Csomor
05fa251a2f
adjusting to changes in xti.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 19:53:19 +00:00
Vadim Zeitlin
c0db962623
made wxRTTI macros namespace-friendly (patch 799434)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 11:33:46 +00:00
Stefan Csomor
499a9a6222
switching to registry based type info
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 23:41:05 +00:00
Václav Slavík
0e0d594d1a
removed unused wxObject::Dump
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:34:45 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
b0540bb8ba
removed OSX code that is no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 20:27:21 +00:00
Václav Slavík
cafc76a4bb
deprecated Initialize/CleanUpClasses
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 12:10:30 +00:00
Václav Slavík
d1d738f18c
initialize wxClassInfo::sm_classTable automatically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 10:44:48 +00:00
Stefan Csomor
431346ff02
bcc32 needs some more specializations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 19:22:28 +00:00
Stefan Csomor
066f1b7a95
xti extensions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:30:46 +00:00
Stefan Csomor
fbbdc52c5d
xti updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:16:51 +00:00
Stefan Csomor
30bfc42574
wxUSE_EXTENDED_RTTI as name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:32:04 +00:00
Stefan Csomor
a095505c96
xti introduction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:10:54 +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
Vadim Zeitlin
fbae49eedf
use __VISUALC__ instead of _MSC_VER to avoid problems with CW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 16:04:09 +00:00
Vadim Zeitlin
e1720942b0
fix VC 7.x release build problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 16:13:47 +00:00
Vadim Zeitlin
27db95f054
speed up for debug mode startup (doesn't matter much but as it doesn't cost anything to fix this...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:36:08 +00:00
Julian Smart
55d99c7a77
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00
Vadim Zeitlin
aa4b7ef978
tidied up patch 583937 (wxClassInfo dtor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 22:37:41 +00:00
Gilles Depeyrot
a6391d3022
implement explicit copying instead of forbidding it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:18:54 +00:00
Gilles Depeyrot
edf0993cae
static C++ object initialization only seems to be necessary when the library
...
initialization routine needs to use static C++ objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 17:46:01 +00:00
Vadim Zeitlin
cf760e4c30
fixes for operator new declaration/definition (patch 549349)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 10:35:04 +00:00
Vadim Zeitlin
b2edef6f2f
clean up of memory debugging macros and chanegs to compile with CW7 (patch 548408)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 23:08:19 +00:00
Vadim Zeitlin
21b529859e
more informational assert about the base class being unknown to wxRTTI system (patch 538103)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 23:58:46 +00:00
Vadim Zeitlin
1f42894286
assert when a base class of a class in wxRTTI system is not found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:38:48 +00:00
Vadim Zeitlin
a9bf8315f6
no changes, just the file I forgot to commit...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 21:52:03 +00:00
Robert Roebling
c89f5c02b1
Added missing test in wxObject::Ref() for already
...
equal objects (same m_refData).
Implemented new ref counting for wxBrush, wxPen
and wxColour (in addition to wxRegion). Also
inlined some more functions and implemented
real comparisons.
Corrected refresh code to update GTK's window-less
widgets if overdrawn after a wxWindow::Refresh().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Robert Roebling
e0f0b19775
Ref counting fixes and compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 10:42:16 +00:00
Vadim Zeitlin
d18700787f
added asserts to Clone/CreateRefData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:30:40 +00:00
Vadim Zeitlin
807d848702
added wxObject::AllocExclusive() and associated methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:01:09 +00:00
Vadim Zeitlin
80e8062f67
lookup the classes in the hash table if it had been already set up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 00:34:41 +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
David Webster
24eb81cbcf
OS/2 compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 17:09:03 +00:00
Gilles Depeyrot
ce28b4d772
added dynamic shared library (dylib) initialization routine for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 21:52:58 +00:00
Vadim Zeitlin
acd15a3fa0
1. removed wxObject::CopyObject() and Clone() - some objects just can't be
...
copied
2. made wxEvent::Clone() pure virtual and added missing Clone()s to the
other event classes which this changes has helped to discover
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:44:52 +00:00