Commit Graph

283 Commits

Author SHA1 Message Date
Vadim Zeitlin
903506828b fixes for the compilation warnings with Sun CC:
1. some fixes for "String literal to char * conversion" warnings (many
   more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Stefan Csomor
f2c16a0b2c removing dependany on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:00:38 +00:00
Vadim Zeitlin
33a201363a added Close All command support to wxDocView (patch 496068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:35:07 +00:00
Ron Lee
4f89dbc48e removed dependency on windows.h from dynload.h
Moved dlopen implementation into wxDynamicLibrary.
Wrapped wxDllLoader in 2.2 compat guards and defined it in terms
of the new classes.
Added link option flags to wxDL and other missing functionality
previously implemented in wxDllLoader.
Modified wxDL++ classes to use wxDL base class implementation.
Replaced all uses of wxDllLoader in wx classes by the new
classes as appropriate.

def'd out (unimplemented) wxSystemSettingsBase so wxMSW would link.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 14:50:36 +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
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
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
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
Ron Lee
8e38fd1fb0 Added 2 extra macros to handle all the flavours of wxInt64 :(
Did a quick and dirty cut'n'paste to implement wxULongLong and provide
wxUint64 on platforms without a suitable native type.
Noted it's existance and inappropriate methods in the wxLongLong docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:43:08 +00:00
Vadim Zeitlin
39cc7a0bae added wxWS_EX_TRANSIENT, added code for handling it and fixed wxLogGeneric
to avoid crashes related to creating the log dialog as child of a window which
is destroyed before it is


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:40:12 +00:00
Ron Lee
41b0a1139d added wx(U)int64, then added it to wxDataStream so contrib should
(hopefully) now build on alpha, ia64, s/390 without the kludge
from 2.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 03:53:32 +00:00
Vadim Zeitlin
a8141d3f28 changed wxYES_NO to be equal to wxYES | wxNO freeing another style bit which allows to avoid conflicts between wxYES and wxTE_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:18:45 +00:00
Vadim Zeitlin
37df1f3370 patch from Søren Erland Vestø for additional wxCalendarCtrl styles (also moved them all to calctrl.h from defs.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:42:51 +00:00
Gilles Depeyrot
ff8fda3617 corrected access to NULL parameters in wxGetOsVersion
replaced wxMACINTOSH with wxMAC and wxMAC_DARWIN to differentiate return
value of wxGetOsVersion according to whether Mac paths or Unix paths are used


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:23:58 +00:00
Vadim Zeitlin
78340847c9 extracted platform/compiler detection macros from wx/defs,h into wx/platform.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:33:46 +00:00
Mattia Barbon
0e44823110 Various cygwin compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00
Vadim Zeitlin
5d2878fb28 simplified WXDLLEXPORT/IMPORT defines, added WXEXPORT/IMPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 15:47:57 +00:00
David Webster
afa59b4e88 Some OS/2 Modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 05:11:09 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Vadim Zeitlin
e4b713a278 added and documented wxWS_EX_BLOCK_EVENTS flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 16:46:01 +00:00
Vadim Zeitlin
bb48ed2caa restored #include "chkconf.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 09:37:15 +00:00
Vadim Zeitlin
752b40b1da moved WXUNUSED_UNLESS_DEBUG after wx/debug.h include to fix debug compilation with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:26:28 +00:00
Václav Slavík
a9a8c02ff3 oops, forgot to check in a wxMGL define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 21:14:01 +00:00
Vadim Zeitlin
6e711d5c09 applied patch 446836: removed qt headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:52:26 +00:00
Robert Roebling
618a5e382a Applied Greg's patch to tree control and related.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 13:09:26 +00:00
Vadim Zeitlin
bf9b6266fa applied patch 446014 (misc mingw fixes from Mattia)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 19:02:17 +00:00
Vadim Zeitlin
9ac1d38b32 removed duplicate typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 11:24:30 +00:00
Vadim Zeitlin
c57e33394c 1. added wxTE_AUTO_URL style and support for it under Win32 (and brief
mention in docs and tests in the sample)
2. moved wxTextCtrl-specific stuff from defs.h/event.h to textctrl.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:40:21 +00:00
Gilles Depeyrot
f11bdd03b9 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Vadim Zeitlin
7ef8bfc4c7 added wxBU_EXACTFIT style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 13:44:04 +00:00
Vadim Zeitlin
b54e41c529 1. fixed typo ('&' instead of '|') in wxNotebook
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0
3. much more efficient selection handling in virtual wxListCtrl,
   we can now select 1000000 items without problems
4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl
5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t),
   use RemoveAt() instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:35 +00:00
Vadim Zeitlin
98ec9dbebc added virtual listctrl support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 01:27:38 +00:00
Vadim Zeitlin
62e2654261 minor WXWIN_COMPATIBILITY_2_2 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:38:35 +00:00
Julian Smart
04ef50df3a First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 10:58:59 +00:00
Vadim Zeitlin
83874e1547 wxSIZE_T_IS_UINT definition fix for mingw32 cross-compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 13:51:56 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Gilles Depeyrot
c60f15f01d remove PM_USE_SESSION_APIS setting so that wxMac can be compiled with
the -cpp-precomp compiler option


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:19:47 +00:00
David Webster
58d5ad5e3c define this, wxSIZE_T_IS_UINT, for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 15:52:49 +00:00
Vadim Zeitlin
4f53efae0f define wxSIZE_T_IS_UINT for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 01:15:15 +00:00
David Webster
f8ed401c91 Got rid of VisualAge true/false defs with db class fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 13:42:44 +00:00
David Webster
9aa3137d38 Needed a comment after last #endif and defined true TRUE and false FALSE for Visual Age.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 14:12:32 +00:00
Vadim Zeitlin
dd107c50be applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Robert Roebling
c22886bdaf Tried to make wxTreeCtrl on Mac look more Maccy. Part I.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 13:07:09 +00:00
Vadim Zeitlin
aaa63f666a try to autodetect Win32 macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 15:12:00 +00:00
Kendall Bennett
33ac7e6f01 Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other
compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
Gilles Depeyrot
475031bb37 added comment to explain __WXMAC_X__ define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-19 20:29:20 +00:00
Vadim Zeitlin
068cfb66c2 mingw32 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 15:37:24 +00:00
Vadim Zeitlin
7ba4fbebbc 1. fixes to wxDC deleting logic (should fix ~wxPrinterDC leak), some code
reorganized/removed
2. applied (slightly modified) wxEnhMetaFileSimpleDataObject patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 01:22:48 +00:00
Vadim Zeitlin
d8c72298ec applied patch 411059 (mingw win32 api version check)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-08 23:53:12 +00:00
Gilles Depeyrot
03e11df547 modifications for compilation under Mac OS X
applied patches extracted from submission by Marc Newsam (tested under Mac OS 9)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-15 21:51:14 +00:00