Commit Graph

3481 Commits

Author SHA1 Message Date
Václav Slavík
daa85ee3af implemented subclassing in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 16:13:43 +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
Stefan Csomor
5b36f53bd1 corrections for theme brush alignments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:57:11 +00:00
David Webster
06519806e3 Add some missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 23:06:51 +00:00
Vadim Zeitlin
bad606fa33 a draft of wxSSBase class - it is yet unused and hopefully doesn't break anything [just yet]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 22:25:15 +00:00
Vadim Zeitlin
60ce06808d disable native font stuff for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 21:27:42 +00:00
Stefan Csomor
bb356c9ea7 removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:16:05 +00:00
Stefan Csomor
755d980deb code changes for redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:14:01 +00:00
Stefan Csomor
dc8f5bd687 added support for appearance brushes, corrected blitting origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:13:16 +00:00
Stefan Csomor
0ff8e4b5c9 added support for appearance brushes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:12:34 +00:00
David Webster
f9efbe3a98 Scrolling updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 07:00:16 +00:00
Ron Lee
2e0b1b1114 removed macro magic that causes build problems on some
platforms and was apparently unneeded elsewhere after all..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-26 23:23:12 +00:00
Vadim Zeitlin
8b4a9377b0 fixed crash when an item didn't have any data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:31:13 +00:00
Václav Slavík
ef243e708a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:06:23 +00:00
Ron Lee
33c5b54b68 added slightly more informative failure reporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 12:12:30 +00:00
Ron Lee
9d155f504e Added GetStringArray method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 11:16:46 +00:00
Vadim Zeitlin
7936354da7 code clean up, avoid duplicating the same code in font.cpp and fontutil.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:06:15 +00:00
Robert Roebling
a7b51bc869 Removed warning for Darwin compilation from datetime.inl
Added wxFileName::SetPath() and set m_relative if no dir is given
  Corrected wxFrame::Enable() in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 15:52:29 +00:00
Ron Lee
59bd4c3881 Added missing compile define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:01:45 +00:00
Vadim Zeitlin
502a2b1810 fixed sorting the items which have indirect data (i.e. images set for open/closed state) and made indirect data handling much simpler and more efficient as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:00:32 +00:00
Julian Smart
62e1ba759a More tweaks to wxMicroWi
More tweaks to MicroWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 19:43:44 +00:00
Vadim Zeitlin
a9249b2eb2 wxFont can now raelly use the native fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 03:31:48 +00:00
Vadim Zeitlin
7c349adb6e fixed wxProgressDialog for ranges > 65535
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 02:14:38 +00:00
Vadim Zeitlin
ab5fe83396 add more methods to wxNativeFontInfo: To/FromUserString and all the
accessor methods and implemented some of them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 21:39:45 +00:00
David Webster
1908260b42 Latest updates for compiling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 20:42:20 +00:00
David Webster
3a50d19cae Headers to support 'Y' positioning fixes for OS/2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 18:09:02 +00:00
Vadim Zeitlin
dccb75b60d added wxFont::SetNativeFontInfo(string) and documented the native font info stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:39:13 +00:00
Julian Smart
e640f8231f MicroWindows tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 17:01:02 +00:00
Julian Smart
2d92dfdb40 Added some #defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:35:32 +00:00
Vadim Zeitlin
466367bedc disable new DL code by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 14:07:49 +00:00
Ron Lee
b4a5319e83 added missing DYNLIB_CLASS define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 13:21:12 +00:00
Ron Lee
60b73526d6 ugh. Nesting the (per class) plugin sentries can require them to
have user export syntax under win32 (unlike the old method which
had it's own uglyness though).  Consider this a quickfix for win32,
will look at better solutions after some sleep.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 13:11:11 +00:00
Ron Lee
7c1e2b4401 reimplemented sanity checks that were lost/broken in the regrettably
far to hasty last minute pushmepullyou api changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 12:06:11 +00:00
Stefan Csomor
1c469f7f4e MacOS conforming activate/deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:50:22 +00:00
Ron Lee
0316942268 moved dynamic loader option checks to chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 02:39:38 +00:00
George Tasker
e2e8cc69f6 Updated versions to 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:43:09 +00:00
Stefan Csomor
88594d02eb toplevel code transferred to wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:35:08 +00:00
Stefan Csomor
efaf6efce2 added UMAHideControl again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:33:33 +00:00
Stefan Csomor
6ed63f8bbc moved all code concerning toplevel code from the window file to toplevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:32:27 +00:00
Stefan Csomor
ae9283da23 added SetStatusText method for proper drawing, because dc.Clear is not yet using themes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:30:54 +00:00
Stefan Csomor
bf56779564 changed clipping to use native mac regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:27:34 +00:00
Stefan Csomor
642163b5a0 changed return type of RGBColor to const Reference (avoiding compiler warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:26:25 +00:00
Vadim Zeitlin
2f3eee099f added missing default param value for Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 20:36:33 +00:00
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