Commit Graph

3438 Commits

Author SHA1 Message Date
Ron Lee
38befbee1a Fixed silly cut n paste error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 19:16:46 +00:00
Vadim Zeitlin
c74d8df09d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 13:10:10 +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
1e3a888e72 fixed redraw problems in wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 01:27:26 +00:00
Vadim Zeitlin
df22f86063 1. fixed file descriptors leak in wxFileName::CreateTempFileName()
2. really made it race-safe (provided we have mkstemp())


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 17:47:27 +00:00
David Webster
5c8835b94c Taking out __WXPM__ ifdef around wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-18 16:36:22 +00:00
David Webster
3c299c3ab6 OS/2 common controls code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 22:56:41 +00:00
David Webster
4c53d9ece2 OS/2 does not support Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 22:55:44 +00:00
Vadim Zeitlin
be03c0ec26 fixes error/usage messages given by the cmd line parsing logic in wxApp;
also fixed the handling of long-only options in the usage messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 12:21:03 +00:00
Robert Roebling
754c44ae38 Header change for smooth Aqua buttons in wxTreeCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:18:47 +00:00
Vadim Zeitlin
c640e407d5 add missing header for !wxUSE_PCH case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:06:21 +00:00
Vadim Zeitlin
3f562374f1 added __TDATE__ and __TTIME__ and use them instead of __DATE__ and __TIME__ for Unicode-friendliness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 01:05:37 +00:00
Václav Slavík
c6f4913a76 applied patch that adds wxTR_FULL_ROW_HIGHLIGHT to wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:30:23 +00:00
Václav Slavík
db3272a001 added wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:52 +00:00
Václav Slavík
c4d596ea01 safety check for wxUSE_UNICODE and wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:29:04 +00:00
Václav Slavík
eb5e4d9ac1 making wxMSW MSLU(unicows)-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-17 00:28:31 +00:00
Robert Roebling
353f41cb3b Reimplemented wxFileName with m_relative field.
Adapted wxFileDialog to trailing slashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-16 12:07:44 +00:00
Václav Slavík
147043343e DJGPP compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:56 +00:00
Václav Slavík
865c589e50 correct platform detection with DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:17:40 +00:00
Václav Slavík
9283436576 long long for DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 23:16:10 +00:00
Vadim Zeitlin
d00407b2c6 fixed flicker in wxTreeCtrl::SetItemXXX()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 22:20:54 +00:00
Robert Roebling
17d5bdf9e9 Aqua gets Aqua tree buttons automatically now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-15 13:49:05 +00:00
Václav Slavík
7332adf035 move pmapi.h to mgl/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 19:24:49 +00:00
Vadim Zeitlin
2ba4130573 wxConfig clean up and bug fix for record defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-14 00:58:59 +00:00
Ron Lee
edc8bd8df3 preemptive fix for wxPython compilation. It will break otherwise when
the Serialise stuff goes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 06:40:48 +00:00
Vadim Zeitlin
aac7e7fe7b fixed displaying text in non default charset in the richedit control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:47:29 +00:00
Vadim Zeitlin
d4597e138e fixed bugs with setting the client size when the difference between the total and client size changes as the result (e.g. because the scrollbars [dis]appear or the menu bar [un]wraps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:13:27 +00:00
Vadim Zeitlin
23895080c2 fixes for handling WM_SYSCOLORCHANGE - now seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:30 +00:00
Václav Slavík
b32a1ead44 added wxMGL_DOS platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:25 +00:00
Václav Slavík
625e74a703 compilation fix for Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:40:47 +00:00
Stefan Csomor
56a38bbe87 added method for getting the help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 05:30:00 +00:00
Robert Roebling
d30f093006 Added wxSP_SASH_AQUA style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 17:01:00 +00:00
Václav Slavík
d2ce649bec compilation fixes (I wonder how did you people ever compile it...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:17 +00:00
Václav Slavík
c427acc8d5 MS-DOS fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 23:45:16 +00:00
Vadim Zeitlin
f7d886af3a added wxFileName::MakeRelativeTo() and the tests/docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 15:13:56 +00:00
Ron Lee
a22eb2f5c3 (Blind) fix for BCC compile glitch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 10:40:35 +00:00
Ron Lee
ea1e6c4be4 fix for wxDynamicCast making it safe to pass factory functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 04:21:09 +00:00
Vadim Zeitlin
81f256328c fixed Assign(fullpath, fullname)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 01:14:09 +00:00
Julian Smart
5ea757d054 Added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 11:17:30 +00:00
George Tasker
0bd63eb6ff Removed semicolons from end of DECLARE_DYNAMIC_CLASS() and DECLARE_NO_COPY_CLASS() lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 10:55:58 +00:00
Vadim Zeitlin
e6b01b78a3 fixed mem leak in wxDataObjectComposite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 00:30:51 +00:00
Vadim Zeitlin
af4088f1be fixed event processing for the target window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:04:38 +00:00
Robin Dunn
961c54c333 wxTipWindow can now derived from wxFrame if not wxUSE_POPUPWIN, or
wxPopupTransientWindow otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 01:54:38 +00:00
Vadim Zeitlin
d7997e1ab1 really fixed wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:08:21 +00:00
Vadim Zeitlin
b01fb5c340 fixed VC++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 23:53:03 +00:00
Gilles Depeyrot
d71c423e19 don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:48:29 +00:00
Vadim Zeitlin
ade35f11fe 1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available)
2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName()
   avoiding code duplication
3. updated the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Vadim Zeitlin
1d21855083 added wxStringBuffer helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:16:16 +00:00
Ron Lee
681641370c Added wxFile::write_excl and use it from wxTempFile to securely open the
temporary file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:51:24 +00:00
Ron Lee
4f716609c9 fix wxUINT64_SWAP macro to use wxULongLong now that it exists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:13:45 +00:00