Compare commits

..

2898 Commits

Author SHA1 Message Date
Bryan Petty
53dd8647d7 This commit was manufactured by cvs2svn to create tag 'EXPAT_1_95_6'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/EXPAT_1_95_6@22147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 16:23:29 +00:00
Bryan Petty
8ddbd9376f This commit was manufactured by cvs2svn to create branch 'EXPAT'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/EXPAT@22145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 16:22:55 +00:00
Václav Slavík
5e9f252451 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 16:22:55 +00:00
Vadim Zeitlin
a8e25474e4 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:05:48 +00:00
Vadim Zeitlin
2d75caaa6d fixes for deprecated warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:01:00 +00:00
Václav Slavík
284fa852b4 fixed import lib creation with gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 12:20:25 +00:00
Václav Slavík
7fb357a795 test undividable words
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 12:13:52 +00:00
Vadim Zeitlin
82fee08622 prevent IsDialogMessage() from hanging in yet another case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 11:56:39 +00:00
Vadim Zeitlin
8fa3a431af reverted gdk_fontset_load() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 11:53:37 +00:00
Vadim Zeitlin
1772d20c87 don't disable MDI for Cocoa finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 01:25:56 +00:00
Vadim Zeitlin
4dd03db976 another attempt to open files via DDE corrctly: try Request() first, *then* Execute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 00:35:49 +00:00
Robin Dunn
250700e4ac A new set of baked makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 00:06:37 +00:00
Vadim Zeitlin
df3b589875 mention wxTreeItemId change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 23:13:30 +00:00
Vadim Zeitlin
f888d61444 made wx[Array]TreeItemId[s] more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 23:12:33 +00:00
Mattia Barbon
69b9f4cca4 wxUSE_STL=1 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:42:12 +00:00
Mattia Barbon
ee6eb8d8ca Fix use of deprecated wxList/Node methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:10:19 +00:00
Mattia Barbon
1807c27dbc Don't #include Motif headers from src/x11/glcanvas.cpp.
prepare for using src/x11/glcanvas.cpp for wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:07:15 +00:00
Mattia Barbon
9b51403d37 Remove commented-out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:04:23 +00:00
Mattia Barbon
2da2f941bb Fix wx[Sorted]ArrayString::Index when wxUSE_STL=1, because
it is different than wxArray::Index (second argument is for
case sensitivity, not search direction).
  Use forward declaration for wx[Sorted]ArrayString, where
possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:01:14 +00:00
Vadim Zeitlin
2f7b6734e4 GetFirst/NextChild() now use wxTreeItemIdValue instead of long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:40:33 +00:00
Vadim Zeitlin
5e2ab1ea5d reverted the last change (colour values changes), it cerated too many problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:36:28 +00:00
Vadim Zeitlin
d33f1a1a9a warning 4284 doesn't have to be suppressed any more for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:22:41 +00:00
Vadim Zeitlin
b92203a8be moved smart phone test to chkconf.h from features.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:11:47 +00:00
Vadim Zeitlin
ee4b272189 replaced untyped hash with a typed one; 64 bit fixes (don't cast pointers to long...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:06:59 +00:00
Vadim Zeitlin
46674ada08 reduced compilation dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:01:58 +00:00
Václav Slavík
75d3838010 must convert filename to URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 20:27:17 +00:00
Vadim Zeitlin
137b730319 compatibiltiy functions should be inline, we don't want to take space hit for using them nor speed hit for the user code!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:56:46 +00:00
Vadim Zeitlin
6de4403884 define a special PTR version of LIST macros which should be used if you want operator->()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:52:00 +00:00
Vadim Zeitlin
6108e3fd32 added NO_PTR versions of ARRAY macros to suppress warnings (based on patch 770983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:46:29 +00:00
Vadim Zeitlin
282e8e0c10 don't disable warnings for VC7, not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:16:15 +00:00
Vadim Zeitlin
e3a6a6b2bc added Show/HideNativeCaret() (patch 759924)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:01:27 +00:00
Vadim Zeitlin
974931fefa don't set focus to radiobox in SetSelection() (patch 759456)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 18:52:29 +00:00
Julian Smart
449110cd74 Added minimal file dialog for SmartPhone
Use wxSYSTEM_MENU to get X symbol on PocketPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:46:33 +00:00
Vadim Zeitlin
f74172ab42 extracted common code into a single wxfileDialogBase class (patch 758901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +00:00
Vadim Zeitlin
f363e05c6d added GetForbiddenChars() and TRUE -> true (patch 757777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:06:29 +00:00
Václav Slavík
57700c5097 more sorting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 16:47:15 +00:00
Václav Slavík
e83a52a25a fixed wrong order of libraries for contrib samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 16:26:36 +00:00
Václav Slavík
d1fafa4ea9 fix resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 16:06:37 +00:00
Mattia Barbon
9539ad0b79 Some bakefile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:14:34 +00:00
Mattia Barbon
4c3ebca927 Fix some compilation and linking errors in samples.
Replace some calls to wxString::getWriteBuffer with
wxStringBuffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:05:08 +00:00
Mattia Barbon
77c35b7185 Added bakefiles for cube OpenGL sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:01:55 +00:00
Vadim Zeitlin
96f32e187b undecorate C++ names if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 14:15:56 +00:00
Vadim Zeitlin
261a714b67 added medium orange/gold corresponding to the old (2.4) values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 12:21:17 +00:00
Vadim Zeitlin
1b69aa4baf mention colour change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 12:17:17 +00:00
Václav Slavík
936a13b501 gizmos fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 12:03:47 +00:00
Julian Smart
29e499cfc2 Added files so sample links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 12:00:54 +00:00
Václav Slavík
62958ed73f USE_OPENGL is 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 10:45:15 +00:00
Václav Slavík
a3aa294d4c don't build _gl by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 10:24:50 +00:00
Vadim Zeitlin
3879ecda7c disable sockets and MDI for Cocoa; do more consistency checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 00:24:16 +00:00
Mattia Barbon
fe5fc682a2 Fix wxStringBuffer for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:31:59 +00:00
Mattia Barbon
941b78cc1d Added wxStringBufferLength: works like wxStringBuffer, except
it calls UngetWriteBuffer(size_t) instead of UngetWriteBuffer().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:08:47 +00:00
Mattia Barbon
bd5206ddbc Compilation fixes for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:52:15 +00:00
Mattia Barbon
e589896152 MSVC 5 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:47:19 +00:00
Mattia Barbon
6fd5903a1b GCC warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:45:45 +00:00
Mattia Barbon
d2e70462f1 Fix for crash when wxUSE_STL=1. wxDocument::DeleteAllViews might
delete "this", together with the list it is iterating over.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:44:47 +00:00
Mattia Barbon
a0749355ca Replace SendIdleEvents with ProcessIdle.
Remove unused variable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:38:49 +00:00
Václav Slavík
2ae7eb268c order the Makefile alphabetically so that diffs are human readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 18:14:47 +00:00
Julian Smart
bf95a04f16 Added some standard further identifiers to help with WinCE toolbars
Moved wxID_REPLACE to defs.h
Can now add tools to WinCE toolbar, if using standard identifiers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 16:16:14 +00:00
Julian Smart
33b3f7c34a Nth -> Item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 16:12:52 +00:00
Julian Smart
39d2f9a7c8 Added WCE toolbar
Got menubars working with WCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 14:12:53 +00:00
Václav Slavík
560c9c2090 split win32 makefiles into shared config files and the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 13:52:04 +00:00
Václav Slavík
73d01310f6 split win32 makefiles into shared config files and the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 13:40:15 +00:00
Mattia Barbon
084db46c8b Fix unintialized pointer in wxCommandProcessor when
wxUSE_STL=0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 13:21:35 +00:00
Václav Slavík
feaed9410a don't assume ilink32.cfg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 09:16:20 +00:00
Robin Dunn
e14d10b039 Update to Scintilla 1.53
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 06:43:31 +00:00
Robin Dunn
15d9a04c68 stop usign a deprecated method, and ensure that the imagelist
ownership is trnasfered when using AssignImageList.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 02:29:57 +00:00
Robin Dunn
63b1cb8227 User the version number in the dir name of the private wxWindows install.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 02:28:09 +00:00
Robin Dunn
dd116e73f0 Minimal changes needed to build/run wxPython on the 2.5 branch after
the merge.  Still need to look for and apply most changes and new
additions that have happened since the last merge.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 02:26:53 +00:00
Robin Dunn
fd657b8a59 Added bakefile for the OGL contrib
Changed use of deprecated methods in OGL to new methods

Changes to allow OGL to be built without the deprecated wxExpr (again)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 02:09:34 +00:00
Robin Dunn
52fcf3b1bd Applied patch that converts the throbber to using timers instead of threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 01:53:08 +00:00
Vadim Zeitlin
040e234d84 allow to change the event propagation level (modified patch 743086)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:48:49 +00:00
Vadim Zeitlin
1648d51bcb allow to change the event propagation level (modified patch 743086)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:39:05 +00:00
Vadim Zeitlin
b5a98acdf2 applied event speed up patch (752928)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:59:49 +00:00
Vadim Zeitlin
520200fd10 added format parameter to File/DirName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:39:28 +00:00
Vadim Zeitlin
fc4fe30871 describe better how to use ssociated mutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:42:36 +00:00
Mattia Barbon
f3e28ade43 Remove incorrect and unnecessary wxEntryCleanup declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:25:30 +00:00
Mattia Barbon
f700f98cf5 Use correct types for comparison functions in wxArray,
wxSortedArray and wxSortedArrayString, when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:23:43 +00:00
Vadim Zeitlin
bf07249cdd don't clear the handles list in dtor, it is static/global (patch 773029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:03:28 +00:00
Vadim Zeitlin
8c74e477ed set richedit DLL handle to 0 after unloading (patch 768994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:54:14 +00:00
Vadim Zeitlin
bb131fdbc5 updated colour definitions to the new official X version (patch 771272)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:47:07 +00:00
Vadim Zeitlin
cef9731ad9 treat the string passed to MakeRelativeTo() as directory even if it doesn't have a trailing slash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:22:39 +00:00
Vadim Zeitlin
3f1d375654 ignore exceptions during the execution of the exception handler to avoid infinite loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:03:48 +00:00
Vadim Zeitlin
d4cb34b02c strlen -> wxStrlen (patch 772985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 20:59:01 +00:00
Robin Dunn
921f5019a6 Added generic drag image source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 20:03:11 +00:00
Václav Slavík
d58ac9b7a9 fix for wrong implib name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 16:49:58 +00:00
Václav Slavík
ecb3b2a6fc added opengl libs for gcc and watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 16:05:45 +00:00
Václav Slavík
d6a6b74432 added OpenGL libs for gcc and watcom (other don't require it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 16:03:39 +00:00
Václav Slavík
76bdd7b31b added crashrpt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 15:48:03 +00:00
Václav Slavík
ff98bd681d dll compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 15:38:19 +00:00
Václav Slavík
0a7dc0911d OpenGL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 15:35:13 +00:00
Václav Slavík
d8290dd058 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:18:19 +00:00
Václav Slavík
5d45df1f57 removed duplicate glcanvas entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:14:05 +00:00
Václav Slavík
ea66c762e8 cross-compiled libraries have host embedded in the name again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:13:32 +00:00
Václav Slavík
34b08d2cf5 more OpenGL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 13:16:24 +00:00
Vadim Zeitlin
f627fbee50 don't use fall back if we had already found the MIME type (patch 769826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:50:04 +00:00
Vadim Zeitlin
f252f8c35d allocate string freed with free() later using malloc(), not new[] (fixes patch 772404)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:44:15 +00:00
Vadim Zeitlin
320656c465 updated Japanese translations (patch 769962)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:39:33 +00:00
Václav Slavík
50da51eea2 added dependency on opengl.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:20:26 +00:00
Václav Slavík
ace0fab4f1 remove extra space at top and bottom of the page if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:11:10 +00:00
Václav Slavík
ef1b8570d5 more monobuild fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:59:24 +00:00
Vadim Zeitlin
2f55280287 useh higher value of _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:46:49 +00:00
Václav Slavík
ff64116225 previous commit removed WXDLLIMPEXP_HTML by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:26:31 +00:00
Václav Slavík
ec67c47431 don't use win-like names on mingw/cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:09:59 +00:00
Václav Slavík
496d012a89 fixes for monolib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:55:11 +00:00
Václav Slavík
eac90854bd compilation fixes for msw_gl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:31:33 +00:00
Václav Slavík
3e5c3c83e5 Apple's gcc fixes to bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:23:47 +00:00
Václav Slavík
957130ca06 added opengl.bkl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:01:49 +00:00
Václav Slavík
4d2643327c re-added OpenGL canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 22:27:21 +00:00
Václav Slavík
e456894d57 added _gl library and removed install target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 22:26:21 +00:00
Václav Slavík
f34b7ba5e7 reordered headers a bit so that they are installed only when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 22:25:34 +00:00
Ryan Norton
c0a7edde10 Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 22:03:51 +00:00
Václav Slavík
eb9dd1499c reordered headers a bit so that they are installed only when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 21:10:33 +00:00
Václav Slavík
27ce9aef53 added wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 21:10:20 +00:00
Julian Smart
8651867dbc Different test for previously subclassed, for WinCE
(comparing WndProcs just doesn't work)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 20:40:57 +00:00
Julian Smart
2077b14882 Reordered winundef.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 20:34:46 +00:00
Robin Dunn
88f23fdd83 Added headers that didn't get installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 18:27:39 +00:00
David Elliott
ce319b6d1b Implement GetLabel and SetLabel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 14:54:59 +00:00
Václav Slavík
67158ef673 removed GetHorizontalConstraints -- no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:04:37 +00:00
Václav Slavík
36863a0a71 don't forget to backport HTML tables fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:03:29 +00:00
Václav Slavík
8c571f4650 tables can no longer be smaller than sum of their columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:00:58 +00:00
Václav Slavík
0493436fc1 -f-no-pcc-struct-return was only needed by ancient versions of gcc and it affected binary compatibility -> removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 10:34:42 +00:00
Vadim Zeitlin
5595986d65 compilation fix (missing wx/winundef.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 09:58:59 +00:00
Vadim Zeitlin
f83aa7771c really fixed compilation for old imagehlp.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 23:54:37 +00:00
Vadim Zeitlin
0b7824d78a attempt to fix compilation for old imagehlp.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:59:57 +00:00
Julian Smart
42d11c8e66 Compile with EVC 3.0 2002
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:28:21 +00:00
Václav Slavík
e7647357c6 regenerated after fixes to make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:01:05 +00:00
Vadim Zeitlin
ce39c39e1f we don't use wxUSE_FILENAME any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 20:49:39 +00:00
Václav Slavík
d7e91db264 added more missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 19:12:02 +00:00
Václav Slavík
2419f34582 no need to define STRICT here either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:58:28 +00:00
Václav Slavík
9ed0d735d5 added <windows.h> wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:52:32 +00:00
Václav Slavík
4b41ab2687 DigitalMars check didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:44:13 +00:00
Václav Slavík
b6d93b260e don't break lines in the middle of word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:39:09 +00:00
Václav Slavík
8ba2f3ec94 don't break lines in the middle of word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:28:21 +00:00
Václav Slavík
515e94a608 cut-and-paste is not good idea, removed duplicated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 16:47:07 +00:00
David Elliott
71bfb73508 Added wxAutoNSAutoreleasePool to DoGetBestSize method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:27:59 +00:00
David Elliott
c36a70f13c Added wxAutoNSAutoreleasePool to Create method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:25:20 +00:00
David Elliott
e51c36de5a Use wxAutoNSAutoreleasePool in Create() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:15:52 +00:00
David Elliott
e92ea62916 SetStringSelection: wxString& should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:10:24 +00:00
David Elliott
82910736d5 wxCocoa: enable help system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:01:46 +00:00
David Elliott
7c9428abfd Added some stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:55:52 +00:00
Julian Smart
11b352343b Updated WinCE project file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:45:24 +00:00
David Elliott
4144f58814 wxCocoa: Enable gauge and progress dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:26:33 +00:00
David Elliott
ec35ed7c1c wxCocoa: Added gauge.(mm|h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:23:24 +00:00
Julian Smart
f38dc50d5c Removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:21:09 +00:00
David Elliott
24e97652b0 wxCocoa: Added wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:04:22 +00:00
Julian Smart
73861e4bf3 Added Watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:54:57 +00:00
Julian Smart
0be9ace27e Added RTL functions missing from WinCE to wxchar.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:46:39 +00:00
Julian Smart
529b7f71bd Small tweaks for WinCE compatibility
Use generic folder dialog for WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:15:48 +00:00
Julian Smart
1dedb80b26 Added missing functions WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 11:48:15 +00:00
Václav Slavík
b7e8f408c9 reverted two previous Julian's changes, they were incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 11:04:34 +00:00
Julian Smart
e2b6d07d7a Added call to top-level window OnInternalIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:24:30 +00:00
Julian Smart
b8d6102177 Fixed out by one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 10:10:37 +00:00
Vadim Zeitlin
dc65f4ff28 updated recursive mutexes description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 23:35:28 +00:00
Václav Slavík
59d21254e8 RTL problems fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 20:30:38 +00:00
Václav Slavík
4b44ea2b40 added possibility to choose RTL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 20:28:04 +00:00
David Elliott
1c54c79268 After calling sizeToFit, round the size up to the next integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 18:59:05 +00:00
David Elliott
addbdd2985 wxSpinCtrl abuses m_isShown. Don't use it for any logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 18:10:47 +00:00
David Elliott
05b2214ba0 wxCocoa: Allow calendar control, spin button, spin control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 17:37:52 +00:00
David Elliott
36b46e2557 wxCocoa: added spinbutt.(mm|h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 17:36:30 +00:00
David Elliott
768d9ec8ca wxCocoa: Added wxSpinButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 17:33:36 +00:00
David Elliott
7a968ccd9d wxCocoa: enable combo box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:10:03 +00:00
David Elliott
2ee09b5562 Added wxUSE_COMBOBOX guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:06:52 +00:00
Václav Slavík
6e22c52489 updated to correctly install wx-config and wxMSW headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:05:25 +00:00
David Elliott
01a16fce4b wxCocoa: Added combobox.(mm|h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:03:38 +00:00
David Elliott
a6660cbb74 Fixed file header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 16:00:27 +00:00
David Elliott
421a84317f wxCocoa: Added basic (i.e. not working) implementation of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:58:33 +00:00
Václav Slavík
cb3b19dbad fixed make install for wxMSW ole headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:41:46 +00:00
Václav Slavík
157a344056 fixed wx-config installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:40:44 +00:00
Václav Slavík
1f6c7c4432 added missing header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:02:30 +00:00
Václav Slavík
19c261dc84 removed --enable-precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:57:43 +00:00
David Elliott
49e5528add Added default argument (true) to Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:43:34 +00:00
David Elliott
d9006b9e20 wxCocoa: Allow find/replace dialog, font dialog, grid, and wizard dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:42:08 +00:00
David Elliott
8343764860 Added wxButtonBase::GetDefaultSize stub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:22:42 +00:00
Mattia Barbon
d794dcb6d9 Use wxApp::ProcessIdle() instead of wxApp::SendIdleEvents().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:18:03 +00:00
David Elliott
88c8208626 wxCocoa: allow sash, splitter, and startup tips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:14:11 +00:00
David Elliott
d2022d2941 Use generic MDI with wxCocoa until a real implementation is done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:11:52 +00:00
David Elliott
15d521a109 Added (Start|End)DrawingOnTop stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:59:20 +00:00
David Elliott
bd3e8827dd Commented out wxAutoNSAutoreleasePool in CallOnInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:19:50 +00:00
David Elliott
7fc77f30f4 Put wxAutoNSAutoreleasePool in methods that may be used outside the run loop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:10:32 +00:00
David Elliott
493902ac5b Use the new wx/cocoa/autorelease.h header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:05:19 +00:00
David Elliott
140e7468ab Place wxAutoNSAutoreleasePool in this header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:03:18 +00:00
Julian Smart
8b532f8c3d SendIdleEvents -> ProcessIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 09:09:00 +00:00
Julian Smart
955a919785 Rationalised OnIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
David Elliott
9977626de4 Put OnIdle() back. Without deleting pending objects, frames that have
been Destroy()ed (e.g. by the default close implementation) never actually
get deleted and thus the program never terminates because the
wxTopLevelWindowBase destructor is never called to do ExitMainLoop()
FIXME: Why isn't this OnIdle stuff simply in wxAppBase?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:48:20 +00:00
David Elliott
6a9afc7adf In the object destructor, Disassociate the object from its Cocoa counterpart
but leave m_cocoaNSWindow intact so base class destructor can use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:04:37 +00:00
David Elliott
fe169919d8 In destructor, pass the NSView ownership to the base class
Avoid extra if tests now that Associate/Disassociate do the test themselves


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:02:04 +00:00
David Elliott
bc34fa2617 Call -[NSApplication stop] instead of terminate. The stop message will
return to the caller allowing processing to continue until all events
have been processed.  Make sure that no more idle events are installed
by checking -[NSApplication isRunning].


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 02:46:12 +00:00
Vadim Zeitlin
5b72b34401 removed OnIdle() which didn't compile any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 00:50:57 +00:00
Vadim Zeitlin
28b4db7f89 ugly fix for warnings when wxUSE_STL==0 not breaking compilation when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 22:53:49 +00:00
Vadim Zeitlin
c7e22c6923 mention wxCrashReport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:33:56 +00:00
Vadim Zeitlin
e483f439b7 added crashrpt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:31:23 +00:00
Vadim Zeitlin
c2892ef89b wxGlobalSEHandler() takes PEXCEPTION_POINTERS now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:31:11 +00:00
Vadim Zeitlin
8531cc2589 moved SEH stuff to crashrpt.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:29:37 +00:00
Vadim Zeitlin
81e3be0e46 added wxHAS_ICON_LOCATION and wxHAS_CRASH_REPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:19:26 +00:00
Vadim Zeitlin
50bea10032 wxSEHReport renamed to wxCrashReport enhanced and debugged; seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:18:04 +00:00
Mattia Barbon
335991afa5 Move #inclusion of wx/msw/winundef.h for MinGW to afterstd.h.
Fix WX_DEFINE_TYPEARRAY assert to refer to base array's elemnt type
rather than to void*.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 20:07:45 +00:00
Julian Smart
5109ae5d17 Improvements to OnIdle processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 16:59:30 +00:00
Vadim Zeitlin
9c64071583 first version of crash reporting code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 02:28:11 +00:00
Julian Smart
92f1a59c28 Use WM_INITMENUPOPUP
Added wxMenu member to wxMenuEvent


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:09:04 +00:00
Mattia Barbon
1b80d34a52 Warning fixes for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:50 +00:00
Vadim Zeitlin
007007c5e4 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:48 +00:00
Vadim Zeitlin
f91e838284 set the containing sizer to NULL when destroying the sizer; this fixes a crash (don't ask me how could it work before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:31 +00:00
Mattia Barbon
fd82f4e6e9 Readd wxStringList::Add when wxUSE_STL=1, for compatibility with
wxUSE_STL=0. Fixed wxPathList double-free reported by Devid Elliot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:34:34 +00:00
Mattia Barbon
8f520a56b7 Added and documented wxColourDatabase::AddColour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:51 +00:00
Julian Smart
7a02658071 Added wxWinceHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:24 +00:00
Julian Smart
882dfc6753 Added net stuff, some fixes to gsock code for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 17:58:22 +00:00
Vadim Zeitlin
f35746ceed fixed wxTempFile::Commit() broken by last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 16:08:54 +00:00
Julian Smart
09785dd38d Fixed menubar on WinCE
Removed some obsolete files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 15:11:00 +00:00
Vadim Zeitlin
8a8c41dd93 fixed incorrect RegOpenKeyEx() usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:18:04 +00:00
Vadim Zeitlin
d80096a2dd fixed a crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:07:01 +00:00
Julian Smart
40b83d2901 Removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 13:39:32 +00:00
Vadim Zeitlin
b4e4abb51c font is only non default if it has non default field values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 12:39:33 +00:00
Vadim Zeitlin
4ed40684b4 fix for a warning when wxUSE_STL == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:28:39 +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
Vadim Zeitlin
b8c253ec50 fix for a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:11:01 +00:00
Julian Smart
471085e408 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 07:06:32 +00:00
Mattia Barbon
89c20ac15c Fix some leaks cause by removing list.DeleteContents calls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:27:53 +00:00
Mattia Barbon
e59a80556e Remove duplicate colour entries.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:24:21 +00:00
Mattia Barbon
22a5055f1f Multilib linking fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:22:22 +00:00
David Elliott
010d343bb2 In the object destructor, leave m_cocoaNSView intact for base class destructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 01:04:47 +00:00
David Elliott
570aaadf1f In the object destructor, Disassociate the object from its Cocoa counterpart
but leave m_cocoaNSView intact so base class destructors can use it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 00:52:50 +00:00
Julian Smart
4cb88a72da More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:10:35 +00:00
Julian Smart
f07dc2e2a7 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:04:34 +00:00
Vadim Zeitlin
52cd14b1c8 [attempt to] fix a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:29:40 +00:00
Vadim Zeitlin
1ab378c03f fix for a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:28:39 +00:00
Julian Smart
f1c75e0f93 Fixed some duff #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:06:00 +00:00
Julian Smart
4676948b68 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Julian Smart
086b3a5b02 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:43:57 +00:00
Stefan Csomor
2cf38c9783 apptraits in line for carbon and mach-o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:17:15 +00:00
Stefan Csomor
d314acc0ba out of memory for strdup handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:16:05 +00:00
Stefan Csomor
5a036f13b3 codewarrior fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:12:43 +00:00
Stefan Csomor
47ac4f9ba1 style creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 19:52:14 +00:00
Vadim Zeitlin
31222b7cfa fixed using arrays as nested classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 19:33:10 +00:00
Vadim Zeitlin
486f0e76c2 removed a :: from WX_CLEAR_HASHMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 19:01:55 +00:00
David Elliott
bac6f2348d Associate/Disassociate now check for non-NULL pointer instead of requiring
the caller to do so.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 17:47:57 +00:00
David Elliott
7d27dcf906 Implement SetValue() and GetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 13:43:57 +00:00
David Elliott
4aa75221eb * Removed BASE_AND_GUI_MAC_SRC. At the moment DARWIN/MAC are identical
(they both have only utilsunx.cpp) and Bakefile needs some work to allow
  more complex conditions before having this separate will be easy.
* Allow wxGTK to be built on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 13:19:48 +00:00
Julian Smart
b1e4e7cc96 Oops, no such function as wxIsascii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:28:11 +00:00
Julian Smart
1c193821a9 More WinCE mods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:21:47 +00:00
Julian Smart
5e9670446a Further WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:15:59 +00:00
Jouk Jansen
8f5a042b12 Committing in .
OpenVMS compile issues

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/generic/listctrl.cpp
 	wxWindows/utils/dialoged/src/winprop.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 10:50:28 +00:00
Stefan Neis
6141773b49 Removed Auto3D variable following other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 23:33:39 +00:00
Vadim Zeitlin
7bb688a899 restored old wxCOMPILE_TIME_ASSERT2 definition as the new one doesn't work with VC6 E&C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 23:15:17 +00:00
Vadim Zeitlin
dfa4a244f0 VC++ warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 22:55:28 +00:00
Vadim Zeitlin
dcc970aff8 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 22:52:43 +00:00
Vadim Zeitlin
e1f448eeef corrected bug with alignment of static labels with GTK 2 (replaces patch 760066; closes bug 759375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 22:32:52 +00:00
Julian Smart
7f0586ef60 Some WinCE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:14:50 +00:00
Mattia Barbon
fc10daf37c wxUSE_STL compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:14:14 +00:00
Mattia Barbon
65c0217e32 Compilation fix for wxUSE_STL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:12:25 +00:00
Mattia Barbon
116270c60a Use correct export directive for multilib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:10:50 +00:00
David Elliott
c0440c7833 Add support for foreground and background colors to DoDrawText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:01:06 +00:00
David Elliott
ed88188933 Implement SetBackgroundMode()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 20:59:27 +00:00
Mattia Barbon
222ed1d678 STL-ification patch for wxMSW and wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:55:12 +00:00
Mattia Barbon
6992d326eb wxSortedArray::Add must return the index of the newly
inserted item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:32:04 +00:00
Mattia Barbon
fcd0c90f75 Missing CHARSET_HANGUL fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:29:55 +00:00
Mattia Barbon
430ff60228 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 19:18:06 +00:00
Vadim Zeitlin
68d4172048 Wait() doesn't cancel the thread any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 17:10:16 +00:00
Vadim Zeitlin
92c8c54e7e trying to fix the bug which results in blocking forever inside Delete()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 16:34:45 +00:00
Vadim Zeitlin
57fd9bb239 fix for IsAlive() called after Kill() or Exit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 16:23:42 +00:00
Vadim Zeitlin
df6f82f048 allow adding/removing columns dynamically (based on patch 763540)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 15:51:47 +00:00
Stefan Csomor
cea9c546c2 added release event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 15:49:57 +00:00
Vadim Zeitlin
501aaa4b72 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 14:50:25 +00:00
Vadim Zeitlin
99e8cb505a GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned this...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 14:06:44 +00:00
Vadim Zeitlin
35cf1ec63c fixes to allow dragging in multiselection tree ctrl (patch 759421)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 13:03:30 +00:00
Vadim Zeitlin
ae8c4b33a3 added state image support (patch 530155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:46:48 +00:00
David Elliott
68a14aeeeb include "wx/toolbar.h" instead of tbar(base|smpl).h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:39:13 +00:00
Vadim Zeitlin
78ee6a4750 added wxThreadHelper class (patch 756906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:36:05 +00:00
David Elliott
0148248250 Use wxGetEmptyString() so the types in the ?: statement are both wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:27:26 +00:00
Vadim Zeitlin
8c7e3f14fb more Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:24:15 +00:00
Vadim Zeitlin
251a8ce858 set string length properly in wxString(p, conv, len) ctor (patch 755593)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:13:49 +00:00
Vadim Zeitlin
50dee7e0eb make string at least empty (instead of containing garbage) if malloc() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:07:53 +00:00
Vadim Zeitlin
286034884f correction to the separators in vertical toolbar after patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:01:15 +00:00
Vadim Zeitlin
53663be8a5 added functions to read/write several elements at once (patch 754986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:47:27 +00:00
Vadim Zeitlin
019abbf209 Unicode fixes (patch 754930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:44:49 +00:00
Vadim Zeitlin
71414756b2 (blindly) fixed header case confusion (replacement for patch 763760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:40:26 +00:00
Vadim Zeitlin
8a000b6b9e added state image support (patch 530155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:16:34 +00:00
Vadim Zeitlin
7ab0c3adb7 keep selected image in sync with the normal one if it hasn't been changed (patch 754906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:04:37 +00:00
Vadim Zeitlin
f9dae7798b added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:53:00 +00:00
Vadim Zeitlin
341baa4c71 use gdk_fontset_load() instead of gdk_font_load() for better Japanese support (patch 698558)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:02:46 +00:00
Vadim Zeitlin
540b6b097f linking fixes and code cleanup after hotkey patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:56:47 +00:00
Vadim Zeitlin
654070ca23 allow wxPopupWindow get the key events (patch 713269)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:55:13 +00:00
Vadim Zeitlin
7ed43a6c7e mention opengl32lib/glu32.lib automatic inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:34:51 +00:00
Vadim Zeitlin
18759f7850 applied an extended version of patch 685795: clean up view [de]activation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:32:35 +00:00
Vadim Zeitlin
427716213f deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:28:34 +00:00
Vadim Zeitlin
2b6d8c00fc (blind) fix for valgrind error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:23:47 +00:00
Julian Smart
5048c832bb Applied patch [ 758687 ] RegisterHotkey implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:16:00 +00:00
Julian Smart
fda7962d02 Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Julian Smart
7f03dc2854 Applied patch [ 762033 ] wxTextValidator crashes when given a NULL wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:21:49 +00:00
Julian Smart
3bb63e5c80 Partially applied patch [ 763900 ] fix for vertical toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:16:00 +00:00
Julian Smart
bf6e8dc931 Applied patch [ 767505 ] BCB6 link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 07:50:57 +00:00
Julian Smart
e5651604ef Applied patch [ 767518 ] BCB6 resource compiler chokes on dialog1.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 07:47:10 +00:00
Vadim Zeitlin
e32f4a9fa9 preliminary implementation of wxEVT_MENU_OPEN/CLOSE for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 01:20:52 +00:00
Vadim Zeitlin
e4b712e245 wxMac doesn't need UseNativeStatusBar hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 01:00:24 +00:00
Vadim Zeitlin
bc92cdf992 no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 00:50:01 +00:00
Vadim Zeitlin
29c99ad359 fixed build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 00:27:26 +00:00
Vadim Zeitlin
7579971933 2 step creation for wxDocMDIChildFrame (patch 661657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:25:27 +00:00
Vadim Zeitlin
0e82bd9614 automatically link with opengl32.lib and glu32.lib when using VC++ (patch 753485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:18:40 +00:00
Vadim Zeitlin
d95525989d added wxSocket::IPAddress() (patch 694119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:15:00 +00:00
Vadim Zeitlin
1f06669822 wxScrolledWindow scrollbar update fix (patch 680427) and MacUpdateImmediately renamed to Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:08:22 +00:00
Vadim Zeitlin
2348a84293 made wxTextInputStream Unicode safe and general cleanup (patch 653775)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:55:57 +00:00
Vadim Zeitlin
ed83150139 oops, compilation fix after applying the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:47:02 +00:00
Vadim Zeitlin
7b4fee4930 we probably don't need crit section in GetTimeZone()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:46:06 +00:00
Vadim Zeitlin
869c75498a added some checks for .mo integrity (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:35:56 +00:00
Vadim Zeitlin
19de4eecd5 select all text initially in the control (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:24:54 +00:00
Vadim Zeitlin
a03c55c13c handle as well as in URLs (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:23:50 +00:00
Vadim Zeitlin
f9133b3200 added support for POST method and alternate ports (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:22:47 +00:00
Vadim Zeitlin
1f1c42109d implement support for returning several elements at once from IEnumFORMATETC (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:12:15 +00:00
Vadim Zeitlin
875c17fa8f ensure that we don't get stuck in modal loop forever (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:03:21 +00:00
Vadim Zeitlin
17a6a662f7 check index in GetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:58:24 +00:00
Vadim Zeitlin
80bd086077 use mask for GIFs (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:56:09 +00:00
Vadim Zeitlin
30ed6e5c89 GetClientData(int n) should be const (part of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:55:04 +00:00
Vadim Zeitlin
997176a346 added missing #include <wx/defs.h> (parts of patch 649438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:48:53 +00:00
Vadim Zeitlin
f9bd9677e8 fixed crash in wxSpinButton (patch 646214)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:38:05 +00:00
Vadim Zeitlin
cda66071f1 VC 7.1 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 21:20:56 +00:00
Vadim Zeitlin
b6ed2b860c attempts to fix separate compilation (didn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:40:00 +00:00
Vadim Zeitlin
2d2d4fc709 test for Mac before Unix as __UNIX__ is defined as well when building wxBase under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:34:51 +00:00
Vadim Zeitlin
b93907ee8a typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:34:29 +00:00
Vadim Zeitlin
71a660a312 removed some stray MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 20:18:20 +00:00
Vadim Zeitlin
69268d6ded initialize wxStrings in initialization list, not ctor body; this is more efficient and incidentally also fixes crash under Mac with gcc 3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 19:58:28 +00:00
Vadim Zeitlin
f85cfb32fa fixed gcc 3.3 compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 19:40:33 +00:00
David Elliott
3a531aebab Don't save and restore the graphics context for color changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:44:33 +00:00
David Elliott
9d180f3ad0 Implement wxWindowDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:38:44 +00:00
David Elliott
7bc429ef0a Implement SetBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:37:18 +00:00
David Elliott
1a94b3d861 wxNullBrush should not be Ok(), and GetNSColor() should return clearColor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:34:42 +00:00
David Elliott
6631a2a562 wxBrushRefData constructor: m_style = style instead of wxSOLID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 18:31:34 +00:00
Julian Smart
5180055b69 OnIdle -> OnInternalIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 17:15:09 +00:00
Julian Smart
74039d33c7 Fixed a crash on initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 15:29:38 +00:00
David Elliott
d630f41d9b Set m_window instead of using wxWindowDC constructor taking a wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 15:26:41 +00:00
David Elliott
fcc9de5478 Store a pointer to the wxWindow in the wxWindowDC class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:56:56 +00:00
David Elliott
55c5be5e47 Avoid paint event recursion when the run loop is restarted inside the paint
event.  Usually for the purpose of showing an assertion dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:24:47 +00:00
Julian Smart
18afa2acbe Removed overloaded DoMenuUpdates function since it duplicated
wxMenu::UpdateUI()
Removed routing of menu commands to focus window under Windows
Added routing of menu commands (but not UI updates, for
efficiency reasons) to wxMenuBar before sending to frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:20:30 +00:00
David Elliott
63ad74ab2d Remove check for other wxPaintDCs. It should be done in wxWindow instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:10:53 +00:00
Julian Smart
e6d822952f Added cast to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 12:41:58 +00:00
Julian Smart
3c9676eabf Fixed missing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 11:00:40 +00:00
Julian Smart
e39af974ef - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
  user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
  sends wxUpdateUIEvents, and can be overridden. It has a helper function
  DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
  CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
  determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
  styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
  about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
  accelerators don't always get called since menu items may still
  be disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
50b27824da compilation warning fixes (patch 625810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:19:01 +00:00
Vadim Zeitlin
a647d42abc added support for wxALWAYS_SHOW_SB (finally closes patch 410865 -- first still opened...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:14:02 +00:00
Vadim Zeitlin
35821d8fe0 deprecated and removed from our code GetUseCtl3D()/TransparentBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:02:14 +00:00
Vadim Zeitlin
b0cb01589f warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:55:59 +00:00
Mattia Barbon
3e49e57746 More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:52:30 +00:00
Vadim Zeitlin
44c2d8d0f3 mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:48:14 +00:00
Mattia Barbon
375894195f More MSVC fixes .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:24:26 +00:00
Vadim Zeitlin
44383ef7c6 got rid of (unused since a long time) wxNO_3D and wxUSER_COLOURS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:23:54 +00:00
Václav Slavík
036933194c fixes to wxHTML selection code: corrected mouse navigation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:11:59 +00:00
Mattia Barbon
c514cd532c Blind fix for MSVC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:07:59 +00:00
Mattia Barbon
360b63dd32 Morec ompilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:58:01 +00:00
Vadim Zeitlin
d5d58a93c3 renamed wxScrollHelper::GetRect() to GetScrollRect() to avoid conflicts with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:17:56 +00:00
Václav Slavík
510b9edbb6 standardized WXMAKINGDLL approach
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:47:17 +00:00
Václav Slavík
7da09e52ec added fl bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:46:43 +00:00
Mattia Barbon
a6abcf2ef8 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:41:48 +00:00
Václav Slavík
ec64c74532 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:34:04 +00:00
Mattia Barbon
6c44548a8f Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 20:25:26 +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
Václav Slavík
0598fd99db fixed DLL building bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:18:08 +00:00
Václav Slavík
09a3edeb9f added animate bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:17:11 +00:00
Václav Slavík
102174443d fixed animate in Unicode mode and removed use of deprecated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:12:02 +00:00
Václav Slavík
54007a983a added animate contrib bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:09:57 +00:00
Václav Slavík
a4174c8674 added animate contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:08:08 +00:00
Václav Slavík
b87dd6f51e much better looking selection of justified paragraphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 18:44:34 +00:00
David Elliott
35c1cfdda1 wxBITMAP now uses XPM constructor for wxCocoa (like everything except wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:59:51 +00:00
David Elliott
92e8d01997 wxCocoa: allow wxUSE_NUMBERDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:36:19 +00:00
David Elliott
a58a661464 Position the status bar properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:09:15 +00:00
Václav Slavík
67bbb91038 removed gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 12:00:42 +00:00
Robert Roebling
2b904684fb Added Theme patch.
Upported mouse click detection change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:26:04 +00:00
Robert Roebling
865864592a Corrected wxTreeCtrl and wxListCtrl end_label_edit event behaviour.
wxListCtrl doesn't send this event when the editing was cancelled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:24:52 +00:00
Vadim Zeitlin
aaaa609fa3 backport wxListCtrl::Refresh() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:20:42 +00:00
Vadim Zeitlin
2f1e3c464c Refresh() didn't work as it wasn't passed to subwindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:19:10 +00:00
Robert Roebling
3a97d2db67 Upported mouse click detection change for wxChoice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:18:42 +00:00
Václav Slavík
7244675df4 helpbest is MSW-only and init.h was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:58:58 +00:00
Václav Slavík
36b72b47ad helpbest is MSW-only and init.h was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:46:21 +00:00
David Elliott
c3b0c2c3dc Use NSColor from wxColour and wxBrush
#if 0 the bounding box drawn around all text (which was for testing)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 18:56:27 +00:00
David Elliott
f162a33801 First hack at wxBrush for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 18:53:00 +00:00
Julian Smart
0b30bb0bda Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Vadim Zeitlin
f65a450a11 document the functions sending page changing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:59:15 +00:00
Vadim Zeitlin
d9f7c16d4d compilation fix (extra semicolon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:58:52 +00:00
Vadim Zeitlin
a400a8230f warning (in Unicode only) fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:42 +00:00
Vadim Zeitlin
0acfb5bd66 added wxEntry(char **) declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:22 +00:00
Vadim Zeitlin
9b9d4651ae mention that OnInit/Exit() should be used instead of wxApp/~wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:14:19 +00:00
Václav Slavík
0d8dda3216 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:56:16 +00:00
Václav Slavík
c1eb13891f caret.cpp was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:52:22 +00:00
Václav Slavík
56fae7b8f5 compilation fix for #ifdef __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:33:02 +00:00
Václav Slavík
41524ffcc6 applied modified UTF-8 locales patch (766893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:28:44 +00:00
Václav Slavík
95318f7df2 configure didn't define __WXDEBUG__, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:05:16 +00:00
Vadim Zeitlin
a03cac3f78 don't east 100% of CPU when showing popup menu (patch 762500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:26:19 +00:00
Václav Slavík
ee5749a6c1 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:08:57 +00:00
Václav Slavík
0ca0570d33 regen XRC makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:01:27 +00:00
Václav Slavík
b7b7d2c79a updated main makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:41 +00:00
Václav Slavík
6c974d0b05 don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:01 +00:00
Václav Slavík
3560dc761f added ability to build contrib samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:47:37 +00:00
Václav Slavík
4b53b01300 added xrcdemo bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:19:27 +00:00
Vadim Zeitlin
e8e4025d1b check for wrong wxID_OK usage (patch 758388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:00:28 +00:00
Vadim Zeitlin
b19d494be1 documented Fit() brokenness if sizers are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:54:08 +00:00
Václav Slavík
df3dc50b64 don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:53:05 +00:00
Václav Slavík
52de10ef15 don't delete samples datafiles, it may be dangerous
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:51:34 +00:00
Vadim Zeitlin
fdd55287d8 forward ported patch to IsEditable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:43:00 +00:00
Vadim Zeitlin
01c6f3724e send more page change events (patch 750521); document this behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:40:59 +00:00
Vadim Zeitlin
65bc172c97 implemented GetDefaultBorder() in wxControl, override it in some controls which don't want to have sunken style by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:35:32 +00:00
Vadim Zeitlin
b2644cc3cc compilation fix (extra semicolon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:33:35 +00:00
Vadim Zeitlin
aede4ebb26 added GetBorder(flags)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:17:30 +00:00
Vadim Zeitlin
36b721632e wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:13:00 +00:00
Vadim Zeitlin
e450aa692b wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Vadim Zeitlin
ae79d31557 applied a patch to prevent another IsDialogMessage() hang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 19:43:14 +00:00
Vadim Zeitlin
13e4c4d981 use HWND in tracing messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 19:14:19 +00:00
Václav Slavík
c74dc1630d don't link wxBase against GUI libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 18:55:09 +00:00
Julian Smart
fa10c70ceb Added wxHtmlPrintout::AddFilter so the same filters used for
viewing HTML can be used for printing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:52:42 +00:00
Václav Slavík
7af0846427 wxConvGdk is not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:24:51 +00:00
Václav Slavík
21a94f3018 don't link wxBase against GUI libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:23:14 +00:00
David Elliott
d89d4059c8 Fixed some fields in the file header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:55:59 +00:00
David Elliott
cf923a86cd Remove finishLaunching method which called wxTheApp->OnInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:54:17 +00:00
Václav Slavík
fd497edead compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:54:15 +00:00
Václav Slavík
991023b473 reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:46:32 +00:00
Václav Slavík
f3965110d2 where did this file disappear? added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 16:38:07 +00:00
Václav Slavík
817534abfd fixed USER_EXPORTED_ARRAY macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 15:56:30 +00:00
Václav Slavík
7a2102a813 include EXTRACFLAGS only once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 12:05:51 +00:00
Vadim Zeitlin
68559fd50e fix for VC++ warnings about missing macro arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 00:02:25 +00:00
Vadim Zeitlin
9bf41e06ca added wxMAKE_UNIQUE_NAME to wx/defs.h, use it in wx/debug.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:32 +00:00
Vadim Zeitlin
c66cca2af0 added wxScopeGuard; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:56:08 +00:00
Václav Slavík
ad20b0b300 removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 23:14:08 +00:00
Václav Slavík
b1c331c58e added wxHTML bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:43:15 +00:00
Václav Slavík
b1169abb83 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:39:53 +00:00
Václav Slavík
77edbddb66 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:30:20 +00:00
Vadim Zeitlin
dc483f61b0 some float -> int conversion warnings suppressed (but I wonder if this is really the right thing to do?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:26:16 +00:00
Václav Slavík
c4c8eb79f9 added wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 22:18:10 +00:00
Václav Slavík
3fc387163d link against wxHtml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 21:15:19 +00:00
Václav Slavík
64a2a46fc6 call wxBase built as part of wxMac wxbase_carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 21:08:03 +00:00
Václav Slavík
dc838d98f1 removed some obsolete parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:58:15 +00:00
Václav Slavík
55826fcf4f adde wxSTC bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:50:46 +00:00
Václav Slavík
d78c94f200 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:45:00 +00:00
Václav Slavík
0689c79e4e added wxLC_VIRTUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:39:01 +00:00
Václav Slavík
fce7f77fc4 added wxSTC bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:38:01 +00:00
Stefan Csomor
5fe384748c changed Remove to RemoveAt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:48:05 +00:00
Stefan Csomor
2bb1e1f476 moved c-runtime functions for CW here, only add strdup for MSL versions prior to PRO 8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:47:07 +00:00
Stefan Csomor
56f69d54fa moved c-runtime functions for CW to wxchar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:46:22 +00:00
Václav Slavík
5646c3f82d fixed bug in previous commit: WXTOPDIR not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:21:29 +00:00
Václav Slavík
3fe8bc147c regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 18:46:46 +00:00
Václav Slavík
b714ea8acc regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 18:39:59 +00:00
Václav Slavík
31009f332b added watcom makefiles; smaller build/bakefiles/Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 18:33:22 +00:00
Václav Slavík
02980527a0 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 17:54:54 +00:00
Václav Slavík
a7140600c9 removed WXUSINGDLL_FOO, one WXUSINGDLL is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 17:11:57 +00:00
Václav Slavík
ed4c6c69a9 modules don't have to be exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 17:03:01 +00:00
Václav Slavík
0c2f35dc94 DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 16:58:34 +00:00
Václav Slavík
bc5573b112 DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 16:49:37 +00:00
Václav Slavík
e433504316 workaround a Watcom build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:35:32 +00:00
Václav Slavík
344ca5315d define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
compilers because both of them use w32api


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:01:13 +00:00
Václav Slavík
ac776ec973 define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
compilers because both of them use w32api


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:50:26 +00:00
Václav Slavík
149cc21856 ...and so must 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:25:35 +00:00
Václav Slavík
227a985574 fixed installation of wxHTML headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:24:12 +00:00
Václav Slavík
5e3746dc75 samples must use same settings as the libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:19:41 +00:00
Václav Slavík
96b9e9b39c removed redundant app-type tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:05:09 +00:00
Vadim Zeitlin
192a6c88dc bring base class AddFile()s in scope manually, without using 'using'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 23:49:58 +00:00
Vadim Zeitlin
3943f86765 regenerated after Mattia's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 23:15:04 +00:00
Vadim Zeitlin
2baf627208 test multiple extensions in wxDocTemplate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 23:12:11 +00:00
Václav Slavík
42bf837cea fix monodll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 22:50:06 +00:00
Mattia Barbon
fc599dde5d Blind bakefile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 21:23:19 +00:00
Mattia Barbon
ddf5de5b46 Applied first part of Roger Gammans' wxHashMap patch: reduce
number of value_type() constructor calls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 21:22:05 +00:00
Vadim Zeitlin
7764f97370 fixed crash in wxExecute() introduced during base/GUI split
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 20:08:56 +00:00
Vadim Zeitlin
45a8135252 quick fix for Unix build (upper cased builtin, this should be done in bakefiles, of course...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 20:06:21 +00:00
Stefan Csomor
c3a05e8a57 trying to avoid unneccessary redraws by not invalidating areas for windows that are not shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:59:34 +00:00
Stefan Csomor
7434de7498 flag removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:57:37 +00:00
Stefan Csomor
536732e482 app traits support and CW Debug output fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:57:03 +00:00
Stefan Csomor
a3b83a5137 new files added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:55:32 +00:00
Stefan Csomor
e0ebbbd9e9 pid removed from temp file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:54:31 +00:00
Stefan Csomor
0ff5799aca debug output for CW corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:53:21 +00:00
Stefan Csomor
5e0d7b6bce pc 2 mac conversion for file operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:52:34 +00:00
Stefan Csomor
22cf5eef64 apptraits for wxMac classic and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:47:59 +00:00
Stefan Csomor
4367345099 path translation (umlauts) added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:46:44 +00:00
Stefan Csomor
41f12fa982 wxMac (classic & carbon) support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:46:11 +00:00
Václav Slavík
3b20263dbd added Mingw makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:36:51 +00:00
Václav Slavík
2621ddf3f2 added XRC makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:32:13 +00:00
Václav Slavík
0706fb236c regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:40:50 +00:00
Václav Slavík
c6488584c8 "oldnames" library is not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:19:59 +00:00
Václav Slavík
4460b6c48b fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:18:11 +00:00
Václav Slavík
40a8832891 fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:08:53 +00:00
Václav Slavík
36758fc6a5 added wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:07:25 +00:00
Václav Slavík
1fa9e5bc44 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:06:18 +00:00
Václav Slavík
687dcff3a4 added wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:03:29 +00:00
Václav Slavík
e6978d5b4d call base library in multilib build e.g. wx25base_bcc, not wx25_base_bcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 17:21:42 +00:00
Václav Slavík
c5c570b934 define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined on command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 17:04:02 +00:00
Václav Slavík
65fb1c1160 extra flags for Mingw if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 16:58:02 +00:00
Václav Slavík
73f40bef60 libjpeg needs to include wx/setup.h when compiled w/ gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 16:33:38 +00:00
Václav Slavík
c3b14ba4f7 fixed location of dummy.cpp, so that contrib makefiles can use it as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 16:23:55 +00:00
Václav Slavík
2e1a466fcb 1. added Mingw makefiles
2. fixed building of contrib libraries


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 16:19:07 +00:00
Václav Slavík
4765217040 added phony target setup_h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 14:59:11 +00:00
Václav Slavík
bdb03aa978 don't use "objs_" prefix for object directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 14:57:46 +00:00
Václav Slavík
3af038c0dc regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 14:03:07 +00:00
Václav Slavík
9c859e43d7 multilib linking fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:45:12 +00:00
Václav Slavík
3e89eafb7c dll fixes, prefix fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:43:09 +00:00
Václav Slavík
30dc34551b fixes for MSW/DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:33:42 +00:00
Václav Slavík
a903585074 moved helpbest and htmllbox to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:04:27 +00:00
Václav Slavík
6acba9a719 fixes for moving wxHTML files into their own DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:04:05 +00:00
Václav Slavík
bb24c68f35 compilation fixes for multilib/DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:00:07 +00:00
Jouk Jansen
f66a3db9d1 Committing in .
include init.cpp in make procedure for OpenVMS

 Modified Files:
 	wxWindows/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 11:05:44 +00:00
Mattia Barbon
fd3f01603a wxArrayString::Sort(bool) not deprecated (yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 09:01:46 +00:00
Mattia Barbon
d4c92f55d4 Updated wxArrayString documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 22:01:56 +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
Mattia Barbon
2ea4a2f552 GCC 2.95.3 compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:54:50 +00:00
Mattia Barbon
62809cbcb0 Blind bakefile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:54:09 +00:00
Vadim Zeitlin
aa4b42f0b7 fixed a typo in IsExposed, put SetValidator in correct (in alpha order) place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 19:12:55 +00:00
David Elliott
7796b3d660 Added GetNSColor() accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 17:59:52 +00:00
David Elliott
d318df4bbb Provide empty stubs for constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 17:51:08 +00:00
Vadim Zeitlin
4827630066 workaround BCC bug resulting in E2233 when building the DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 16:43:16 +00:00
Julian Smart
486c8bdfc9 Removed duplicate wxTrace functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:47:28 +00:00
David Elliott
47f1ad6a71 Provide NSAutoreleasePool instances during initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:36:09 +00:00
David Elliott
7fbc89bb02 Added CallOnInit() which allows the toolkit (wxCocoa) to do a bit of
processing around the real OnInit() call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 15:32:11 +00:00
Václav Slavík
eee614d37e fixed compilation of multilib dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 13:25:58 +00:00
Vadim Zeitlin
a8f12b67c4 fix for base class AddFile visibility and DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 13:06:21 +00:00
Vadim Zeitlin
7843d11bdc removed static methods from wxAppTraitsBase, this doesn't work well in non-monolithic DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 12:42:14 +00:00
Václav Slavík
ee2b827101 include system directory explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 11:35:37 +00:00
Václav Slavík
ec6ac3eb94 this is nasty but required compilation fix, otherwise we get dllimport/dllexport mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 11:04:03 +00:00
Václav Slavík
7af1b53999 another compilation fix for multilib DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 10:45:11 +00:00
Vadim Zeitlin
f6e7cd0a19 fixed comment and docs for GetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 09:58:36 +00:00
Vadim Zeitlin
90e3949c04 use GetSize() instead of deprecated StreamSize() in the examples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 09:56:57 +00:00
Vadim Zeitlin
b9e19bd943 added recent new files (still can't run bakefile to regen the makefiles though...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 01:24:51 +00:00
Václav Slavík
6f6280738e regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:52:47 +00:00
Václav Slavík
0d46ad252f regen MSVC makefiles, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:40:30 +00:00
Robin Dunn
1fded56b37 wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:13:10 +00:00
Václav Slavík
e234d4c9b7 added visual c++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 22:44:32 +00:00
Václav Slavík
84955c7cab 1. updated borland makefile
2. added visual c++ makefile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 22:39:26 +00:00
Václav Slavík
cb8bbc1325 more #defines, libraries and precompiled headers work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 22:29:29 +00:00
Mattia Barbon
7219fc4f39 Borland (5.5) compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 21:39:49 +00:00
Mattia Barbon
d546eba94e Check for null pointer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 21:04:24 +00:00
David Elliott
28ce308659 Removed Vadim's comment. Added comment explaining when posing can be done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 20:54:50 +00:00
David Elliott
87d77923a6 Removed conflicting wxEntry prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 20:48:29 +00:00
David Elliott
462bc04863 It was not acceptable to call the class method from the static initializer
because it caused the load and initialize methods to be called.  Some of the
load and initialize methods used autorelease which would lead to warnings
about memory leaks (true, though very benign).
This version delays all Objective-C calls until InitializePosers().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 20:46:34 +00:00
David Elliott
fd8668e46b Changed BASE_DARWIN_SRC to match BASE_UNIX_SRC
Removed $(BASE_UNIX_SRC/HDR) from COCOA_LOWLEVEL_SRC/HDR


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 19:46:13 +00:00
Mattia Barbon
7abde9c65a Remove now unneeded header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:19:15 +00:00
Mattia Barbon
dc6d5e38c0 More COMPATIBILITY_2_4 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:18:13 +00:00
Mattia Barbon
3d74ef6a28 Blind bakefile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:13:31 +00:00
Mattia Barbon
f526f7526b Quick and dirty fix for building with COMPATIBILITY_2_4 off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 17:11:19 +00:00
Václav Slavík
c04b9739f6 fixed: makefile.bcc was wrongly generated when bakefile ran on unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 15:51:53 +00:00
David Elliott
622dca25c3 src/mac/corersrc.r is in $(top_srcdir) not ".."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 15:29:44 +00:00
Julian Smart
394285343b Fixed ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:45:49 +00:00
Václav Slavík
3d97f1823a reverted previous change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:01:44 +00:00
Václav Slavík
fd24237519 fixed to make wxBase DLL compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 12:50:48 +00:00
Václav Slavík
3d41c70801 don't required all WXMAKINGDLL_FOO defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:59:14 +00:00
Václav Slavík
81659205e3 support for building multilib DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:56:47 +00:00
Julian Smart
b85b77ae2f Removed BC++ hidden virtual function warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:44:24 +00:00
Vadim Zeitlin
3e3be693d0 got rid of wxBuffer (finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 02:09:44 +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
Václav Slavík
9feb77164b preparing for fix to OSX problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 23:40:37 +00:00
Václav Slavík
4574209d7a added wx_sample_console
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 21:50:34 +00:00
Václav Slavík
7dbc8e4f9c console sample is not GUI app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 21:49:47 +00:00
Václav Slavík
44404ecd1d Borland C++ makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:37:01 +00:00
Vadim Zeitlin
815ac4a7d9 init more (all?) member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:18:43 +00:00
Mattia Barbon
b3dfbbc910 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:02:59 +00:00
Václav Slavík
d5c22e0757 fixed duplicate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 19:26:26 +00:00
Vadim Zeitlin
075131fda6 added initloc.h to, removed timer.h from base headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 17:40:06 +00:00
David Elliott
dcc7f39c44 Declare wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 17:19:15 +00:00
Vadim Zeitlin
002568cc7f documented wxUSE_GUI/BASE and __WXBASE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 14:48:27 +00:00
Vadim Zeitlin
648762b1b4 removed WXDLLEXPORT_CTORFN (was always empty anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 14:42:49 +00:00
Václav Slavík
7340bea24f fix multilib compilation on windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 13:29:58 +00:00
Václav Slavík
15b44c69ab dependencies fixes
define __WXDEBUG__ and wxUSE_UNICODE on Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 13:26:33 +00:00
Václav Slavík
6f53cd7c9e no EXTRALIBS on windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 13:20:57 +00:00
Václav Slavík
580ac8cb57 fixed $(top_srcdir)// bug, should be $(top_srcdir)/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:53:02 +00:00
Vadim Zeitlin
005b5298e4 suppress warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:39:08 +00:00
Vadim Zeitlin
5b0040077d fixed crash on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:30:39 +00:00
Vadim Zeitlin
9bb1b05540 removed unused method declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:29:25 +00:00
Vadim Zeitlin
cd478a9509 GetOsVersion() is now wxGUIAppTraits method instead of a global function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:23:45 +00:00
Vadim Zeitlin
70dc287a39 removed wxFunction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
b28b097d59 added Bulgarian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 11:42:35 +00:00
Václav Slavík
4d11f6cad1 oops, this doesn't belong there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 09:01:27 +00:00
Václav Slavík
7b11429dc3 fixed include paths to our copies of 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 08:48:34 +00:00
Vadim Zeitlin
ea28b8853b fixed VC++ warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 00:33:20 +00:00
Vadim Zeitlin
150cb19558 fixed Unicode compilation and run-time problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 00:29:47 +00:00
Václav Slavík
80c29153f2 fixed incorrect wxUniv rules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 00:21:47 +00:00
Václav Slavík
b94026a0cb fix dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 00:09:57 +00:00
Václav Slavík
6c6df83a3e fix dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 23:46:11 +00:00
Vadim Zeitlin
81345eef34 regenerated with autocofn 2.57
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:53:38 +00:00
Vadim Zeitlin
b2e972ec6c added missing #include bitmap.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:38:17 +00:00
Václav Slavík
caad671d5e moved more files to wxBase for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:36:22 +00:00
Václav Slavík
71bdc994d4 bakefile fixes for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:34:27 +00:00
Václav Slavík
8021038362 moved more files to wxBase for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:21:14 +00:00
Václav Slavík
71e83a03e5 fix to shared libs name on nonwin32 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:05:10 +00:00
Václav Slavík
b5fe69248a fixed missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 22:01:31 +00:00
Vadim Zeitlin
13bdd545fb we can't declare WinMain() with other arguments using Borland, revert to including windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:49:00 +00:00
Václav Slavík
6b7cbde472 fix to shared libs name on nonwin32 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:44:07 +00:00
Václav Slavík
cff5df9f18 making windows compilation work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:41:29 +00:00
Václav Slavík
b00786ec12 added init.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:39:58 +00:00
Vadim Zeitlin
0fcbaf23fd include init.h as wxEntry is supposed to be declared here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:39:25 +00:00
Václav Slavík
9a4c649ea2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:22:18 +00:00
Vadim Zeitlin
7e7d30dae4 removed old wxEntry() declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:14:06 +00:00
Vadim Zeitlin
6abf9dacb0 removed old wxEntry declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 21:01:48 +00:00
Vadim Zeitlin
abca8ebff1 small wxGTK compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:33:30 +00:00
Václav Slavík
4f4a180e21 added init.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:30:38 +00:00
Vadim Zeitlin
55e90a2ea9 added empty Init/CleanUpStandardHandlers() for compatibility with the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:11:23 +00:00
Vadim Zeitlin
05e2b077c6 more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Václav Slavík
712589478e fixed location of mac resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:44:43 +00:00
Vadim Zeitlin
9482617091 extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Robin Dunn
041973c55e Check for and allow zero length files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 17:37:34 +00:00
Václav Slavík
7142ac377a fixed missing rules for tif_unix.c on Mac and other manifestations of the same bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 16:14:18 +00:00
Václav Slavík
4c8b7f4b2d another fix to bk-deps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 15:35:37 +00:00
Julian Smart
97e1d37c96 Documented event sink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 13:35:55 +00:00
Julian Smart
65b17727e6 Added optional event sink for use with dynamic event tables
Removed comments and commented-out code re. focus window processing
from wxToolBarBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 13:11:51 +00:00
Jouk Jansen
d48568a5ec Committing in .
fix for new getosversion procedure.

 Modified Files:
 	wxWindows/src/motif/descrip.mms wxWindows/src/motif/utils.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 12:56:42 +00:00
Jouk Jansen
04272d5883 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/descrip.mms wxWindows/src/unix/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 10:35:08 +00:00
Vadim Zeitlin
db882c5431 added wxCRIT_SECT_DECLARE_MEMBER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 01:18:10 +00:00
Václav Slavík
adb4b1488a regenerated: smaller makefiles with new bakefile version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 23:25:27 +00:00
Vadim Zeitlin
5455e22751 added release()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 15:44:08 +00:00
Stefan Neis
86c7378f32 Applied Patch 760644 (wxGrid SetTable uses deleted wxGridTable).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 15:18:46 +00:00
Vadim Zeitlin
789bdf9b18 documented wxIsMainThread() and other thread-related stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:52:16 +00:00
Vadim Zeitlin
12b55afaf3 corrected link in see also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:51:42 +00:00
Vadim Zeitlin
17dbd23000 added wxIsMainThread()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:51:17 +00:00
Václav Slavík
f0290fcacd oops, partially reverted previous commit, it was incorrect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:25:45 +00:00
Václav Slavík
fddeb06b11 use CODE_GEN_FLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 09:17:26 +00:00
Václav Slavík
fcf61db4d1 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:43:30 +00:00
Vadim Zeitlin
a03675d9ba compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:39:13 +00:00
Vadim Zeitlin
22f69dd493 we don't need to include wx/mac/private.h, at least under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:35:07 +00:00
Vadim Zeitlin
2ba721aa6c fix for compiling in wxUSE_GUI == 0 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:32:06 +00:00
Václav Slavík
4fc5f50932 naming convention fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:03:46 +00:00
Václav Slavík
8ee2dd0536 more bakefile optimalizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:02:14 +00:00
Václav Slavík
f1a004eb19 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:02:10 +00:00
Vadim Zeitlin
66feaf3bbf fix for comparison bug in GetHeader()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 23:40:29 +00:00
Mattia Barbon
695578271d Stop GCC from complaining about unhandled enumeration values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 20:56:40 +00:00
Václav Slavík
d8f97a0c52 MacOS X fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 17:18:46 +00:00
Václav Slavík
baa6e1d6a8 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 16:08:36 +00:00
Václav Slavík
bbc1cf3fd4 missing libbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 16:07:49 +00:00
Václav Slavík
b625909cd6 samples/console is buildable as part of multilib, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 15:59:01 +00:00
Václav Slavík
f95cd8fab8 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 15:06:43 +00:00
Václav Slavík
fd3880a72e don't create samples/autoconf_inc.m4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 15:00:23 +00:00
Václav Slavík
d974277526 fixed dll extension when crosscompiling for win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 14:33:31 +00:00
Václav Slavík
8a7c93a384 libgdi32.a is not included in console apps by mingw, but we required it in wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 14:23:59 +00:00
Václav Slavík
c7dfb5bb48 upstream fixes in bakefile's handling of mutually exclusive targets with same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 14:14:22 +00:00
Václav Slavík
5ab5f2a3dc typo fix (bakefile needs error checking...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 13:52:55 +00:00
Vadim Zeitlin
1d6a432423 fixed fatal crash in Create() after my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 13:12:00 +00:00
Václav Slavík
6fd9f0a474 wxUSE_BASE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 13:10:36 +00:00
Václav Slavík
827f829c6b fixed libtiff build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:34:54 +00:00
Václav Slavík
e292124a6b libtiff build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:34:02 +00:00
Václav Slavík
c15d9c859c fixed linker errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:33:09 +00:00
Vadim Zeitlin
2bf2d09ed0 replaced wxGetOsVersion() with wxGUIAppTraits::GetOSVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:23:27 +00:00
Vadim Zeitlin
a40af6f957 fixed unused variable warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:21:09 +00:00
Vadim Zeitlin
a905235eb0 fixed sscanf() format string typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:59:02 +00:00
Václav Slavík
dffbab5eca use BASE_UNIX_SRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:54:40 +00:00
Vadim Zeitlin
166263e652 don't generate makefiles for the samples which don't build in current configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:49:34 +00:00
Vadim Zeitlin
9de9b8f0fc don't output strange "base (hosted)" message when not cross-compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:39:19 +00:00
Vadim Zeitlin
6c3e36af8f only configure programs which compile without GUI when building wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 11:34:41 +00:00
Stefan Csomor
a5c1f8ca21 function key support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 06:59:30 +00:00
David Elliott
31d20b589d Added more generic implementation files to wxCocoa files list
FIXME: Update list of header files
Added all of the UNIX implementation files
FIXME: Make this use the base UNIX list of files (like any other UNIX port)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 04:12:18 +00:00
David Elliott
e7f11f60d0 include "wx/setup.h" before testing for wxUSE_SLIDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 04:05:25 +00:00
David Elliott
a631300cb8 Added wxGUIAppTraits::GetOSVersion() implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 04:03:11 +00:00
Václav Slavík
498368e9e4 fixed stupid bug - failure to generate samples/makefile.bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 23:57:25 +00:00
Václav Slavík
cbdf98e37b fixed command line arguments order problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 23:48:31 +00:00
Václav Slavík
09d2927055 needs wxbase, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 23:47:43 +00:00
David Elliott
c7b296c2f9 Removed wxGetOsVersion stub. It's now handled by utilscmn.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 23:40:06 +00:00
Václav Slavík
546a7e42a2 it's the other way around..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 23:24:12 +00:00
Václav Slavík
6b9d41a5ea bk-deps fixes and win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:59:09 +00:00
Václav Slavík
4d2efb51e6 fixed linking against 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:55:22 +00:00
Václav Slavík
f5f530fd9f added Borland C++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:53:57 +00:00
Václav Slavík
82cb028026 different name for release and debug build of third party libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:29:07 +00:00
Vadim Zeitlin
497b8e091e added RefreshItem[s]()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:15:05 +00:00
Václav Slavík
cdc0282e61 1. more borland work
2. added optimization and debug info flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 19:22:12 +00:00
Václav Slavík
4843dc4cda misc win32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 13:47:59 +00:00
Václav Slavík
4cd612f944 install setup.h before compiling on windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 13:41:21 +00:00
Václav Slavík
468375fe69 fixed linking against builtin 3rd party libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 13:38:27 +00:00
Václav Slavík
332cc656f3 1) Added INC_FOO variable with include directory for 3rd party libraries
2) Don't compile ODBC on Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 13:25:11 +00:00
Václav Slavík
42d54220ee compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 10:09:19 +00:00
Václav Slavík
e6b02f3f26 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 09:59:00 +00:00
Václav Slavík
60ab32727e compilation fix for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 09:57:43 +00:00
Václav Slavík
9cce3be7ae Windows compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 09:55:13 +00:00
Václav Slavík
66fc790841 changed WXTOPDIR definition to not begin with /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 09:32:58 +00:00
Vadim Zeitlin
2739d4f052 moved GetOSVersion() to the base traits class; implement it in platform-specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:16:04 +00:00
Vadim Zeitlin
18f0a2c5aa TryParent()/ProcessEvent() were included in both base and GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:07:05 +00:00
Vadim Zeitlin
ec67cff1f6 __WXBASE__ -> wxUSE_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 23:46:00 +00:00
Václav Slavík
882b369df3 CR/LF fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 22:16:20 +00:00
Václav Slavík
eefdc53ac7 preliminary work on borland bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 21:30:40 +00:00
Václav Slavík
5f0ccb412e fixed dependency tracking if . not in PATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 21:17:51 +00:00
Václav Slavík
846704576c build event.cpp into both wxBase and wxGUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 21:17:16 +00:00
Julian Smart
5c2e937699 Removed 16-bit conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:47:47 +00:00
Julian Smart
9c110148e8 Corrected small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:29:33 +00:00
Julian Smart
aaace8739a Removed WIN16 references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:26:34 +00:00
Julian Smart
b073db94f2 Removed obsolete code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 17:10:14 +00:00
Vadim Zeitlin
1e0af0bcda added EstimateTotalHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 15:39:24 +00:00
Julian Smart
ae500232a4 Added m_ prefix to wxColourData and wxFontData members for consistency.
Fixed some typos in comments.
Fixed wizard constructor doc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:15:12 +00:00
Vadim Zeitlin
22c2307c2b pass event to validators fisrt, before using the dynamic event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:00:56 +00:00
Vadim Zeitlin
8b655af19d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 12:45:18 +00:00
Chris Elliott
df2309bac7 remove conflicts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 11:22:50 +00:00
Vadim Zeitlin
034957673c changing the number of items in wxHtmlListBox should flush the cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 10:05:13 +00:00
Vadim Zeitlin
2887179b1f compilation fixes for separate build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 01:14:22 +00:00
Vadim Zeitlin
d6045bb81d compilation fix for wxGUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 01:10:41 +00:00
Vadim Zeitlin
4caf847c87 got rid of wxEvtHandler::m_isWindow, use virtual functions (overridden in wxWindow) instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 00:44:55 +00:00
Vadim Zeitlin
3ed2104c99 some more #if wxUSE_BASE (but still not enough)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 23:50:35 +00:00
Vadim Zeitlin
5fb98c22c2 extracted wxStopWatch and global timer functions in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 23:49:45 +00:00
Václav Slavík
21c557b8f4 added stopwatch.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 23:27:59 +00:00
Gilles Depeyrot
12aec44572 corrected resource file compilation command for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 20:12:33 +00:00
Václav Slavík
86ec293520 no need for --enable-soname anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:54:06 +00:00
Václav Slavík
1936dc8b29 more fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:50:04 +00:00
Václav Slavík
50d11be16b new dependencies tracking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:43:11 +00:00
Václav Slavík
c656b78389 new dependencies tracking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:27:50 +00:00
Václav Slavík
3e03bdd85f use MacOS X resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:07:02 +00:00
Václav Slavík
2df276eaac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:02:37 +00:00
Václav Slavík
acf38e5f19 added gizmos makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:48:54 +00:00
Václav Slavík
bce78bdc42 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:44:11 +00:00
Václav Slavík
d1d83c9b7d blind wxCocoa fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:31:51 +00:00
Václav Slavík
47f9586840 top_builddir is part of bakefile now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:30:52 +00:00
Václav Slavík
49b0a3aad9 new dependency tracking from bakefile cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:14:32 +00:00
Roger Gammans
a1c7887200 correct documentation for wxEVT_GRID_SELECT_CELL and wxEVT_GRID_CELL_CHANGE
events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 17:33:22 +00:00
Václav Slavík
af84819372 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 17:08:01 +00:00
Václav Slavík
47e4384c75 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 16:35:43 +00:00
Václav Slavík
8d8bc1bd41 split log.h into GUI and base parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 16:34:19 +00:00
Václav Slavík
e86e15224d many changed to enable multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 16:29:51 +00:00
Václav Slavík
7e8c564c1a split log.h into GUI and base parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 16:28:47 +00:00
Václav Slavík
aa855785a9 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:33:22 +00:00
Václav Slavík
4b1e57eb35 regenerated makefiles, with support for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:23:46 +00:00
Václav Slavík
9747f85dad regenerated makefiles, with support for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:13:17 +00:00
Václav Slavík
60c0a8dbf4 fixes to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 15:09:05 +00:00
Václav Slavík
2de5a6ee23 moved AddFile(wxImage) to GUI part of library, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:59:02 +00:00
Václav Slavík
08b3ac36d9 find available samples, demos and contribs at runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:52:07 +00:00
Václav Slavík
d0ce3e528a compilation fix for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:32:08 +00:00
Václav Slavík
d6b95c13df only define wxUSE_GUI if not already defined; this is needed for multilib build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 14:21:47 +00:00
Václav Slavík
380ba753ff install headers and link against main lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 11:02:02 +00:00
Václav Slavík
fab9850d5d more contrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 11:00:44 +00:00
David Elliott
bf25264013 Changed bool WakeUpIdle() to void to match base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 02:10:36 +00:00
Václav Slavík
fb8ee64d78 added XRC contrib makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:40:06 +00:00
Václav Slavík
6dcc040d57 added first contrib makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:37:46 +00:00
Václav Slavík
a90f1b0b82 different location for contrib bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:26:27 +00:00
Vadim Zeitlin
fcdb9b388a missign app.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:13:29 +00:00
Vadim Zeitlin
f98d23fd94 a quick hack to fix wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:11:34 +00:00
Vadim Zeitlin
c41dbc2085 missing wx/iconloc.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:10:07 +00:00
Vadim Zeitlin
4f356748c6 removed #pragma interface because it results in link problems when building wxBase/wxGUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 00:08:31 +00:00
Václav Slavík
c06088650e support for building contrib libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 23:52:06 +00:00
Václav Slavík
6ae02da411 wxBase fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 23:48:18 +00:00
Václav Slavík
6d7d8f3b3b fixes to wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 23:27:15 +00:00
Vadim Zeitlin
335f20cb00 wxTINY_CAPTION_XXX are obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:47:45 +00:00
Václav Slavík
7f1ed35c26 fixed make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:46:41 +00:00
Václav Slavík
4136b40acc no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:35:14 +00:00
Václav Slavík
04b4031605 renamed julian's private makefile, it's in the way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:31:03 +00:00
Václav Slavík
01aa586397 Mac OS X fixes for ac-2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:23:43 +00:00
Václav Slavík
e90ed8ad58 moving to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:12:12 +00:00
Václav Slavík
481290e226 moved to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:05:29 +00:00
Václav Slavík
e6cc62c672 moving to autoconf-2.5x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 21:56:41 +00:00
Václav Slavík
f70083b694 fixed OSX resources invalid path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 20:13:44 +00:00
Gilles Depeyrot
52ad8c7da7 corrections for compilation under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 20:00:40 +00:00
Gilles Depeyrot
8495ba5368 updated code to not use deprecated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 19:49:13 +00:00
Gilles Depeyrot
73bdd73aa2 minor corrections for compilation with gcc 3.3 (use cast of address instead
of address of cast)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 19:35:54 +00:00
Václav Slavík
c5ab794840 added Mac resource with icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 18:19:12 +00:00
Václav Slavík
e43fcd5449 added wxART_MISSING_IMAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 18:14:37 +00:00
Václav Slavík
9d830d3ea1 don't compile generic wxMessageDialog w/ GTK+2, it's not used (forgot to commit this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 18:08:02 +00:00
Václav Slavík
55d8199638 regenerated after fixing OSX install_name and adding wxCocoa files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:54:23 +00:00
Václav Slavík
84b001ebab regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:31:31 +00:00
Václav Slavík
910426ee7b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:29:40 +00:00
Václav Slavík
af515aade5 wxCocoa fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:25:45 +00:00
Václav Slavík
ba28d9bbd5 defined __WXBASE__ when building the monolib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:22:50 +00:00
Václav Slavík
8df6de970d compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 11:21:42 +00:00
Julian Smart
1882f416e3 Initialised static controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 08:20:05 +00:00
Chris Elliott
0ef7283884 correct library names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 06:34:23 +00:00
Vadim Zeitlin
9a90985d5f added new files (after library split)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:36:40 +00:00
Vadim Zeitlin
46446cc2aa compilation fix for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:31:22 +00:00
Vadim Zeitlin
153ecbb81c regenerated project/makefiles with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:24:12 +00:00
Vadim Zeitlin
505f0a85c9 removed duplicate wxTheApp and m_appInitFn definitions from all ports, not just MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:20:33 +00:00
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Václav Slavík
433f5675a9 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:56:34 +00:00
Václav Slavík
e94a9f4e5b updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:49:09 +00:00
Václav Slavík
cbd63f42f6 generated new makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:42:25 +00:00
Václav Slavík
63dfd606ed compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:32:21 +00:00
Václav Slavík
3c41f265ea updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:52 +00:00
Václav Slavík
e8f2f43d12 fix missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:51 +00:00
Václav Slavík
b9fbba05ef samples configuration didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:51 +00:00
Václav Slavík
fe0895cf82 new build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:31:50 +00:00
Václav Slavík
7e7336a7e4 fixed missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:02:12 +00:00
Václav Slavík
a00348789e depending on Makefile is oversensitive, anybody who changes the make will know to run 'make clean'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:00:37 +00:00
Václav Slavík
bce8fed638 wxSelectionStore fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:13:27 +00:00
Václav Slavík
6bd5dab592 fixed dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:12:56 +00:00
Václav Slavík
7abe18c2ac bakefile build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:12:25 +00:00
Mattia Barbon
a49686b4c2 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:06:18 +00:00
Václav Slavík
ddf9896893 moving bakefile build system to the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 19:50:43 +00:00
Vadim Zeitlin
d512306c0b deleted non existing Cancelled() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 19:47:12 +00:00
Vadim Zeitlin
3ccae3ba9b added missing Skip() in OnIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 19:43:27 +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
David Elliott
ef3e4a2c81 Added #if wxUSE_SLIDER guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:49:11 +00:00
David Elliott
c0e2aaa94a Only MSW has a class wxIconLocation. The other platforms have
typedef wxIconLocationBase wxIconLocation;  Apple's GCC does not like
the mismatch when forward declaring it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:27:17 +00:00
David Elliott
c41b649631 Added #ifdef wxHAS_TASK_BAR_ICON guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:17:41 +00:00
Julian Smart
3fc2f8c635 Spelling correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 14:49:46 +00:00
Vadim Zeitlin
da0766ab2a GetIcon() returns wxIconLocation, not wxIcon, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Julian Smart
80185c6ceb Implemented wxTextCtrl::GetStyle for MSW
Added status bar showing major style attributes at cursor in text sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:14:42 +00:00
Vadim Zeitlin
6b7993a952 Fixed typo in cmdline option name; TRUE / FALSE -> {\tt true} / {\tt false} (patch 757770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 23:02:49 +00:00
Vadim Zeitlin
62313dec27 missing backslash before underscore (patch 758143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 23:01:11 +00:00
Vadim Zeitlin
3b3fe1f6e7 allow wxFileConfig be created with empty name (will take it from wxApp) (patch 749749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:45:05 +00:00
Vadim Zeitlin
bf43ff9a90 LaTeX2e fixes (patch 748118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:20:40 +00:00
Vadim Zeitlin
55f9f0cbc8 support Show() in wxFlexGridSizer (patch 737850)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:08:13 +00:00
Vadim Zeitlin
1b1ca07a70 set selection before setting focus to the control in SetFocusFromKbd() (patch 726361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 21:56:43 +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
636773ddad temp fix for link errors after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 15:44:31 +00:00
Vadim Zeitlin
32b38f99ce GNU/Hurd patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 12:48:38 +00:00
Vadim Zeitlin
b3e6525497 added missing default value for pos parameter in ctor/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 11:04:13 +00:00
Vadim Zeitlin
55d0aaa372 updated after wxFileType change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 00:22:39 +00:00
Vadim Zeitlin
3e3362daa8 added default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 00:19:38 +00:00
Mattia Barbon
3ec4107dfc Add a missing structure definition, move all rich text missing
stuff to wx/msw/missing.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:09:14 +00:00
Mattia Barbon
9795182e4a Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:06:07 +00:00
Vadim Zeitlin
7c0720183f don't disable hidden windows in wxWindowDisabler, it's at best useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:45:14 +00:00
Vadim Zeitlin
376ccc457c removed Win16 horrors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:38:55 +00:00
Vadim Zeitlin
6feaaaedd6 removed datacmn, not a base file any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:09:20 +00:00
Vadim Zeitlin
c07f134693 removed datacmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:08:14 +00:00
Robert Roebling
21b07f95d0 Small fix for splitter window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:07:16 +00:00
Vadim Zeitlin
aaf7ab431b added wxIconLocation; minor fixes to wxIcon on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Stefan Neis
75f7af39d1 Reverted patch [ 746201 ] (partially) because of unwanted side-effects
to grids with 0 rows _or_ 0 columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 08:40:06 +00:00
Mattia Barbon
7d268a705c Applied patch from William Gallafent to copy manifest at install
time for wxMSW cross compiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 22:03:43 +00:00
Gilles Depeyrot
ac672b5ae8 corrected DEPFILES which contained an object file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 21:19:21 +00:00
Gilles Depeyrot
c5990c0034 corrected return value of wxTimer::Start when timer is successfully created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:48:17 +00:00
Václav Slavík
2269ff5679 fix one of reasons for crash if there is no font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:20:16 +00:00
Julian Smart
e00a5d3ca1 Extended wxTextAttr and added wxTextCtrl::GetStyle stub
allow better rich text support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Chris Elliott
f22c3c98a0 relative path to wxwin in samples for Digital Mars (fixes SF bug 757845)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 15:20:31 +00:00
Vadim Zeitlin
f561a4e09c removed redundant wxUSE_GUI checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:43:01 +00:00
Vadim Zeitlin
a6ab05be98 added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:39:51 +00:00
Vadim Zeitlin
a434b43fd4 added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:31:19 +00:00
Václav Slavík
53fef662b8 quick and dirty fix for wxMGL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:33:00 +00:00
David Elliott
c1ff26f55f Removed forced default no for wxUSE_SLIDER and wxUSE_COLOURDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:22:15 +00:00
David Elliott
a1725a7205 Added slider.h/slider.mm to wxCocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:18:12 +00:00
David Elliott
bfddb9239f Missed a few substitutions the first time around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:16:22 +00:00
David Elliott
746aa166e4 Include wxCocoa header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:14:10 +00:00
Václav Slavík
3191ff3b91 added wxHAS_TASK_BAR_ICON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:14:06 +00:00
David Elliott
2ec55dc0be Added wxSlider stub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:09:27 +00:00
David Elliott
bec1ace627 wxCocoa does not have wxDialog::OnPaint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:06:24 +00:00
David Elliott
bfec7058d4 Added return NULL; for __WXCOCOA__
FIXME: The platform specific stuff is a real mess


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:32:16 +00:00
David Elliott
fc56dc1202 Changed colour.cpp to colour.mm
Also, generated files.lst now has fdlgcmn.cpp included


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:30:14 +00:00
David Elliott
d9b4ddf28f Added NSColor declarataion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:27:13 +00:00
David Elliott
683b185d01 First stab at wxColour using NSColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:24:10 +00:00
Robert Roebling
7b14c561d9 Font crash and timer fix as per 2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:06:06 +00:00
David Elliott
8eabf55943 On wxMac, set the common menubar to the MDI parent and don't show it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:22:06 +00:00
David Elliott
3fdac2ab39 In wxApp::OnIdle() check to see if there is not a current menubar and if
there is a common menubar, install it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:20:26 +00:00
David Elliott
1b1d2207ea Add ability to have a wxMenuBar as a common menu
- static wxMenuBar::MacSetCommonMenuBar()
- static wxMenuBar::MacGetCommonMenuBar()
- static wxMenuBar::s_macCommonMenuBar;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:17:33 +00:00
Vadim Zeitlin
523c2b8d45 fixed infinite recursion bug in some rare cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 16:55:15 +00:00
Vadim Zeitlin
9f522551db wxUniv compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 09:43:19 +00:00
Chris Elliott
1997b8ba19 fix making base for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 09:21:07 +00:00
Chris Elliott
572affa49c fix making base for watcom (lib\base and console sample now compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 08:13:00 +00:00
Chris Elliott
40bed4b61b fix making base for watcom (lib\base and console sample now compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 08:05:26 +00:00
Vadim Zeitlin
32013d27f6 detect EOF better when reading HTTP reply
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 22:09:09 +00:00
Vadim Zeitlin
3cac31513f removed unnecessary #if wxUSE_GUIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:49:40 +00:00
Vadim Zeitlin
c631d59053 removed deprecated ConvertToBitmap() and wxImage(wxBitmap) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:38:29 +00:00
Vadim Zeitlin
dc6c9679d6 wxComboBox doesn't (officially) derive from wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:36:51 +00:00
Julian Smart
7919cba5b7 Removed very obsolete Set/GetColourMap accessors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:19:26 +00:00
Václav Slavík
017b6a0d40 make it possible to not attach toolbars to frames (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:17:54 +00:00
Václav Slavík
2f42e5b6bf added --basename and --release flags to wx-config (patch #750815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:08:15 +00:00
Chris Elliott
3eb14b8c98 fix perl commands for makefile.sc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 12:59:17 +00:00
Chris Elliott
7d5848668d fix DMars compilation to use precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 12:09:16 +00:00
Julian Smart
dd27a3bd76 Added extra wxGLCanvas documentation from
Davide Pasquini <davide.pasquini@fastwebnet.it>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 09:20:46 +00:00
Julian Smart
3b13683cad Workaround a crash bug; real solution as yet unknown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 07:41:24 +00:00
Vadim Zeitlin
9ad19a2bde removed a now unnecessary line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 00:42:39 +00:00
Vadim Zeitlin
c8688869d9 better mask handling in wxBitmap to wxImage conversion (patch 754881)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 00:41:37 +00:00
David Elliott
8b389fab25 DEFAULT_wxUSE_TABDIALOG=yes for wxCocoa (Generic notebook)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 20:54:10 +00:00
Vadim Zeitlin
20aed02647 fixed compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 18:09:55 +00:00
Julian Smart
afc5159044 Added 'Go' button for quickly saving setup or configure file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 16:23:49 +00:00
Václav Slavík
d2739ea6db added htlbox to samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 14:27:04 +00:00
Václav Slavík
f30251fb86 added htlbox to samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 14:05:43 +00:00
Chris Elliott
7a9f270ffc modify Borland makefile to include bc in library names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 13:22:34 +00:00
Julian Smart
d9a41dfe5a Renamed Platform -> Target
Bumped version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 09:55:49 +00:00
Julian Smart
c649a6aba4 Eliminated some code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 09:52:26 +00:00
Chris Elliott
18d491685c add ipc client / server samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 09:36:48 +00:00
Chris Elliott
4ce458c74f fix for client / server samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 09:30:10 +00:00
Julian Smart
25b1b442d6 Added corrected Show() to wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 08:26:01 +00:00
Robin Dunn
577baeef5a Remove the test for parent window type when checking if to give a
sunken style automatically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 22:08:01 +00:00
Chris Elliott
be235d0801 initail Digital Mars makefile for stc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 19:35:52 +00:00
Chris Elliott
7832ab4f68 initail Digital Mars makefile for stc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 19:30:19 +00:00
Chris Elliott
bd746613ca faster Borland makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 16:52:26 +00:00
Chris Elliott
0e4c7ab4f2 makefiles for samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 16:51:46 +00:00
Julian Smart
01ebf75203 Platform and compiler-specific checking for MSW and Mac now done
in wx/xxx/chkconf.h.
Removed some very obsolete settings, and MSW-specific settings
from Mac's setup0.h.
wxTimer now derives from wxEvtHandler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 12:31:45 +00:00
Václav Slavík
748418c02b fixed misbehaving selection on some words
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 22:40:12 +00:00
Vadim Zeitlin
29865cc3b9 empty description doesn't look good
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 20:18:03 +00:00
Vadim Zeitlin
d949746098 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 20:14:57 +00:00
Vadim Zeitlin
817670e454 fixed bug with parsing filter string without description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 20:13:20 +00:00
Vadim Zeitlin
5447d1b493 GTK2 Unicode build warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 20:03:34 +00:00
Vadim Zeitlin
a8f1f1b23b check parmateres in Replace() (bug 752716)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 19:33:04 +00:00
Stefan Neis
5d8f5f875e Added definition of wxUSE_DISPLAY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 18:36:42 +00:00
Mattia Barbon
24f9edfdae Blind fix for startup crash with Lesstif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 17:27:22 +00:00
Gilles Depeyrot
9711d31ed2 partially applied SF #753787 to correct wx-config --rezflags which was
refering to top build dir instead of install dir


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 08:36:15 +00:00
Julian Smart
0e7bcd61ac Include wxHTML help controller from wx/helphtml.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:48:14 +00:00
Julian Smart
bd582574c2 Added wxMenuBase::FindItemByPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:44:54 +00:00
Vadim Zeitlin
9505511c59 removed duplicated stuff in Delete() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:55:35 +00:00
Vadim Zeitlin
ef0dd8e517 always NUL-terminate log messages, even if they're longer than buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:45:31 +00:00
Julian Smart
b1f68ca345 Can now skip default manifest inclusion by defining wxUSE_NO_MANIFEST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:44:18 +00:00
Julian Smart
eac703e9c5 Made XPMs transparent
Corrected wxMessageBox usage


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:42:40 +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
e776786754 Added Find dialog
Bumped version to 1.01


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:25:26 +00:00
Julian Smart
8cb4919bd4 Added configtool to configure and Makefile.in
Added -lsupc++ to end of LDLIBS to avoid link errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:18:39 +00:00
Julian Smart
02ae000a99 Removed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:04:11 +00:00
Vadim Zeitlin
de89696245 regenerated using tmake to add fldlgcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:39:10 +00:00
Vadim Zeitlin
b600ed1362 wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
30e671a59f added virtual dtor to wxDateTimeHolidayAuthority (patch 753947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:23:56 +00:00
Vadim Zeitlin
3080bf599a added a few #ifdefs needed to build a smaller library (patch 751523)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:00:55 +00:00
Vadim Zeitlin
095980e182 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:00:31 +00:00
Vadim Zeitlin
1e74d03b7f implemented alpha support for raw bitmaps under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 12:57:44 +00:00
Julian Smart
059d039e1e Small updates to wxCT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 09:29:45 +00:00
Chris Elliott
52bd669655 fix some more samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 08:48:42 +00:00
Václav Slavík
9b24b388c1 compilation fix for platforms w/o wxRawBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 23:25:09 +00:00
Vadim Zeitlin
4636a1e8f8 no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 22:32:23 +00:00
Vadim Zeitlin
de5d3a20ce SetSelection() may be used for both single and multi selection listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 22:30:55 +00:00
Vadim Zeitlin
9a9b4940a1 added possibility to customize the listbox colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 22:26:45 +00:00
David Elliott
6874238c54 Include wx/file.h even when using precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:32:07 +00:00
David Elliott
c500250d39 * Added gsockcocoa.c to files list
* Regenerated files lists, wxCocoa now includes selstore


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:28:45 +00:00
David Elliott
d533381ebc Added GSocket stubs for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:19:49 +00:00
David Elliott
c8cae94c72 Use the new wxNSStringWithWxString conversion function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:15:04 +00:00
David Elliott
724ebdde8a Added wxString to NSString conversion functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 21:09:21 +00:00
Chris Elliott
f4bf676380 fix some more samples for digital mars [allow contrib to work]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:30:52 +00:00
David Elliott
70024cfb08 Proposed wxMac MDI interface (in limbo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:29:48 +00:00
Chris Elliott
31bb77da45 fix some more samples for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:26:54 +00:00
David Elliott
245f35816d Added support for delayed deactivation of windows (for MDI)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 20:24:32 +00:00
Vadim Zeitlin
0063c16999 documented all methods pertaining to the multiple selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 19:21:37 +00:00
Julian Smart
ea723360ee Fixed MDI scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:56:53 +00:00
Chris Elliott
b8f34efb02 add dmc makefile (samples compile and run OK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:43:35 +00:00
Chris Elliott
b911bc32a1 fix for dmc compilation of projects with more than one obj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:39:45 +00:00
Vadim Zeitlin
5d6dcfb327 added RefreshLine(s), HitTest() and IsVisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:18:28 +00:00
Vadim Zeitlin
ceb71775b4 added def value for Create() id parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:17:46 +00:00
Vadim Zeitlin
d5eddfef2e quote '|' inside regexes (fixes dump mode); fixed crash due to strange HelpGenApp code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:05:43 +00:00
Vadim Zeitlin
71b5725f30 fixed bug in group counting Compile()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:02:29 +00:00
Vadim Zeitlin
09c6a817fa collected all deprecated methods in the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 16:38:09 +00:00
Vadim Zeitlin
87a36e90d4 mention wxMac THUMBRELEASE bug fix and wxHtmlLbox &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 16:30:14 +00:00
Vadim Zeitlin
6ed71b4f20 send wxEVT_SCROLLWIN_THUMBRELEASE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 16:25:10 +00:00
Václav Slavík
ce73e65400 fs_inet depends on protocol classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 15:33:14 +00:00
Vadim Zeitlin
14b6653cc1 compilation fix for PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 15:24:40 +00:00
Vadim Zeitlin
33a037495e fixed off by 1 bug in SelectRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:29:52 +00:00
Vadim Zeitlin
5f73281084 added commands to toggle multiple selection and to select all items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:23:49 +00:00
Vadim Zeitlin
970b97a267 made multiple selection behave more consistently with the usual (Windows) way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:09:30 +00:00
Vadim Zeitlin
b0126f6094 regenerated all make/project files to include selstore.cpp/.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 13:06:51 +00:00
Vadim Zeitlin
6c9210a76a added checks for the item index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 12:42:35 +00:00
Julian Smart
f8105809ef Some fixes for gcc compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 12:20:33 +00:00
Julian Smart
7c5ece9e3c Small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:56:26 +00:00
Julian Smart
99f03ce9c7 Merged some info from the 2.4 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:30:03 +00:00
Václav Slavík
4a6e4a46a3 added wxLocale::GetLanguageName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:16:19 +00:00
Julian Smart
6e16f8693f Added DialogBlocks file for configtool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 09:08:39 +00:00
Julian Smart
d7463f75f9 Added first cut wxWindows Configuration Tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 20:43:55 +00:00
Robin Dunn
f2c3db9d7d Patch #753465 a fix for Bug#750363.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:53:42 +00:00
Václav Slavík
854e189f90 added wxRTTI to XRC handlers (patch #752996 by David Falkinder)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:10:38 +00:00
Václav Slavík
71ff7c911a fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 16:15:26 +00:00
Chris Elliott
cc693a8200 fix Borland makefile as per 2 recent bug reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 15:23:25 +00:00
David Elliott
be7a101366 Make wxMDIParentFrame a regular top level window
- Override DoGetClientSize for wxMDIClientWindow instead of wxMDIParentFrame
- Do not override OnSize for wxMDIParentFrame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 13:41:05 +00:00
Chris Elliott
b478e7a71c fix Borland makefile for xrc as per SF report 747099
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 12:32:22 +00:00
Jouk Jansen
c698eae5a8 Committing in .
OpenVMS compile issues

 Modified Files:
 	wxWindows/include/wx/vms_x_fix.h
 	wxWindows/samples/image/image.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/clipbrd.cpp
 	wxWindows/src/motif/combobox.cpp
 	wxWindows/src/motif/scrolbar.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 11:28:16 +00:00
Vadim Zeitlin
4c38c20777 added missing selstore.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 08:54:28 +00:00
Vadim Zeitlin
973e686595 fixed warnings about assigning literal strings to char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 22:21:42 +00:00
Vadim Zeitlin
75240db295 WriteString() doesn't append EOL automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 22:02:05 +00:00
Vadim Zeitlin
ac53090cb7 don't ignore wxLC_NO_HEADER style when inserting first column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:58:55 +00:00
Gilles Depeyrot
2d3441d7e5 applied SF patch #752538 to implement wxGetOSDirectory() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 18:17:56 +00:00
Chris Elliott
8adeb85117 fix SF bug report 751351
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 14:44:43 +00:00
Julian Smart
1be9536aaa Allow for multiple CHM controllers in app (don't leak dynamic libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 14:15:36 +00:00
Vadim Zeitlin
d8a01976c0 trigraph warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 12:18:46 +00:00
Vadim Zeitlin
8613d47ba9 multi selection test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:55:06 +00:00
Vadim Zeitlin
43e319a307 removed countItems parameter from ctor -- doesn't work anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:47:09 +00:00
Vadim Zeitlin
be46555538 implemented multiple selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:40:37 +00:00
Vadim Zeitlin
ae0f022346 added RefreshLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:37:52 +00:00
Vadim Zeitlin
e135f09367 removed duplicate code from SetData(), just call AddData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:36:45 +00:00
Vadim Zeitlin
d659d703ef made CopySelection() always available (otherwise it wouldn't compile when wxUSE_CLIPBOARD == 0); copy double/triple clicked selection to primary X11 clipboard under Unix as well; minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:34:44 +00:00
Vadim Zeitlin
63b8dd39b8 merged the confllict resolution (I've fixed the m_format bug independently); no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:34:26 +00:00
Vadim Zeitlin
86ff9b45d9 a hack to make copying double clicked words to clipboard work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:33:48 +00:00
Julian Smart
4f610b3443 Add back #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:11:34 +00:00
Vadim Zeitlin
b3005659bd made GetType() inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:02:04 +00:00
Vadim Zeitlin
ef5cfa3889 added selstore.(h|cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:00:09 +00:00
Vadim Zeitlin
c71d3313a4 extracted wxSelectionStore in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:49:53 +00:00
Vadim Zeitlin
210c92a367 try to determine the correct SOCKLEN_T value harder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:48:43 +00:00
Julian Smart
dd74a7ad67 Removing vestiges of wxUSE_NEW_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:03:57 +00:00
Stefan Csomor
4ab107d7f1 corrected error in last fix for insert items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 08:34:07 +00:00
Robin Dunn
1e93ca1729 Ensure that a wxMenuItem's parent menu is updated if it is removed
from one and added to another menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 23:48:46 +00:00
Václav Slavík
13fd234c9c fixed Content-Type lookup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 21:23:53 +00:00
David Elliott
cbe13a1f09 Apple #pragma implementation fix (Yes, some of us do compile wxGTK on OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 18:33:02 +00:00
Stefan Neis
75625d796c Fixed Refresh to clip update rectangles to the visible area of a
(scrolled) window. If there are many invisible/partly visible
        rectangles in the update region GTK+-1.2.10 starts complaining
        about bad match errors and soon crashes.
Change corresponds to changes on WX_2_4_BRANCH from 1.408.2.21 to 1.408.2.24.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 18:27:31 +00:00
Stefan Neis
542e68c719 Moved include to wx/module.h out of #ifndef WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 17:33:39 +00:00
Václav Slavík
f9ba645e5d compilation fix for VisualAge C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 17:06:40 +00:00
Stefan Neis
e7262344d0 Moved include to wx/module.h out of #ifndef WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 16:35:12 +00:00
Stefan Neis
33c6ae1d81 Fixed typos as reported by Adrian Gschwend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 16:27:04 +00:00
Julian Smart
1c84423290 Only bring the window to the top in Show() if we're a top-level
window, else we mess up z-order/tab order


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 23:56:27 +00:00
Stefan Csomor
76158d52be corrected include for Apple's Dev Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 21:39:33 +00:00
Mattia Barbon
dc0cecbcc9 wxMessageDialog and ::wxMessageBox don't support wxCENTRE: remove
it from documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 18:20:24 +00:00
Julian Smart
44cf9b50ee Added shaped sample copying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 17:49:49 +00:00
David Elliott
6444e22daa Restored Objective-C typesafety while retaining proper C++ name mangling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 03:25:42 +00:00
David Elliott
085c39b402 Mention RFC 1738, in particular file://hostname/path/to/file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 01:58:10 +00:00
Václav Slavík
77bae5e228 use 'I' cursor when over text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 23:31:21 +00:00
Stefan Csomor
493ac0b8b5 GetId was accessing the m_format var incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:55:19 +00:00
Stefan Csomor
2f64c3bb23 Accepts Focus was incorrectly returning FALSE for a panel w/o children on mac because of the two implicit scrollbars...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:40:32 +00:00
Stefan Csomor
ac2153a686 cast correction Profiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:04:00 +00:00
Stefan Csomor
383cbf1320 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 21:02:06 +00:00
Stefan Csomor
4b26b60fac MacHandleControlClick extended by mouseStillDown state for supporting things like THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:58:38 +00:00
Stefan Csomor
e71a0aa95f changing inheritance and delegation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:34:29 +00:00
Stefan Csomor
69b85ca49b adapting MacHandleControlClick to know about mouse state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 20:29:57 +00:00
Robin Dunn
3ba18664fc revert my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 15:54:41 +00:00
Vadim Zeitlin
b1043cdc3c printf() format warrning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 14:39:15 +00:00
Julian Smart
4603b4f92f Applied patch [ 748638 ] wxDos2UnixFilename for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:55:43 +00:00
Julian Smart
f9007c324c Reports suggest that _sometimes_ WS_VSCROLL/WS_HSCROLL
are needed. So map wxVSCROLL/wxHSCROLL to these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:22:34 +00:00
Vadim Zeitlin
c60a36d5dd DoGiveHelp() should be defined even if !wxUSE_STATUSBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 12:40:34 +00:00
Vadim Zeitlin
253fe8ab4b no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 11:19:28 +00:00
Roger Gammans
fd3d753463 Make changes to configure to fix mbug noted by David Elliot .
(fix is based on david's patch ).
 Add odbc library status to the summary provided by configure.

 Fix typo it prologio test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 10:52:20 +00:00
Julian Smart
6613474976 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 10:12:53 +00:00
Julian Smart
91f2c1540f Fix for [ 748805 ] Assert failure for specified situation in samples/controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 09:59:38 +00:00
David Elliott
6ce5198539 Place m_lastDoubleClick initialization inside existing #if wxUSE_CLIPBOARD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 02:20:20 +00:00
David Elliott
49de49497d Added #if wxUSE_DATAOBJ guard around header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 02:16:44 +00:00
David Elliott
be65775665 Added stub for the new pure virtual DoInsert method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 01:38:13 +00:00
David Elliott
11c084163e include "wx/module.h" for wxModule
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 01:34:17 +00:00
Robin Dunn
58751a8685 fix so wxMenu::InsertItem actually inserts rather than overwrites
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:46:36 +00:00
Robin Dunn
c69279ef70 Just silently return NULL like the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:15:50 +00:00
Robin Dunn
88b1cfb651 Don't get picky about unicode mode. Scintilla doesn't set the mode
for calltip windows anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:34:00 +00:00
Julian Smart
9275167db0 Include module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 16:32:40 +00:00
Vadim Zeitlin
3195dca76c typo in the event type name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 15:40:15 +00:00
Julian Smart
3885ccc54a Fixed usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 10:46:59 +00:00
Robin Dunn
8760bc6529 Put terminating NUL in the buffer since MB2WC doesn't do it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 00:43:21 +00:00
Václav Slavík
161a87e614 added wxHW_NO_SELECTION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 21:33:56 +00:00
Václav Slavík
a689b6d6dd documented wxHW_NO_SELECTION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 21:32:56 +00:00
Julian Smart
f080251d92 Reverted the warning fix since it breaks MinGW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:33:17 +00:00
Václav Slavík
0994d9683e added line selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:30:56 +00:00
Václav Slavík
13bf5a8231 added text selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:30:22 +00:00
Mattia Barbon
2b2309a466 Add missing header for wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:11:45 +00:00
Julian Smart
a9fa99ad9e Fixed compile warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 16:08:40 +00:00
Julian Smart
04eb05b01e Disable non-standard notebook styles if CommCtl doesn't support them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 13:35:50 +00:00
Julian Smart
34aa61407a Fixed bug [ 749471 ] wxDocument with no command processor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:03:47 +00:00
Julian Smart
f032bf3d16 Fixed native dialog bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 10:57:59 +00:00
Václav Slavík
31eefb998d doubleclick selects word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:42:34 +00:00
Stefan Csomor
595ec11a45 casts correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:26:50 +00:00
Stefan Csomor
f81bfef982 moving / sizing patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:16:43 +00:00
Stefan Csomor
65334b43fe support undo patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:14:16 +00:00
Václav Slavík
091f0dc759 wxHtmlWindow uses double buffering now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 19:03:56 +00:00
Václav Slavík
1338c59a02 added selecting-while-dragging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 18:17:04 +00:00
Julian Smart
8ca3dfcdfa Don't divide by zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 12:53:03 +00:00
Vadim Zeitlin
b6d5d4548c made wxNativePixelFormat usable under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:50:18 +00:00
Vadim Zeitlin
77a4354e85 compilation warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:49:18 +00:00
Václav Slavík
bfc248a3f9 fixed bug in selection style if selection colours is not constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:18:22 +00:00
Václav Slavík
285f58ab66 new rendering customization api fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:32:10 +00:00
Vadim Zeitlin
5de2429102 documented RefreshAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:24:01 +00:00
Vadim Zeitlin
901b583c71 compilation fixed after recent wxHTML changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:13:41 +00:00
Vadim Zeitlin
70bae0166c signed/unsigned comparison warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:10:51 +00:00
Václav Slavík
a99798d20c (hopefully) finished subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:07:52 +00:00
Václav Slavík
f30e67dbea new rendering customization API for Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:04:59 +00:00
Vadim Zeitlin
0ea0359bca don't ignore cache hints with from == to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 21:22:35 +00:00
Václav Slavík
ed9d5d17e1 new rendering customization API for Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 21:22:08 +00:00
Stefan Csomor
ace07c80ba feeds missed key events back to the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 20:32:59 +00:00
Stefan Csomor
0154fd2c88 correcting lookup of equal names in different modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 20:21:12 +00:00
Vadim Zeitlin
3964e424bf fixed the channel order for Mac (alpha comes first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:52:57 +00:00
Vadim Zeitlin
091c90b7cb no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:49:49 +00:00
Vadim Zeitlin
05a0787179 Mac compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 18:47:53 +00:00
Julian Smart
5ed4c021dd Phase 2 of line ending conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:32:30 +00:00
Julian Smart
00ffaa4c96 Phase 1 in converting line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:30:18 +00:00
Julian Smart
bfcbd20ff2 Fix for bug [ 748171 ] Can't compile contrib/samples/fl/fl_demo2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:19:39 +00:00
Václav Slavík
169ee861bd subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:56:43 +00:00
Václav Slavík
5a1597e9ef subcell selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:48:59 +00:00
Vadim Zeitlin
e87fb0ee85 added missing module.h include (bug 748158)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:19:21 +00:00
Vadim Zeitlin
5a0b749487 removed absolutely unneeded #include module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:17:36 +00:00
Julian Smart
b4f1a309b7 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 12:44:16 +00:00
Vadim Zeitlin
0b49ccf8d6 pressing PageDown and then PageUp should return to the same item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 11:15:38 +00:00
Vadim Zeitlin
e7546115db Unicode compilation fix (patch 747959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:55:47 +00:00
Vadim Zeitlin
f124ddf450 use c_str() instead of mb_str() with wxString::Printf() (patch 747903)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:51:52 +00:00
Vadim Zeitlin
a67e6e5438 generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:46:08 +00:00
Vadim Zeitlin
8d85bf5c58 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:41:49 +00:00
Vadim Zeitlin
17be85312c fixed wxPenRefData::operator==() (part of patch 742783)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:32:26 +00:00
Vadim Zeitlin
55e18dbe2f initial attempts to get raw bitmaps working under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 00:44:43 +00:00
Vadim Zeitlin
eb7f8ac545 fixed compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 00:44:10 +00:00
Václav Slavík
e24529d70d another bug fixed: wrong lookup of nearest cell before given point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:35:26 +00:00
Vadim Zeitlin
4ce19ed7aa compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:05:22 +00:00
Vadim Zeitlin
c9c61efbdd compilation warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:03:56 +00:00
Vadim Zeitlin
5ecdc7ab6d refresh cache on size/margins change; expanded cache to contain N elements, not just one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:02:12 +00:00
Vadim Zeitlin
6af4ea87d0 added GetMargins()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 23:00:35 +00:00
Vadim Zeitlin
4760fa9109 test popup menu help strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:59:37 +00:00
Vadim Zeitlin
8b053348a5 added RefreshAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:58:38 +00:00
Vadim Zeitlin
fb4769829b test for setting caret size and more changes (details are hazy; should have been committed a couple of months ago)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:57:03 +00:00
Vadim Zeitlin
7fd4e7e1c2 attempt to fix gcc printf() warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:50:12 +00:00
Vadim Zeitlin
82922a02d8 fixed calculations in SetMapMode() (use FP division, not integer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:41:44 +00:00
Vadim Zeitlin
2da34e7d9e updated after grid samples removal/renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:29:13 +00:00
Vadim Zeitlin
3c907f20e4 regenerated after --enable-resources/prologio and wxUSE_X_RESOURCES changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:54:22 +00:00
Vadim Zeitlin
b52e49f51c fix for gcc 3.3 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:46:31 +00:00
Vadim Zeitlin
b6de9890a4 removed wxUSE_X_RESOURCES -- was unused anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:44:55 +00:00
Vadim Zeitlin
1b86c3ac37 give error if --enable-prologio/resources were given -- this is better than ignoring them silently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:41:26 +00:00
Václav Slavík
e377412473 added copying selection to clipboard; fixes to selection making
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:21:23 +00:00
Roger Gammans
cf6ae2907c Addition at simple wxObject*, support into wxVariant.
This includes 2 new methods wxVariant::IsValueKindOf() and
wxVariantData::GetValueClassInfo() to allow query of the
wxRTTI data of the variant's data.

Also included is a macro analogues to dynamicCast for fetching
objects out of a wxVariant.

Documentation patches for the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:17:28 +00:00
Roger Gammans
8647bec62d Change '--with-odbc' to use the WX_ARG_SYS_WITH macro instead of
the WX_ARG_WITH macro. Add some extra rules to find the new correct
linker flags.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 21:09:53 +00:00
Václav Slavík
61233023a0 added copying selection to clipboard; fixes to selection making
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 20:14:31 +00:00
Vadim Zeitlin
bb178b2971 compilation fixes for !USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 17:29:40 +00:00
Vadim Zeitlin
6170c108a1 printf() format warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 17:27:57 +00:00
Julian Smart
85b43fbf7a Attempt to make wxWindows play better with XP themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +00:00
Václav Slavík
73bab6b44d attempt to fix first click problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 23:17:08 +00:00
Vadim Zeitlin
6d41981d89 compilation fix (not all paths returned a value)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:33:06 +00:00
Václav Slavík
adf2eb2d34 more work on text selection: selecting should work now, but there's no clipboard interaction yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 22:19:15 +00:00
Vadim Zeitlin
7fb8086de8 fixed broken English...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:25:08 +00:00
Julian Smart
e415391a4e Notify -> NotifyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:24:57 +00:00
Vadim Zeitlin
53ae92099f fixed broken TeX markup which resulted in broken links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:20:07 +00:00
Julian Smart
feb6856235 Fixed doc bug [ 733128 ] 'wxTaskBarIcon.PopupMenu(..)' missing doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:11:16 +00:00
Julian Smart
8da336ebe1 toback24 for Raise() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:03:22 +00:00
Julian Smart
313901f3e5 Fix for bug [ 744199 ] wxBringWindowToTop, child window z-order
A child window should only have it's z-order raised, not
the parent window brought to the front.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:01:18 +00:00
Julian Smart
e00865fab6 Get the initialization order right.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:47:50 +00:00
Julian Smart
7ac4c27aa6 Pass focus window to submenu items too (no reason I can think of not to).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:40:09 +00:00
Julian Smart
c377f1bef4 Added submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:35:12 +00:00
Julian Smart
c546974fbf Fixed bug [ 743664 ] wxListCtrl asserts when deleting its m_textCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:12:30 +00:00
Julian Smart
65b683fd1b Fix for [ 688754 ] wxNotebook::SetSelection(-1) will segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:41:50 +00:00
Julian Smart
272995af2c Fix (I hope) for bug [ 673862 ] printing zero length string with postscript does not work
Now descent and externalLeading will be zeroed if the string is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:23:16 +00:00
Julian Smart
3aabb24c08 Applied bug fix [ 684949 ] Dialup Sample With Borland C++ 5.5.1 Free Compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:06:30 +00:00
Gilles Depeyrot
c038ecc666 ignore MSVC build output directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 18:17:50 +00:00
Julian Smart
f67db8c002 Removed AlignIn after further thought
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 17:15:38 +00:00
Julian Smart
605dfd9173 Applied patch [ 650511 ] wxCalendarCtrl - year does not change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:46:49 +00:00
Julian Smart
920b9675d9 Applied patch [ 735304 ] wxDisplay::ChangeMode - does not resize full-screen windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:32:59 +00:00
Julian Smart
fca36d9a03 Applied patch [ 735948 ] wxStaticPicture contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:26:58 +00:00
Julian Smart
c8e4fa8b2d Applied patch [ 719667 ] Ownerdrawn Buttons without wxUSE_OWNER_DRAWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:16:41 +00:00
Julian Smart
939fadc8aa Applied patch [ 710608 ] wxImage::GetImageExtWildcard for image load/save dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:10:17 +00:00
Julian Smart
b1b3ddd840 Applied patch [ 649157 ] wxDisplay for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:03:24 +00:00
Julian Smart
a89abd7f0c Applied patch [ 730697 ] wxRect::AlignIn member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:53:00 +00:00
Julian Smart
22328fa444 Applied patch [ 623187 ] virtual methods and new AppendItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:48:42 +00:00
Vadim Zeitlin
b544a27802 a workaround for Mac update problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:48:10 +00:00
Julian Smart
0d1cb8cb29 Applied patch [ 619386 ] uxtheme.dll support
with filename changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:18:36 +00:00
Vadim Zeitlin
5be55d562f compilation warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:16:07 +00:00
Vadim Zeitlin
550e6c014c compilation fix for Mac and reformatted the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:15:09 +00:00
Julian Smart
5706de1cf4 Partially applied patch [ 531199 ] new EVT_MOVING and EVT_SIZING
Changed to reuse wxMoveEvent, wxSizeEvent
Only applied the Mac part as a TODO comment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 14:37:28 +00:00
Julian Smart
5c5428f913 Applied patch [ 619539 ] patch to get small icon via geticon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:57:23 +00:00
Julian Smart
ef094fa075 Applied patch [ 619705 ] Fixes wxApp::GetComCtl32Version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:50:55 +00:00
Julian Smart
7408cf7f76 Applied patch [ 739063 ] window.cpp (gtk) - mouse event processing
x -> y


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:45:54 +00:00
Julian Smart
fb47b99f25 Applied patch [ 735588 ] Gtk2 textctrl selection fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:42:21 +00:00
Julian Smart
eaf6274cc0 Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:39:30 +00:00
Vadim Zeitlin
201ca87982 added wxHtmlListBox sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:38:45 +00:00
Vadim Zeitlin
e0c6027b5a added wxVListBox using wxVScrolledWindow and wxHtmlListBox using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:35:26 +00:00
Václav Slavík
6fac75c355 added default ctor and SetSelection to wxHtmlRenderingState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:28:09 +00:00
Julian Smart
17816c2e70 Applied patch [ 743194 ] HitTest for wxNotebook
Yes, we do need implementations for other platforms,
but it's a start.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:26:09 +00:00
Julian Smart
eee3624b11 Applied patch [ 743248 ] wxArray::RemoveAt() error message fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:21:40 +00:00
Julian Smart
0e4cfcdd77 Applied patch [ 743471 ] wxSplitter::Unsplit fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:19:56 +00:00
Julian Smart
32923e21c7 Implemented wxNotebook::DoGetBestSize so Fit now works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:14:51 +00:00
Julian Smart
2ce7af354a Applied [ 745533 ] implemented wxNotebook::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:13:03 +00:00
Julian Smart
4611305399 Applied patch [ 745983 ] Fix for memory leak in class wxPluginManager in dynload.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:58:30 +00:00
Julian Smart
4ea3479cb5 Applied [ 746201 ] wxGrid row/col change not updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:55:59 +00:00
Julian Smart
233a54f6af Applied patch [ 746203 ] xwGrid::SetTable may be called multiple times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:51:06 +00:00
Julian Smart
12491c1f8e Applied patch [ 746355 ] Adds some checks for chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:46:22 +00:00
Julian Smart
392c714810 Applied patch [ 746547 ] fixes 'wrong header file included' in fontmap.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:42:49 +00:00
Julian Smart
f43084de97 Applie dpatch [ 741366 ] wxMac d'n'd fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:41:00 +00:00
Julian Smart
dab7302127 Added BCC include dir in XRC makefile
Typo correction in app.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:34:12 +00:00
Václav Slavík
cd275246d3 fixed UpdateRenderingState to do what it was meant to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 11:19:13 +00:00
Vadim Zeitlin
7d96264c68 added consts needed by VC++/BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 10:25:23 +00:00
Václav Slavík
31d8b4ad24 react on mouse up, not mouse down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 00:10:06 +00:00
Václav Slavík
3033131651 oops, commited debugging code by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:51:17 +00:00
Václav Slavík
36c4ff4d65 preparing wxHtmlWindow for text selection (highlighting works, mouse input and clipboard does not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:48:50 +00:00
Václav Slavík
f65a786ffd preparing wxHtmlWindow for text selection (highlighting works, mouse input and clipboard does not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 21:42:13 +00:00
Václav Slavík
13005f1d1e backport gtk2 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 18:07:20 +00:00
Václav Slavík
76b204675b support SetBackgroundMode and SetTextBackground with GTK+2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 17:30:00 +00:00
Vadim Zeitlin
e6173e54a0 back port wxPanel focus fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 17:26:45 +00:00
Vadim Zeitlin
a7407834c4 clicking on a panel without children should give it the focus (closes 215436)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 17:25:07 +00:00
Vadim Zeitlin
e16f8973cd corrected MakeLower/Upper() return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 15:10:56 +00:00
Vadim Zeitlin
af9fe8874f missing WXDLLEXPORT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 12:04:34 +00:00
Vadim Zeitlin
4a7ec775fe typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:40:57 +00:00
Vadim Zeitlin
738fc94287 changed vscroll.cpp file location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:28:38 +00:00
Vadim Zeitlin
75bff3be85 added {Line/Page}{Up/Down}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:20:25 +00:00
Vadim Zeitlin
2a70e6eb3f bad link fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:17:56 +00:00
Vadim Zeitlin
c9bf76f73d LaTeX error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:16:04 +00:00
Vadim Zeitlin
cf7d632953 added wxVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:08:31 +00:00
Vadim Zeitlin
95ac740c3b minor fixes to workspace/project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 20:36:16 +00:00
Julian Smart
13c4e406d3 Wrap missing.h in #ifdef __GNUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 13:29:10 +00:00
Vadim Zeitlin
aedcc0dc82 compilation fix for yet another broken version of mingw (ENSESSION_LOGOFF not defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 13:23:55 +00:00
Vadim Zeitlin
7863fab40d #define WINVER as 0x400 if it is not defined at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:13:20 +00:00
Robin Dunn
51566b0bc9 Added LoadFile and SaveFile methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 23:50:21 +00:00
Robin Dunn
feddd867de fix a precedence order problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 20:30:54 +00:00
Stefan Csomor
55da8bd1e1 GetEventHandler()-> was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 19:02:04 +00:00
Gilles Depeyrot
f1317a5d94 fixed error in inlined (standard) version of wxStringData deallocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 15:59:46 +00:00
Gilles Depeyrot
8ecf21b7db improved deallocation fix for Visual C++ Multithreaded non DLL runtime
so that it only has a performance impact on wxString in this configuration


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 14:03:37 +00:00
Gilles Depeyrot
ca5e07c768 VC++ free must take place in same DLL as allocation when using non dll
run-time library (e.g. Multithreaded instead of Multithreaded DLL)
we must not inline wxStringData deallocation since allocation is not inlined


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 21:11:17 +00:00
Roger Gammans
ff818ab87b Reinsert missing ctor removed in date/time tidy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 20:48:40 +00:00
Gilles Depeyrot
e8ca710507 allow wxDisplaySize to be called with NULL parameters
implement GetMetric for wxSYS_SCREEN_X & wxSYS_SCREEN_X using wxDisplaySize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 18:46:32 +00:00
Vadim Zeitlin
eb382f3e5e force wxUSE_IOSTREAMH to 0 with VC 7.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 22:04:50 +00:00
Mattia Barbon
6c33b24c53 Derive wxScrollBar from wxScrollBarBase, plus miscellaneous
refactoring. Adjusted default scrollbar size to match the
size of wxScrolledWindow (and other scrolled controls) scrollbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:36:31 +00:00
Mattia Barbon
c8ec0b3d36 Allow initialising wxStaticBitamp with wxNullBitmap/wxNullIcon,
automatically resize the control to match the bitmap (as wxMSW does).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:34:13 +00:00
Mattia Barbon
ffa3d6b8a3 Removed some duplicated code, made wxCursor( wxImage )
handling of dark/light colors agree with wxMSW and wxGTK, i.e.
dark -> black, light -> white.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:31:41 +00:00
Mattia Barbon
d7c40406e6 Don't leave the wxStaticBox hanging around after wxStaticLine
destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 20:28:51 +00:00
Chris Elliott
e6275f8d02 Borland makefiles for contrib keeping output apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 13:43:30 +00:00
Jouk Jansen
dc3b0532ee Committing in .
OpenVMS complie issues
 +
 src/generic/statline.cpp : setup should be runned before first #ifdef

 Modified Files:
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/statline.cpp
 	wxWindows/src/motif/descrip.mms wxWindows/src/x11/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 06:09:38 +00:00
Julian Smart
983d2e1414 More style fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:59:24 +00:00
Julian Smart
e0b9ad2982 Further border style corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:15:25 +00:00
Gilles Depeyrot
245abf09bf ignore dll build output directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 20:41:36 +00:00
Julian Smart
3fcea4b10b Include missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 19:25:15 +00:00
Václav Slavík
96aba1e942 clarify using embedded XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 16:20:54 +00:00
Chris Elliott
2cedc12a6a Borland makefiles now keep output apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 11:34:39 +00:00
Chris Elliott
ba0d56c3c2 fix SF bug 742496
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 10:23:03 +00:00
Julian Smart
a5ae8241de Allow printing objects to be passed a wxWindow, not a wxFrame
(vestigial remains of older wxWin version)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 09:55:28 +00:00
Chris Elliott
9f6df75d32 dialogs sample now works with digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 09:17:31 +00:00
Vadim Zeitlin
a9103a81be fix m_Matches overflow if Compile() is called more than once (bug 742236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 20:28:01 +00:00
Václav Slavík
7df93c2deb fix _() for wxUSE_INTL==0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:28 +00:00
Václav Slavík
c53207a546 added CompareAccelString function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:13 +00:00
Vadim Zeitlin
90985bdec4 added a link to the Wiki page explaining MSVC++ install process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 22:27:36 +00:00
Stefan Csomor
c69e74885f guarded M_PI declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 21:31:29 +00:00
Mattia Barbon
a5f0148111 Removed obsoleted files from vc.t.
Regenerated some makefiles/project files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:23:12 +00:00
Mattia Barbon
29d0a26e65 Compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:07:22 +00:00
Mattia Barbon
7bb2947d52 Added --enable-accessibility switch to configure
(off by default). Fixed makefile for the accessibility
sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:06:46 +00:00
Mattia Barbon
a538c1c36f wxMotif now uses src/x11/region.cpp, change makefiles accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 20:01:32 +00:00
Mattia Barbon
148b44a1e7 Used wxRegion code from wxX11.
Removed update rect list from wxWindow
(not necessary anymore).
  Simplified and corrected clipping region handling
in wxWindowDC. Stopped wxWindowDC::DoBlit from
destroying the clipping region.
  Simplified wxPaintDC code.
Added wxWindow::DoCreateScrollBar helper function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 19:41:05 +00:00
Julian Smart
69108ccb4e Removed wxHTMLHelpControllerBase (putting the
implementation into wxExtHelpController.
wx/helphtml.h now includes wx/html/helpctrl.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 11:20:39 +00:00
Stefan Csomor
33a74b19c0 reflected latest file movements...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:42:56 +00:00
Stefan Csomor
4457f32a77 removed DoGetSize implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:39:01 +00:00
Stefan Csomor
7052b16ded removed carbon printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:37:05 +00:00
Stefan Csomor
26b9b4e12a comments added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:35:06 +00:00
Stefan Csomor
8d4f85ce8d two fixes for CW/Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 07:30:50 +00:00
Julian Smart
b39dbf34b8 Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Julian Smart
d726047819 Applied patch [ 738821 ] Allow more features to be turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:59:07 +00:00
Julian Smart
3443393889 Applied patch [ 736321 ] Compile error for src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:56:14 +00:00
Julian Smart
404749841f Applied patch [ 742452 ] wxPrintDialogData: can't set PD_PAGENUMS
Applied patch [ 742446 ] wxPrintDialogData::GetAllPages always returns TRUE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:38:12 +00:00
Gilles Depeyrot
9946aa4bf0 removed print.cpp from list of Mac files and regenerated files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:18:42 +00:00
Mattia Barbon
bef8d4810d MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:51:36 +00:00
Mattia Barbon
092276a865 Correct wxCommandEvent.IsChecked() when generated from
a checkable menu item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:39:28 +00:00
Mattia Barbon
94e785e128 Remove duplicate wxEmptyString declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 20:36:33 +00:00
Stefan Csomor
b9c102317d deactivating wxSTAY_ON_TOP patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 19:43:08 +00:00
Robin Dunn
5aed9d5067 Fix page positioning when the tabs are on a side different than
wxNB_TOP by choosing margins dynamically instead of always using fixed
margin sizes.  Also remove unnecessary large internal borders
(although they can be reactivated by flipping an #if.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:41:01 +00:00
Julian Smart
92647cb718 Added pngs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:02:54 +00:00
Julian Smart
0a4c16d6c4 Test using transparency in menu bitmaps.
Better, but still shows background when menu item selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:01:31 +00:00
Julian Smart
c0cb30dc8f Applied patch [ 731656 ] Owner draw menu icons
Benjamin I. Williams


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 19:07:02 +00:00
Julian Smart
f3466c5537 Applied patch [ 739401 ] gtk_init() has to be called before gdk_threads_enter()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:54:27 +00:00
Julian Smart
1fdf858b87 Applied patch [ 740012 ] GetKeyState returns 16-Bit value on WindowsNT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:43:03 +00:00
Julian Smart
0fc7f695ce Applied patch [ 740071 ] Make tiff errors/warnings use wxLog functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:25:24 +00:00
Mattia Barbon
732c0bfdff Stop the ApplicationShell from being managed (and thus show
on the screen as a "normal" window).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 16:50:46 +00:00
Julian Smart
deda94c5b4 Noted that the preview object is deleted by the frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:45:57 +00:00
Julian Smart
e6c96a7ca4 Applied patch [ 689188 ] adds wxToolBar::GetToolPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:27:39 +00:00
Julian Smart
b5db27fe1e Fixed simple border style on wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 07:40:56 +00:00
Julian Smart
5024483dd0 A fix to prevent mungeing of the config file after reading in
entries (say, just one entry in one group), then adding entries
to a different group.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 21:45:04 +00:00
Stefan Csomor
1be0560eff DoGetSize implementation corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:49:11 +00:00
Stefan Csomor
746d758297 switch to pImpl pattern for mac printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:45:01 +00:00
Stefan Csomor
5f965f0b41 DoGetSize overrides
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:33:36 +00:00
Stefan Csomor
1da7f7a5be switch to pImpl pattern for mac printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:27:10 +00:00
Stefan Csomor
8a5b9f0807 switch to pImpl pattern for mac printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 18:22:03 +00:00
Václav Slavík
a71b82dda9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 16:46:27 +00:00
Václav Slavík
876262caf1 allow untranslated accelerators, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 16:45:47 +00:00
Julian Smart
a37e4a071c Corrected some wxAccessible mistakes
Implemented some SplitterWindowAccessible functions
in sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 14:00:18 +00:00
Julian Smart
067ad8205c Added list of possible slogans for wxWindows stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 07:40:25 +00:00
Julian Smart
c2d48b36a6 Added a backport item and items to the todo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 07:36:47 +00:00
Roger Gammans
b4bfd0fa63 * Prevent miminum and actual row and col sizes going below the
minimum acceptable row size.
   This should fix sf.net bug #645734


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 20:15:17 +00:00
Roger Gammans
b8d24d4edd * Apply patch #735595. Add miminumAcceptable{Height,Width}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 19:49:43 +00:00
Stefan Csomor
b233688254 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 15:23:41 +00:00
Roger Gammans
ff699386b9 * Fix logical error in m_overflow attribute merging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 15:07:40 +00:00
Stefan Csomor
f243e00b4b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 12:08:49 +00:00
Julian Smart
8ad9ca97bb Don't prepend directory to filename for shortcuts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 09:20:42 +00:00
Stefan Csomor
a1fea40ec6 not needed anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 07:58:39 +00:00
Stefan Csomor
20cd7383dd UMAPr.. calls for classic only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 07:43:03 +00:00
Mattia Barbon
76208c7ef6 Remove dead code. Factor out duplicated code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 20:14:07 +00:00
Mattia Barbon
719e7f81cc Update changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 19:52:58 +00:00
Mattia Barbon
3f3071dcd5 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 19:51:02 +00:00
Julian Smart
7051e6c79c Corrected wxScrollBar style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 09:30:00 +00:00
Stefan Csomor
8868ab3313 finding papersizes allows for 1 mm tolerance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 07:45:47 +00:00
Stefan Csomor
b47d37a99f temporary fix for carbon (problems under OS 9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 07:44:04 +00:00
Julian Smart
ba8c70bb2e Wizard now validates as well as doing data transfer when
pressing Back or Next


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 21:21:53 +00:00
Stefan Csomor
cfb00da4c4 carbon printing extended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 20:39:24 +00:00
Stefan Csomor
e99cc06dc6 ValidateOrCreate added for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 20:36:37 +00:00
Stefan Csomor
056541fab7 added cw support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 16:15:58 +00:00
Václav Slavík
92337e39b9 unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-15 22:38:32 +00:00
Julian Smart
c09615b8ed An attempt to make the notebook sizer report its size
correctly under Windows, otherwise you get a huge gap
at the bottom if fitting to the content of the page.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-15 22:15:25 +00:00
Stefan Csomor
c91a2f7e67 forgot to commit project file for CW before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-15 09:31:52 +00:00
Julian Smart
6390284bfa Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 21:31:03 +00:00
Robin Dunn
46a5010a06 Acutally use the m_maxChars parameter value instead of ignoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 20:50:55 +00:00
Robin Dunn
7c5e6fc68e Changes allowing for proper KEY_DOWN and CHAR events for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 19:25:18 +00:00
Jouk Jansen
44d511ad4d Committing in .
wxMOTIF for OpenVMS compilation updates

 Modified Files:
 	wxWindows/lib/vms.opt wxWindows/src/motif/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 06:52:46 +00:00
Mattia Barbon
9a595736d0 Derive wxStaticText from wxStaticTextBase, remove dead code/code
duplication. Likewise for wxStaticBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 20:02:15 +00:00
Mattia Barbon
882b1d8d0e Fixed bug with notebook pages not showing (probably affected any
wxWindow/wxPanel child when panel was hidden and then shown again).
The bug was introduced by the fix for hidden windows still intercepting
mouse events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 19:52:58 +00:00
Mattia Barbon
f332a5a0f8 Lesstif compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 19:50:33 +00:00
Julian Smart
932b55d0d6 Reordered the slow-click test, otherwise it would never
be fired if in row-select more. Also added a ClearSelection,
which was omitted in the changes since 2.4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 17:45:23 +00:00
Julian Smart
7699361c96 Rationalised style handling in tree control
No longer use WS_EX_WINDOWEDGE since it seems to be obsolete,
and has no effect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 15:20:50 +00:00
Julian Smart
6678c7f838 Removed obsolete check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 15:16:54 +00:00
Václav Slavík
f2034f1b6e applied HTML pagebreaks patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 22:33:51 +00:00
Mattia Barbon
6769d0cbf3 Factored out some common code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:04:08 +00:00
Mattia Barbon
11eadd92f3 Removed dead code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:58:45 +00:00
Mattia Barbon
47be989f6b Implemented copy-on-demand for wxClipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:55:35 +00:00
Mattia Barbon
3f85391ea7 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:54:01 +00:00
Mattia Barbon
0cc1d4ff2a Removed redundant wx<Control>NameStr declarations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:52:43 +00:00
Julian Smart
22a746d726 Apply correct style variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:09:40 +00:00
Julian Smart
975ee4b4a9 Auto 3D border if parent is panel or dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:04:46 +00:00
Vadim Zeitlin
be9b0663d9 reworked vertical scrolling code to correspond better to what I think is correct (horizontal case is unchanged)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 08:35:53 +00:00
Vadim Zeitlin
0cf5de1133 changed handling of range/max scrolling parameter and cleanup (removed Win16 code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 08:33:48 +00:00
Vadim Zeitlin
5eae641dd6 fixed bug in WinStruct<> ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 23:25:14 +00:00
Vadim Zeitlin
bffa02ff6f added WinStruct<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:43:28 +00:00
Vadim Zeitlin
c4e54c6d80 moved missing constants definitions to their right place in wx/msw/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:41:23 +00:00
Vadim Zeitlin
3136f782be wxTextBuffer ctor bug and something else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:29:31 +00:00
Vadim Zeitlin
51e257806f init m_isOpened in ctor (bug 736208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:28:16 +00:00
Chris Elliott
7db39dd699 digital mars fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 20:02:40 +00:00
Gilles Depeyrot
4431a7322b We don't put main() in the library any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 19:31:00 +00:00
Gilles Depeyrot
e8617760b0 assert is raised when using the thread sample (which works) so the test is
probably not so easy. Can widget callbacks be triggered from child threads
and, if so, for which widgets?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 19:28:13 +00:00
Gilles Depeyrot
edf6a06341 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
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@20586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 18:08:58 +00:00
Gilles Depeyrot
e8117e7f5c updated CodeWarrior 5.3 xml project with latest changes to file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 18:08:51 +00:00
Gilles Depeyrot
3399051ee9 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
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@20584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 17:57:23 +00:00
Gilles Depeyrot
d5f3e1ebf5 added assert to detect attempt to install idle handler from widget callback
not called from main thread


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 16:44:48 +00:00
Vadim Zeitlin
275a63e3a6 use alpha channel in Blit() as well and not only in DrawBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 11:14:35 +00:00
Vadim Zeitlin
c9fcf5817f many fixes for PNG reading after recent alpha changes; grey scale images reading was in particular broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 10:49:27 +00:00
Vadim Zeitlin
edb57eaebe added missing typename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:04:10 +00:00
Vadim Zeitlin
70cd62e95c TRUE/FALSE -> true/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 01:01:36 +00:00
Vadim Zeitlin
aaa9782834 wxImage::Create() should be bool, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 00:59:42 +00:00
Vadim Zeitlin
d9ef4e06ed added LVSICF_NOSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:55:39 +00:00
Vadim Zeitlin
8fa97a5819 compilation fix for BCC (and probably others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 12:53:08 +00:00
Vadim Zeitlin
73baf01ab3 compilation fix (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 11:43:39 +00:00
Vadim Zeitlin
82eba82658 fix wxDisplay initialization (patch 735303)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:57:51 +00:00
Vadim Zeitlin
41b78190ad recognize ESC[APE] in menu accel strings (patch 733967)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:56:07 +00:00
Vadim Zeitlin
a8fbc9cc57 fall back to wxAlphaBlend() if ::AlphaBlend() didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:57:34 +00:00
Vadim Zeitlin
4b8ab2f93a use DIB, not DDB, when converting from an image with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:54:16 +00:00
Vadim Zeitlin
edf8e8e071 memory for alpha channel was over allocated by a factor of 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:52:20 +00:00
Vadim Zeitlin
2f22353e37 fixed iterator over wxImage with alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:50:43 +00:00
Julian Smart
2c92d7e398 Removed a spurious print statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 23:32:55 +00:00
Julian Smart
ff38281aa1 Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Vadim Zeitlin
243dbf1a50 Insert() patch from John Labenski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:58:28 +00:00
Vadim Zeitlin
b5f159ac91 use wxDEPRECATED around GetNoHistoryFiles()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 12:04:01 +00:00
Jouk Jansen
d171743ed3 Committing in .
Fixes needed for OpenVMS

 Modified Files:
 	wxWindows/include/wx/x11/private.h
 	wxWindows/include/wx/x11/privx.h
 	wxWindows/src/common/dbtable.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/bmpmotif.cpp
 	wxWindows/src/motif/descrip.mms wxWindows/src/x11/bitmap.cpp
 	wxWindows/src/x11/utilsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:53:52 +00:00
Stefan Csomor
1925be658c fixing some redrawing bugs overpainting foreign window's area under OS9, reintroduced TransitionWindow calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:16:30 +00:00
Stefan Csomor
76a60a81b4 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:13:32 +00:00
Stefan Csomor
4506b24a05 masking out wxOK and friends from dialog style in order to avoid clashes with miniframe windows flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:12:53 +00:00
Stefan Csomor
140f2012cd reintroduced m_isBeingDeleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:12:02 +00:00
Vadim Zeitlin
7af6b69e74 wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 00:02:58 +00:00
Vadim Zeitlin
1162d0a257 wxGLCanvas doesn't derive from wxScrolledWindow since quite some time already despite of the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:46:34 +00:00
Vadim Zeitlin
50ef440170 undid patch which was supposed to allow thread recreation and added instead an assert preventing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:38:05 +00:00
Robin Dunn
faad0a95e1 Prevent scrolling back to the top when calling SetItemCount again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 06:29:39 +00:00
Robin Dunn
7e6874c014 Fix GetItemRect to offset by the header window, if present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 02:17:52 +00:00
Robin Dunn
45ff80056c Added #if TARGET_CARBON around shaped window stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 20:31:29 +00:00
Julian Smart
0bbeb42dde Ensure grid components don't have borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 20:16:41 +00:00
Václav Slavík
139c5871c9 fix for multiple initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Robin Dunn
b63fce942f fixed compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 18:08:01 +00:00
Robin Dunn
ef5df12bdf Also merge the m_overflow attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:50:08 +00:00
Mattia Barbon
dd38c87578 Implemented wxBitmapDataObject.
Implemented generic wxDataObject support in wxClipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +00:00
Julian Smart
27c7397611 More style issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
31e7e89fdd Fixed style glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:03:11 +00:00
Julian Smart
6ae0daf6c5 Added WS_VISIBLE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 14:02:38 +00:00
Chris Elliott
05d3cd45e5 update for digital mars - resolve externals in shell and winsock libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:18:45 +00:00
Chris Elliott
44e8cf38f1 missing externals for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:09:14 +00:00
Chris Elliott
e81cf2eb73 update makefile.sc for digital mars to use relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 11:41:21 +00:00
Chris Elliott
f5705f7e3e update makefile.sc for digital mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 11:20:32 +00:00
Chris Elliott
f0fc695806 remove if defs for DigitalMars as suggested by Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:14:14 +00:00
Julian Smart
acd42a2395 Removed some commented-out code
Added border improvements to changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:32:57 +00:00
Robin Dunn
8adb5d4557 Added inline setters for wxTreeEvent so we don't need to add new
friends anytime someone wants to generate wxTreeEvents


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:30:37 +00:00
Robin Dunn
0b887a21d4 allow the base class to participate in the CanPaste decision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 23:43:39 +00:00
Julian Smart
fe3d9123c6 Revamped border handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:57:32 +00:00
Chris Elliott
957f03699b possible fix for templates with digitalmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 15:08:52 +00:00
Julian Smart
59fac08507 Removed obsolete 16-bit import libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 09:44:36 +00:00
Robert Roebling
6d18407fa4 Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 08:52:14 +00:00
Chris Elliott
ce51dc7507 update digitalmars makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 08:13:18 +00:00
Chris Elliott
025bbf5bcf update install docs for MSW (Borland & Digital Mars)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 08:08:07 +00:00
Julian Smart
8161ba085f Doc clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:53:46 +00:00
Robert Roebling
bcc4c54184 Penguin Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:22:13 +00:00
Robert Roebling
2b5b932572 OpenGL for GTK2 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:21:22 +00:00
Robert Roebling
84e7741af6 Splitter clean up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:20:14 +00:00
Mattia Barbon
1ae2e0af5a Fix for crash on exit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 20:51:18 +00:00
Robert Roebling
7f5f144a81 Upported fix to mouse capture event handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:42:22 +00:00
Julian Smart
d60913555c Initialised m_isBeingDeleted -- I don't know how anything
worked without it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 21:09:58 +00:00
Julian Smart
1dfc3cda6e Setting state to STATE_NEW in wxThread::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:51:09 +00:00
Mattia Barbon
eb6fa4b425 Changed the way ApplicationShells are used: now wxMotif
creates one ApplicationShell per display, and makes top
level windows popup childs of the ApplicationShell.
  Removed a couple of unused variables from wxApp.
  Replaced some calls to wxGetDisplay with XtDisplay(widget)
or event.xany.display, and some others with wxGlobalDisplay
(the latter changes are just eyecandy).
  Used wxFlushEvents where appropriate.
  Fixed (hopefully) wxFindAcceleratorText and wxFindAccelerator;
for now the new version is still disabled, awaiting further testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:40:46 +00:00
Mattia Barbon
b0feedc5db Avoid crash during global destruction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:35:44 +00:00
Julian Smart
cfbf444a53 Applied updated patch [ 731719 ] Owner draw font leak/overuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:12:58 +00:00
Julian Smart
1d105d58f4 Added defined() to directive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 15:50:27 +00:00
Julian Smart
84969af72d Added some missing copyright lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 14:11:45 +00:00
Mattia Barbon
28169f14ec Fix for the fact that unmapped but managed widgets
intercept mouse events even if they are not visible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:19:57 +00:00
Mattia Barbon
44f5b99574 Pass events to pushed event handlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:17:15 +00:00
Robin Dunn
819451b6c7 Reversed the meaning of black and white in wxRegion::ConvertToBitmap
so it matches the menaning of black and white in wxMask


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Julian Smart
40f359cafe Applied [ 731578 ] wxThread state bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:41:57 +00:00
Stefan Csomor
2cee82b781 corrected pageRect for non carbon targets, removed commented obsolete sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:41:03 +00:00
Julian Smart
afd366a714 Added items to todo list and publicity doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:34:28 +00:00
Julian Smart
dddcedbf7f Mentioned: Applied patch [ 701238 ] Added BLOB support to dbtable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:32:23 +00:00
Julian Smart
5962bdb85a Applied patch [ 701238 ] Added BLOB support to dbtable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:28:18 +00:00
Julian Smart
4b8f491298 Applied patch [ 726350 ] wxGrid - MovePageDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:17:38 +00:00
Julian Smart
cb27bab1e6 Applied patch [ 731846 ] GTK Print Options
Print options were omitted from print command


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:11:55 +00:00
Julian Smart
69e66915e3 Mentioned wxImage::Scale improvement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:07:55 +00:00
Julian Smart
ff865c132a Applied patch [ 730686 ] wxImage::Scale speed improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:06:07 +00:00
Julian Smart
8c18da2e41 Applied patch [ 731195 ] More #if/#endif's to build a smaller library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:50:04 +00:00
Julian Smart
384c96533e Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:45:00 +00:00
Julian Smart
c754f4aa00 Mentioned docview changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:39:04 +00:00
Julian Smart
19b4237945 Applied patch [ 731719 ] Owner draw font leak/overuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 11:56:38 +00:00
Julian Smart
9d4a05be9b Applied some of patch [ 622660 ] consistent behaviour for docview.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 11:44:40 +00:00
Julian Smart
a36d790a7b Added m_isOpened variable to simulate opening/closing
the clipboard on wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 17:48:17 +00:00
Chris Elliott
dec2b82453 digital mars updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 14:48:05 +00:00
Chris Elliott
76c718091a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 14:05:03 +00:00
Chris Elliott
1e3c12d774 implement wxHAVE_RAW_BITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:58:00 +00:00
Julian Smart
7a311019db Corrected a memory leak I introduced in the last patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:49:07 +00:00
Chris Elliott
e6c13db6ec fix bug to make Borland compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:47:07 +00:00
Chris Elliott
7581faf616 digital mars updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 12:16:28 +00:00
Chris Elliott
bf978f96c2 Macro swicth from SC to SYMANTEC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:30:18 +00:00
Chris Elliott
384f18ed35 info about digitalmars in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:28:38 +00:00
Chris Elliott
2bdf715463 Macro swicth from SC to SYMANTEC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:21:03 +00:00
Chris Elliott
0b3f29b359 fix for digitalmars header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:19:20 +00:00
Chris Elliott
e7e793efd3 fix for digitalmars header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-02 11:13:07 +00:00
Vadim Zeitlin
33caa9948d make accelerators for bitmap menu items work (patch 626048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 23:15:09 +00:00
Vadim Zeitlin
20f18ea193 compilation fix when WXUNUSED(arg) == arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 22:53:59 +00:00
Vadim Zeitlin
eb76cc945b added (back?) CROSS support (patch 658234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 22:36:46 +00:00
Vadim Zeitlin
4d0d77affc show the taskbar icon even after Explorer restart (patch 723532) + some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:49:34 +00:00
Vadim Zeitlin
660b190686 fixed spurious debug error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:41:59 +00:00
Vadim Zeitlin
d694de12e7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:03:32 +00:00
Vadim Zeitlin
2eefae6efa better handling of transparent colour in wxImage conversion (patch 726208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:59:40 +00:00
Vadim Zeitlin
8e0a317c4f stddef.h required for IRIX compilation (patch 721388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:47:16 +00:00
Vadim Zeitlin
e8c6a69c9d set the index for BEGIN_DRAG events (patch 726308)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:38:42 +00:00
Vadim Zeitlin
e9c8005b47 only set replace string for replace events (patch 728415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:35:47 +00:00
Vadim Zeitlin
8ab40c5227 fixes for working with mono bitmaps (patch 728768)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:31:30 +00:00
Vadim Zeitlin
10545ca4e7 fix for a crash in ~wxLocale and incorrect GetLanguage() return value (patch 729758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 17:06:41 +00:00
Vadim Zeitlin
adf9e09990 missing #if's needed for compilation with some wxUSE_XXX set to 0 (patch 728413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:52:17 +00:00
Vadim Zeitlin
ea39221211 fix a problem with Unicows (patch 720542)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:46:28 +00:00
Vadim Zeitlin
2015f2b308 fix the wrong size of the first page when it's added to the notebook (replaces patch 728770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:39:59 +00:00
Vadim Zeitlin
a452af5e68 allow raw access to a part of the image only (faster when using alpha)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:37:51 +00:00
Julian Smart
b72b192036 Implemented delayed closing of an existing document
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:40:39 +00:00
Julian Smart
1cf1238db4 Reset m_lastItem to avoid crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:38:55 +00:00
Julian Smart
3e3a7b97ec Implemented delayed selection (e.g. after adding the root
or deleting items) so that the event handler will be
called appropriately.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 15:37:30 +00:00
Julian Smart
5c180caf1b Removed backslashes in verbatim example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 13:37:59 +00:00
Vadim Zeitlin
444d3e017e read numbers even if they're followed by spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 11:08:22 +00:00
Vadim Zeitlin
2423ef22ee compilation fix for Unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 00:48:58 +00:00
Václav Slavík
cf5e94bc6d fixed Norwegian Bokmal code to conform to new ISO 639-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 22:48:01 +00:00
Stefan Csomor
c0ef107e6b correcting non-unicode char conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 20:19:29 +00:00
Stefan Csomor
4241baae44 removing unused flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 20:17:13 +00:00
Stefan Csomor
dd49c69170 include "ToolUtils.h" for LoWord and friends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 19:01:55 +00:00
Vadim Zeitlin
ef33c57631 fixed configure for autoconf 2.5x (patch from Olly Betts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 13:31:09 +00:00
Julian Smart
00013f54a2 Allow for +/- in E part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 12:44:03 +00:00
Julian Smart
7102c47355 Allow 'e' or 'E' in numeric text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 09:43:03 +00:00
Julian Smart
e0f4c2c88b Use the context help XPM for MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 08:41:31 +00:00
Robin Dunn
6a7e641161 Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
<e_lub@yahoo.com>   wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Vadim Zeitlin
e97251c58e compilation fix for !USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-29 22:39:02 +00:00
Mattia Barbon
f734e1dad1 MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-29 21:15:28 +00:00
Julian Smart
91fd135b38 Fixed brace problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-29 10:26:52 +00:00
Chris Elliott
5d19b6acd1 fix filefn conditional error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-29 09:36:05 +00:00
Chris Elliott
f15dcc0158 update to make digitalmars compile/link libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 21:12:02 +00:00
Chris Elliott
3e6477f4ab SF patch [ 708702 ] Wide character filename support for BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 21:09:58 +00:00
Chris Elliott
a3bb1d14a5 SF patch [ 708702 ] Wide character filename support for BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 20:58:29 +00:00
Mattia Barbon
6cee329241 Blind compilation fix in the case where libXpm
isn't available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 19:55:18 +00:00
Robin Dunn
cd01e3646a SF Patch #728691, dangling pointer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 18:44:27 +00:00
Chris Elliott
9a55c2ee2a fix wxChar error in docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 15:09:59 +00:00
Vadim Zeitlin
b8985048a5 fix for Unicode compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 11:51:53 +00:00
Julian Smart
2f930c8501 Doc suggestions applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 10:37:08 +00:00
Julian Smart
01d0d0e57d Fixed [ 728819 ] memory leak in ipcbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 10:33:05 +00:00
Vadim Zeitlin
6298b8d0b2 another blind fix for wxX11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 02:08:57 +00:00
Vadim Zeitlin
1d2f48b681 updated to use the new raw bitmap API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 02:04:09 +00:00
Vadim Zeitlin
b9bcaf117a new template-based more flexible and hopefully more efficient raw bitmap implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 01:46:05 +00:00
Vadim Zeitlin
96df9ed9b1 create tab ctrl with WS_VISIBLE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 21:49:22 +00:00
Vadim Zeitlin
bb793b0cfb *really* fixed searching in sorted arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 15:17:46 +00:00
Vadim Zeitlin
13a6fb3a25 don't hardcode wxCHOICEDLG_DIALOG_STYLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 13:30:01 +00:00
Stefan Csomor
a722995e62 moving rollover check, was causing hangs upon termination in case ->top was 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:18:20 +00:00
Stefan Csomor
7f7a740336 transition window calls had some problems with layering, switched back to hide and show native calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:01:43 +00:00
Mattia Barbon
e6be3e7c1b Implemented wxEntryStart, wxEntryInitGui, wxEntryCleanup.
Removed code already in wxTopLevelWindowBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 12:54:45 +00:00
Václav Slavík
4f1f340199 added xh_wizrd.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 22:34:25 +00:00
Mattia Barbon
77e0239d76 Patch [ 726877 ]: Remove /GX- from makevc.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 20:42:25 +00:00
Mattia Barbon
94923d5127 Compilation fix for wxBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 20:26:32 +00:00
Mattia Barbon
9a8ffaddeb Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 20:24:35 +00:00
Chris Elliott
d56327cd06 update to make digitalmars compile/link libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 18:55:46 +00:00
Mattia Barbon
8a73873fa0 Not used anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 12:13:31 +00:00
Vadim Zeitlin
c8011d7377 fixed bug recently introduced in wxSortedArray::Index()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 12:06:25 +00:00
Vadim Zeitlin
0cad49b42c blind fix for wxMotif compilation with wxHAVE_LIB_XPM == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 11:10:45 +00:00
Jouk Jansen
c5a2f27478 Committing in .
#undef before #def in order to suppress redefinition warnings

 Modified Files:
 	wxWindows/contrib/include/wx/deprecated/setup.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 06:06:08 +00:00
Mattia Barbon
56cc1400c7 COmpilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 22:17:14 +00:00
Mattia Barbon
a28fda44bc Added wxWizard handler to Makefile.in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 22:15:21 +00:00
Chris Elliott
d26fad77f7 update to make digitalmars compile/link html\test sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:56:03 +00:00
Chris Elliott
7960c7b4c5 update to make digitalmars compile/link make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:37:23 +00:00
Chris Elliott
2cea8d2558 update to make digitalmars compile/link make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:16:56 +00:00
Chris Elliott
ee252037cf update to make digitalmars compile/link make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:08:21 +00:00
Chris Elliott
e9196d9c63 update to make digitalmars compile/link html sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:07:02 +00:00
Chris Elliott
5bfebd013e update to make digitalmars compile/link image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 21:02:07 +00:00
Robert Roebling
50382578c1 Another attempt to fix the freeze while mouse capturing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 17:41:10 +00:00
Robert Roebling
6e7d0063bc Upported minor fix for font dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 14:35:29 +00:00
Jouk Jansen
b41f79f59d Committing in .
reinstalled one wxvariant instance which is used in dbgrid.cpp

 Modified Files:
 	wxWindows/src/common/variant.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 13:51:53 +00:00
Jouk Jansen
96f4ca4201 Committing in .
wizard.cpp contains "deprecated" code

 Modified Files:
 	wxWindows/src/generic/wizard.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 13:50:25 +00:00
Jouk Jansen
6804a3f719 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms
 	wxWindows/utils/dialoged/src/descrip.mms
 Added Files:
 	wxWindows/contrib/src/deprecated/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 13:48:51 +00:00
Chris Elliott
56689e1b3a explicit cast for digital mars to use OLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 11:15:36 +00:00
Robin Dunn
368a4a4784 Prevent a Gtk-CRITICAL message when Remove()ing a menu from a menubar
that has submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:08:42 +00:00
Robin Dunn
1bc54e3257 Fix setting the scrollbar positions (SF Bug #721159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:04:26 +00:00
Chris Elliott
465b213606 digital mars compiler updated - test no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 15:29:57 +00:00
Robert Roebling
33688b28c3 Typo in mouse event code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 06:37:05 +00:00
Chris Elliott
4ded51f2fa update to make digitalmars compile/link image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-22 21:12:30 +00:00
Chris Elliott
0caac3b4a9 update to make digitalmars compile/link image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-22 21:02:29 +00:00
Václav Slavík
9e82cf9876 modification to wxSizer handler needed for wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-22 20:26:06 +00:00
Václav Slavík
a84c0558d8 tooltips should be translated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-22 20:25:58 +00:00
Václav Slavík
e5db28fd7c added wxWizard handler to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-22 20:25:50 +00:00
Václav Slavík
b867ed682d fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-21 11:23:02 +00:00
Robin Dunn
9e730a7876 Updated Scintilla to 1.52 (on the trunk this time too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 20:00:02 +00:00
Chris Elliott
ce8897bbff update to docs now minimal sample compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:49:58 +00:00
Chris Elliott
059b646254 update to make digitalmars link minimal sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:42:44 +00:00
Chris Elliott
48bac87b56 update to make digitalmars compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:28:19 +00:00
Chris Elliott
cc972ac67e update to make digitalmars link - I really don't like the extern C declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:25:28 +00:00
Chris Elliott
4ce1efe123 update to make digitalmars compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 18:15:17 +00:00
David Elliott
e668651137 Separated the Objective-C to C++ association code into the new header
ObjcAssociate.h.  That leaves ObjcPose.h for its original purpose and
avoids including it from any header files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 17:51:50 +00:00
David Elliott
fb45bb1fb2 #include "wx/cocoa/ObjcPose.h" from the source in preparation for removing
it from the already included headers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 17:40:46 +00:00
Gilles Depeyrot
5822d04ada corrected for resource compilation with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:17:23 +00:00
Gilles Depeyrot
475b09e7a7 updated Project Builder minimal sample project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:16:33 +00:00
Gilles Depeyrot
9bd1404d20 removed superfluous casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:15:44 +00:00
Gilles Depeyrot
90771fe589 added extern "C" for include of mach/mach.h to fix link errors with PB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:14:46 +00:00
Gilles Depeyrot
06ea1f023e removed unused variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:13:29 +00:00
Gilles Depeyrot
692db919db corrected warning (missing const)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:12:15 +00:00
Gilles Depeyrot
90b2e44c5b updated CodeWarrior 5.3 project with latest changes (files added and removed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:06:10 +00:00
Gilles Depeyrot
0b93f59c51 updated Project Builder project with latest changes (files added and removed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 07:58:07 +00:00
Vadim Zeitlin
abd9b10e39 make choice dialog resizeable by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 22:23:49 +00:00
Mattia Barbon
632cfe57c5 Reverted my last change, since it's ugly and does not
work anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:26:52 +00:00
Mattia Barbon
8fb29449e7 Fixed dist target; added relevant wxX11 files to wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:23:38 +00:00
Julian Smart
de996ce082 Can switch between clipping code mroe easily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:22:59 +00:00
Julian Smart
ca5020c229 Darkened preview background for Mac (else get stripey background)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:18:01 +00:00
Julian Smart
46b24ef914 Have dark colour for preview canvas under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:04:33 +00:00
Julian Smart
feea0f9569 Don't call MakeModal on the Mac -- it leaves
frames with non-working menubars if there
are multiple top-level frames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 19:48:02 +00:00
David Webster
4b460879a2 Final update to catch the dropping of prop out of generic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 18:53:01 +00:00
David Webster
0474c6efc6 Get rid of this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:58:21 +00:00
Julian Smart
c4e98b3311 Disabling code that causes display glitch on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:17:42 +00:00
Julian Smart
29676ca095 Part of a patch I forgot to commit previously: demonstrating selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:15:30 +00:00
Julian Smart
e8737b66aa Added some items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:11:52 +00:00
Julian Smart
f77e1e5d0d Use wxLogTrace instead of wxLogDebug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:10:29 +00:00
David Webster
6e348b12dc More OS/2 updates reflecting changes in 24 Branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 15:47:35 +00:00
Julian Smart
9dff851556 Use sizers, not constraints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 15:37:44 +00:00
Chris Elliott
95bf19daf8 fix build for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 12:19:45 +00:00
Chris Elliott
fc17ff87a1 rebuild filelist for borland compiler (datacmn changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 11:37:36 +00:00
Julian Smart
94dc12383d Removed old files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 09:48:24 +00:00
Václav Slavík
e23279e1a7 fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 22:33:54 +00:00
Chris Elliott
8174870699 fix for removal of dosyacc.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 13:15:09 +00:00
Chris Elliott
3faedeb065 fix for removal of dosyacc.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 12:01:14 +00:00
Julian Smart
2dab56e91e Added wxAccessible documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 09:40:09 +00:00
Julian Smart
12fddefcbb Removed y_tab.c dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 07:57:56 +00:00
David Webster
4f5c180eba OS/2 updates to catch the port up with the rest of the library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 21:08:31 +00:00
David Webster
b823f462a1 OS/2 updates for lowercase bool values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 21:04:36 +00:00
Stefan Csomor
756c27045d added direct HICommand updating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 19:39:44 +00:00
Vadim Zeitlin
8e7cd32b33 use symbolic constants instead of raw numbers for mouse buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 19:00:14 +00:00
Stefan Csomor
249aad307f Skipping Right_down event if generated context menu event is not handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 17:07:27 +00:00
Vadim Zeitlin
753f2cb491 extracted duplicated code from src/*/data.cpp in a common file (forgot to commit before; sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 23:29:09 +00:00
Vadim Zeitlin
eaa6852f39 another update, only 7 untranslated strings left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 20:17:51 +00:00
David Elliott
68698f0308 When saving the editable state, use the real state (m_editable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 18:34:06 +00:00
Mattia Barbon
a8680e3e0e Code clanup: removed some useless/unused member
variables/functions from wxWindow; used
wxTranslateMouseEvent instead of duplicating its
functionality.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 17:27:28 +00:00
David Elliott
69dbb7098b Added InitMouseEvent helper method (like wxMSW)
Implemented the following mouse handlers:
mouseDown, mouseDragged, mouseUp, mouseMoved
Added stubs for the following mouse handlers:
mouseEntered, mouseExited, rightMouseDown, rightMouseDragged, rightMouseUp,
otherMouseDown, otherMouseDragged, otherMouseUp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 03:54:32 +00:00
David Elliott
fe802fc2ed Catch and forward the following mouse related events:
mouseMoved, mouseEntered, mouseExited
mouseDown, mouseDragged, mouseUp
rightMouseDown, rightMouseDragged, rightMouseUp
otherMouseDown, otherMouseDragged, oterMouseUp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 03:51:59 +00:00
David Elliott
b67d3706d9 Added NSEvent class for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 03:48:54 +00:00
David Elliott
e5a87141b4 Use (generic) text dialog for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 01:53:55 +00:00
Michael Bedward
d477aa2bb3 Added -w-inl to CFG section to suppress the annoying messages about event and radiobox functions not being inlined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 01:21:26 +00:00
Vadim Zeitlin
fa275e8648 support raw access to DDBs as well as DIBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 01:03:41 +00:00
Vadim Zeitlin
8ffc8f1fb9 added debug checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 01:03:04 +00:00
Vadim Zeitlin
3692b94818 fixes for Win95 (where GetObject(DIBSECTION) is broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 00:59:48 +00:00
Vadim Zeitlin
30ad0a1469 don't crash if an image is not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 00:46:59 +00:00
Julian Smart
4455332266 Test for result of searching for wxID_CANCEL button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:56:09 +00:00
Julian Smart
8d60dc8aa0 Don't use focus if NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:38:57 +00:00
Vadim Zeitlin
e340193bb6 removed accidentally left #ifdef WATCOM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:11:42 +00:00
Vadim Zeitlin
06d0938900 renamed GlobalHandle class to GlobalPtr to avoid conflict with the Win32 function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 21:58:59 +00:00
Julian Smart
70ddb200c1 Set wxPendingEvents to NULL after deleting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 21:08:39 +00:00
Vadim Zeitlin
7af64aace1 don't crash in UngetRawData() if it is invalid; fixed rounding errors in alpha premultiplying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 16:23:40 +00:00
Vadim Zeitlin
878711c01c implemented fallback for AlphaBlend() for the systems not supporting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 15:59:49 +00:00
Vadim Zeitlin
cc37ebe090 don't return garbage from GetRawBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 15:58:47 +00:00
Vadim Zeitlin
98ea6b7d6a added missing wxBitmap(w, h, dc) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 15:52:14 +00:00
Vadim Zeitlin
69440cd26c added the list of supported accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 15:36:35 +00:00
Vadim Zeitlin
12338247ae better alpha test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:11:01 +00:00
Vadim Zeitlin
106c33bb1d fix alpha premultiplying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:09:00 +00:00
Mattia Barbon
a968cb805f Removed conflict markers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:07:51 +00:00
Vadim Zeitlin
13c13ecbbf premultiply the colours by the alpha value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:02:17 +00:00
Mattia Barbon
e34dcad290 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 14:01:28 +00:00
Mattia Barbon
510bf1ec20 Fix wxMotif build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:58:01 +00:00
Vadim Zeitlin
e1b998ce2d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:55:53 +00:00
Vadim Zeitlin
10b41b53cb added wxBitmap::UseAlpha()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:45:20 +00:00
Vadim Zeitlin
bc9f356d52 added test image for alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 13:44:35 +00:00
Stefan Csomor
bfe9ffbc8f supported controls on toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 11:57:48 +00:00
Stefan Csomor
c2fa4af423 implemented constructor for rect from point and size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 11:55:25 +00:00
David Elliott
e67cc398eb Include datacmn.cpp in wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 06:29:13 +00:00
David Elliott
b79297d243 Removed everything since it's now in datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 06:10:03 +00:00
David Elliott
d5ca66298a Implemented Raise()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 05:40:01 +00:00
Vadim Zeitlin
84a667dc06 fixed unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 02:22:52 +00:00
Vadim Zeitlin
376b18eac7 fixes necessary for the default GUI log target to be used in Debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 02:22:00 +00:00
Vadim Zeitlin
8c9564b392 fixed yet another printf() format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 02:11:12 +00:00
Vadim Zeitlin
fba1b53b87 fixed printf() format warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 02:08:03 +00:00
Vadim Zeitlin
a25d51afbc fixed a printf() format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 01:48:17 +00:00
Vadim Zeitlin
f7155274cc fixed a harmless warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 01:26:43 +00:00
Václav Slavík
30a8c81ddb backport wxZipFsHandler fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:30:48 +00:00
Václav Slavík
a42c2eece0 removed outdated docs (fixes bug #698139)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:29:04 +00:00
Václav Slavík
ddaf55663f fixed relative filenames inside ZIP archive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:28:51 +00:00
Václav Slavík
d0b50ad939 better error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:28:13 +00:00
Václav Slavík
5571f3d3d7 applied patch to fix tooltips charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:40:48 +00:00
Václav Slavík
e624f5ba66 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:38:30 +00:00
Václav Slavík
1a31de36a4 added LDFLAGS_GL to makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:38:10 +00:00
Václav Slavík
707a378282 compilation fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:37:20 +00:00
Václav Slavík
96c0a5167b added Georgian translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:37:05 +00:00
Stefan Csomor
732b3a752b redraw fixes for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:05:17 +00:00
Stefan Csomor
2027c6db5b adaption to deprecated files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:03:12 +00:00
Vadim Zeitlin
100cf085fb fixed Moving() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 13:16:20 +00:00
Vadim Zeitlin
a364b95710 added Ukrainian translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 13:15:27 +00:00
David Elliott
7875262d29 DECLARE_WXCOCOA_OBJC_CLASS now declares types as struct objc_object* so that
they are exactly the same type for C++ and Objective-C++ code.  This allows
them to be used as arguments to functions, especially virtuals, because
the C++ name mangling will be the same.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 04:17:37 +00:00
Vadim Zeitlin
89e3b3e448 fixed syntax error in configure.in; regenerated configure after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:18:57 +00:00
Vadim Zeitlin
ff101af5b8 Unix OpenGL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:13:07 +00:00
Vadim Zeitlin
021fde89a6 don't suppose that libs GL and GLU arei n the same directory (bug 699289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:11:49 +00:00
Vadim Zeitlin
260d684906 trying to fix threads compilation options: use -Ethreads under UnixWare, don't use -pthreads under IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 01:02:02 +00:00
Vadim Zeitlin
1d2e5548c4 UnixWare compilation fix (explicitly declare pthread_mutexattr_settype)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:53:37 +00:00
Vadim Zeitlin
ef6a2689b4 user dash and container focus patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:47:45 +00:00
Vadim Zeitlin
918dc51991 fixes return values of wxSemaphore::TryWait() and WaitTimeout() to behave as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:43:28 +00:00
Vadim Zeitlin
a5e3c24d7b UnixWare compilation fix (include sys/filio.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:35:14 +00:00
Vadim Zeitlin
4a8900f257 added UnixWare recognition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:32:22 +00:00
Vadim Zeitlin
66f2199449 Unixware compilation fix (#undef index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:22:45 +00:00
Vadim Zeitlin
d26d975463 fixed CheckTransparency() for RGBA images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:03:16 +00:00
Vadim Zeitlin
7ce4426ae3 2.4 -> 2.5; build in another directory than source one; mention --disable-shared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:02:28 +00:00
Vadim Zeitlin
dca9009bcc unstable doesn't mean it crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:56:27 +00:00
Václav Slavík
851ccc357b don't forget to backport manifest and wxLocale fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:24:05 +00:00
Václav Slavík
5db932052d added WindowsXP manifest directly into application's resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:22:39 +00:00
Václav Slavík
65dc921d3f don't report setlocale failure if trying to set Unicode-only language
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:20:36 +00:00
Robin Dunn
ef4a634b1b Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
entire value like other ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:38:56 +00:00
Vadim Zeitlin
4365da58c8 fixed bug with searching in sorted arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:05:24 +00:00
Chris Elliott
dc7219d2e1 correct Watcom build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 14:31:24 +00:00
Vadim Zeitlin
6eb37239e0 use on gdk_draw_lines() call instead of multiple gdk_draw_line() ones (patch 717012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 14:14:23 +00:00
Vadim Zeitlin
e2a5251d01 fixes for user dash handling (patch 717736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 14:02:32 +00:00
Vadim Zeitlin
3251b83466 containers don't always accept focus (patch 718913)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 13:48:27 +00:00
Julian Smart
bd4a25bc50 Moved wxDateTime::TIME_T_FACTOR into datetime.cpp to
prevent VC++ confusion


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 11:01:39 +00:00
Václav Slavík
66010e8d0d don't use deprecated macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:01:42 +00:00
Vadim Zeitlin
bfe835d075 regenerated with tmake after adding datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:08:29 +00:00
Vadim Zeitlin
6a76384f2d extracted duplicated code from src/*/data.cpp in a common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 20:33:17 +00:00
Vadim Zeitlin
11968fef9c don't use deprecated IntToString function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 18:14:38 +00:00
Vadim Zeitlin
e12c92c2f7 moved wxFloat/DoubleToStringStr from src/*/data.cpp to src/common/utils.cpp; took all String <-> Numebr functions inside WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 13:08:46 +00:00
Vadim Zeitlin
b1a28eef7c set krc to wxKILL_OK on success
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 00:14:17 +00:00
Gilles Depeyrot
19bb2f5bbe if we are not in the main thread, output the assert directly and trap since
dialogs cannot be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 20:30:33 +00:00
Mattia Barbon
1eb1eae717 Compilation fix (missing headers).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 17:07:25 +00:00
Mattia Barbon
f7f78039d2 Add tests for XShape extension API in configure,
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
Mattia Barbon
aae0472bf3 Use the wxBitmap implementation from wxX11
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:44:27 +00:00
Julian Smart
507db85d59 Include winable.h for NotifyWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 15:16:54 +00:00
Vadim Zeitlin
4f4d07644f update from NY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 14:48:04 +00:00
Michael Bedward
1eb9ddb9f8 Fixed TARGETDEF usage. Now defined in the parent make to use include a DEF file in the build. Is there some better way of doing this ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 13:19:40 +00:00
Robin Dunn
6d460f765d Turn off all border styles for the inner window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:24:14 +00:00
Vadim Zeitlin
20e4242f93 yet another versionof Greek translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:51:36 +00:00
Mattia Barbon
c3b3654e9b Compilation fix for !wxUSE_TOOLTIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:45:38 +00:00
Mattia Barbon
be8a703f96 Removed ".wxr fixes for Unicode" item, since wxr have been
removed from 2.6-to-be, and deprecated in 2.4.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 18:37:30 +00:00
Vadim Zeitlin
59a9a6bcc6 added missing default argument value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 13:52:31 +00:00
Vadim Zeitlin
2e491df9fa printf() format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 11:28:57 +00:00
Vadim Zeitlin
c9ee09924f wxMac doesn't use wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 10:53:23 +00:00
Václav Slavík
4eb38db745 backported some things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:17:13 +00:00
Václav Slavík
cf21abe595 deprecated XMLID and friends macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:15:03 +00:00
Stefan Csomor
643a0828da explicit app modality in SetModal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 20:37:30 +00:00
David Elliott
376c2fba79 After delete wxPendingEventsLocker; wxPendingEventsLocker = NULL; so that
the wxEvent code doesn't try to use it while cleaning up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 18:06:46 +00:00
Mattia Barbon
a29c6824c2 Add GetDrawable convenience function that returns m_bitmap
if the wxBitmap is monochrome or m_pixmap if the wxBitmap
is polichrome.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:39:00 +00:00
Mattia Barbon
1ca61fa7a7 No sashtest.xbm to be found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:35:22 +00:00
Mattia Barbon
02a48e3b0a Fix some GCC 3.2 -O2 warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:32:19 +00:00
Mattia Barbon
9ce8d6a2b0 Moved m_visual* wxApp[X11] members used by wxBitmap and
wxColour into a new wxXVisualInfo structure, and moved code
to initialize it to a new src/x11/utilsx.cpp file (utility
functions shared by wxMotif and wxX11).
  Added (currently unused) code in wxMotif to
retrieve wxXVisualInfo; it will be used when wxMotif
is switched to bitmap.cpp from wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:15:11 +00:00
David Elliott
13fc3db40e Do some sanity checks in DoDrawText to make sure we actually have some glyphs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 04:04:10 +00:00
David Elliott
ce50c4d1c6 Added stub for wxIcon(const char **xpm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:38:12 +00:00
David Elliott
2894667fa4 Relocate DeviceToLogical[XY], add stub for LogicalToDevice[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:31:38 +00:00
David Elliott
64440d7734 Added preliminary resource fork support for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:14:35 +00:00
David Elliott
de6dab5f7c Allow wxUSE_DIRDLG and wxUSE_TREECTRL for wxCocoa (both are generic)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 03:05:24 +00:00
David Elliott
01f5f03e7f X11-specific code doesn't work so well on wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:57:12 +00:00
David Elliott
8d0eaedd07 Use the generic tree control for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:49:17 +00:00
David Elliott
b400d50ac6 There is no task bar icon for Cocoa (yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 02:21:10 +00:00
David Elliott
6c342f3ff1 Whoops! Might want the headers too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 01:44:11 +00:00
Vadim Zeitlin
e40bef9f54 option for using DirectX in wxDisplay
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 00:38:06 +00:00
Vadim Zeitlin
06efac1f8d support for optionnally using DirectX for display manipulations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 00:30:18 +00:00
Julian Smart
d515343ca2 Removed redundant fixme comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 20:47:59 +00:00
Mattia Barbon
b229c8a911 Remove (now) pointless checks for __WXX11__/__WXMOTIF__ in
src/x11/utils.cpp and src/motif/utils.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 20:39:45 +00:00
Julian Smart
06cc1fb991 Applied [ 716064 ] Second part of wxFileCtrl & wxDirCtrl patch
by John Labenski


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:57:51 +00:00
Vadim Zeitlin
5015e02267 fix bug with not accepting write-only formats in d&d
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:40:54 +00:00
Vadim Zeitlin
673e612079 merged 2 overloaded functions into a single membersections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 18:37:06 +00:00
Julian Smart
409bd44e7b More patches done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:59:59 +00:00
Vadim Zeitlin
efa14cf20a added assert to check that notebook page does have notebook as parent; removed duplicated AddPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:46:48 +00:00
Julian Smart
01562b11f2 Applied some of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:48:34 +00:00
Julian Smart
edb247200c Reordered functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:14:50 +00:00
Julian Smart
5ae8a62ccf Removed backported fix from toback24.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 11:38:43 +00:00
David Elliott
1f6c4d4746 Changed dc.cpp to dc.mm and dcclient.cpp dcclient.mm for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:55:41 +00:00
David Elliott
891d0563f7 Replace dc.cpp with dc.mm and dcclient.cpp with dc.mm
Update app.mm to call wxDC text system startup and cleanup code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:54:38 +00:00
David Elliott
ec4e4a1415 Use the wxStaticBox::GetBordersForSizer method to get border information
on wxCocoa.  Perhaps the other ports should do this?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 00:51:44 +00:00
David Elliott
2ace5cf632 Added GetBordersForSizer(int *bordertop, int *borderOther)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:26:30 +00:00
David Elliott
ddf7346ac0 Commented out most the the wxLogDebug
Basic implementation of Refresh() does not take into account eraseBack or Rect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:23:50 +00:00
David Elliott
c29e274378 Cocoa still uses the generic file dialog (see include/wx/filedlg.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:16:34 +00:00
David Elliott
82de126c11 Added declarations for NSLayoutManager, NSTextContainer, and NSTextStorage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 23:06:24 +00:00
Václav Slavík
842f5c94c9 regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:30:39 +00:00
Václav Slavík
fb29dcac01 partially working wxTaskBarIcon for X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:27:47 +00:00
Václav Slavík
3eae0c0b43 added taskbarcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:25:36 +00:00
Václav Slavík
4f5583b5c5 removed obsoleted virtuals from docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:22:01 +00:00
Václav Slavík
4bc6471261 updates to taskbar sample to use events instead of virtuals and work under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 22:20:52 +00:00
Julian Smart
b78ce094c7 Fix for getting all frames from GIF animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 18:59:50 +00:00
Mattia Barbon
62ad3cb358 Derive wxBitmap from wxBitmapBase.
Move code from LoadFile/SaveFile/Create* to
bitmap handlers.
  Implemented wxBitmap::GetSubBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 12:11:05 +00:00
Julian Smart
b71e94da10 Added a const for CW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:38:18 +00:00
Chris Elliott
833e610da7 fix accidental overwrite of Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:34:19 +00:00
Julian Smart
a2f9a63688 APplied patch [ 705301 ] Don't send event for wxSplitter::Unsplit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:33:10 +00:00
Chris Elliott
ddea7eb614 changes to watcom makefiles for OpenWatcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:14:07 +00:00
Václav Slavík
6344162a81 removed files with empty stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 23:00:08 +00:00
Václav Slavík
f5b1bb5e76 preparation for X11 wxTaskBarIcon version:
1. moved events to common file from MSW specific
2. deprecated virtual functions in favour of event handlers
3. removed taskbar.cpp files from port that don't implement it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:47:58 +00:00
Václav Slavík
6af507f77e preparation for X11 wxTaskBarIcon version:
1. moved events to common file from MSW specific
2. deprecated virtual functions in favour of event handlers
3. removed taskbar.cpp files from port that don't implement it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:33:47 +00:00
Robin Dunn
4e6beae5ec Handle checkable items the right way in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:21:38 +00:00
Julian Smart
0a2c03984a Applied [ 714756 ] Clean warnings on build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 13:13:46 +00:00
Roger Gammans
a967f0480b * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
* ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

 * check on uses of YToRow() / XToCol() and replace with
   calls internalYToRow() / internalXToCol() removing any external
   overflow handling where appropriate.

 * Add tests for overflow to prevent sending 'off grid' label events,
   would be indistinguishable from CornerLabel events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:14:07 +00:00
Robin Dunn
02822c8cdf Correction to my new menu code: handle submenus on menubar menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:01:52 +00:00
Vadim Zeitlin
6568015373 start of Greek translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 20:54:58 +00:00
Robin Dunn
a01fe3d6d2 Fixed menu event propogation to be consistent across platforms, and
with the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:39:20 +00:00
Julian Smart
91ce04cf9e Fixed OnSetCursor for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:17:05 +00:00
Julian Smart
e5c4c38b5d Applied patch [ 709618 ] fixes drawing position in wxPrinterDC::DoBlit()
wxPrinterDC::DoBlit() in current CVS is drawing to the
source coords rather than the dest coords. This patch
corrects that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:19:15 +00:00
Julian Smart
23254b138a Applied patch [ 708582 ] wxGenericFileDialog & expose generic wxFileCtrl
By John Labenski (jrl1)

The wxFileCtrl is a nice little widget that when
married with a wxDirCtrl makes for a simple, easy to
use explorer type widget.

include/wx/generic/filedlgg.h, src/generic/filedlg.cpp

Expose wxFileData and wxFileCtrl, rename wxFileDialog
to wxGenericFileDialog, it can be used in MSW now.

wxFileCtrl - added sorting for clicking in the col headers.
let wxGenericFileDialog manage it's own static text.
allow for viewing of root (for showing drives) in MSW
wxFileData - moved enum for wxFileCtrl col's into it.
added IsDrive and use bitmask instead of a slew of
bools for IsDir...

A couple bug fixes for wxFileCtrl for MSW, c:\.. is not
a file and can't be stated, show drives.

Basicly its the same as before, with no change besides
sorting for GTK. For MSW, the wxFileCtrl works in a few
more cases, hopefully all the MGL etc code was
untouched and should still work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:10:08 +00:00
Julian Smart
72c30d6572 Applied patch [ 706329 ] [wxMac] Fixes wxGetLocalTimeMillis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:01:59 +00:00
Julian Smart
715d7d25b3 Applied patch [ 708016 ] Setup0.h updated according wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 12:58:46 +00:00
Julian Smart
5a618a14c6 Applied patch [ 708377 ] Make NET (smapi.cpp) UNICODE compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:42:56 +00:00
Julian Smart
333a6456b9 Fixed the wxX11 crash bug on opening a dialog that has a parent,
by only refreshing subwindows that are not top level windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:20:46 +00:00
Julian Smart
695c21b118 Unicode-enabled the STC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Vadim Zeitlin
736f28f8d8 corrected description of auto-created wxConfig ownership (patch from bug 706868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 23:20:21 +00:00
Vadim Zeitlin
49fca29840 backport wxFileConfig fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:59 +00:00
Vadim Zeitlin
128e0251fe fixed problem of deleting an entry added to an initially empty root group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 22:16:23 +00:00
Vadim Zeitlin
3908fe9b00 corrected a slightly confusing wxTE_LEFT/CENTRE/RIGHT styles description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 21:21:25 +00:00
Mattia Barbon
d03bb63c48 Remove dulicated call to wxBitmap::Init/CleanupStandardHandlers,
which is already called from a module in bmpbase.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:59:59 +00:00
Mattia Barbon
be05eab690 wxMotif does not have wxBitmapDataObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:57:48 +00:00
Mattia Barbon
6799385e8c Partial fix for mono wxMemoryDC not working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:55:33 +00:00
Mattia Barbon
395cb311cf Remove deprecated methods use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:52:47 +00:00
Mattia Barbon
236de6f62a No real change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:50:21 +00:00
Mattia Barbon
59e034c034 Make wxIcon more independent from wxBitmap implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:48:57 +00:00
Mattia Barbon
70aac632a1 Some updates for wxMotif documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:46:36 +00:00
Julian Smart
739e366ac9 Applied patch [ 705212 ] wxTextCtrl::SetSelection() for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:55:42 +00:00
Mattia Barbon
2408a0d514 Regenerated configure scripts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:18:40 +00:00
Julian Smart
8dda7c0c48 Applied [ 703017 ] TreeCtrl sample build fails when using generic control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:40:35 +00:00
Julian Smart
5e7ea8ebb2 Correction to last patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:25:23 +00:00
Julian Smart
3037523a7c Applied patch [ 700313 ] Allow wxUSE_OWNER_DRAWN = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:18:51 +00:00
Julian Smart
873a543b62 Applied [ 700293 ] FL Unicode patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:14:13 +00:00
Julian Smart
db657fb29a Removed treectrl.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 13:54:01 +00:00
Julian Smart
6e9b4c7659 Applied patch [ 694561 ] FL Release build DLL include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:15:10 +00:00
Julian Smart
083f7497d3 Applied some of patch [ 688466 ] MSVC7 build & bug fixes
by Darren Whobrey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:10:37 +00:00
Stefan Csomor
baf3431445 better spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:32:19 +00:00
Stefan Csomor
aa812de01b setting origin to printable area for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:21:29 +00:00
David Elliott
8ea5271ee7 Implemented wxWindowCocoa::Cocoa_drawRect
Implemented drawRect override in wxPoserNSView
Declared pure virtual wxCocoaNSView::Cocoa_drawRect
Made wxWindowCocoa::Cocoa_FrameChanged protected (unrelated)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 17:59:54 +00:00
David Elliott
edd2522079 Changed defined(__DARWIN__) to (defined(__DARWIN__) && defined(__WXMAC__))
wxGTK running on Darwin certainly can not use the CF process callback
and I don't plan for wxCocoa to use it either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 17:16:59 +00:00
David Elliott
b0abe9eeec Removed deprecated parser.o from cocoa.t, reran tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 16:44:48 +00:00
David Elliott
a6bc93cc74 Wrap file with #if wxUSE_SPINBTN instead of #if 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 15:50:40 +00:00
Václav Slavík
5c451707f3 XRC's unknown widget container handles removal of the widget now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 22:02:15 +00:00
Mattia Barbon
973ac5bbb2 Regenerated some more makefiles/filelists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 19:33:06 +00:00
Mattia Barbon
dfa2a1d92b Removed Motif files that only contained stubs
for functionality that is:
1 - not Motif, but rather OS/WM specific:
    wxJoystick, wxWave, wxTaskBarIcon
2 - not provided natively by Motif:
    wxColourDialog, wxFontDialog, wxDirDialog,
    wxMetafile
3 - obsolete: wxTab*
4 - cruft: helpxxxx.h/cpp

  Regenerated configure and some filelist.txt-dependent
files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 19:23:10 +00:00
Mattia Barbon
e8508ea8a8 Removed a deprecated wxBitmap constructor, and some
more deprecated code. Move XCreateInsensitivePixmap to
bmpbase.cpp (another step towards removing
src/motif/bitmap.cpp).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 18:53:47 +00:00
Mattia Barbon
01772f64db Fix filelist.t to work with the packaged tmake.exe, which
does not include 'lib.pm'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 18:49:50 +00:00
Julian Smart
df32effb39 Added 'deprecated' files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 16:19:31 +00:00
Julian Smart
3b69115cba More deprecated code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:46:00 +00:00
Julian Smart
965b4f87d9 Removed old classes and functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:00:53 +00:00
Julian Smart
170e293d9f Added distrib file for deprecated classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 10:27:41 +00:00
Julian Smart
7c9955d147 More deprecated class mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 10:24:36 +00:00
Julian Smart
f2638c97a5 Deprecated lib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 08:09:56 +00:00
Julian Smart
2fc9385a2c Removing deprecated classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 22:47:33 +00:00
Julian Smart
642067e02a Removed treelay sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 22:21:37 +00:00
Julian Smart
7cb81afa43 Removed proplist sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 22:19:25 +00:00
Julian Smart
4b78db237a Removed resource sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 22:14:53 +00:00
Julian Smart
c6dafd93ca Deprecated library mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 21:55:34 +00:00
Julian Smart
3e3a8c40c5 Added project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 21:27:31 +00:00
Julian Smart
82e20720c9 Deprecated classes manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 21:21:33 +00:00
Julian Smart
f3aa39c7ac Makefile for deprecated samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:48:54 +00:00
Julian Smart
4a3bdee6a9 New location for some deprecated files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:47:55 +00:00
Julian Smart
820893d0d4 New location for more samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:36:46 +00:00
Mattia Barbon
ed0c2af3ab No real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:36:03 +00:00
Julian Smart
07831c160b New location for proplist sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:35:27 +00:00
Mattia Barbon
66f8b9ace2 Moved wxWindow::SetSizeHints implementation to wxTopLevelWindow,
where it belongs, verified that it works for wxDialog, too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:34:51 +00:00
Mattia Barbon
ccb234b4d0 Inherit LoadFile and SaveFile from wxTextCtrlBase, reduce
flicker caused by SetValue (the text itself still flickers a
bit, but now borders don't).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:32:00 +00:00
Mattia Barbon
fdfd5d49eb Removed dependency on wxTabView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:29:14 +00:00
Mattia Barbon
79fb264130 More native look for wxSpinButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:23:10 +00:00
Mattia Barbon
973451afc6 Add bmpmotif.cpp to descrip.mms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:20:39 +00:00
Mattia Barbon
8768548b81 Create dialog with the correct style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:18:56 +00:00
Mattia Barbon
b1823f8b46 Applied patch [ 702254 ] Life: Fix to page scrolling
from Hugh Gibson.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:14:00 +00:00
Václav Slavík
d003330ce4 attempt to fix platform property problem on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 15:56:31 +00:00
Stefan Csomor
31907d0307 unicode and __MACH__ additions for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:50:13 +00:00
Stefan Csomor
1940f66914 switching to as many MSL wchar implementations as possible for wxMac unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:44:56 +00:00
Stefan Csomor
64407854c1 cursor event support for mac activated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:40:46 +00:00
Stefan Csomor
ed4e170a7a mac unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:39:14 +00:00
Stefan Csomor
3470af1c9a fixed missing Idle events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:07:37 +00:00
Vadim Zeitlin
1cbf0cc6d3 start of Japanese translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 14:43:02 +00:00
Vadim Zeitlin
085c26ac14 updated Japanese translation, minor changes to the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 14:19:46 +00:00
Julian Smart
4a9dba0e56 Copyright cleanup
Added shaped sample to scripts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 13:53:55 +00:00
Julian Smart
f0f7bd8a4f Copyright cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 13:48:25 +00:00
Václav Slavík
6a87168b30 fixed bug #708570: Request 'silver' be allowed as a XPM value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 10:19:32 +00:00
Robin Dunn
3b3ca9beb8 Typo and compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:56:19 +00:00
Robin Dunn
dd1eb4e315 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:35:47 +00:00
Robin Dunn
2a73612989 Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:34:06 +00:00
Robin Dunn
1542ea396a Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Stefan Csomor
7728856b75 simplified definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 20:57:33 +00:00
Stefan Csomor
69a3ae88fc better mb2wc conversions for mac unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 20:55:23 +00:00
Stefan Csomor
2d2ed20f7b mach-o addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 19:18:51 +00:00
Vadim Zeitlin
a1e71b1032 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 17:41:02 +00:00
Stefan Csomor
2c1a331259 unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 17:30:20 +00:00
Stefan Csomor
84e7f94cb0 mach targets added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 16:26:15 +00:00
Stefan Csomor
e49079b2ab no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:36:41 +00:00
Vadim Zeitlin
34415ceaac backport wxFileConfig::DeleteEntry fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:32:46 +00:00
Vadim Zeitlin
7e0777dabb added test for wxFileConfig::DeleteEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:28:57 +00:00
Vadim Zeitlin
3362e80e71 fixed deleting entries at root level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:25:50 +00:00
Stefan Csomor
a2facb9415 bundle icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:22:08 +00:00
Stefan Csomor
e9a86b3c00 version support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 15:19:47 +00:00
Julian Smart
fe9c9eb022 Removed pointless Salford C++ support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 09:46:09 +00:00
Julian Smart
61bfe4b0ca Use wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 09:15:01 +00:00
Václav Slavík
5175dbbd9f fixed DrawTextFormatted to work in O(n) instead of O(n^2) if the text doesn't fit into the column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 23:21:47 +00:00
Stefan Csomor
427ff66291 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:33:32 +00:00
Stefan Csomor
44c44c82a3 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:21:51 +00:00
Mattia Barbon
3dd709d8c3 FIxed wxRadioBox::Get/SetLabel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:17:27 +00:00
Stefan Csomor
c4e41ce37a wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:14:39 +00:00
Václav Slavík
76806f5906 fixed loading of resource from ZIP files on MacOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:06:20 +00:00
Mattia Barbon
aae91497f6 Removed some old cruft from wxBitmap, moved wxMotif- and
wxControl-specific functionality (GetXXXPixmap) into a separate
class, and fixed the implementation. Adapted wxStaticBitmap,
wxBitmapButton and wxToolBar to the new situation.
  Various fixes to wxToolBar: Realize does not create buttons
multiple times anymore, use the disabled bitmap as the disabled
bitmap, not as the toggled bitmap for toggle buttons (!),
reposition buttons/controls when a tool is removed/deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:40:32 +00:00
Mattia Barbon
fc7ca9b347 Made wxMotif Move/SetSize/DoMoveWindow/DoSetSize
behaviour more consistent with other ports. As a side effect
now wxCalendarControl works correctly under wxMotif, too.
  Fixed wxWindow::ScrollWindow drawing artifacts when child
controls are involved.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:34:10 +00:00
Vadim Zeitlin
9ec1ed2a7e corrected the test for number of processors under Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 13:00:04 +00:00
Robin Dunn
2b9e4799b9 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:46:58 +00:00
Robin Dunn
3856ee0ba4 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:46:07 +00:00
Robin Dunn
3100de9921 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:45:47 +00:00
Mattia Barbon
2187eef5bb Calling a virtual function from a destructor is not good:
rearranged code to avoid it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:22:55 +00:00
Mattia Barbon
d8d1818419 SetSelection must not send an event. Fixed an off
by one index, and a crash (probably a Motif bug).
  Improved wxSpinButton appearance.
  Fixed some build warnings here and there in the samples,
removed use of deprecated wxList methods in prntdlgg.cpp, fixed
aot-of-range ID in tipdlg.cpp, fixed some errors detected by
valgrind.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:20:59 +00:00
Robin Dunn
6789bce964 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 21:58:31 +00:00
Robin Dunn
e0fb15a1c3 wxMac uses wxCursors now too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 21:57:43 +00:00
Robin Dunn
2d13837901 GetValue is pure virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:49:14 +00:00
Robin Dunn
bf78c81c04 wxImageHistogram needs WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:43:09 +00:00
David Elliott
8b611f0eb2 Wrap file with #if wxUSE_SLIDER ... #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 19:59:07 +00:00
David Elliott
8dfc2d9896 Use #if wxUSE_GAUGE instead of #if 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 19:56:29 +00:00
Mattia Barbon
ba2fcb0711 Fix wxSocket under wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:32:58 +00:00
Mattia Barbon
51d5ec5408 Compilation fix for non-PCH compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:31:33 +00:00
David Elliott
c176a11a0e Changed #if wxUSE_NEW_GRID to #if wxUSE_GRID (there is no more new grid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 18:09:28 +00:00
David Elliott
27397d6682 Implement wxExecute with proper callback on Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 17:53:12 +00:00
David Elliott
c8023fed76 - Added wxAddProcessCallbackForPid function
- Don't create pipeEndProcDetect on Darwin
- Initialize the wxEndProcessData before installing the callback
- Implement wxAddProcessCallbackForPid for Darwin, the code started life
  as an example from ADC and certainly has its fair share of race
  conditions, but with a few hacks it seems to be working okay.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 17:46:14 +00:00
Julian Smart
9c712743cb Correction to splittree; removed newgrid sample reference from index.htm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 14:13:07 +00:00
Vadim Zeitlin
e08a9b55e6 finally this translation uses traditional Chinese, not simplified (renamed old zh_CN)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 11:13:04 +00:00
Robin Dunn
a95e8d8b8c wxMac does need radiocmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 04:10:06 +00:00
Robin Dunn
9cbf6f6ea3 Tweaks for various diffs from 2.4.0 to current HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 01:41:21 +00:00
Robin Dunn
fc0821b650 Fix broken binaries...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 01:26:38 +00:00
Robin Dunn
7e50db3f1d SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 21:53:30 +00:00
Robin Dunn
7108497a54 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 20:37:50 +00:00
Julian Smart
1adff2f56f Use virtual functions to help splittree work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 18:49:34 +00:00
Robin Dunn
26b8693ba5 fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 17:10:57 +00:00
Vadim Zeitlin
446a798ddc renamed Catalan and Chinese translations to the correct names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 11:47:45 +00:00
Julian Smart
bcd44ac1b0 Removed odbc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 11:46:29 +00:00
Robin Dunn
230e09add6 Added file for xrc splitter support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 07:06:20 +00:00
Robin Dunn
b67a932778 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 07:04:05 +00:00
Robin Dunn
b9ac87bc5c Removed deprecation warnings in OGL and Gizmos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:58:05 +00:00
Robin Dunn
1e4a197e4c Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 06:35:27 +00:00
Vadim Zeitlin
9b4e3f352b call wxApp::OnExit() when wxExit() is called and don't do wxLogError from it (replaces patch 709142)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 01:51:11 +00:00
Vadim Zeitlin
f0fe27a041 added Catalan translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:12:45 +00:00
Vadim Zeitlin
d80f416f62 use StretchDIBits() if we're drawing a DIB and not a DDB in Blit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:10:41 +00:00
Vadim Zeitlin
2f52b4e15c use wxDIB class instead of duplicating DDB -> DIB conversion code once again (aaaargh, just how many copies of the same code with slightly different bugs in each case can we have??)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:07:53 +00:00
Vadim Zeitlin
cdd732de07 added test for Remove() and Replace() (patch 705051 from Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:04:38 +00:00
Vadim Zeitlin
581ee8a9c5 implemented Remove() and Replace() for GTK2 (patch 705051 from Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:03:19 +00:00
Vadim Zeitlin
82ac3b0a42 wxDIB::Create(wxBitmap) shouldn't do any conversions if the bitmap is already a DIB section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:58:50 +00:00
Vadim Zeitlin
9cf743aa7f oops, forgot default value for MemoryHDC ctor parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:48:54 +00:00
Vadim Zeitlin
697b08a89a MemoryHDC can now be used to create DCs compatible with arbitrary DCs and not just the screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:32:56 +00:00
Vadim Zeitlin
a8beba7230 fixed converting BI_BITFIELDS bitmaps to DIBs (fixes 589416)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:08:53 +00:00
David Elliott
a6b4ff2e62 Set the m_isShown flag appropriately from Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 21:41:49 +00:00
David Elliott
d449cf47c3 Use m_dummyNSView if necessary to get the superview frame for DoMoveWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 21:09:51 +00:00
Julian Smart
f40f9976fd Applied patch [ 705663 ] Fix capture mouse bug in wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 21:00:11 +00:00
David Elliott
548dd93d7d Create an NSView in leiu of a radio box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:55:15 +00:00
David Elliott
981af57ccf Create an NSView in leiu of a real listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:53:59 +00:00
David Elliott
576a15443d Use m_dummyNSView (if it exists) in place of m_cocoaNSView to retrieve the
superview's frame rectangle and this NSView's frame rectangle.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:38:40 +00:00
Vadim Zeitlin
0bcd741653 added wxTextBuffer::Clear() (patch 706188)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:37:27 +00:00
Vadim Zeitlin
5460b9e30b added non-const begin()/end() methods to wxString (patch 696842)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:32:55 +00:00
Vadim Zeitlin
17dd9caaa5 print dialogs ignore user paper settings in non C locale (patch 696835)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:31:24 +00:00
David Elliott
c1f7d193f6 CocoaRemoveFromParent can (and will) be called when !m_cocoaNSView.
However, if there is m_dummyNSView then there must be m_cocoaNSView.
Therefore, moved wxASSERT(m_cocoaNSView) inside if(m_dummyNSView)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:00:22 +00:00
Vadim Zeitlin
2b17e39106 don't unselect all radio buttons if there are 2 consecutive radio groups, just those in the second one, when its first button is pressed (bug 705441)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:54:13 +00:00
David Elliott
d5f229692e Create an NSView (in leiu of a real static line)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:34:48 +00:00
David Elliott
a8c80eb142 Create an NSView (in leiu of a real static bitmap class)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:33:50 +00:00
Vadim Zeitlin
72ad377f13 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:33:40 +00:00
Julian Smart
85b0fd7098 Reverted iodbc removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:25:03 +00:00
Vadim Zeitlin
925f154dac added a check for allowed id value (bug 690910)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:21:08 +00:00
Vadim Zeitlin
da32743f22 calling SetValue(GetValue()) didn't reset the modified flag (bug 678391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:00:04 +00:00
Vadim Zeitlin
c5c04fabb0 fix Alt-letter navigation with spin controls (bug 672974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:55:42 +00:00
Julian Smart
d8103d31f7 Removing newgrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:51:36 +00:00
Julian Smart
f7556ff05f Removed old grid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:50:10 +00:00
Vadim Zeitlin
41aebd5d79 backport fix for bug 672894
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:19:34 +00:00
Vadim Zeitlin
0fa939c29a draw multiline labels in owner-drawn buttons correctly (fixes 672894)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 18:18:05 +00:00
Julian Smart
c5f5e891ec Fix by Milan Babuskov <albis@eunet.yu> in MovePageUp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 17:21:57 +00:00
David Elliott
acbf95340f - Remove wxTopLevelWindowCocoa from the wxRTTI class hierarchy
- DECLARE_NO_COPY_CLASS(wxTopLevelWindowCocoa);


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 17:06:28 +00:00
David Elliott
08af0d25f9 !defined(wxUSE_TOOLBAR_NATIVE) changed to !wxUSE_TOOLBAR_NATIVE because the
configure script does define it to 0, not undef it (wxCocoa is using this)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 16:50:23 +00:00
David Elliott
9b4d9d5638 Enable the choice dialog on wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 16:07:34 +00:00
Julian Smart
09f6516cda Remove Install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 14:19:03 +00:00
Julian Smart
8c9a1303d8 Removing Install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 14:15:19 +00:00
Julian Smart
fa7e240226 Removing Install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 14:07:30 +00:00
Chris Elliott
4b1f929cc3 fix bug in Borland (bcc32 really hates ?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 12:47:41 +00:00
Chris Elliott
4c49b5d83e fix bug in Borland (bcc32 really hates ?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 08:44:08 +00:00
Vadim Zeitlin
810f173e8d removed wxUSE_IMAGE_LOADING_IN_MSW and wxUSE_RESOURCE_LOADING_IN_MSW settings, they're not used any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 21:36:43 +00:00
Vadim Zeitlin
2b254edf9c added wxDIB::Save() and wxDIB to/from wxBitmap) conversions, use them instead of the old C functions (the latter were removed, there is no old code left any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 21:33:21 +00:00
Julian Smart
26f0e9e2e4 Removed spurious spawnbrowser.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:42:04 +00:00
Vadim Zeitlin
563e3ecb6c use call tmake to invoke tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:38:52 +00:00
Vadim Zeitlin
51a2a728e5 added GlobalHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:36:51 +00:00
Julian Smart
f7292ebeba Removed obsolete ODBC classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:34:36 +00:00
Chris Elliott
2f8b6a1dcc fix reference to obsolete b32univ file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:26:05 +00:00
Julian Smart
2ab25aca26 Removed obsolete wxDate and wxTime classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:14:19 +00:00
Julian Smart
621b931778 Klaas Holwerda <kholwerd@xs4all.nl> contrib/src/canvasOBSOLETE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 19:09:28 +00:00
Julian Smart
6ceef8efe9 Removed obsolete library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 19:06:57 +00:00
Julian Smart
ce109c530a Removed gaugemsw.cpp,h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 18:52:29 +00:00
Julian Smart
6aa855b9ec Removed 16-bit gauge code (Microsoft)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 18:49:12 +00:00
Julian Smart
767ed8fd8c Removed dibutils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 18:35:37 +00:00
Vadim Zeitlin
40c79fab3a use wxCLOSE_BOX for MyImageFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 18:02:05 +00:00
Vadim Zeitlin
da9df1f51e added copying images to/pasting them from clipboard tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 17:48:42 +00:00
Vadim Zeitlin
22be0335df got rid of more duplicated code for working with DIBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:51:37 +00:00
Vadim Zeitlin
5cb0f77dfe removed unneeded #include dib.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:46:50 +00:00
Mattia Barbon
3bb70c4026 Add missing header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:12:41 +00:00
Mattia Barbon
8f4b6405ff wxMotif does not have support for raw bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:09:48 +00:00
Mattia Barbon
3c5bd1886a Added missing comma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:07:48 +00:00
Mattia Barbon
1201b3ef40 Updated TODO and ISSUES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 15:06:17 +00:00
Vadim Zeitlin
f2bb16493d removed GetBitmapForDC() and supporting functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 14:27:34 +00:00
Vadim Zeitlin
0b2e45b162 regenerated the makefiles with the latest filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:56:46 +00:00
Vadim Zeitlin
474df21877 use wxDIB methods instead of old functions for working with DIBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:49:19 +00:00
Vadim Zeitlin
7fd328a34d use wxBitmapToHICON/CURSOR()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:48:15 +00:00
Vadim Zeitlin
c11bf84234 added CreateDDB() and CreatePalette()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:46:31 +00:00
Vadim Zeitlin
b0ea5d9603 added CopyFromDIB()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:45:37 +00:00
Vadim Zeitlin
a2f10a1768 removed curico files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 01:16:20 +00:00
Vadim Zeitlin
42b6a61ef6 Win16 cursor/icon functions are not needed any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 00:00:16 +00:00
Vadim Zeitlin
211b54b109 added wxBitmapToHICON/CURSOR helper functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 23:47:06 +00:00
Vadim Zeitlin
d1bf777402 suppress error messages when loading msimg32.dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:13:13 +00:00
Vadim Zeitlin
d35cb50456 update from Janos Vegh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:12:44 +00:00
Vadim Zeitlin
b3f04dc2b2 test raw bitmap access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:10:09 +00:00
Vadim Zeitlin
f28e099ec3 added (very) preliminary raw bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:09:33 +00:00
Vadim Zeitlin
2cf45d6944 modifications for raw bitmap support and for using DIBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:02:05 +00:00
Vadim Zeitlin
bbc1265c40 create the DIBs in correct (and not down up) line order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:01:27 +00:00
Vadim Zeitlin
916b0ea345 added (very) preliminary raw bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:00:48 +00:00
Vadim Zeitlin
60a68e0024 backport Chinese locale fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 17:43:04 +00:00
Mattia Barbon
4d53042a6a Removed unnecessay code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 16:12:30 +00:00
Mattia Barbon
93e73c740e Do not derive wxCursor from wxBitmap, plus misc cleanup.
Derive wxGauge from wxGaugeBase, use XmScale for the
implementation if the Motif version supports the
XmTHERMOMETER style.
  Derive wxSlider from wxSliderBase; generate
wxEVT_SCROLL_THUMBRELEASE in addition to wxEVT_SCROLL_THUMBTRACK;
misc cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 15:46:22 +00:00
Václav Slavík
13de23f6d8 XRCID lookup now handles standard IDs correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 13:48:29 +00:00
Vadim Zeitlin
55427034af added GetName(), rearranged methods in alphabetic order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 13:42:16 +00:00
David Elliott
ac4eaadf80 Use wxBitmapBase in wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 07:45:38 +00:00
David Elliott
bc85826802 Regenerated by tmake: added all the cocoa source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 07:15:48 +00:00
David Elliott
178b5412d1 Added wxCocoa files to build system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 07:10:44 +00:00
David Elliott
8029fe033c Use generic MDI for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:40:47 +00:00
David Elliott
e64df9bcc3 Include wxCocoa specific header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:18:36 +00:00
David Elliott
0201182bf5 Use generic implementation for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:13:03 +00:00
David Elliott
51a8edc7e6 Use the generic timer for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:07:53 +00:00
David Elliott
1a4ebaf865 Use the generic palette for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:07:11 +00:00
David Elliott
9a7324a6d9 Use the MSW/Mac font encoding info for wxCocoa (just to make wxCocoa compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:05:41 +00:00
David Elliott
e0ea95b6f7 Use generic font dialog for wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:03:07 +00:00
David Elliott
f4515f987d - forward declare wxDC for use as a pointer or reference parameter in
wxDCBase methods
- Include wxCocoa specific header


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 06:00:12 +00:00
David Elliott
fed66a8797 - Modify #if to include wxCocoa as a platform using wxBitmapBase
- Include wxCocoa specific header


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 05:57:18 +00:00
David Elliott
ab590906ba - Include wxCocoa specific header
- Use the normal UNIX IMPLEMENT_WXWIN_MAIN macro


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 05:55:53 +00:00
David Elliott
a24aff654f FIXME: Complete stubs or other cruft necessary to make wxCocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 02:56:04 +00:00
David Elliott
812edc2530 Added more files containing original code and empty stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 02:38:01 +00:00
David Elliott
94c3ff9091 Checked in WXWIN=$(WXDIR) hack as per Vadim's request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 01:44:49 +00:00
Václav Slavík
27ef58ba02 fixed MSLU link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 23:14:26 +00:00
Václav Slavík
8d512476c5 no need to check for 2.3.0 anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 23:12:29 +00:00
Vadim Zeitlin
ee9768c9e0 (real) compilation fix after previous commit(s)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 21:04:31 +00:00
Vadim Zeitlin
e38b6ea8d2 (blind) compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 20:40:40 +00:00
David Elliott
da0634c140 Added more original works and stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 20:25:09 +00:00
David Elliott
fb896a322a Added original works and stubs to CVS repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 19:51:47 +00:00
David Elliott
43225e09fe Various changes for wxCocoa
- Check for __WXCOCOA__ as an acceptable definition for a GUI
- Where __WXMAC__ is used to mean "running on a mac" check for
  one of __WXMAC__ or __WXCOCOA__
- Add the obligatory __WXCOCOA__ definitions section


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 17:09:18 +00:00
David Elliott
befdb27f7d Added wxCocoa files.lst. There are not yet any wxCocoa source files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 16:44:26 +00:00
David Elliott
71f23c9aa8 Generate src/cocoa/files.lst using the new cocoa.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 16:29:17 +00:00
David Elliott
01ba8b3931 Add code to handle Cocoa, CocoaH, and CocoaR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 16:22:40 +00:00
David Elliott
aa2d605997 Added tmake template for wxCocoa, heavily derived from wxMac's mac.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 16:19:22 +00:00
Julian Smart
e835c3693b Copyright correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 15:43:19 +00:00
Julian Smart
aa5973eef4 Copyright correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 15:30:17 +00:00
Julian Smart
a4ab8ed5ff Copyright correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 15:24:24 +00:00
Julian Smart
2e5794713c Copyright corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 14:36:39 +00:00
Julian Smart
17240438f2 Copyright correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 14:35:05 +00:00
Chris Elliott
db4444f0ce fix memory leak as Dimitri suggested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 10:10:16 +00:00
David Elliott
ac0c4cc396 Added support for building wxCocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 05:13:45 +00:00
David Elliott
0e68a26a43 Added stub COCOA_DIST target with TODO comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 05:02:17 +00:00
David Elliott
39989a8093 Append .mm to .SUFFIXES list
Add .mm.o rule (exact copy of .cxx.o)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 03:27:39 +00:00
Michael Bedward
00524cfd67 Updated menu Appends to remove ambiguity that BCC complained about
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 03:23:27 +00:00
David Elliott
d9e2e4c242 Allow headers to be compiled in Objective-C++ mode
Changed id to one of:
winid   Window IDs and event system
itemid  Menu items
toolid  Toolbar items


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 02:58:55 +00:00
Mattia Barbon
6f87d5542d Changed g95.t according to my last changes to makefile.g95,
and regenerated it. Updated changes.txt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:31:43 +00:00
Mattia Barbon
b994671df0 makefile.g95 now adds _cyg or _min suffix to libraries/DLLs, as
per the discussion on wx-dev.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 17:45:38 +00:00
Julian Smart
7ebcb58495 Added more things to remove; added a couple of wxGTK items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 21:40:05 +00:00
Julian Smart
a125b1b9d5 Removed conflict indicators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 19:20:44 +00:00
Julian Smart
09a1dffa32 Removed some deprecated usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 17:24:06 +00:00
Vadim Zeitlin
9750481f36 fixed bad overflow bug in wxX11 timer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 16:57:30 +00:00
Vadim Zeitlin
92ee0ef908 added simplified chinese translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 10:55:33 +00:00
Robin Dunn
dd360466a5 Applied a modification of Patch #704995 which changes how the lines
are drawn such that only the visible portions are drawn.  This is
because (I think) if the length of the line is > 32k then on at least
Win9x and GTK 1.2 the line will wrap around to the other end of the
tree ctrl...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 01:01:14 +00:00
Julian Smart
174046a33c Formatting tidy-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-18 15:26:37 +00:00
Julian Smart
1cfa5d8e39 Some code tidying; removing dibutils.cpp which
doesn't seem to be used any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-18 15:08:21 +00:00
Václav Slavík
0f48e3d518 more LaTeX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 18:57:50 +00:00
Julian Smart
68fcaeb98e Added list of things to remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 17:14:04 +00:00
Vadim Zeitlin
13acdb7d36 some more details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 16:14:01 +00:00
Julian Smart
6b9aec458f Corrected copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 14:00:48 +00:00
Julian Smart
7818a75c16 Corrected copyright information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 13:41:00 +00:00
Vadim Zeitlin
355f240724 respect Veto()ing the column resize events; added test for this in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 13:24:45 +00:00
Julian Smart
6d89ddefa9 Corrected copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 12:27:00 +00:00
Julian Smart
be55ddb10d Corrected copyright message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 12:22:02 +00:00
Julian Smart
1a19e369fb Fixed copyrights, corrected licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 12:03:24 +00:00
Julian Smart
6aa89a22b8 Fixed copyrights and licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +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
Julian Smart
e3a1e3e0e5 Fixed copyright and licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:24:30 +00:00
Julian Smart
6c9a19aaba Removed erroneous copyright names and corrected licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Julian Smart
371a5b4e62 Removed erroneous copyright names and corrected licence spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 10:34:04 +00:00
Julian Smart
3f0fac91ab Don't use images for wxNotebook because of crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 09:38:55 +00:00
Václav Slavík
0d7fb283bb backport SetFonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 23:09:51 +00:00
Mattia Barbon
d40708e2fd Fixed (native) wxComboBox::SetSelection and
wxListBox/wxComboBox::GetString.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:40:35 +00:00
Václav Slavík
b1ef882100 LaTeX compilation fixes again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:34:07 +00:00
Václav Slavík
4eecf1150d applied patch adding SetFonts to wxHTML printing classes and allowing NULL sizes list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:30:26 +00:00
Václav Slavík
5851504dfc fix wxrc-generated c++ code to work in Unicode mode (patch #704064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:27:15 +00:00
Robert Roebling
cc3da3f8a1 Text attributes for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:47:47 +00:00
Robert Roebling
e136b74763 Better scrolling to cursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:28:56 +00:00
Julian Smart
18efb19f9d Added RCS ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:19:24 +00:00
Julian Smart
94af6953cf Tidied some wording, added configtool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:16:52 +00:00
Stefan Csomor
5e284dd5e8 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 10:13:20 +00:00
Mattia Barbon
ea9868e8d2 Derive wxBitmapButton from wxBitmapButtonBase + misc cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 08:50:21 +00:00
Mattia Barbon
3a73cc5203 Prevent wxChoice from resizing when items are added/deleted. Corrected
DoGetBestSize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 08:41:04 +00:00
Mattia Barbon
d6379fa35a Add wxRTTI to generic wxDirDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 20:08:45 +00:00
Mattia Barbon
d3a80c922c Remove explicit casts to (const char *), and replace it with .c_str();
use wxConstCast instead of explicit casts to char*.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 20:07:03 +00:00
Chris Elliott
f72199d117 fix build for borland 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 10:47:51 +00:00
Michael Bedward
77fc3492f9 added TARGETDEF to use a def file if one exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 09:09:13 +00:00
Vadim Zeitlin
441b8072ee backport wxFontEncoding values fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-13 22:05:16 +00:00
Robin Dunn
a8f473ac36 Prevent crash in case nothing is selected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 19:48:45 +00:00
Stefan Csomor
7ed2b47bf5 moved fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:52:48 +00:00
Robin Dunn
8aa2cea1d0 The statusbar should start with one field, not zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 00:01:03 +00:00
Robin Dunn
271d1110ed more informative error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:58:30 +00:00
Robin Dunn
d8c65cf488 If zero time is specified, don't try to sleep when using a timer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:38:17 +00:00
Robin Dunn
fb718549cd Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.  (Forgot a few last time)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:32:18 +00:00
Robin Dunn
f3076f9fae Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:28:40 +00:00
Vadim Zeitlin
39d6715fdf backport ParseDate() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 22:43:45 +00:00
Vadim Zeitlin
62ae2780a8 accept \r as a delimiter when parsing dates (bug 684617)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 22:14:40 +00:00
Mattia Barbon
3e2d47e1a9 Added helper functions for string -> XmString conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:40:53 +00:00
Mattia Barbon
a63b009834 Derive wxButton from wxButtonBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:39:01 +00:00
Mattia Barbon
521196a26a Added configure test for const_cast<>(), and enabled it
for MSVC 5 and 6, and MinGW; use const_cast<>() in
wxConstCast if it is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 21:37:28 +00:00
Vadim Zeitlin
79e929e79e fixed a serious bug in Shrink()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 18:11:15 +00:00
Vadim Zeitlin
28cafc44d2 backport a couple of memory leak fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 18:08:59 +00:00
Stefan Csomor
d46342af50 submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 15:50:28 +00:00
Stefan Csomor
578dc95029 submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 11:57:27 +00:00
Vadim Zeitlin
c9570d3076 added gtk/msgdlg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-08 14:36:27 +00:00
Mattia Barbon
84fb430b97 Reverted changes to make buttons smaller in wxMotif because they uncover
a bug in wxGTK, and, more importantly, thay will break user code under
Motif which uses sizers and calls wxButton::SetDefault.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-08 13:47:53 +00:00
Mattia Barbon
0ddf7c0cad Modified vc.t according to last changes to makefile.vc, and regenerated
makefile.vc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 16:03:15 +00:00
Mattia Barbon
fb5230de74 Removed some superflous #defines already added by plaform.h, simplified a bit
the logic to construct directory and library names; now it should be possible
to build in Unicode mode without changing setup.h; fixed building wxBase with
makefiles.
  Added a new DEBUGINFO parameter. FINAL=hybrid DEBUGINFO=1 is like
FINAL=hybrid but with debug information.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 15:48:41 +00:00
Stefan Csomor
ab89a5b59b show and hide implementation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:25:11 +00:00
Stefan Csomor
e9d804ebea depth for masks added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:21:16 +00:00
Stefan Csomor
637988a4f6 change to a tiny minimal value for DoGetBestSize in case of existing entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:38:12 +00:00
Stefan Csomor
8dd336cba3 added alpha channel support for mask bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:20:19 +00:00
Mattia Barbon
3ca22d5e92 Fix release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 21:07:50 +00:00
Mattia Barbon
10d1f4131d Work around wxNotebook or Motif or wxMotif bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 17:52:41 +00:00
Stefan Csomor
0c2d357716 context menu support for mac enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:56:06 +00:00
Stefan Csomor
7e0e5fe1e4 value expansion to double
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:38:19 +00:00
Stefan Csomor
63d1f74fe9 we now must skip right click events in order to allow for context events to be generated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:35:10 +00:00
Stefan Csomor
c4a49e11f7 the msw implementation even shows an ok button if it is not specified, we do the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:32:14 +00:00
Stefan Csomor
8950f7cc7e added OnMouse which will trigger context menu events, added better DoMenuPopup implementation which also deals correctly with check items, submenus etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:30:26 +00:00
Stefan Csomor
853f8094df added OnMouse which will trigger context menu events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:26:37 +00:00
Mattia Barbon
a87758e451 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:38:18 +00:00
Mattia Barbon
65ed018215 Document the new __WXMOTIF20__ preprocessor macro.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:36:48 +00:00
Mattia Barbon
b19a74b0bc Mentioned the need to set the WXDIR environment variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:35:46 +00:00
Mattia Barbon
35af98e482 Applied patch [ 696990 ] fix makeg95.env so it can find version.mak
from Derry Bryson.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:21:32 +00:00
Mattia Barbon
da494b405d Added new __WXMOTIF20__ macro, which is true if the Motif version
is 2.0 or higher.
  Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
  Miscellaneous cleanup; used wxXmString in some more places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Václav Slavík
bdb9ccbfd6 backport gtk2 mnemonics patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 18:10:06 +00:00
Václav Slavík
393cbb8ff7 fix compilation for GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 15:58:10 +00:00
Václav Slavík
eaafd2f8b7 added support for GTK2 label mnemonics (patch #689573)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 23:34:52 +00:00
Vadim Zeitlin
53eff2a282 new wxDIB class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:15:29 +00:00
Vadim Zeitlin
336b8a4257 don't use GetSelectedInto() in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:14:13 +00:00
Vadim Zeitlin
acf8e3d29e start of alpha transparency support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:12:28 +00:00
Vadim Zeitlin
0c543b7a19 don't erase the background to see the transparent images better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:10:27 +00:00
Vadim Zeitlin
9ae2ec95cf added wxDynamicLibrary::Detach()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 01:48:47 +00:00
Vadim Zeitlin
27bb2b7cea added support for reading alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:39:50 +00:00
Vadim Zeitlin
487659e0fa added alpha channel support to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:33:40 +00:00
Vadim Zeitlin
c0589c62a6 added some macros to define version strings from version number (instead of having to manually update both)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:52:25 +00:00
Vadim Zeitlin
5169844ada added math.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:50:21 +00:00
Vadim Zeitlin
ddb4769e7c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:49:37 +00:00
Stefan Csomor
c8ce283736 sorry previous commit message was wrong, should read
added shrink procedure with proper color averaging, it is triggered from scale in case the old with/height are multiples of the new width/height


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:35:52 +00:00
Stefan Csomor
fd9655adba overflow fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:30:20 +00:00
Stefan Csomor
534f031251 added shrink procedure with proper color averaging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:25:36 +00:00
Vadim Zeitlin
6627d4dfb7 compilation fix: include wx/platform.h before testing for __WIN32__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 02:15:55 +00:00
Vadim Zeitlin
652ab15353 fixed spurious assert in FindControl() (fixes patch 696147)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 00:00:52 +00:00
Vadim Zeitlin
7dc85fe2be added wxRect2DDouble == != = operators (patch 684616)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:44:56 +00:00
Vadim Zeitlin
a02afd1452 added wx/math.h (patch 686009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:42:57 +00:00
Vadim Zeitlin
e49c85af1c added possibility to use several wxFileHistories (patch 685876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:35:17 +00:00
Vadim Zeitlin
c5ef41d3b4 fixed memory leak (patch 696164)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:24:28 +00:00
Vadim Zeitlin
1265e13d17 added missing include (patch 690352)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:21:53 +00:00
Vadim Zeitlin
2b293fc78f fixed memory leak (patch 685580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:18:26 +00:00
Stefan Csomor
da804130ba GiveFeedback support, Cursor Extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:48:38 +00:00
Stefan Csomor
7541150812 OSX printing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:47:37 +00:00
Stefan Csomor
42683dfb10 destroy event support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:46:44 +00:00
Stefan Csomor
2a61618831 usleep fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:45:53 +00:00
Stefan Csomor
c5e591789b xpm support, color cursor support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:44:08 +00:00
Stefan Csomor
78e053ec45 xpm support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:38:30 +00:00
Stefan Csomor
30727fae8d fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:37:08 +00:00
Stefan Csomor
5f7a6626aa added copy arrow cursor macos specific
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:35:42 +00:00
Robert Roebling
3352cfffbc Up-ported wxBusyCursor fix and wxCombBov default dialog
action behaviour if enter is hit in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 21:34:32 +00:00
Gilles Depeyrot
653a3ed956 updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 20:22:31 +00:00
Mattia Barbon
483561c568 Refactored wxStaticBox, and changed wxStaticBox and wxRadioBox border
style from sunken to the default Motif style.
  Added some convenience macros for checking Motif/Lesstif version.
  Fixed the bug that caused wxStaticBox size to change when label text
was changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 20:08:45 +00:00
Gilles Depeyrot
a73903480f added missing include file and corrected memory leak due to creation of
never used region (NewRgn)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 19:57:47 +00:00
Václav Slavík
9ca4dd06de implemented wxCLOSE_BOX under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 18:58:58 +00:00
Vadim Zeitlin
84267f0dfc added tests for changing display resolution and going full screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:38:03 +00:00
Vadim Zeitlin
e3612e8b54 added wxDisplay files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:31:56 +00:00
Vadim Zeitlin
c6985199b0 define some global wxDisplay-related stuff here (wxArrayVideoModes, wxDefaultVideoMode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:30:17 +00:00
Vadim Zeitlin
716645d361 maximize the window to the correct display (i.e. the one it is currently on); ShowFullScreen() actually shows the window, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:24:34 +00:00
Stefan Csomor
4a95c88547 OSX fixes for printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:23:20 +00:00
Vadim Zeitlin
8585e2b506 implemented video mode support (getting the current one, enumerating, changing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:17:20 +00:00
Vadim Zeitlin
bfc9081049 significant API changes: wxVideoMode and methods using it added, GetDepth() and IsColour() removed, GetFromWindow() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:16:29 +00:00
Václav Slavík
af49404386 removed deprecated calls from wxImage example (bug #688438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 11:01:09 +00:00
Mattia Barbon
458ca8c1fd Implemented wxButton::DoGetBestSize for wxMotif. Now normal buttons
and default buttons are visually the same size, however, given how
wxMotif draws default buttons, the Widget for a default button is
bigger (8 pixels by default), thus setting default border will
make the Widget grow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 10:09:25 +00:00
Stefan Csomor
6b9eeef230 applied fix to MkDir for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 21:09:23 +00:00
Mattia Barbon
1119b89942 Do not change background colour for parent widget; set best size to
some arbitrary value if the text control is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 18:05:33 +00:00
Mattia Barbon
866c0d96cb Fix "make install" for wxMotif after recent changes for using X11 files.
Fix "make dist" for all ports (changes in internat sample), and for
wxMotif (for the aforementioned changes).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 17:52:27 +00:00
Stefan Csomor
3b43289082 added minor and major description for wxGetOsVersion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 17:30:38 +00:00
Stefan Csomor
3211bccf7c wxMac just using Update()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 17:13:57 +00:00
Stefan Csomor
913ff1a703 added wxMac to the branch using Update for refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 16:36:06 +00:00
Robert Roebling
1a44c9258a Added wxComboBox::SetString patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 10:00:29 +00:00
Robert Roebling
461573cc24 Upported combobox changes and another fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 09:59:27 +00:00
Julian Smart
e40298d54e Tidied space and tabs in wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:48:13 +00:00
Václav Slavík
7de24929eb 1. added native wxMessageDialog implementation for GTK+2
2. minor formatting changes, so that the changelog has consistent look


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:46:59 +00:00
Václav Slavík
cec773c6fc added native wxMessageDialog implementation for GTK+2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:46:41 +00:00
Václav Slavík
7f980cffb8 fixed wxScrollBar creation when default size was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:41:00 +00:00
Václav Slavík
c5969a3848 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:39:46 +00:00
Václav Slavík
13a7abf973 added native wxMessageDialog implementation for GTK+2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:37:46 +00:00
Julian Smart
d921af5140 Tidied up white space and tabs in wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:36:37 +00:00
Julian Smart
072df0b3af Removed unnecessary #ifs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 22:23:25 +00:00
Mattia Barbon
79132cd302 Change wxCLOSE to wxCLOSE_BOX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 22:09:14 +00:00
Julian Smart
a31a5f8534 Tidied copyright and date for wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 21:54:04 +00:00
Julian Smart
7532d2928e #ifed wxLog occurrences
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 19:30:22 +00:00
Julian Smart
f81387bd80 Added display sample to distrib file lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 18:04:10 +00:00
Vadim Zeitlin
e9b77bccb0 added FromPoint test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 01:48:47 +00:00
Vadim Zeitlin
c32b107789 started writing wxDisplay sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 01:33:55 +00:00
Robin Dunn
402ce75571 Patch from David Falkinder to help building a STC dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 21:10:20 +00:00
Vadim Zeitlin
d264d7091c show error message if exec() failed: not pretty but better than nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 18:20:38 +00:00
Vadim Zeitlin
3cdf176163 fix bug with timezone calculations when WX_GMTOFF_IN_TM si true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 13:01:29 +00:00
Vadim Zeitlin
c54322338f fix bug with timezone calculations when WX_GMTOFF_IN_TM si true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 12:53:03 +00:00
Vadim Zeitlin
647b8e379e wxExecute may only be called from the main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 12:18:07 +00:00
Vadim Zeitlin
9e023db73b updated the sample to show the sizers, not constraints, in the main frame; also demonstrate flex grid sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 12:02:22 +00:00
Vadim Zeitlin
e8800dcfa7 added proportion parameter to wxFlexGridSizer::AddGrowableRow/Col()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:55:26 +00:00
Vadim Zeitlin
702c420889 added WXK_WINDOWS_XXX key constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:51:41 +00:00
Vadim Zeitlin
8a09029e0c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:30:35 +00:00
Stefan Csomor
7854746ec1 fix for SetSize was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:18:16 +00:00
Václav Slavík
850c6ed46e wxCLOSE->wxCLOSE_BOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:13:26 +00:00
Stefan Csomor
d60de5167e SetValue can add values if not readonly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:06:12 +00:00
Vadim Zeitlin
62b4ae0811 fixed wxRegionIterator example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 00:18:43 +00:00
Václav Slavík
9ef896e152 unified default values for conv arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 23:10:36 +00:00
Václav Slavík
72cd2fcc00 updates to <script> handling backport list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 23:09:25 +00:00
Václav Slavík
d3c0ce3402 unified default values for conv arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:31:44 +00:00
Václav Slavík
07cc7ddca5 compilation fix for optimizing compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:29:21 +00:00
Václav Slavík
7c6ad433be added wxCLOSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:26:31 +00:00
Václav Slavík
c3d8ee42db added wxCLOSE and fixed wxSYSTEM_MENU on Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:24:19 +00:00
Václav Slavík
f1a19f1478 added wxCLOSE and unified wxDEFAULT_DIALOG_STYLE definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:47 +00:00
Václav Slavík
eeb029a965 fix patch #693600
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:02 +00:00
Robin Dunn
9230920176 Changed how the dynamic event tables (used for all Python wx classes,
C++ wx classes typically use static event tables) are searched such
that they behave from a Python perspective more like the static tables
in C++.  Namely that if there are identical event bindings in a base
Python class and a derived Python class that the one in the derived
class will be found first and that if Skip is called that the one in
the base class will still be found instead of skipping directly to the
static stable in the C++ class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 21:22:44 +00:00
Vadim Zeitlin
a9d3434a3b finally fixed the flicker problem in wxTE_RICH[2] text controls when appending a lot of text to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 18:44:20 +00:00
Vadim Zeitlin
07601f5945 don't log erroneous error messages when writing an empty string to a wxTE_RICH2 control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 16:48:50 +00:00
Vadim Zeitlin
4756503a3d fixed typo in WX_DECLARE_OBJARRAY example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 16:14:30 +00:00
Vadim Zeitlin
77b0d411e3 fixed typo in he check in SetSizeHints()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 16:12:42 +00:00
Vadim Zeitlin
bad93b357f forward declare wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 12:43:06 +00:00
Vadim Zeitlin
5315ebfaed test for the bug with showing a modeless dialog from a modal one in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 12:33:35 +00:00
Stefan Csomor
e549bec483 m_y of generic tree item was only a short, which unnecessarily limits the number of items that can be displayed and handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 09:48:30 +00:00
Vadim Zeitlin
34b6a45ab9 centralize version info in one file, include it from all makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 23:20:22 +00:00
Vadim Zeitlin
117395866e do use micro version number in the DLL names -- but in the unstable branch only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 23:19:21 +00:00
Vadim Zeitlin
817f640621 use jast major.minor, not major.minor.micro, in the DLL names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:33:28 +00:00
Vadim Zeitlin
a6861c1dc8 get the version info directly from wx/version.h instead of hardcoding it here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:26:50 +00:00
Vadim Zeitlin
ca1aac5387 regenerated using the correct versions in/for the DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:25:08 +00:00
Václav Slavík
6b8877197f backport CDATA code in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 23:11:23 +00:00
Vadim Zeitlin
10e8e34f71 note warning against using /ox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 21:59:26 +00:00
Mattia Barbon
e1aae52885 Implemented DoGetBestSize for wxListBox, (native) wxComboBox and
wxTextCtrl, and used it when wxSize(-1, -1) is passed to Create, to set
the initial size.
  Added wxDoChangeFont and wxXmStringToString helper functions, removed
the use of m_stringList in native wxComboBox, removed some duplicated code
in wxWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 20:33:43 +00:00
Vadim Zeitlin
8dcc14725d removed the extra offset in moveto in DrawRotatedText() (why was it there?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:57:45 +00:00
Mattia Barbon
d4d46b56f0 Allow setting default file name in wxMotif wxFileDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:24:45 +00:00
Václav Slavík
1da51aafba make wxConvUTF8 available in wchar_t-less mode, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:54 +00:00
Václav Slavík
4561e95d96 documentation for wxFileConfig changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:41 +00:00
Václav Slavík
67de05a11c wxFileConfig in Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:29 +00:00
Václav Slavík
8829fa8200 implemented empty handler for <script> tag, so that script code doesn't show in rendered page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:00:08 +00:00
Václav Slavík
7c6cd4a86b fixed parsing of CDATA elements (<script> and <style>) (Bill Nalen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 18:59:13 +00:00
Vadim Zeitlin
749caeeb38 documented wxGetApp()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 02:03:41 +00:00
Chris Elliott
ec8b106913 update watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-22 15:42:49 +00:00
Mattia Barbon
e74bade6d8 Added Active Accessibility files to filelist.txt, regenerated
wxWindows.dsp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 21:27:53 +00:00
Robin Dunn
5aab763c09 Only send two EVT_BUTTON events when double clicking a button, not three
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 20:27:56 +00:00
Julian Smart
010ba10dc5 Applied FL patch from Stefan Kowski
"Enclosed there is a patch for the FL library that solves a problem
overwriting the status bar if a bar is expanded.

Cause of this is the calculation of the new window height which may be less
than 0 in some cases. In my test a value of -1 caused the window default
height to be set which was larger than the space available, therefore the
status bar was overwritten."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 16:02:33 +00:00
Mattia Barbon
0a514d12e8 Regenerated files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:30:06 +00:00
Mattia Barbon
69c4481222 Use some wxX11 files (currently pen.cpp and brush.cpp) in wxMotif.
Add src/x11 to VPATH in configure, and add a new flag to filelist.txt
indicating a file used in wxMotif but not in wxMotif directory.
  Modifed VMS makefiles, too (should be checked by someone with VMS,
though).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:20:47 +00:00
Václav Slavík
e7370dac93 fixed wxSYS_DEFAULT_GUI_FONT lookup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 23:17:01 +00:00
Mattia Barbon
729be74dd1 Fix DrawRotatedtext to behave more like wxMSW: take into account
text background colour, and fix some wrong mathematics which caused
incorrect results.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 21:12:00 +00:00
Julian Smart
9dc8c75994 Temporary fix for strange wxDateTime link error with VC++ and wxUSE_ACCESSIBILITY=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 21:06:52 +00:00
Mattia Barbon
21342bba68 Allow selecting a mono bitmap into a wxMemoryDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 21:06:02 +00:00
Václav Slavík
3ebd765df5 fixed Traditional Chinese mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:25:47 +00:00
Vadim Zeitlin
2862acdeb7 removed several out of date/wrong sentences; mention wxEvtHandler::Connect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 18:54:07 +00:00
Julian Smart
2aefc52854 Further tweaks to accessibility code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 16:31:28 +00:00
Vadim Zeitlin
af7b5345ed use -O0 when optimizing is off -- seems to __slightly__ reduce the build times with g++ 3.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 13:52:11 +00:00
Vadim Zeitlin
e587e144c8 prevent from setting min[WH] > max[WH] because this leads to an infinite loop later on and generally doesnt make sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 13:44:32 +00:00
Vadim Zeitlin
3cfda0b764 fixed a typo which was preventing any events from being generated after DeleteAll() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 13:15:50 +00:00
Robin Dunn
7de595519a Send the wxWindowDestroyEvent for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 02:59:36 +00:00
Mattia Barbon
8b49ecd77a Patch [ 688973 ] from William Gallafent: add missing wx/dc.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 21:33:43 +00:00
Julian Smart
038a5591e4 Fixed warning, reformatted some code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 15:39:23 +00:00
Julian Smart
d43851f77e Applied patch [ 608866 ] wxGrid: vertical column label text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 14:25:34 +00:00
Robert Roebling
0878fb4c7d Applied John's patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:48:55 +00:00
Julian Smart
2cdd094b12 Applied patch [ 681921 ] Stray focus rectangle in static text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:40:30 +00:00
Julian Smart
a8f4cabe1e Applied patch [ 681893 ] Combobox in toolbar
This patch adds controls (i.e. combobox) to toolbars.
It also changes the toolbar sample so the combobox is
actually shown.

Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:38:02 +00:00
Julian Smart
8586126c7b Enhancements to the accessibility sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:35:14 +00:00
Julian Smart
c6e2af4570 Some improvements to accessibility behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:33:42 +00:00
Julian Smart
787d22ec24 Applied patch [ 686843 ] File Dialog Wildcard Bug
A bug was introduced in generic/src/filedlgg.cpp
between versions 2.2.9 and 2.4 that causes incomplete
file extensions to be appended to filenames not having
extensions after a user changes the wildcard index in
the filedialog. This patch reverts back to the correct
code.

Bob Downey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:27:23 +00:00
Julian Smart
e6396ed451 Applied patch [ 681262 ] Add EVT_MENU_OPEN support for GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:02:30 +00:00
Julian Smart
e0496eaaa4 Changed back inline/const things
wxTabCtrl must have WS_CHILD window style
small access.cpp tweaks (call QueryInterface)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-17 12:43:47 +00:00
Julian Smart
ae23a52a16 Added start at accessibility sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-17 10:15:02 +00:00
Václav Slavík
b1ef887ad8 another compilation fix for over-optimized #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 23:08:33 +00:00
Gilles Depeyrot
904a2463aa fix wxDateTime offset for Apple Developer Tools (SourceForge bug # 614010)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 18:19:15 +00:00
Vadim Zeitlin
e38ed919ba inserted casts allowing to have arrays of function pointers -- this is wrong but works on most platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 17:46:05 +00:00
Julian Smart
ed5317e538 Added start at accessibility functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 11:59:49 +00:00
Julian Smart
45a959a33b Added accessibility headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 11:57:24 +00:00
Julian Smart
57b486583d VC++ 6 doesn't seem to like the uninlining thing and
also the wxDateTime::TIME_T_FACTOR must be always defined;
else we get link errors. I don't know why these didn't
turn up before...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-15 17:14:19 +00:00
Stefan Csomor
e56aba8dd5 Files from a Drop were only added but the fileslist never cleard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-15 08:36:30 +00:00
Mattia Barbon
73d33f1ac6 Setting background colour on listbox parent makes it look ugly, do not
do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:43:53 +00:00
Mattia Barbon
369da72455 Fix wxEventLoop so it does not sleep 20 msec between events when threads
are anabled. Now the ode should be equivalent to the 2.4 event loop.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:41:57 +00:00
Vadim Zeitlin
b1e343f2bb silent gcc warning about missing \n at the end of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:21:00 +00:00
Vadim Zeitlin
22cbd10ea3 compilation fix (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:19:49 +00:00
Chris Elliott
63d6802445 fix for watcom open compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 20:57:11 +00:00
Julian Smart
80793cda3e DOc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 18:28:36 +00:00
Vadim Zeitlin
6faf4b5f59 say that WarpPointer() is not supported under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 13:16:58 +00:00
Vadim Zeitlin
41e6092432 marked dbkeyg.h as a wxBase file (fixes 685857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 11:34:07 +00:00
Jouk Jansen
c18670e45c Committing in .
Roving class reference within the class itself.

 Modified Files:
 	wxWindows/src/univ/combobox.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 07:21:50 +00:00
Vadim Zeitlin
a08e7186b4 added an assert checking that Resume() is not called unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 00:22:36 +00:00
Chris Elliott
6bc5a86729 first watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 22:17:08 +00:00
Chris Elliott
366e20d6fc fix watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 21:25:54 +00:00
Chris Elliott
d3abc823be fix watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 21:16:56 +00:00
Chris Elliott
d8bb3c9c64 improve watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 21:01:20 +00:00
Chris Elliott
9c11ecdbed fix unused vars for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 20:58:58 +00:00
Václav Slavík
c3d15542d6 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 20:35:27 +00:00
Mattia Barbon
08e5319b03 Implemented wxToggleButton under Motif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 18:20:23 +00:00
Vadim Zeitlin
9045ad9dfc added DoSetNativeFontInfo() to avoid virtual function hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 15:42:27 +00:00
Vadim Zeitlin
bf3353768a removed redundant code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 11:42:11 +00:00
Vadim Zeitlin
7899ef9592 fixed typo in SetToolClientData() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 22:55:40 +00:00
Mattia Barbon
6db2faf3ad Remove another already backported change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 21:26:10 +00:00
Mattia Barbon
4df410bf5c Remove already backported change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 21:16:23 +00:00
Mattia Barbon
8e7361ccbc Changes to be backported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 21:09:05 +00:00
Mattia Barbon
100f92893d Finished native wxComboBox implementation; it still needs some testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 17:51:28 +00:00
Julian Smart
b6e2df0b36 Added an item to toback24.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 15:50:59 +00:00
Robert Roebling
6185050104 Minor corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 11:20:45 +00:00
Chris Elliott
1a55595e69 fix contrib makefile for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:55:23 +00:00
Mattia Barbon
fd52ec657f Clearly mark wxGLCanvas as not working under wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:27:24 +00:00
Mattia Barbon
5c0ee4a80a Fix compilation with GCC (at least 2.95.4).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:18:32 +00:00
Mattia Barbon
67a26a1a0b Fix compilation after last fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:12:55 +00:00
Mattia Barbon
ed39ff57b3 Remove unnecessary header dependencies. Fix resulting compilation
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Chris Elliott
d51f2e6587 fix for making libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 20:43:39 +00:00
Stefan Csomor
2ad50cc75b bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 19:15:13 +00:00
Vadim Zeitlin
cfef519aaa scrolbar event orientation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 16:16:14 +00:00
Vadim Zeitlin
27e229f55a set orientation for scrolbar events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 16:11:55 +00:00
Robert Roebling
d9e403cc40 Support underscroes in menu item names under GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 10:13:58 +00:00
Vadim Zeitlin
91388efc15 use bigger than default page size to avoid 'library too big' errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 22:03:49 +00:00
Vadim Zeitlin
3e43d6143b added missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 21:26:22 +00:00
Vadim Zeitlin
111ee2fdb8 fileconf stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 21:22:47 +00:00
Vadim Zeitlin
bc33be3b05 don't trigger an assert in wxFileConfigGroup::DeleteSubgroupByName() if the group doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 21:17:18 +00:00
Mattia Barbon
2b830c41f7 Do not use stipple when drawing text, use solid foreground/background
colour instead.
  Use XSetTile/FillTiled instead of XSetStipple/FillStippled, otherwise
BadMatch errors occur in wxDC::SetBrush.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 20:21:54 +00:00
Mattia Barbon
b64c979322 Replaced wxDebugMsg with wxLogError.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 17:05:24 +00:00
Stefan Csomor
1c52210086 clipboard extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:11:43 +00:00
Stefan Csomor
2eefc6d59e crash upon hide fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:10:02 +00:00
Stefan Csomor
0e878cfcc6 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:08:09 +00:00
Stefan Csomor
6ef7c8e01e native tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:04:18 +00:00
Stefan Csomor
6dbc7fb4e5 redraw changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:01:05 +00:00
Stefan Csomor
81b41c03c6 code changed along msw lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 08:56:54 +00:00
Stefan Csomor
07c76470e9 corrected disposal for b/w cursors and creation and disposal of colour cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 08:54:08 +00:00
Stefan Csomor
d1e3f88a08 mask and hotspot corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 08:23:08 +00:00
Stefan Csomor
2a391f8718 clipboard bitmap support extended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 08:19:28 +00:00
Stefan Csomor
9c3c584918 clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 08:15:35 +00:00
Chris Elliott
9d1461a451 remove references to 16 bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-08 11:50:09 +00:00
Jouk Jansen
bf91e65285 Committing in .
wxMotif changes for OpenVMS

 Modified Files:
 	wxWindows/src/motif/descrip.mms
 	wxWindows/src/motif/evtloop.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 07:27:30 +00:00
Vadim Zeitlin
80e297514d corrected several errors when generating project file with all configs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 02:56:49 +00:00
Julian Smart
4fedd384a1 Moved ffile inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 14:07:45 +00:00
Robin Dunn
ca7353de3a Check the image height when calulating the line height. This allows
larger than normal images to be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 02:18:51 +00:00
Vadim Zeitlin
e2b87f38d9 allow compilation with wxUSE_DATETIME == 0 (patch 679822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 00:53:46 +00:00
Vadim Zeitlin
83911a5a4d compilation fix for WXWIN_COMPATIBILITY_2 == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 00:51:15 +00:00
Robin Dunn
895066d8c8 Scintilla uses a -1 index to unselect, we need to catch that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 23:30:36 +00:00
Vadim Zeitlin
debc914bdc fixed typo in the label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 12:17:18 +00:00
Vadim Zeitlin
4f5a7f7409 HP-UX fixes: use INSTALL_DIR as install doesn't have -d option; fixes for threads compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 00:54:04 +00:00
Stefan Csomor
d8e9da78a0 added hints from QA 1061
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 22:30:58 +00:00
Stefan Csomor
a19f009bce OSX native tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 22:27:54 +00:00
Stefan Csomor
04f2e99050 carbon event savvy wakeup call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 22:25:21 +00:00
Mattia Barbon
1845da40f2 Update with recent changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:57:55 +00:00
Mattia Barbon
49bbd59b01 Do not redeclare a struct (w32api 2.2 will have it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:37:58 +00:00
Mattia Barbon
9b1bd0c6e7 Applied patch [ 679397 ] remove GPL code from motif build
from Ian Brown, with some modifications; this patch replaces the (GPL)
Motif ComboBox with an implementation based on the native (for Motif 2.0)
ComboBox. The old ComboBox is still used as a fallback for older Motif
versions. My modifications include some method's implementation and
some workarounds for LessTif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:09:03 +00:00
Vadim Zeitlin
205b0c9c6a try to create smaller executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 20:34:43 +00:00
Vadim Zeitlin
9d1e1be463 added wxLocale::FindLanguageInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 16:43:10 +00:00
Vadim Zeitlin
677a9e28b5 fix for warnings when wxUSE_RESOURCE_LOADING_IN_MSW == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 00:57:47 +00:00
Vadim Zeitlin
f6eff86e7e added Watcom mention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 00:56:28 +00:00
Vadim Zeitlin
d4c8e4a1d4 corrected the value of EUC_JP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 00:54:46 +00:00
Václav Slavík
e4d47fbd6f fixes to ShowFullScreen (KDE 3.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 23:31:55 +00:00
Václav Slavík
1cff04deb5 fixes to ShowFullScreen (KDE 3.1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 23:23:05 +00:00
Vadim Zeitlin
a2f26963ba added (woefully incomplete) Japanese translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 23:09:13 +00:00
Mattia Barbon
ac856b274a More changes to be backported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 22:45:05 +00:00
Mattia Barbon
bf60426831 Make wxr resources work in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 22:39:02 +00:00
Mattia Barbon
94311eef78 MSVC 5 does not have BIF_EDITBOX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 22:35:42 +00:00
Mattia Barbon
00dd3b1897 Do not #include an header where a forward declaration suffixes. Do not
include wx/wx.h directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:40 +00:00
Jouk Jansen
ff7d1dcb82 Committing in .
One #undef for OpenVMS only

 Modified Files:
 	wxWindows/src/gtk/app.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 12:51:34 +00:00
Vadim Zeitlin
7f88f624d6 changed C++ comments in C comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 22:54:04 +00:00
Vadim Zeitlin
0aa35d1962 fixed First() signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 22:21:28 +00:00
Mattia Barbon
1092b2a039 Mark for backporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 21:01:54 +00:00
Mattia Barbon
d76240bfe1 Fix client data handling: delete client data for all items when a
wxChoice is deleted, delete client data for an item when that item is
deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 21:00:06 +00:00
Stefan Neis
ab9f788e31 Some OS/2 specific improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 20:31:27 +00:00
Vadim Zeitlin
f083414031 compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 18:31:23 +00:00
Mattia Barbon
7e1bcfa80e Implemented wxEventLoop for wxMotif, and used it in wxDialog::ShowModal,
wxWindow::DoPopupMenu and for the application main loop.
  Implemented wxWakeUpIdle.
  Fixed crash when a popup menu entry is used to close/destroy the parent
window of the menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:48:50 +00:00
Vadim Zeitlin
d894c20113 compilation fix for non-PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:20:35 +00:00
Vadim Zeitlin
766c5e24a5 added Unicode build configurations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:19:11 +00:00
Julian Smart
9cb98d8995 Applied patch [ 678788 ] Dialog command event propagation problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:07:57 +00:00
Vadim Zeitlin
01feccc204 the Russian translations were somehow corrupted, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:02:17 +00:00
Julian Smart
f2b99f6323 Applied patch [ 675376 ] Improves wxStaticBoxSizer
(uses GetCharHeight() instead of guessing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:58:56 +00:00
Julian Smart
6f7c5199ed Applied patch [ 677730 ] Menus with radio items (wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:50:05 +00:00
Julian Smart
e2ca829e7d Applied patch [ 670782 ] Combobox uses popup window width
(wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:47:04 +00:00
Julian Smart
61a83c1c50 Applied Patch 664399: wxButton default size should not be adjusted
(wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:39:55 +00:00
Vadim Zeitlin
f68c6b523c Unicode compilation fixes after wxFFile change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:17:41 +00:00
Vadim Zeitlin
c48e9cbb17 unused any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:14:08 +00:00
Vadim Zeitlin
017fcf32be allow choosing language from the command line; small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:09:36 +00:00
Vadim Zeitlin
fb6e5b179a more std iostream + Unicode fixes; copy streams in blocks of 4Kb, not char by char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:29:50 +00:00
Vadim Zeitlin
90e2cbf780 use wxChar, not char, for the second argument of Open() and also use wxFopen() in the implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 12:46:33 +00:00
Vadim Zeitlin
9c9c3d7a8f indicate whether this is a selection or a deselection in wxCommandEvent generated by a multiselection wxListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 03:05:41 +00:00
Vadim Zeitlin
cf41e1a4d5 (blind) fix for compilation in standard iostreams + Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 02:40:17 +00:00
Vadim Zeitlin
eff4ffbf4f big wxCursor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 02:06:34 +00:00
Vadim Zeitlin
62a0bb2788 removed wxCURSOR_SIZING (we now use the std one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 01:50:07 +00:00
Vadim Zeitlin
cf54972ea2 unsuccessful attempts to create resizable dir dlg without new folder button; added BIF_EDITBOX style; minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 00:38:09 +00:00
Vadim Zeitlin
367f7c4570 what do we need a separate (from m_windowStyle) m_dialogStyle here for? removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 23:30:53 +00:00
Vadim Zeitlin
f09c8393cb show dir selection dialog both with and without new dir button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 22:51:07 +00:00
Chris Elliott
922c7dcb6f borland 5.5 on XP dislikes -WE line and dies; earlier systems ignore error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:08:22 +00:00
Vadim Zeitlin
ce9462d21d implemented wxFileSelectorEx() (this fixes docview behaviour when multiple selections are specified in doc template)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:04:40 +00:00
Vadim Zeitlin
93fac60414 don't print 2 empty commands after building the program under non-Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 20:47:19 +00:00
Chris Elliott
11a1face0e fix bcc bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 19:54:11 +00:00
Gilles Depeyrot
c921fd5994 Only call use uppercase letter if control, alt, or shift is held down,
otherwise lower case accelerators won't work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 13:45:49 +00:00
Vadim Zeitlin
70687b638d silently ignore any X-fields in mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 23:09:35 +00:00
Vadim Zeitlin
e69a1ea87c compilation fix for HP-UX CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 22:56:49 +00:00
Robert Roebling
e3cff1fbb7 Uncommented warning that causes crashes while
reading .mime.types.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 21:56:09 +00:00
Stefan Csomor
7f3c339c0d using SelectWindow for Raise Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 15:52:24 +00:00
Stefan Csomor
597a3d06bf added AppleEvent Handler, somehow the standard event handler does not take care of all of them..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 15:50:09 +00:00
Robert Roebling
f77cf4e68a Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 14:55:28 +00:00
Robert Roebling
464f1a1da6 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 14:45:38 +00:00
Robert Roebling
adfb70c30f Removed unnecessary SET_STYLE.. macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:54 +00:00
Robert Roebling
288059b2b9 Corrected GTK2 creation of default font.
Removed ugly SET_STYLE_FONT code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 10:31:05 +00:00
Robert Roebling
a148cfb644 Printing update for Pango (GTK2 and X11-Unicode).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 23:40:05 +00:00
Václav Slavík
6b5cdfed73 don't indent text body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 23:10:23 +00:00
Václav Slavík
ce6cea6808 restored #ifndef wxUSE_UNICODE accidentaly removed by my previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 19:49:42 +00:00
Robin Dunn
68c124a168 1. Added m_count and maintain its value in InsertItem, RemoveItem
etc. and return it from GetItemCount to save so many calls to
   ListView_GetItemCount.

2. If EVT_LIST_DELETE_ALL_ITEMS was not handled then the
   post-processing code to prevent LVN_DELETEITEM messages was not
   getting executed.  Changed it so the post processing always
   happens.

3. It's possible with some versions of comctl32 that garbage values
   can be passed in nmLV->lParam so don't try to get the internal item
   data pointer from it.  This should close bug# 659939

4. Added FreeAllInternalData from DeleteAllItems, (part of patch
   #672065) and also guard against processing LVN_CHANG* messages
   while freeing the internal data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:53:28 +00:00
Robin Dunn
6edf791ccb Revert last change so the right log message gets put on the file. (I
did the last check in just a wee bit too fast...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:51:04 +00:00
Robin Dunn
cca784632f Fix for export warning when compiling a DLL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 01:48:11 +00:00
Václav Slavík
e74563e412 added MSLU reference to wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 23:29:11 +00:00
Stefan Csomor
c5c9378c98 carbon event support completed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:23:01 +00:00
Stefan Csomor
ac9b5f9889 bug fix & carbon support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:21:58 +00:00
Stefan Csomor
233d603a09 string conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:07:24 +00:00
Stefan Csomor
2726cac595 carbon modal state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:06:54 +00:00
Stefan Csomor
5fa00d2425 bugfix : text background when using appearance text drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:06:08 +00:00
Stefan Csomor
4abac0c027 getting rid of wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:04:37 +00:00
Stefan Csomor
45a0fd3723 adaptions for cleaned up string conversions & carbon events support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:04:04 +00:00
Stefan Csomor
95fd868c8f adaptions for cleaned up string conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:03:43 +00:00
Stefan Csomor
4c200e8d87 moving string conversions at one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:02:14 +00:00
Stefan Csomor
f352dd54f0 removing path corrections for wxMac, we now want a correct platform string for unzOpen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:00:57 +00:00
Stefan Csomor
cd28bcaded moving all string conversions to private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:59:28 +00:00
Stefan Csomor
88522554f8 moving all string conversions here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:58:01 +00:00
Stefan Csomor
0f5cc041d2 additional mac alias types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:56:17 +00:00
Stefan Csomor
4c2300c6a1 getting rid of wxBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:55:21 +00:00
Jouk Jansen
701d8d7606 Committing in .
wxIcon creation changed -> MOTIF code had to be changed likewise the GTK
version.

 Modified Files:
 	wxWindows/src/common/resource.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 11:54:57 +00:00
Jouk Jansen
e004299a08 Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/toplevel.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 11:52:47 +00:00
David Webster
378ad9574d listctrl update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 23:21:51 +00:00
Gilles Depeyrot
57fbe23f68 added definition of TARGET_CARBON when compiling with non generated setup.h
using Project Builder


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 22:26:30 +00:00
Gilles Depeyrot
82d4311313 moved definition of TARGET_CARBON to generated setup.h when compiling with
Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 22:23:02 +00:00
Mattia Barbon
1e4786bb37 Regenerate makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 21:02:32 +00:00
Stefan Csomor
a3195b73a6 only handling inContent CarbonEvents if we are the active window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 16:45:31 +00:00
Stefan Csomor
851b3a889f CarbonEvents Added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 12:29:55 +00:00
Stefan Csomor
7c15086ca4 Review, Carbon Events support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 12:27:43 +00:00
Stefan Csomor
01fbf5d755 static box parent warning added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 12:26:43 +00:00
Stefan Csomor
581bebd192 no new install of event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:30:54 +00:00
Stefan Csomor
15b41e900b cleanup, Carbon Events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:27:05 +00:00
Stefan Csomor
64820d33a1 clipping before redraw in the setbackground callback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:25:53 +00:00
Stefan Csomor
1dd85cc3d6 closer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:24:38 +00:00
Stefan Csomor
0150a5b8b9 mini-patch for better layout under OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:23:43 +00:00
Stefan Csomor
2e97b58c63 new menu code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:22:48 +00:00
Stefan Csomor
408ad8789c not neede anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:22:18 +00:00
Stefan Csomor
9145b0c6ce corrected Yes/No
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:55:37 +00:00
Stefan Csomor
bf918b97ed wxMenu Review, added Carbon Events and full OSX Support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:55:08 +00:00
Stefan Csomor
cbf8aca6d4 Carbon Events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:01:23 +00:00
Stefan Csomor
b89f23763c formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:00:57 +00:00
Stefan Csomor
f3fb0a0719 wxMenu Review, added Carbon Events and full OSX Support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:54:36 +00:00
Stefan Csomor
339e0cf110 not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:53:15 +00:00
Stefan Csomor
6357cb9d09 added WXEVENTHANDLERREF for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 06:49:45 +00:00
Gilles Depeyrot
36825681b5 improved Mac resource creation step in order to allow samples to provide
specific Rez options (used in docview sample)
added separate Mac Finder flag modification step (using SetFile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 22:18:18 +00:00
Mattia Barbon
ab82ab0704 Remove some redefinition warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 21:41:53 +00:00
Julian Smart
6394c5966c Corrected printing docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 11:27:43 +00:00
Ron Lee
e8d19ddd5f Add SetScrollbars patch, assuming this one really fixes things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 09:09:19 +00:00
Ron Lee
150c8d89c7 Fixed bug in FlexGridSizer mods that prevented them from ever shrinking.
Reverted the earlier SetScrollbars patch and fixed a bug in GetVirtualSize
that was hopefully the real cause of all the preceding woe.

Added a comment and a kludge for a most unusual bug manifesting in the
scrollsub sample.  If it is resized quickly size events appear to get lost
and the scrollbar is set incorrectly.  Adding an extra call to
AdjustScrollbars masks the problem, though its clearly superfluous since
the FitInside above already calls it.  This seems to be a brand new problem
(on both Gtk and msw) as of some time prior to this patch and it should be
looked into further.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 09:02:58 +00:00
Vadim Zeitlin
dd91da4ed1 added Add/InsertTool() (patch 672032)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 01:13:35 +00:00
Vadim Zeitlin
fccacb2a9d the string 'Goto...' should be translated (patch 674569)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 01:04:57 +00:00
Vadim Zeitlin
2b61c41b71 updated sample evrsion from Greg Chicares
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 00:19:36 +00:00
Vadim Zeitlin
cab8f76eb8 fixed a crash in socket server test and added quit command to the server
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 00:18:44 +00:00
Václav Slavík
eaf498dffe fixed someone's typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:20:42 +00:00
Václav Slavík
903972f999 added wxHtmlWindow::LoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:20:00 +00:00
Václav Slavík
7cb9cf8992 1. added wxHtmlWindow::LoadFile
2. interpret LoadPage's argument as filename if it fails as URL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:46 +00:00
Václav Slavík
2f5b93fb9f added wxSplitterWindow to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:04 +00:00
Robert Roebling
e4da1035e4 Now scaling doesn't scale GetTextExtent() anymore. This
make print previewing look fine for now. Next is actually
   printing what you preview :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 21:04:10 +00:00
Václav Slavík
25d599ae91 fixed loading of GNOME2 mime icons (still not working as desired)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 20:56:31 +00:00
Václav Slavík
805f26b316 use all MIME data sources on Unix, not only mailcap/mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 20:54:57 +00:00
Julian Smart
eed1be652a Fixed problem with kill focus event getting sent to control
that is getting the focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 19:04:10 +00:00
Václav Slavík
f2dec5b10d compilation fixes (bug #672413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 16:16:13 +00:00
Václav Slavík
5eac771d09 eliminate __WIN32__ only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 16:15:08 +00:00
Vadim Zeitlin
f357c0d42c moved OLE files group under MSW files -- this is more logical
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 14:11:39 +00:00
Vadim Zeitlin
4519ac17a7 corrected the paths for the OLE files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 14:09:52 +00:00
Vadim Zeitlin
9dd96c0f6d compilation fix after wxSizer::Remove() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 14:03:29 +00:00
Robert Roebling
77efa6a8fc Minor changes to printing sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:41:01 +00:00
Robert Roebling
cfcc393212 Font work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:40:45 +00:00
Robert Roebling
138618acb9 Small speed up to fonts and support for scaling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:39:51 +00:00
Václav Slavík
e046e5f1e7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:36:48 +00:00
Václav Slavík
778262c49b don't forget to backport Robert's GetInternalFont change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 12:36:28 +00:00
Gilles Depeyrot
99c2d4f20c added CarbonFrameworkLib to CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 11:24:49 +00:00
Vadim Zeitlin
1558859090 added iosfwrap.h (wrapper for <iosfwd>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:35:19 +00:00
Vadim Zeitlin
65f19af139 added iosfwrap.h (wrapper for <iosfwd>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:12:12 +00:00
Vadim Zeitlin
5d76f46282 added support for non flexible (in one direction only) flexible sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 00:04:24 +00:00
Vadim Zeitlin
2abb9d2f17 added wxArray::SetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 23:47:33 +00:00
Vadim Zeitlin
0bbe4e299c documented wxT(), _T(), _()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 22:49:41 +00:00
Mattia Barbon
5709329c88 Compilation fix for changed wxSizer::Remove() signature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 16:44:43 +00:00
Vadim Zeitlin
c781807d89 removed wxICON_IS_BITMAP, it is now always (implicitly) set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 13:06:00 +00:00
Vadim Zeitlin
e0d8fb4572 restored int (instea of size_t) in Remove() and Detach(); TRUE/FALSE -> true/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:50:32 +00:00
Vadim Zeitlin
d162a7ee7d removed warnings about using the deprecated functions and replaced untyped
wxLists with the type safe equivalents (patch 668204 from Dimitri)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:28:51 +00:00
Vadim Zeitlin
5e3841bf80 fixed typo in library name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:13:36 +00:00
Vadim Zeitlin
8e41796c6c File/DirExists() are const now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 12:01:57 +00:00
Gilles Depeyrot
df861444a1 added CarbonFrameworkLib to CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 11:52:00 +00:00
Gilles Depeyrot
2c74cde0c6 added CarbonFrameworkLib to CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 11:08:08 +00:00
Ron Lee
04cd30dea2 Update wxList operators, TRUE, FALSE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:52:21 +00:00
Ron Lee
cdd64cc06c Upated list operators, TRUE, FALSE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:44:53 +00:00
Ron Lee
8f91dda1b4 Don't use bitmap by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:38:01 +00:00
Ron Lee
4f8090e092 Update list operators, s/TRUE/true/ etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:35:21 +00:00
Ron Lee
a0f3867a6a Don't default to using bitmap.
Replaced old list operators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:26:33 +00:00
Ron Lee
8ddf18dd0d Updates to packaging from the 2.4.0.2 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:20:13 +00:00
Ron Lee
c155898a21 Added missing quantize.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 04:09:06 +00:00
Vadim Zeitlin
7b4c314952 moved GetRed() in its correct place in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 01:09:42 +00:00
Vadim Zeitlin
01802c507c typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 01:07:20 +00:00
David Webster
4fd899b671 Support for new native OS/2 tree control with drag-and-drop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 22:31:41 +00:00
David Webster
c0ae383ac0 Support for new native OS/2 tree control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 22:26:04 +00:00
Julian Smart
5d9ea849d8 Removed spurious character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 13:51:56 +00:00
Julian Smart
85b7bb3557 Applied patch [ 673055 ] Text rendering in wxGTK 2.4.0 and GTK2 fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:36:04 +00:00
Julian Smart
82e5f91bff Applied patch [ 668155 ] Refresh problem when msgbox is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:29:06 +00:00
Julian Smart
c8c5c7f62e Applied wxFileHistory menu separator patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:20:51 +00:00
Julian Smart
e910c00040 Only use patch from Otto Wyss on universal, for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:12:06 +00:00
Julian Smart
95bcc40c74 Applied patch [ 666379 ] CalCtrl doesn't use best sizes for the year combobox
In the calender the size of the combobox for the year
is just defined by a margin from the month combobox to
the left border. While in wxUniv the year control can't
show all 4 digits, in wxMsw it show almost twice as
much.Instead the year should use it's best size and be
left aligned to the calendar. Just in case the month in
any language is longer than it has space in the
calendar it is shortend.This way the year always can
show the 4 digits.

This patch relies on the fact that a combobox has a
good best size implementation. This is not the case
with wxMSW but I don't know why. In wxUniv there is
another patch [634896].


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:00:28 +00:00
Julian Smart
53b982112d Applied patch [ 665806 ] Better slider test in widget sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 11:55:29 +00:00
Julian Smart
5cdff2990b Applied patch [ 665088 ] Setup options cleanup (wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 11:53:06 +00:00
Julian Smart
6766e5d136 Applied patch [ 621451 ] Fixed version of wxSlider class
Otto Wyss

This patch corrects several bugs in the wxSlider class
for the wxUniversal/MSW port. It affects the files
"slider.h", "slider.cpp", "win32.cpp" and "gtk.cpp"
(and others). The slider should now work as expected. A simple test
program can be downloaded from

"http://dpartialmirror.sourceforge.net/Test/".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 11:23:52 +00:00
Vadim Zeitlin
350777b68f added and documented wxDirTraverser::OnOpenError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 00:32:17 +00:00
Vadim Zeitlin
d1be6261e3 mention Watcom makefile for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 00:31:15 +00:00
Vadim Zeitlin
2f0c19d0a8 minor changes to wxDir test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 00:07:42 +00:00
Mattia Barbon
182c0f4675 Removed backported changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:38:55 +00:00
Mattia Barbon
9f667cbcb2 Clearly indicate that DialogEd requires wxr to compile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:30:40 +00:00
Václav Slavík
a663cce7f9 removed wxEncodingConverter from docs where wxMBConv should be mentioned instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 19:49:53 +00:00
David Webster
c4f4cf895c Try this again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 14:22:05 +00:00
Vadim Zeitlin
06e8e72d84 updated for the latest makewat.env changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 23:03:35 +00:00
Vadim Zeitlin
ae7583b4bf yet more doc fixes to backport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:49:06 +00:00
Vadim Zeitlin
3492e7c804 fixed Update() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:46:45 +00:00
Vadim Zeitlin
efa7066d36 use correctly defined LIBPAGESIZE instead of 512 for the page size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:02:34 +00:00
Vadim Zeitlin
8bbbae215c made wxBitmapRefData private (actually, this also fixes some bug so it's not absolutely gratitious, but I already closed the bug not knowing that my cvs checkin was going to timeout and die and don't remember any more what it was...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:43:02 +00:00
Vadim Zeitlin
33a7c3dd0b linking fix for wxUSE_WCHAR_T=0: always provide wxStrtok() unless HAVE_STRTOK_R is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:32:43 +00:00
Vadim Zeitlin
545d1e6050 update Watcom section; minor additions to the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:31:04 +00:00
Vadim Zeitlin
a7b4607f4a compilation fixes for OpenWatcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:19:23 +00:00
Vadim Zeitlin
c9b6238d67 don't always rename the files before compiling with Watcom, this is not needed any longer with OpenWatcom (but still keep the possibility to enable this file renaming for older versions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:15:39 +00:00
Vadim Zeitlin
a0499e2f21 new (for wxBase) or updated and (hopefully() improved Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:13:52 +00:00
Vadim Zeitlin
23d2edff35 fixed an unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:10:49 +00:00
Vadim Zeitlin
7d2304132b no changes (modeline tweaked)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:04:12 +00:00
Vadim Zeitlin
23efb556d9 corrected and expanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 16:04:22 +00:00
David Webster
b45bca403a New native OS/2 list control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:46:27 +00:00
David Webster
9794cae1b3 New native OS/2 list control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:35:16 +00:00
David Webster
c220541de4 New native OS/2 list control support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:34:02 +00:00
Václav Slavík
730dfeb496 patch 672127: Adds required check for wxUSE_WXHTML_HELP to chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:28:07 +00:00
Vadim Zeitlin
9e300531e5 compilation fix for the last check in (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 19:57:34 +00:00
Gilles Depeyrot
f823cacbda corrected wxList::Node declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 19:44:23 +00:00
Vadim Zeitlin
7eb833e673 attempt to fix crash in DeleteAllItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 18:56:31 +00:00
Julian Smart
e7b6ce1cf9 Updated wxBitmap overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 08:58:30 +00:00
Václav Slavík
63a76696df fixed MGL libraries detection code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 23:23:57 +00:00
Mattia Barbon
c3f64df223 Fixed a typo in makefile.vc, updated version numbers in templates
(.DSPs were already up to date).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 21:57:10 +00:00
David Webster
dc259b7926 TRUE not true, FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 21:22:43 +00:00
Václav Slavík
cba5a276e4 added wxART_MISSING_IMAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 00:31:28 +00:00
Václav Slavík
e879e020e7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 23:32:04 +00:00
Chris Elliott
18f7d0e1db commit missing .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 21:35:06 +00:00
Václav Slavík
82e94f591f updated for new/better way of declaring wxART_xxx constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 18:10:47 +00:00
Václav Slavík
214bdb93da use wxART_BROKEN_IMAGE in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 18:10:09 +00:00
Václav Slavík
fd397f9966 use wxART_MISSING_IMAGE in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 18:08:44 +00:00
Vadim Zeitlin
5ff72dc423 added --with-wxdir=DIR option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 12:04:07 +00:00
Mattia Barbon
db8b7c5061 More changes to be backported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:18:50 +00:00
Mattia Barbon
24dc054793 Patch [669503] Patch to CW7 wxMSW project file
from Igor Mikolic-Torreira


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:15:45 +00:00
Mattia Barbon
a203834e6b Patch [669508] Define Win32 symbols for CW in platform.h
from Igor Mikolic-Torreira


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:10:54 +00:00
Mattia Barbon
cceb71da44 Patch [665886]: Fix smapi.cpp to support new for loop scoping.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:01:52 +00:00
Mattia Barbon
1bc822dfb5 Derive wxBitmap from wxBitmapBase in wxMotif, with the appropriate
changes to wxIcon.
  Fix deprecation warnings and use %p to format WXWidget in debug output
(fixes the 4 non-deprecation warnings).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 09:52:29 +00:00
Ron Lee
2fda214570 We surely don't need two debugging sections,
called one Logging features instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 08:20:38 +00:00
Václav Slavík
192ce0bec9 better XRC handler for wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 23:56:36 +00:00
Václav Slavík
432be5aade reformatted for 79 chars width and added wxToolBar docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 23:50:36 +00:00
Václav Slavík
c37ffc1fef updated wxToolBar handler to support new wxToolBar features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 23:49:28 +00:00
Mattia Barbon
fd304d989b Fix some wxMotif build warnings about deprecated methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 13:01:17 +00:00
Vadim Zeitlin
52c71b808f experimental --inplace flag implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 03:09:08 +00:00
Vadim Zeitlin
8d90d2f25f attempts to fix vsnprintf() detection under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 02:40:03 +00:00
Vadim Zeitlin
ec0d6da38d attempts to fix vsnprintf() detection under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 02:33:13 +00:00
Vadim Zeitlin
677eb52d3f no real changes, just cleanup after merging in Vaclav's changes which were the same as I had done locally (but forgot to commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 01:53:08 +00:00
Vadim Zeitlin
1b80ba97f3 fixed resource leak in MemoryHDC (closes bug 670016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 01:51:05 +00:00
Václav Slavík
cc81d32f2b TRUE/FALSE -> true/false in documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:16:34 +00:00
Václav Slavík
4aa3178674 why the heck should something that reacts on wxID_CLOSE be called OnQuit?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:03:59 +00:00
Václav Slavík
e7266247d5 added wxFileName::MakeRelative test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:03:30 +00:00
Václav Slavík
65d8ef1e73 added --disable-compat24, 22 compatibility is off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:02:32 +00:00
Václav Slavík
b4a89d27eb wxLocale::Init bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:41 +00:00
Václav Slavík
56acdfef2f use wxFileName::MakeAbsolute istead of Normalize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:29 +00:00
Václav Slavík
0894707e7c added wxFileName::MakeAbsolute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:18 +00:00
Václav Slavík
7f891ef107 no need to have this VMS-only; removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:00:22 +00:00
Robin Dunn
c9c50e2395 wxMac (and maybe others?) get PAGEUP/PAGEDOWN instead of NEXT/PRIOR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 22:52:50 +00:00
Vadim Zeitlin
4522bb3ecf use wxDynamicLibrary instead of wxPluginManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:52:39 +00:00
Mattia Barbon
d66dcb6022 Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
Do not #define __WIN95__, __WINDOWS__, __WXMSW__ on the command line for
Cygwin/MinGW (when build with makefiles), since platform.h already does
that for us.
  Always check for __WIN32__, not for WIN32 or _WIN32 (just for
consistency).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 20:01:20 +00:00
Václav Slavík
b78a78f779 (probably) fixed wxLocale::Init with Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 19:58:53 +00:00
Stefan Neis
e107213f89 Fixed typo in test for WX_STATVFS_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 14:02:25 +00:00
Vadim Zeitlin
b448f30e9c Borland apparently uses for int64 in printf(), not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 13:27:20 +00:00
Vadim Zeitlin
525582584c check for NULL szLocale in Init()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 12:39:00 +00:00
Vadim Zeitlin
649a48a216 tried to make wxCloseEvent docs more clear too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 11:58:40 +00:00
Vadim Zeitlin
448025b0dc documented UngetWriteBuf overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 11:04:58 +00:00
Stefan Csomor
f81127c568 added horizontal scrollbars to listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:42:33 +00:00
Stefan Csomor
b9e3bdc539 make sure wxMac fonts are never AntiAliased (measuring problems would occur, because char-widths become fractional then)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:29:59 +00:00
Stefan Csomor
9f67b77690 include needed for CFString conversion routines (param default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:27:48 +00:00
Stefan Csomor
ac17f9b104 Get/SetNoAntiAliasing implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:24:59 +00:00
Vadim Zeitlin
24174c30e0 tried to make Close() docs more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 01:32:38 +00:00
Ron Lee
dc18c8f1b2 update libpng-dev deps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 23:55:51 +00:00
Vadim Zeitlin
974d9c98f0 added links to the event docs from the default event processing section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 22:50:30 +00:00
Mattia Barbon
0ec6fd04eb Remove calls to a couple of deprecated methods, fix wxMotif build with
GCC 3.2, remove deprecated (and unused) fstream.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:44:47 +00:00
Mattia Barbon
46675b4610 Implement vertical toolbar under Motif.
Notify parent frame when toolbar is moved/resized/added/deleted so that
frame childs can be correctly repositioned.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:41:07 +00:00
Julian Smart
b05206c98b Added About menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 15:24:13 +00:00
Julian Smart
476d311420 Added Mac icons to helpview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 15:21:19 +00:00
Julian Smart
2c4c6c0ad0 Added CW project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:31:41 +00:00
Stefan Csomor
c718e0b31c added missing includes for wxMac specific additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:19:14 +00:00
Stefan Csomor
d3d3426196 adapted wxSizer::Remove type to new header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 14:11:24 +00:00
Vadim Zeitlin
2f82c92009 forgot to include wxControlWithItem docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 13:21:38 +00:00
Vadim Zeitlin
f21fcc9d2e the find dialog is created hidden, as all the other top level windows, but the docs said otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 13:03:50 +00:00
Vadim Zeitlin
eff41ee7f5 fixed detection of whether we're invoked from the top level configure or not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 12:58:02 +00:00
Julian Smart
d9b21c9f47 ReDOS-ified project files
Added menubar for wxHTML help viewer on Mac
Added some Mac-specific code for HelpView


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 12:26:09 +00:00
Stefan Csomor
5ab6aab880 preferences menu implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:54:47 +00:00
Stefan Csomor
ce72eadb4d renaming because of conflicts with base Create::
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:53:32 +00:00
Stefan Csomor
22ab1509cd xml projects for CW 8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:50:42 +00:00
Stefan Csomor
1b6b675be3 additions for __MWERKS__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:47:22 +00:00
Stefan Csomor
513c3efc49 conversion scripts for CW 8 Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 06:44:49 +00:00
Václav Slavík
4e0862c4fd XRC fixes can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:22:13 +00:00
Václav Slavík
e5db16098c fix object_ref handling in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:27 +00:00
Václav Slavík
317a0d7361 1. made XRC immune against changing CWD
2. fixed object_ref handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:07 +00:00
Ron Lee
dc5e3b9ec5 gah. escape $ in the here block.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:50:23 +00:00
Ron Lee
82a649b67c reverted the --inplace addition and instead documented the use of
--prefix and --exec-prefix to do the same thing.  I can't think of
any way to do this right now with one flag without making some
assumption about the users working habits.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:44:38 +00:00
Vadim Zeitlin
1fd16ce13c added checks to prevent running sub configure scripts directly (they can only
be executed by the top level configure)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 22:04:32 +00:00
Vadim Zeitlin
89e6bf6d7a updated configure to match configure.in changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:30:05 +00:00
Vadim Zeitlin
134ecc85d0 added WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 21:15:00 +00:00
Julian Smart
d118863525 Applied David's fix for not autoconf-ing on RHL8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 16:12:12 +00:00
Vadim Zeitlin
cdc1d13baa Maximize(FALSE) change can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:59:28 +00:00
Vadim Zeitlin
a0be434e78 fixed calling Maximize(FALSE) before the window is shown (bug 667665)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:58:17 +00:00
Vadim Zeitlin
a3bc6643b7 make uninstall should remove wxwin.m4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:50:36 +00:00
Vadim Zeitlin
8da8907446 corrected Get/SetFrame() parameter/return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 14:45:08 +00:00
Vadim Zeitlin
9b67a3fd2e removed OnXXX() methods, added new default event handling section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 13:27:15 +00:00
Julian Smart
732b838637 Patch for Winlib: struct stat is defined in sys/stat.h, which is not
pulled in by unistd.h on some system.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 08:17:25 +00:00
Vadim Zeitlin
37a0271532 update wxStaticText check in revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:55:36 +00:00
Vadim Zeitlin
b826684e26 fix for the previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:54:46 +00:00
Vadim Zeitlin
747798efb8 some mor minor bug fixes which can be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 23:48:19 +00:00
Vadim Zeitlin
6a629e51df fixed wxStaticText best size calculation (closes bug 667324)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 23:47:12 +00:00
Vadim Zeitlin
5553c7cfe0 Start() should resume the stopwatch if it is suspended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 22:22:27 +00:00
Julian Smart
a006e78bd3 Fixed refresh bug on early versions of MacOS X by
refreshing whole window on (de)activation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:10:32 +00:00
Stefan Csomor
ab83849cea added TARGET_CARBON and __MACH__ info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 20:34:16 +00:00
Gilles Depeyrot
0211e0d557 clarified some Mac OS related preprocessor defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 20:15:44 +00:00
Vadim Zeitlin
0b481c72b6 compilation fix for wxUSE_CONSTRAINTS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 19:40:55 +00:00
Mattia Barbon
0cd0d9a5ae #define HAVE_W32API_H for Cygwin/GCC 3.x, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 18:29:10 +00:00
Julian Smart
2e38557f30 Applied patch [ 667563 ] Wine: compile fix for using glibc/msvcrt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 09:59:31 +00:00
Vadim Zeitlin
333b7dac15 fixed incorrect cast in wxRegKey:GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 09:02:38 +00:00
Jouk Jansen
5a2db5f1df Committing in .
Updates for OpenVMS support

 Modified Files:
 	wxWindows/src/motif/descrip.mms
 	wxWindows/src/unix/utilsx11.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:22:31 +00:00
Gilles Depeyrot
eb22f2a6dc updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:01:22 +00:00
Vadim Zeitlin
8baeca5b24 mention Solaris 7 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 23:16:18 +00:00
Vadim Zeitlin
85da04e95b use WX_STATVFS_T instead of trying to guess statvfs() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:55:24 +00:00
Vadim Zeitlin
54ab82b3f9 added configure test for WX_STATVFS_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 21:54:29 +00:00
Ron Lee
9cbee2ceee Improved const correctness.
Clear wxWindow containing sizer on Remove( index ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:31:37 +00:00
Stefan Csomor
6b57b49ae3 cursor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:19:35 +00:00
Stefan Csomor
c6a071d2d2 cursor functionality expanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:17:53 +00:00
Stefan Csomor
8165e9b648 additional infos for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:07:08 +00:00
Ron Lee
b1d4dd7add Split this out from other changes to keep things sane..
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/    / and s/TRUE/true/ etc. a couple of these too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Václav Slavík
5797172366 added info about ShowFullScreen changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:51:52 +00:00
Vadim Zeitlin
64f590eaa1 DeleteAllItems() does send DELETE_ITEM events (closes bug 664281)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:34:29 +00:00
Vadim Zeitlin
a40c9444bb compilation fix for wxUSE_RICHEDIT == 0 (closes bug 662252)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:24:46 +00:00
Vadim Zeitlin
14347204d3 more docs about compiler constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:56:05 +00:00
Vadim Zeitlin
a30c309aa8 added wxCHECK_GCC/W32API_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:55:05 +00:00
Vadim Zeitlin
652703802c OpenWatcom fixes may be backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:45:49 +00:00
Vadim Zeitlin
4c87eb44c2 OpenWatcom compilation fixes (patch 665959)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:40:48 +00:00
Vadim Zeitlin
c5c843e007 compilation fix for wxUniv (patch 664699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:31:16 +00:00
Vadim Zeitlin
b2697d4205 unTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:30:51 +00:00
Vadim Zeitlin
29f82345df set wxUSE_WIZARD to 1 by default now that it works (patch 663321)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:28:26 +00:00
Vadim Zeitlin
890741df89 removed unneeded (and causing link errors) wxArrayPages from wizard code (patch 663321)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:26:31 +00:00
Vadim Zeitlin
e30285abc6 compilation fixes for non default wxUSE_XXX values (patch 662781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:20:46 +00:00
Vadim Zeitlin
12c44eb56d corrected m_commandString type to wxString (patch 661648)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:06:31 +00:00
Vadim Zeitlin
7f04165e6f don't call stat() *and* lstat() (as if the file dialog wasn't already slow enough...); minor code cleanup (removed a few #ifdef's, TABs and other crap)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 14:24:32 +00:00
Mattia Barbon
7b507740a8 Remove unneeded dependencies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 14:09:30 +00:00
Mattia Barbon
4995ca8037 Remove use of deprecated KeyCode accessor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 13:52:12 +00:00
Mattia Barbon
a43d5db22b Changes to be backported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:02:16 +00:00
Mattia Barbon
77e00fe9da Do not use deprecated functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:00:50 +00:00
Mattia Barbon
0fccfc51e6 Fix linking problems with MSVC 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:57:16 +00:00
Mattia Barbon
1c1572053a Fix PCH problems with some versions of CodeWarrior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:55:27 +00:00
Mattia Barbon
a29ee70613 If -1 is used for width/height, use best size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 15:03:42 +00:00
Mattia Barbon
07157c53d0 Use checkbox if togglebutton not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 15:00:26 +00:00
Mattia Barbon
a969055e89 Removed unused, unimplemented and undocumented wxBitmapCheckBox stub.
Minur cleanup in wxCheckBox::Create.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:42:38 +00:00
Mattia Barbon
a4e64fb55e Documented wxMotif filedialog limitations WRT wildcard syntax.
Modified filedialog to either extract the wildcard (if only one wildcard
is present) or assert (if more than one is present).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 14:36:25 +00:00
Stefan Csomor
992c81e203 using the new alerts under OSX - no string255 limits anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:57:25 +00:00
Stefan Csomor
3d963f8137 added conversion function to CFStringRefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:56:48 +00:00
Stefan Csomor
67e3d9d399 removed commented out snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 11:54:27 +00:00
Ron Lee
094e328c21 Changes resulting from the 2.4.0 release run.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 03:50:44 +00:00
Vadim Zeitlin
82c23bb595 removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:52:17 +00:00
Vadim Zeitlin
1ec5cbf3de removed wxLog::HasPendingMessages() (it can't be made to work correctly with wxLogChain); don't send the messages going to a log file to debug output under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:47:14 +00:00
Vadim Zeitlin
6dd16e4f26 removed style parameter from MSWCreate(), it is unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:27:17 +00:00
Vadim Zeitlin
29020b9048 use MSWCreateControl() instead of duplicating its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:24:44 +00:00
Vadim Zeitlin
278c927dd9 removed style parameter from MSWCreateToolbar(), it is unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:23:49 +00:00
Vadim Zeitlin
eb199c515b removed CopyObject(), added copy ctor, corrected Dump()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:57:45 +00:00
Stefan Csomor
450a5bdd2d corrected type for text document (non standard save handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:57:05 +00:00
Stefan Csomor
738a6daa71 routing all apple events to the document manager instance if present, fully supporting launch by document double click, print by draging the document onto the printer icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:56:24 +00:00
Stefan Csomor
72625f830b switching to safe yields, because we got into loops when handling print document apple events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:52:54 +00:00
Vadim Zeitlin
106844da7d moved assert for parent window not being a static box to common code where it should catch more cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 17:19:57 +00:00
Stefan Csomor
b8afeb4321 added code for respecting the creator & types when saving files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:24:01 +00:00
Stefan Csomor
521a2cb154 makefile important for setting the correct creator of the app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:18:08 +00:00
Stefan Csomor
eb017efed9 Register Default Creators under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:13:40 +00:00
Stefan Csomor
1f6189acd0 added custom icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 16:12:32 +00:00
Stefan Csomor
e5940192b2 added custom icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 14:44:51 +00:00
Stefan Csomor
95d43281c3 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 14:44:06 +00:00
Julian Smart
d95861551a Corrected DLL version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 13:25:20 +00:00
Julian Smart
c4f48f14f1 Fixed corrupt files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 11:38:51 +00:00
Gilles Depeyrot
f346733b72 library installation base name and wxMac resources file base name
must be identical in order for the resource file to be found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 20:57:31 +00:00
Gilles Depeyrot
23f0f906a2 removed execcmn from list of files to compile in release target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 06:44:57 +00:00
Václav Slavík
d1a9c82bd1 fixed ANSI/Unicode incompatibility of the cache (bug 663396)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 19:44:53 +00:00
Vadim Zeitlin
79f306d721 removed unneeded code which was inside #if 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:33:11 +00:00
Vadim Zeitlin
381adb7449 #undef LoadBitmap() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 12:27:28 +00:00
Julian Smart
d11cd571c9 Fixed DSPs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:03:54 +00:00
Julian Smart
b1e635598d Applied cvsignore patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:01:33 +00:00
Julian Smart
0447ac8e64 Eliminated streams from scoredg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 09:14:35 +00:00
Vadim Zeitlin
90b1d65f2f define true/false if the compiler doesn't have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 22:29:59 +00:00
Mattia Barbon
038305d008 Left/right arrows were swapped.
Fix wxSP_WRAP handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:41:28 +00:00
Julian Smart
a12df58228 Corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:19:13 +00:00
Julian Smart
b4da152ea3 Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Julian Smart
eaa6418668 Removed redundant <search.h> inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 16:49:22 +00:00
Mattia Barbon
3d8704720a Reverted accidental commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:17:40 +00:00
Mattia Barbon
1d390a62f9 Escape some _.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:15:41 +00:00
Václav Slavík
ddbfcced85 removed wxTLW cruft now that all ports have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 15:03:56 +00:00
Julian Smart
5283098e13 Applied patch [ 662321 ] Port of wxWindows to Wine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +00:00
Ron Lee
12a3f2275c Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
Made wxSizer child list typesafe.  I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..

Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.

Added {G,S}etSpacer consistent with the accessors for windows/sizers.

Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them.  Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.

s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}

Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.

removed pointless private scoping around DECLARE_CLASS macros.

Replace 0's I added previously with NULL -- not like that will end the
email thread either..

Added Add( wxSizerItem * ) & co.  There are probably a couple of other
places we can usefully do something like this too.  Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.

Updated wxSizer docs some more, they are still incomplete but getting
better.

wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode.  There may be a few left for other ports.

Fixed a couple of other random compile warnings along the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
db50ec5a50 workaround for not appearing vertical scrollbar in wxTE_RICH2 controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 01:10:03 +00:00
Vadim Zeitlin
29343d0492 made the #error message less self-contradictory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 23:13:13 +00:00
Vadim Zeitlin
5e2411ab49 fixed the return type of LoadIcon()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:46:53 +00:00
Gilles Depeyrot
b447a1a7bc corrected release target which included some include files in the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:35:07 +00:00
David Webster
2f60dbe2e9 OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:35:03 +00:00
David Webster
af30429f59 Remove ctl3d32.lib from make.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:33:35 +00:00
Julian Smart
9419379a37 Make it build in Unicode mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:12:15 +00:00
Mattia Barbon
0de6dfa701 Implemented wxToplevelWindowMotif. (forgot to commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 20:54:54 +00:00
Gilles Depeyrot
7563339557 corrected getting FSRef associated with the POSIX path in wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 19:38:18 +00:00
David Webster
0904e5e12a OS/2 patches missing from this version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:50:21 +00:00
David Webster
57ff8a875b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 17:42:48 +00:00
Mattia Barbon
798a4529fe Implemented wxToplevelWindowMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Mattia Barbon
f58d1d9978 Aparently someone modified templates/filelist.txt without committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:32:39 +00:00
Gilles Depeyrot
79597b2a4a updated Project Builder project for MoreFilesX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 07:21:05 +00:00
Robert Roebling
bbd006c0ce Removed usage of GetInternalFont() from GTK 2.0. This
also removes any usage of GdkFont. I left the actual
    deprecated method so that the change can be bckported
    without binary incompatible changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:59:44 +00:00
Robert Roebling
60d85ccb3d Removed usage of GetInternalFont.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:57:45 +00:00
Robert Roebling
cba9ef7f73 Minor fix related to wxMiniFrame drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:56:57 +00:00
Robert Roebling
ba71852396 Corrected wxMiniFrame for GTK2 and removed its
use of GetInternalFont(). Somehow, the close
    button doesn't appear.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:55:38 +00:00
Vadim Zeitlin
8b39c006d8 #undef LoadIcon() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 22:11:24 +00:00
Stefan Csomor
f1872c18e6 region calculation for windows with borders too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 18:25:27 +00:00
Vadim Zeitlin
7379599933 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 16:20:32 +00:00
Václav Slavík
48594fd2cd added my patches to the list of things to backport to 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:51:46 +00:00
Václav Slavík
8166ab4343 added more robust wxTLW::ShowFullScreen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 23:34:34 +00:00
Julian Smart
ad0e4b6691 Use nicer (swiss) font for default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 20:53:28 +00:00
Julian Smart
db0834fab8 A script for helping make RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 20:31:11 +00:00
Václav Slavík
7071c92817 gcc has __attribute__((deprecated)) since version 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 13:29:36 +00:00
Julian Smart
17e7431567 Indicated in the source and on initialisation that this is an obsolete sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 11:04:39 +00:00
Mattia Barbon
e9e4acc519 Remove #ifdef __WXSTUBS__ from headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 09:22:53 +00:00
Robin Dunn
52d6f640e8 With the fix in gtk/font.cpp and switching to an wxplicit wxBOLD, it
should be okay to uncomment the code setting the label font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 03:59:26 +00:00
Robin Dunn
cd9a673cd7 Ensure that the wxNativeFontInfo internal data is copied when the
wxFontRefData is.  This solves a wxGTK2 problem where the
PangoFontDescription pointer is copied by the default assignment
operator, in a binary compatible way .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 03:51:13 +00:00
Vadim Zeitlin
6431e33a50 added polish translations from Janusz Piwowarski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 01:54:14 +00:00
Ron Lee
55804c9363 more thinko tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 00:12:50 +00:00
Ron Lee
deefd67952 Recommend python-xml for xrced.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 23:47:08 +00:00
Ron Lee
0ecfbbea12 Incorporate changes from 2.4 release.
Bump standards version.
Update overrides for 2.5
Disable generation of gtk-univ package.
Update wx-config manpage.
Add wxPython-tools manpage(s).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 22:51:42 +00:00
Ron Lee
6c99908c51 The exact version it was included doesn't appear to be documented
anywhere, but __attribute__ ((deprecated)) is empirically not
supported by gcc-2.95.4.  Best guess so far is 3.0 or 3.1 so I've
erred on the side of the former for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 20:52:10 +00:00
Robin Dunn
f3030ba726 Disable putting selected text in the Primary Selection, since wxGTK is
currenlty clearing the Clipboard when you do this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 19:03:01 +00:00
Julian Smart
df37f0c65c Added opengl32.lib glu32.lib to OpenGL samples VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:37:28 +00:00
Julian Smart
2188f34751 Added dialup to filelist.txt and wxUniv.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:31:43 +00:00
Julian Smart
d89e39fcdc Added missing wx/frame.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 15:24:56 +00:00
Julian Smart
12335fa6aa Clean up memory if have to exit early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:59:07 +00:00
Julian Smart
c5f53eb8cb Added a note about 'make install'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:08:53 +00:00
Julian Smart
c3a6a2bc10 Only enable tooltips on WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 13:40:43 +00:00
Julian Smart
c8f9a56b7c wxUSE_TOOLTIPs => 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:53:33 +00:00
Stefan Csomor
be0b002a3e made static box only a frame region in all calculations (otherwise the background would not be redrawn in all situations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:29:16 +00:00
Julian Smart
d4e5272b3a Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Julian Smart
df4a528177 Added glcanvas.cpp, tooltip.cpp, taskbar.cpp, wave.cpp to wxUniv/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:01:01 +00:00
Stefan Csomor
2ac013b1a5 recommit after mac binary lapsus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 09:59:32 +00:00
Vadim Zeitlin
478d4ab7cf IsStandard() shouldn't return TRUE for formats >= wxDF_PRIVATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 01:04:16 +00:00
Vadim Zeitlin
3e6562c110 argh, erased one extra line accidentally in the last commit -- restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:59:09 +00:00
Vadim Zeitlin
59018c74fe wx(Individual)LayoutConstraints may be copied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:55:28 +00:00
Vadim Zeitlin
00e7a427a0 compilation fixes after applying DECLARE_NO_COPY_CLASS() patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:46:08 +00:00
Vadim Zeitlin
22f3361e1c use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Vadim Zeitlin
0becd47010 support for using DIBs for wxBitmap implementation (patch 649866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:28:56 +00:00
Vadim Zeitlin
f178ab7e82 use StretchBlt() if available (part of patch 649866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:25:17 +00:00
Václav Slavík
c75274f93c added wxDEPRECATED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:52:47 +00:00
Václav Slavík
b254d1fe03 mark wxImage's wxBitmap functions as deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:49:50 +00:00
Vadim Zeitlin
802df2b744 documented wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:10:21 +00:00
Vadim Zeitlin
93401be962 added operator==() and !=() for wxDateSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:07:51 +00:00
Vadim Zeitlin
e1e1272f20 implemented support for column label alignment (closes 215870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:29:21 +00:00
Vadim Zeitlin
9baf5184bd the file containing the list of things which can be backported to 2.4 branch later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:28 +00:00
Vadim Zeitlin
caa20b1e31 added test for wxLIST_FORMAT_CENTRE/RIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 21:00:17 +00:00
Vadim Zeitlin
6770762dd3 set wxListItem mask automatically to the correct value when a SetXXX() method is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:59:40 +00:00
Vadim Zeitlin
df4ac4c7e9 fixed bug with wxTR_EDIT_LABELS not working with xwTR_MULTIPLE (bug 622089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 20:21:41 +00:00
Vadim Zeitlin
d553ceb286 test InsertItems() trying to reproduce the bug 633150 -- but unsuccessfully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 19:18:19 +00:00
Vadim Zeitlin
ea8e90b7ce show Univ prefix in wxWindows info dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:43:56 +00:00
Vadim Zeitlin
a562f4fbde removed a couple of obsolete functions from wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:39:32 +00:00
Stefan Csomor
47710b3b4f attempt to recommit , contained binary data for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:13:07 +00:00
Stefan Csomor
92629fa47b attempt to recommit , contained binary data for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 18:10:38 +00:00
Stefan Csomor
2beae4b5a5 easier angle conversion wx-mac , corrected elliptic arc which sometimes filled in the wrong direction, fixed rotated text under osx (OSX ignored hanging baseline attribute)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 16:30:53 +00:00
Stefan Csomor
f2d990adc1 corrected generation of all event members (client data) and implemented DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 09:37:52 +00:00
Vadim Zeitlin
047f39deb9 fixed wxMutexLocker ctor signature (patch 660549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 01:00:17 +00:00
Vadim Zeitlin
0f66923e84 say that EVT_TEXT_ENTER requires wxTE_PROCESS_ENTER to be set (closes bug 659948)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:45:40 +00:00
Vadim Zeitlin
fa06b433fc fixed wxCaret::SetSize() (closes bug 659209)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:41:47 +00:00
Vadim Zeitlin
cd916794f0 made generic EmulateKeyPress() to work with Delete and BackSpace (closes bug 658409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 00:07:13 +00:00
Vadim Zeitlin
fdd04d720f typo fix (closes bug 654197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:39:07 +00:00
Vadim Zeitlin
e08bbf3708 added a test for check tbar buttons state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:36:08 +00:00
Vadim Zeitlin
30e0e2518f tried to fix compilation with Watcom 11 (should fix the bug 651492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:18:44 +00:00
Vadim Zeitlin
9112af3fd1 fix for HAVE_EXPLICIT for VC++ 6.0 (closes bug 651314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:58:53 +00:00
Robin Dunn
65ca8c0b79 Changed wxLOG_Max to be a smaller (but still large) value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:50:02 +00:00
Vadim Zeitlin
e2ca995fa3 don't send CHECKLISTBOX_TOGGLE event when Check() is called (closes bug 651140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:41:10 +00:00
Vadim Zeitlin
a8dade3e27 added IsEmpty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:41 +00:00
Vadim Zeitlin
3dabb1e51b added check/uncheck/toggle tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:09:14 +00:00
Vadim Zeitlin
bed5584e2a added wxControlWithItems docs, updated the others to refer to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:08:11 +00:00
Gilles Depeyrot
0c98a14e54 use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
added wxWindows version compatibility information to configuration summary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:59:01 +00:00
Gilles Depeyrot
ec341c7e1f use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:55:21 +00:00
Gilles Depeyrot
2d4e4f802f use MoreFilesX instead of MoreFiles when building with Apple Developer Tools
improved wxGenericDirCtrl when building with Apple Developer Tools
improved wxDirData to correctly handle hidden directories


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:53:02 +00:00
Gilles Depeyrot
15126fa8c2 MoreFilesX 1.0.1: A collection of useful high-level File Manager routines which
use the HFS Plus APIs wherever possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 17:20:59 +00:00
Robin Dunn
edc738528a Added wxLog::Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:16:07 +00:00
Robin Dunn
8eb70827f3 Fixed problem of FormatText causing both the formatted and unformatted
text to be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 22:17:37 +00:00
Gilles Depeyrot
05159a2750 SourceForge patch #654210 to fix naming/numbering shared libs under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 21:20:59 +00:00
Julian Smart
05ac7ac578 Corrected accidental pointer arithmetic in ClientToScreen and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 20:10:03 +00:00
Václav Slavík
fa2f5d3bc9 fixed encoding handling in ANSI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 18:55:33 +00:00
Ron Lee
96fdbb60f1 Ok, so we don't need the extra bool at all, we can just zero the sizer
pointer in wxSizerItem.  :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 15:26:47 +00:00
Ron Lee
00976fe56b Add wxSizer::Detach so we can detach child sizers without deletion.
Updated wxSizer docs for this and a couple of other missing/outdated
things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +00:00
Vadim Zeitlin
41f0b62a32 fixed buffer overrun when reading CCITT group 4 compressed TIFF files (patch 646603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:09:16 +00:00
Vadim Zeitlin
4fa47e5643 compilation warning fixes (patch 651719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:00:49 +00:00
Mattia Barbon
e13f128877 Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
without requiring setup.h modifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:37:10 +00:00
Mattia Barbon
9a718b8623 Small updates:
corrected some URLS, used correct/current capitalisation for MinGW and
Cygwin, plus some minor clarifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 19:32:06 +00:00
Julian Smart
916095ba21 Tweaked the wording slightly for VC++ 5 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 18:46:16 +00:00
Ron Lee
a8853c78ed Oops, don't cut and paste between ports, and do test compile both states
of a macro guard...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 15:45:35 +00:00
Mattia Barbon
b9ecc16a80 LessTif 0.93 does not hang in wxWindow::ChangeFont as 0.87 did:
enable chainging window font again.
  Set/reset MappedWhenManaged flag when showing/hiding a window, otherwise,
since some common operations (moving, adding items to a listbox, ...) do
a Unmanage-Manage pair, calling Hide and then (for example) SetSize would
show the window again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:59:02 +00:00
Mattia Barbon
17fe68bd23 Small correction: add WINDOWSLDLIBS when linking an executable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:54:16 +00:00
Ron Lee
99006e446e Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.

Replaced all lib/sample uses of wxTC::GetParent with GetItemParent.

Updated docs to suit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Vadim Zeitlin
01a4679360 fixed wxALL_FILES definition in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 01:38:49 +00:00
Julian Smart
0222a60b34 Use path separator, not "/"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 22:58:12 +00:00
Mattia Barbon
2dcb5b11f4 Allow using tmake from places other than the current directory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 20:49:49 +00:00
Mattia Barbon
f657dbe781 Allow building Win32 DLL with wxGlCanvas using MinGW + configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 20:46:30 +00:00
Julian Smart
52ee226853 Updated some scripts
Small corrections to wxScrolledWindow doc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:42:23 +00:00
Julian Smart
f54b065ea7 Fixed compilation by removing stream inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:36:25 +00:00
Mattia Barbon
0a3451df8a Updated Svedish translation from Jonas Rydberg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:24:23 +00:00
Mattia Barbon
3880dd5161 Fix Cygwin + makefile.g95 + wxUSE_PROLOGIO=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:07:46 +00:00
Mattia Barbon
78e376b56f Applied patch [ 652491 ] Update makefiles for mingw
from Greg Chicares, with some small modifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:58:36 +00:00
Mattia Barbon
17ebae657e Use wxWcslen instead of wcslen.
Work around a compiler bug: with (at least) GCC 2.95.3-5 under Cygwin,
the destructor for the global s_fileInfo is called twice (!). This does
hot happen if a function returning a reference to a static variable is
used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:39:58 +00:00
Robin Dunn
91f580b235 Fix for potential divide by zero error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:16:16 +00:00
Mattia Barbon
762e199741 wxPerl notes for DocView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 18:30:48 +00:00
Julian Smart
5f133dc1bb Applied patch [ 657501 ] SpinButton wraps 1 too much
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:21:34 +00:00
Julian Smart
16990160f6 Applied patch [ 658174 ] Adds wxT() and char->wxChar conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:15:29 +00:00
Julian Smart
22f2279860 Applied patch [ 658505 ] Updates documentation for wxTimeSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:12:38 +00:00
Julian Smart
657c88188f Applied patch [ 657515 ] Widgets sample notebook out of range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:02:48 +00:00
Julian Smart
317246dfcb Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:59:35 +00:00
Julian Smart
f9eee2db81 Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code
for wxOS2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:52:14 +00:00
Julian Smart
8251c0d6ac Added a necessary pixel to height if wxTB_NODIVIDER is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:40:52 +00:00
Julian Smart
d07ce169a8 Fixed bug [ 657949 ] Segmentation fault in ~wxFileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:25:59 +00:00
Julian Smart
0156594543 Improved SetScrollbars fix using client size and max of window and virtual
sizes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:17:55 +00:00
Václav Slavík
85452d7496 fixed XRCID() lookup of numeric control IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 23:36:34 +00:00
Robin Dunn
ba5da12f72 Use WXDLLEXPORT_DATA for wx*NameStr's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 19:16:49 +00:00
Václav Slavík
4249ec2c52 1) fixed compilation of wxBitmap, wxIcon toplevel nodes
(to be backported into 2.4.1)
2) fixed wxrc when using -o dirname/filename


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-25 15:23:44 +00:00
Mattia Barbon
99ab3e3f56 Use wxClientDataDictionary for client data.
Factored out common code into wxSizeKeeper.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:41:42 +00:00
Mattia Barbon
c13c9657a4 Use wxXmString instead of XmString.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 18:37:10 +00:00
Julian Smart
8a653baab6 Reverted cross-compile patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 09:51:45 +00:00
Julian Smart
d0604192a5 Don't pass zero width or height to SetVirtualSize or layout is
messed up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 23:42:13 +00:00
Vadim Zeitlin
4b4381cb84 minifram.cpp is a low level file under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:29:44 +00:00
Ron Lee
6d407f1953 Typo fix (as reported to Debian bts).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:20:54 +00:00
Julian Smart
8d1e36f7e3 Don't send explicit update event if single line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 13:18:28 +00:00
Julian Smart
c90c201ab3 Applied cross-compile patch from Stephen Crowley
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 13:00:17 +00:00
Julian Smart
441582ddd8 Added *.ani to image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 11:17:28 +00:00
Mattia Barbon
aff23fcd97 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 20:14:18 +00:00
Mattia Barbon
f37c24e078 Unicode compilation fixes.
wxpoem now compiles with default settings (making it compilable with
Unicode is a lost cause).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 19:57:17 +00:00
Julian Smart
a55e5190c7 FL event fix from Hans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 12:17:57 +00:00
Julian Smart
45747ae371 Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 11:03:31 +00:00
Vadim Zeitlin
b74cce40fd handle accel keys for owner drawn menu items (based on the patch 657105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 15:01:21 +00:00
Vadim Zeitlin
46a5e01e86 use SS_CENTERIMAGE to prevent wxStaticBitmap from stretching its bitmap; also a face lift for control creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:35:18 +00:00
Vadim Zeitlin
168954a1d1 fixed memory leak (patch 655899)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 14:32:55 +00:00
Vadim Zeitlin
894c8f3ef2 fixed a typo in cygwin make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:41:02 +00:00
Václav Slavík
5dac8a3b0e fixed 2 encoding handling bugs in XRC/wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:35:13 +00:00
Václav Slavík
437bd21582 WX_XMLRES_CURRENT_VERSION_STRING wasn't Unicode safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:21:23 +00:00
Václav Slavík
6267a331cb 1) added wxFrame support to wxrcedit
2) fixes to wxrcedit so that generated files are compatible with new XRC
(both in patch #648659)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:20:35 +00:00
Julian Smart
fc9a9b2ab2 Do -> Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 11:15:05 +00:00
Julian Smart
d863ed8333 Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Vadim Zeitlin
f9becb8622 install the headers under wx/msw/gnuwin32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 00:23:16 +00:00
Vadim Zeitlin
98e19a5863 fixed SetSelection() (and hence SetInsertionPoint()) behaviour when using richedit 3.0 with wxTE_RICH2 style and the control doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 00:18:35 +00:00
Julian Smart
c76b1a30fa Fixed a problem with borders being set wrong sometimes on wxMSW, XP, VC++ 7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:13:53 +00:00
Václav Slavík
5f265f87d9 we don't really have to use variable instead of constant...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 22:15:45 +00:00
Julian Smart
e39081afef Don't build IPC version of HelpView on Mac Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 20:02:27 +00:00
Julian Smart
0bc836492e Added missing fldef.h to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 12:21:25 +00:00
Julian Smart
192a9bf10f Apply table border fix to all ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 10:24:05 +00:00
Mattia Barbon
643e16ac3b Fix wxSingleChoiceDialog under wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:56:03 +00:00
Julian Smart
76985f52b2 Fix border for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:54:47 +00:00
Ron Lee
8155b6405f Update packaging for 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:16:10 +00:00
Julian Smart
d840aae3ae Reinstated the cell border fix (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 07:47:06 +00:00
Václav Slavík
94bc8b14d4 simpler fix for rendering bug fixed in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 23:32:22 +00:00
Julian Smart
75c116ab2c Applied patch [ 649599 ] Fixes bug 610850: Inserting a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 21:23:25 +00:00
Vadim Zeitlin
0cde01aedc removed extra (non existing) Prepend() parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 19:09:18 +00:00
Julian Smart
2f9a4d0e30 Fixed cell visibility test that was causing refresh glitches
in tables (since these were large enough cells to break the
original test)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 18:17:40 +00:00
Václav Slavík
b4eecb7e2f disable version-script on Solaris, it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 13:54:10 +00:00
Julian Smart
b819b854dd Fixed cell paint background refresh bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 12:53:49 +00:00
Julian Smart
e01893d4ca Added $(EXTRADLLFLAGS) to CFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 08:33:27 +00:00
Robin Dunn
9e05364039 More unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:24:15 +00:00
Vadim Zeitlin
bfedf6212c reset virtual root to NULL in DeleteAllItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:22:38 +00:00
Julian Smart
968bed8c37 Fixed [ 652512 ] wxPaintDC::FindInCache bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:21:17 +00:00
Julian Smart
cd501207cf Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:02:24 +00:00
Julian Smart
0fa2e104c5 Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Julian Smart
d1859a1fc1 Added wxUniv project file for dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:28:42 +00:00
Julian Smart
ba7fe276d4 Doc corrections
filelist.txt correction and filedlgg.cpp inclusion for wxUniv/MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:22:19 +00:00
Robin Dunn
4a69b0600a Added missing #if wxUSE_WAVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Robin Dunn
18976605f5 Fixed possibility of releasing mouse if the window no longer had it captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 20:57:55 +00:00
Vadim Zeitlin
90aaa86507 free argv in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:52:06 +00:00
Vadim Zeitlin
d47f8a6ec0 unicode compilation fix for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:49:48 +00:00
Julian Smart
111c1e2c20 Committed Stefan's temporary fix for crashing in Mac Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 17:25:33 +00:00
Julian Smart
fbb2b01c2c Missing semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 11:51:29 +00:00
Julian Smart
2243113487 Further improvements to MFC sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 11:18:09 +00:00
Julian Smart
4cd513abbc MFC sample now works properly; WinMain not defined in wxMSW
if wxUSE_MFC is defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:52:10 +00:00
Robin Dunn
55b7aaea10 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 01:36:47 +00:00
Robin Dunn
5bab6390a9 fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 23:08:31 +00:00
Robin Dunn
fdec65df6d Misc wxSTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:35:12 +00:00
Robin Dunn
b829bf55a0 Give wxSafeYield an onlyIfNeeded parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:58:36 +00:00
Mattia Barbon
8325937efa Last samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 20:25:28 +00:00
Julian Smart
1bd71df911 Fixed missing checkbox alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
3d2814f3c3 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:11:01 +00:00
Julian Smart
5c8756b04c Applied patch [ 651713 ] changes to convertrc
David J. Cooke (davidjcooke)

amendments to convertrc: add support for
CONTROL... syntax for static, edit, combobox,
buttons, but NOT scrollbar; add support for
embedded quotes in stringtable; other minor changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:03:05 +00:00
Julian Smart
7d1dcec23a Applied [ 652962 ] wxProgressDialog::Show(FALSE) bug
This fixes the problem where the application windows
were not being enabled prior to the progress dialog
being hidden in the situation where wxPD_AUTO_HIDE
was not used or was used but the end count was never
reached. This causes random applications to be
activated and brought to the front on Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:57:48 +00:00
Julian Smart
e5d94b6381 Applied part of patch [ 652965 ] Enables toolbar simple in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:50:49 +00:00
Julian Smart
ea5ef76f07 Applied patch [ 652894 ] Checklistbox doesn't need owner draw
Updated wxUniv readme about setup[0].h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
c4c3659cf2 Copy wxUniv setup0.h to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:36:17 +00:00
Julian Smart
62e819ee45 Removed redundant wxUniv setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:29:03 +00:00
Julian Smart
aab49a0b6a Applied patch [ 654023 ] Enables HtmlHelp (native)
Also fixed the bad event table in helpfrm.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:22:08 +00:00
Julian Smart
37d81cc2e2 Applied [ 654253 ] wxGTK: fix to wxGetMousePosition()
wxGetMousePosition() returns -999, -999 when the mouse
pointer is not over a GTK window. This is apparently
because it uses the current window as a handle to get
to the X display. This is not necessary, however;
GDK_DISPLAY() can be used. With
this patch wxGetMousePosition() works regardless of
where on the screen the mouse is.

Jay Berkenbilt (jay_berkenbilt) modified by JACS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 09:44:35 +00:00
Vadim Zeitlin
d775acfa77 use system zlib under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:50:42 +00:00
Vadim Zeitlin
34bed6d9ec changed version to 2.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:37:56 +00:00
Vadim Zeitlin
7baf4bdbb6 misc gcc compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:30:49 +00:00
Vadim Zeitlin
14ac4f3c54 printf() format warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:25:13 +00:00
Julian Smart
d0200d9eff Added Mac Classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 21:56:53 +00:00
Vadim Zeitlin
1383482892 send an extra kill focus event when we're deactivated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 18:17:15 +00:00
Mattia Barbon
600683ca05 Fixed all remaining samples/Unicode compilation errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 17:25:36 +00:00
Václav Slavík
ee682a94cb _really_ fixed translation messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 12:38:15 +00:00
Mattia Barbon
42ed75321c More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +00:00
Gilles Depeyrot
7cf4f7e21f fix FindMenu broken by implementation of double ampersands in menu and menu
item titles (finding "&File" was no longer working)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:44:48 +00:00
Václav Slavík
7e99eddf64 don't translate strings when it doesn't make any sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:26:22 +00:00
Václav Slavík
a949e8fac2 removed extremely user-unfriendly translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:58 +00:00
Václav Slavík
59da340790 updated Czech translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:41 +00:00
Václav Slavík
118cc185eb fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:27 +00:00
Gilles Depeyrot
f6d90fb9ce added commands to search for menus and menu items by label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:12:47 +00:00
Mattia Barbon
ab1ca7b3dd More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +00:00
Mattia Barbon
3996031094 Fixed compilation of some more samples in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:23:10 +00:00
Mattia Barbon
196f463f62 Fixed missing reference to wxTreeCtrlnameStr when linking treectrl sample
by adding #include "wx/treectrl.h" to data.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:16:14 +00:00
Vadim Zeitlin
2c0a4e08a3 fixed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 12:18:49 +00:00
Vadim Zeitlin
0441833277 fixed Unicode compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 12:15:03 +00:00
Julian Smart
b657b4c986 Added missing SetOrientation accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 09:29:02 +00:00
Václav Slavík
a3671ac092 updated message catalogs from sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:53:18 +00:00
Václav Slavík
c742a6ae90 removed a forgotten relict of past: xmlbin format extension still used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:28 +00:00
Václav Slavík
008a56c968 even more fixes to last-minute wxFileSystem mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:15 +00:00
Václav Slavík
7a8b9bd950 fixed wxFilesystem docs bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:04 +00:00
Václav Slavík
4d144d07e7 documented FileNameToURL and URLToFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:49:19 +00:00
Mattia Barbon
b951c85fec Add WXDLLEXPORT to friend declaration for GCC 3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:35:15 +00:00
Mattia Barbon
9f84eccdea Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:33:14 +00:00
Mattia Barbon
c17ba76f38 Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:28:26 +00:00
Chris Elliott
a2638e741d fix visual c bugs for wxUNIVRERSAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 12:21:19 +00:00
Jouk Jansen
09f8c2a029 Committing in .
Updated OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 07:03:47 +00:00
Chris Elliott
e0d8e433c1 fix for cygwin WXDLLEXPORT bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 12:06:07 +00:00
Chris Elliott
099d4217df fix for wxUniversal on win32 platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:10:23 +00:00
Julian Smart
fbb1226068 Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
This patch implements a missing member in the generic
version of the wxTreeCtrl. The GetEditControl member is
currently not implemented in the generic tree control
used by wxGTK. This patch implements the feature by

1. adding a pointer to the wxTextTreeControl as a
member (m_textCtrl) of the wxGenericTreeCtrl class
2. making sure pointer was initialized to 0
3. using the member variable instead of the stack
variable in the wxGenericTreeCtrl::Edit member
4. making sure the new wxGenericTreeCtrl class
member is set to 0 when the control is set up for
deletion in Finish by calling a new protected member
(ResetTextControl) of the wxGenericTreeCtrl class.

These modification were discussed on the wx-dev list
under the "wxGTK - wxTreeCtrl::GetEditControl status?"
subject.

I have tested, but I certainly welcome comments and
further testing.

Pete Stieber


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 09:08:46 +00:00
Julian Smart
03d1ae1799 Applied patch [ 651649 ] Scrollbar not updated without resizing
I always wondered why the scrollbar of the listbox or
the log window (textctrl) never showed a thumb in the
control sample while the combobox does. The
AdjustScrollbars gets called through a size event and
this happens before the listbox (textctrl) can set the
values for the scrollbar. So always an empty scrollbar
is shown. This patch calls AdjustScrollbars at the end
of SetScrollbars in scrlwing.cpp.

I'm not sure if this is the best fix but it works
nicely. I've only tested it with wxUniv but it should
be okay in any generic case.

(applied for __WXUNIVERSAL__ only for now -- JACS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:50:11 +00:00
Julian Smart
f0e1c34310 Applied patch [ 651383 ] Removes 3 warnings when building w/ CW6
Dimitri Schoolwerth


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:44:08 +00:00
Julian Smart
dda4f6c089 Applied patch [ 651640 ] Toolbar sizing fix
This patch fixes the problem discussed on wx-dev
mailing list. (Message title "wxUniversal: How is the
parent notified when a child changes its size")

In short:
- This patch makes sure the toolbar notifies the parent of
any size change, this will give the parent the opportunity
to resize the frame client size and to make sure the
toolbar is in the right place.

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:41:31 +00:00
Mattia Barbon
5e66eee143 "cd utils; make" should not try to compile dialoged unless
wxUSE_RESOURCES=yes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:30:28 +00:00
Mattia Barbon
9ec5e01204 Remove unused g295.t; g95.t works with any GCC from 2.95.2 to 3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:25:54 +00:00
Julian Smart
66525ca43b Applied another Marco patch (5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 17:02:37 +00:00
Julian Smart
0a9f0ef7d0 FromString should not fail on wxMac if facename empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 16:10:02 +00:00
Vadim Zeitlin
84023968e5 corrected wxCommandProcessor ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 14:09:38 +00:00
Julian Smart
368c9c6d84 Applied some of patch [ 650957 ] wxWinCE diff-0.0.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 12:13:25 +00:00
Julian Smart
c8c29c490b Ignore DOS drive spec in GetRightLocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 09:48:00 +00:00
Vadim Zeitlin
07243717e2 tried to clean strdup() mess: we now have wxStrdup[AW] which should be always available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 00:43:28 +00:00
Julian Smart
2a5d3f5738 Fixed the beggar good and proper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:45:36 +00:00
Václav Slavík
f3d3a0e751 forgot to add wxHtmlHelpController::AddBook(wxFileName) to the headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:05:56 +00:00
Václav Slavík
1de1d24e96 removed XPM handler from wxImage's standard handlers, let's see if it does any harm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 21:03:25 +00:00
Julian Smart
9d683b445c Removed duplicate art handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:27:10 +00:00
Mattia Barbon
2d6c58d653 The size_type typedef must be public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:08:12 +00:00
Mattia Barbon
27635a90c7 Only build HelpGen in wxBase, since it will #error (this will maybe fix
some tinderboxes...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:06:31 +00:00
Vadim Zeitlin
d7f6918abd removed garbage pixels from the icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:43:57 +00:00
Vadim Zeitlin
7e1525b2e7 fixed warning about unused var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:42:27 +00:00
Vadim Zeitlin
7bb8798ce7 fixed annoying beep when pressing space/return in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:41:04 +00:00
Julian Smart
dba06cd016 Convert filename to URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:52:29 +00:00
Julian Smart
8ad944dcbc Should only add // under MSW -- not on Unix, not on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:42:10 +00:00
Chris Elliott
969096ef37 fix bug with treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:26:28 +00:00
Julian Smart
76c451b8c1 Added horse3.ani
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:10:14 +00:00
Julian Smart
43b8a532e0 Ifdefed m_server
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:44:06 +00:00
Julian Smart
3434b611aa Reverted the _n__ fix for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
1e702ab351 The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Julian Smart
678b263756 Applied patch [ 632115 ] Fixed internationalization on tooltips
wxMac's wxTooltip assumed that text was always PC encoded,
and always converted the string using
wxMacMakeMacStringFromPC(). This worked fine for English
characters, but multi-byte encoded languages such as Japanese
(SJIS) because garbled. I've added a check for
"wxApp::s_macDefaultEncodingIsPC" before performing the
conversion similar to other controls.

Nilesh Agarwalla


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:22:43 +00:00
Julian Smart
73145b0ed1 Applied patches by Scott Pleiter:
[ 643866 ] small wxGrid API changes

adds GetValue to the gridcelleditors to facilitate
querying values from the editors, also changes several
methods to virtuals to simplify inheritance.

[ 643867 ] wxGrid cell LNF & behaviour patch

Enables the grid to render its cells grey when the grid
control is disabled. Also fixes several problems when
making the gridcelleditors visible. Improves the layout
of multi-line row/column labels. Changes the CellEditor
show from a MOUSE_DOWN to a MOUSE_UP, this
stops the editor starting when creating a selection
beginging in the currently selected cell.

[ 643868 ] wxGrid rendering tweaks, improves look.

Draw the row/column using system colours. Change the
default wxGrid settings to have a more neutral starting
point - grey lines, non-bold label font, black/white
selection etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:14:04 +00:00
Julian Smart
552a0ebdb2 Small WinCE mods from Marco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:01:50 +00:00
Julian Smart
247ef58d1a Added script to convert project files to DOS format.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:57:30 +00:00
Julian Smart
9c136858af Applied patch [ 649284 ] Fix wxODBC to work with MySQL 2.x
The current sample/db fails to build indexes with
MyODBC v2.50.39

This is due to two problems:

(1) wxDb::ModifyColumn() created a SQL statement that
was not correctly formed for MySQL. This problem
caused wxDbTable::CreateIndex() to fail to set the
columns that are going to indexes to be NOT NULL. I
fixed this by added a special case for MySQL.

(2) When creating an Index on a VARCHAR column,
MySQL requires a key length to be specified.
wxDbTable::CreateIndex() current does not do this. I
fixed this problem by adding code to do this.

The attached patch file patches dbtable.cpp and db.cpp
on the 2.5 branch.

gor Mikolic-Torreira


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:50:14 +00:00
Julian Smart
df41317113 Applied patch [ 649590 ] fixes bug 611264: wxFileDialog entry
In bug 611264 I reported that typing a filename into a
multiple selection file dialog failed. The file
returned was "..".

I discovered that this was because the previous
directory folder came up automatically selected when
the dialog was created. Then, I discovered a related
bug. If any file or folder was selected, then that was
the file which was returned regardless of what was
typed in.

To fix the problem I added an EVT_TEXT handler which
deselects everything that is selected when the user
types. The handler does not deselect anything unless
the user actually types something.

This patch implements the fix.

John Skiff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:44:13 +00:00
Julian Smart
84cff96585 Applied patch [ 642174 ] Stop TOOL_WINDOWS stealing focus
When frames with the wxFRAME_TOOL_WINDOW
style ( i.e. a floating toolbar frame) is shown it is
activated, taking focus from the main application
window. This patch stops frames with the
wxFRAME_TOOL_WINDOW from being activated when
shown.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:31:17 +00:00
Julian Smart
48aa18c000 Applied patch [ 650078 ] Add better checking to wxComboBox
This patch adds extra checks, checks to see and report
if the provided item index is valid.

An other thing:
- IMHO wxComboBox::GetSelection() was wrong, I
corrected this (now it behaves the same as wxMSW,
don't know about wxGTK and others...).

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:26:21 +00:00
Julian Smart
635eb8bcc4 Applied patch [ 648042 ] Erase background error
When erasing the background with a transparent
background the logical origin of the provided DC is (re)
set, but not restored to the old value. Restoring the old
value is needed because the DC is/can be shared with
the real draw code...

This patch solves problems like mentioned in bug report
#635217 and problems like controls (like radio controls
etc) that disappear when moving the mouse over them or
clicking on them...

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:20:44 +00:00
Julian Smart
2a2a71e326 Applied patch [ 642172 ] Fix menu accelerators in ownerdrw
Fixed bug when updating menu text to inform the
ownerdrw code of the new menu accelerator attached to
the menu item.
Improved the layout of the owenerdrw menu ownerdrw to
correctly account for menu accelerators, submenu
arrows etc.

Scott Pleiter

(Note from JACS: I've also changed the sample to show the Quit item
correctly aligned; it needs to have the font set before wxWin knows
it's an ownerdrawn item.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:15:00 +00:00
Julian Smart
1d30a0a132 Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Julian Smart
7a0363dd04 Applied patch [ 642157 ] [MSW] HMENU resource leak from wxMenuBar
Latest CVS - When a wxMenuBar is detached
from a frame and deleted the HMENU resource leaks.
This patch fixes the leak.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:29:00 +00:00
Julian Smart
fc7c8ae9c3 Applied [ 639060 ] Individual bar floating in contrib/fl
In the current contrib/fl implementation, all control bars
in the frame layout either float or they don't. I added
code to allow the bar floating to be determined on a bar-
by-bar basis. That is, this patch enables some control
bars to float while keeping others locked.

Kevin Yochum


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:21:23 +00:00
Julian Smart
5c6bd4a957 Added missing AddBook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:15:22 +00:00
Julian Smart
77416abdc5 Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:14:39 +00:00
Vadim Zeitlin
ce788ad93a fixed Get/SetString() prototypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:14:51 +00:00
Vadim Zeitlin
ecb7e58c24 fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:06:20 +00:00
Vadim Zeitlin
8def689d42 replaced wxItem_Xxx with wxITEM_XXX as they should be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 00:05:29 +00:00
Julian Smart
1b489359c4 Applied patch [ 637982 ] wxComboBox needs margin
wxComboBox doesn't have a margin between the text and
the dropdown button when the default size is used.
Since wxTextctrl currently returns a rather long minmal
size, this error is only visible if a long text (around
20 chars) is used. This patch introduces a margin
(analog wxSpinctrl).

Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 21:43:43 +00:00
Václav Slavík
11d667e7eb use AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:56 +00:00
Václav Slavík
fcf77487ed added wxHtmlHelpController::AddBook(wxFileName)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:42 +00:00
Václav Slavík
cc37ecaf2d fixed tex2rtf error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:30:02 +00:00
Václav Slavík
9548c49a6a modifications to URL<->filename conversion: take wxFileName, rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 20:28:12 +00:00
Mattia Barbon
ec75d791f0 Refactored & cleaned up wxChoice & wxComboBox code, fixed client data
handling, implemented wxControlWIthItems' methods correctly, fixed a
couple of other bugs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:48:05 +00:00
Mattia Barbon
21b273736b Added wxClientDataDictionary, used (in wxMotif ATM) to maintain the
association between wxControlWithItems' items and their client data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:43:45 +00:00
Mattia Barbon
5fd588d229 Replaced int with size_t where appropriate, added WXDLLEXPORT, corrected
a bug in RemoveAt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:38:46 +00:00
Robert Roebling
df135f2b4d Catching dclick event from a spinbutton or spin control
crashes GTK 1.2 sooner or later. Just disable this
    event for now. Should also be in 2.4, actually.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 18:02:30 +00:00
Roger Gammans
cdbecb3946 Documentation for wxDbGrid from patch 638274
Updates with the aim of improving readability.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:10:50 +00:00
Roger Gammans
f24badde9a new member functio of wxDbColInfo to allow two step creation , to be
descibed in the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 16:04:36 +00:00
Václav Slavík
69a8b5b457 Fixed EVT_TREE_SEL_CHANGED and _CHANGING under MSLU (patch 631815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:23:03 +00:00
Václav Slavík
e77d4369de XRC assigns ID to wxStaticBox created by including wxStaticBoxSizer (did what patch 632470 was supposed to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:22:00 +00:00
Václav Slavík
3acd4349a5 Unicode compilation fixes for treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:21:33 +00:00
Václav Slavík
64e9f56b80 fixed Vadim's removal of XPM handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:20:49 +00:00
Vadim Zeitlin
39bc7d8020 don't add XPM handler in wxInitAllImageHandlers() because it had been already edited in wxImage::nitStandardHandlers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 00:57:53 +00:00
Vadim Zeitlin
53c9228ead always declare wxAppInitializerFunction() as returning wxApp, whether we use gcc or not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 23:58:13 +00:00
Julian Smart
3ddcf967d6 Committed vcw files also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 16:08:47 +00:00
Julian Smart
6d613d8d4a Converted wxBase also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 16:05:40 +00:00
Robert Roebling
0e0126c220 Various compile fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:41:13 +00:00
Stefan Neis
694f2f3cc7 Version number changes.
Added information on how to circumvent make's problems with auto-generated
        .d files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:37:00 +00:00
Julian Smart
1b6f93fcfe Corrected line endings, deps now relative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:31:02 +00:00
Robert Roebling
2e8e834c0a Added simplistic makefile/project files for wxWinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:38:11 +00:00
Robert Roebling
158b668823 Platform define for wxWinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 12:36:03 +00:00
Julian Smart
7912e6332f Correction to path/URL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 09:18:44 +00:00
Vadim Zeitlin
dac7d53a83 added semicolons after HASH_MAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:28:02 +00:00
Vadim Zeitlin
d86939c4c9 removed trailing semicolons at the end of HASH_MAP macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:30:47 +00:00
Vadim Zeitlin
5d3f766d26 test that libpng version is > 0.90
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:26:21 +00:00
Vadim Zeitlin
136d4499d5 minor visual corrections to renderers (patch 649847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:07:35 +00:00
Vadim Zeitlin
e622dd68c2 fix for wxGetEnv() under Win16 (!) (bug 645368)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:58:11 +00:00
Vadim Zeitlin
859e25d4ad suppress warnings when compiling libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:43:48 +00:00
Vadim Zeitlin
3993765614 added trivial test for wxTextInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:31:56 +00:00
Vadim Zeitlin
d2ec53ea4a fix (?) for small menu item bitmaps (bug 635438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 00:05:03 +00:00
Vadim Zeitlin
6eccc0c485 fixed 3 infinite loops -- the person who tested this code must have had a lot of patience (bug 645761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:55:55 +00:00
Vadim Zeitlin
de628f984b fixed bug in wxSemaphore::WaitTimeout() which was calling the wrong wxCondition::Wait() (bug 642226 and patch 648859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:47:34 +00:00
Vadim Zeitlin
2c62b3c3a1 corrected a too eager error message (patch 648599)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:42:16 +00:00
Vadim Zeitlin
285013b384 avoid flicker when doing SetItem() in non report mode (slightly extended patch 647970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:40:11 +00:00
Vadim Zeitlin
c1eb1102aa generate spinctrl event when the button was clicked (slightly modified patch 648013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:36:01 +00:00
Vadim Zeitlin
801a492c49 Append() returns int, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:27:29 +00:00
Vadim Zeitlin
38c1f6f765 tell to open .dsw file, not .dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:24:57 +00:00
Julian Smart
409e38cd65 Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 22:49:58 +00:00
Vadim Zeitlin
adb45366da compilation fix for wxUSE_INTL == 0 (patch 646466)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:23:36 +00:00
Vadim Zeitlin
815b393a5a fixed mem leak when using non default theme; change the art provider automatically when the theme is changed (patch 646463)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:07:24 +00:00
Vadim Zeitlin
61ecf6d34f fix typo in drawing slider ticks; added assert to check for it (slightly modified patch 646256)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:02:50 +00:00
Vadim Zeitlin
f7a201b94e better check of parameter in Delete() (2nd part of patch 646145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:59:06 +00:00
Vadim Zeitlin
d00b880a79 don't leak client data (1st part of patch 646145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:57:56 +00:00
Julian Smart
9b798c66c7 Removed apparently erroneous manipulation of filename/URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:12:48 +00:00
Vadim Zeitlin
513e0cea96 fixed return type of GetEditControl(); updated its description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 17:08:00 +00:00
Stefan Neis
85045dd09e Updated to more OS/2 friendly version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:59:38 +00:00
Stefan Neis
42b7406da2 Changed GSocket_Select to use unix code for wxBase, previous code wasn't
detecting loss of connection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:57:30 +00:00
Julian Smart
1257f68432 Added note about opening .dsp files in VC++ .NET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 14:16:27 +00:00
Robert Roebling
4a6ea63e87 Another attempt to get make win-dist to work with WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 11:50:18 +00:00
Robert Roebling
36d3844cbb Updated Makefile for WinCE (make win-dist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 11:25:51 +00:00
Stefan Csomor
0ba344c712 print session additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 08:07:53 +00:00
Julian Smart
1a4fe894fe Added Marco's first WinCE files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 21:18:30 +00:00
Julian Smart
42280e48f2 Further version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 12:14:53 +00:00
Vadim Zeitlin
5db9e0e80d unabbreviated i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 12:04:51 +00:00
Julian Smart
8473839e3a Added artwork for the emulator, for future reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:54:50 +00:00
Julian Smart
c31752dadf Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Julian Smart
1353f87837 Makefile.in: remove CVS dirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:27:42 +00:00
Julian Smart
088117622c Checked for stream validity in wxImage::GetImageCount.
use horse3.ani in image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:19:00 +00:00
Vadim Zeitlin
d643b80eb9 detect and don't use old zlib version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 02:07:05 +00:00
Vadim Zeitlin
589c71635a allow TABbing into multiline text controls even if they're not editable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 01:05:59 +00:00
Vadim Zeitlin
b6b2d787e3 compilation fix after recent patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 23:15:10 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
59a944cb63 added test for env var expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:34:28 +00:00
Vadim Zeitlin
4c51b68810 compilation fix in !WXWIN_COMPATIBILITY_2_2 mode; set TEST_ALL to 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:29:22 +00:00
Vadim Zeitlin
01cb1c2617 added ctor taking wxFontFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 23:58:52 +00:00
David Webster
7bfbbc0efb Fixups in jpeg lib for multiplely defined symbolsa under VisualAge for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 16:01:49 +00:00
David Webster
376ef4a1f4 Weekly OS/2 updtaes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:59:35 +00:00
David Webster
13053f649b os2 update to rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:56:35 +00:00
David Webster
841346f01f removed ctl3d32.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 13:44:31 +00:00
Roman Rolinsky
d21441bd9b just a test if CVS access works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 07:19:19 +00:00
Stefan Neis
ef4d6ce8e4 Fixed some typos that occured in applying patch 606235.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 15:08:03 +00:00
Jouk Jansen
1507adbb8c Committing in .
Updated OpenVMS configuration

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 06:17:39 +00:00
Julian Smart
942e06785c Added scripts to make a minimal wxMSW distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 19:20:38 +00:00
Julian Smart
4a28b9b81c Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 16:03:59 +00:00
David Webster
243116066d nativedlg and some interface changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:56:00 +00:00
David Webster
923b48fc63 virtual function hiding problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:54:25 +00:00
David Webster
c09245191c OS/2 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-16 04:53:42 +00:00
1216 changed files with 44824 additions and 832823 deletions

22
src/expat/COPYING Normal file
View File

@@ -0,0 +1,22 @@
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
and Clark Cooper
Copyright (c) 2001, 2002 Expat maintainers.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

107
src/expat/Changes Normal file
View File

@@ -0,0 +1,107 @@
Release 1.95.6 Tue Jan 28 2003
- Added XML_FreeContentModel().
- Added XML_MemMalloc(), XML_MemRealloc(), XML_MemFree().
- Fixed a variety of bugs: see SF issues 615606, 616863,
618199, 653180, 673791.
- Enhanced the regression test suite.
- Man page improvements: includes SF issue 632146.
Release 1.95.5 Fri Sep 6 2002
- Added XML_UseForeignDTD() for improved SAX2 support.
- Added XML_GetFeatureList().
- Defined XML_Bool type and the values XML_TRUE and XML_FALSE.
- Use an incomplete struct instead of a void* for the parser
(may not retain).
- Fixed UTF-8 decoding bug that caused legal UTF-8 to be rejected.
- Finally fixed bug where default handler would report DTD
events that were already handled by another handler.
Initial patch contributed by Darryl Miles.
- Removed unnecessary DllMain() function that caused static
linking into a DLL to be difficult.
- Added VC++ projects for building static libraries.
- Reduced line-length for all source code and headers to be
no longer than 80 characters, to help with AS/400 support.
- Reduced memory copying during parsing (SF patch #600964).
- Fixed a variety of bugs: see SF issues 580793, 434664,
483514, 580503, 581069, 584041, 584183, 584832, 585537,
596555, 596678, 598352, 598944, 599715, 600479, 600971.
Release 1.95.4 Fri Jul 12 2002
- Added support for VMS, contributed by Craig Berry. See
vms/README.vms for more information.
- Added Mac OS (classic) support, with a makefile for MPW,
contributed by Thomas Wegner and Daryle Walker.
- Added Borland C++ Builder 5 / BCC 5.5 support, contributed
by Patrick McConnell (SF patch #538032).
- Fixed a variety of bugs: see SF issues 441449, 563184,
564342, 566334, 566901, 569461, 570263, 575168, 579196.
- Made skippedEntityHandler conform to SAX2 (see source comment)
- Re-implemented WFC: Entity Declared from XML 1.0 spec and
added a new error "entity declared in parameter entity":
see SF bug report 569461 and SF patch 578161
- Re-implemented section 5.1 from XML 1.0 spec:
see SF bug report 570263 and SF patch 578161
Release 1.95.3 Mon Jun 3 2002
- Added a project to the MSVC workspace to create a wchar_t
version of the library; the DLLs are named libexpatw.dll.
- Changed the name of the Windows DLLs from expat.dll to
libexpat.dll; this fixes SF bug #432456.
- Added the XML_ParserReset() API function.
- Fixed XML_SetReturnNSTriplet() to work for element names.
- Made the XML_UNICODE builds usable (thanks, Karl!).
- Allow xmlwf to read from standard input.
- Install a man page for xmlwf on Unix systems.
- Fixed many bugs; see SF bug reports 231864, 461380, 464837,
466885, 469226, 477667, 484419, 487840, 494749, 496505,
547350. Other bugs which we can't test as easily may also
have been fixed, especially in the area of build support.
Release 1.95.2 Fri Jul 27 2001
- More changes to make MSVC happy with the build; add a single
workspace to support both the library and xmlwf application.
- Added a Windows installer for Windows users; includes
xmlwf.exe.
- Added compile-time constants that can be used to determine the
Expat version
- Removed a lot of GNU-specific dependencies to aide portability
among the various Unix flavors.
- Fix the UTF-8 BOM bug.
- Cleaned up warning messages for several compilers.
- Added the -Wall, -Wstrict-prototypes options for GCC.
Release 1.95.1 Sun Oct 22 15:11:36 EDT 2000
- Changes to get expat to build under Microsoft compiler
- Removed all aborts and instead return an UNEXPECTED_STATE error.
- Fixed a bug where a stray '%' in an entity value would cause an
abort.
- Defined XML_SetEndNamespaceDeclHandler. Thanks to Darryl Miles for
finding this oversight.
- Changed default patterns in lib/Makefile.in to fit non-GNU makes
Thanks to robin@unrated.net for reporting and providing an
account to test on.
- The reference had the wrong label for XML_SetStartNamespaceDecl.
Reported by an anonymous user.
Release 1.95.0 Fri Sep 29 2000
- XML_ParserCreate_MM
Allows you to set a memory management suite to replace the
standard malloc,realloc, and free.
- XML_SetReturnNSTriplet
If you turn this feature on when namespace processing is in
effect, then qualified, prefixed element and attribute names
are returned as "uri|name|prefix" where '|' is whatever
separator character is used in namespace processing.
- Merged in features from perl-expat
o XML_SetElementDeclHandler
o XML_SetAttlistDeclHandler
o XML_SetXmlDeclHandler
o XML_SetEntityDeclHandler
o StartDoctypeDeclHandler takes 3 additional parameters:
sysid, pubid, has_internal_subset
o Many paired handler setters (like XML_SetElementHandler)
now have corresponding individual handler setters
o XML_GetInputContext for getting the input context of
the current parse position.
- Added reference material
- Packaged into a distribution that builds a sharable library

92
src/expat/MANIFEST Normal file
View File

@@ -0,0 +1,92 @@
Changes
COPYING
MANIFEST
Makefile.in
README
configure
configure.in
expat_config.h.in
bcb5/README.txt
bcb5/elements.bpf
bcb5/elements.bpr
bcb5/elements.mak
bcb5/expat.bpf
bcb5/expat.bpr
bcb5/expat.mak
bcb5/expat_static.bpf
bcb5/expat_static.bpr
bcb5/expat_static.mak
bcb5/expatw.bpf
bcb5/expatw.bpr
bcb5/expatw.mak
bcb5/expatw_static.bpf
bcb5/expatw_static.bpr
bcb5/expatw_static.mak
bcb5/libexpat_mtd.def
bcb5/libexpatw_mtd.def
bcb5/makefile.mak
bcb5/outline.bpf
bcb5/outline.bpr
bcb5/outline.mak
bcb5/setup.bat
bcb5/xmlwf.bpf
bcb5/xmlwf.bpr
bcb5/xmlwf.mak
conftools/PrintPath
conftools/ac_c_bigendian_cross.m4
conftools/config.guess
conftools/config.sub
conftools/expat.m4
conftools/install-sh
conftools/libtool.m4
conftools/ltmain.sh
conftools/mkinstalldirs
doc/reference.html
doc/style.css
doc/valid-xhtml10.png
doc/xmlwf.1
doc/xmlwf.sgml
examples/elements.c
examples/outline.c
lib/ascii.h
lib/asciitab.h
lib/expat.h
lib/iasciitab.h
lib/internal.h
lib/latin1tab.h
lib/nametab.h
lib/utf8tab.h
lib/xmlparse.c
lib/xmlrole.c
lib/xmlrole.h
lib/xmltok.c
lib/xmltok.h
lib/xmltok_impl.c
lib/xmltok_impl.h
lib/xmltok_ns.c
lib/winconfig.h
tests/README.txt
tests/chardata.c
tests/chardata.h
tests/runtests.c
tests/xmltest.sh
vms/descrip.mms
vms/expat_config.h
vms/README.vms
win32/expat.iss
win32/MANIFEST.txt
xmlwf/codepage.c
xmlwf/codepage.h
xmlwf/ct.c
xmlwf/filemap.h
xmlwf/readfilemap.c
xmlwf/unixfilemap.c
xmlwf/win32filemap.c
xmlwf/xmlfile.c
xmlwf/xmlfile.h
xmlwf/xmlmime.c
xmlwf/xmlmime.h
xmlwf/xmltchar.h
xmlwf/xmlurl.h
xmlwf/xmlwf.c
xmlwf/xmlwin32url.cxx

173
src/expat/Makefile.in Normal file
View File

@@ -0,0 +1,173 @@
################################################################
# Process this file with top-level configure script to produce Makefile
#
# Copyright 2000 Clark Cooper
#
# This file is part of EXPAT.
#
# EXPAT is free software; you can redistribute it and/or modify it
# under the terms of the License (based on the MIT/X license) contained
# in the file COPYING that comes with this distribution.
#
# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
#
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
mandir = ${prefix}/man/man1
top_builddir = .
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
MANFILE = $(srcdir)/doc/xmlwf.1
APIHEADER = $(srcdir)/lib/expat.h
LIBRARY = libexpat.la
default: buildlib xmlwf/xmlwf
buildlib: $(LIBRARY)
all: $(LIBRARY) xmlwf/xmlwf examples/elements examples/outline
clean:
cd lib && rm -f $(LIBRARY) *.o *.lo && rm -rf .libs _libs
cd xmlwf && rm -f xmlwf *.o *.lo && rm -rf .libs _libs
cd examples && rm -f elements outline *.o *.lo && rm -rf .libs _libs
cd tests && rm -rf .libs runtests runtests.o chardata.o
rm -rf .libs libexpat.la
rm -f examples/core tests/core xmlwf/core
clobber: clean
distclean: clean
rm -f expat_config.h config.status config.log config.cache libtool
rm -f Makefile
extraclean: distclean
rm -f expat_config.h.in configure
rm -f conftools/ltconfig conftools/ltmain.sh conftools/libtool.m4
check: tests/runtests
tests/runtests
install: xmlwf/xmlwf installlib
$(mkinstalldirs) $(bindir) $(mandir)
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xmlwf/xmlwf $(bindir)/xmlwf
$(INSTALL_DATA) $(MANFILE) $(mandir)
installlib: $(LIBRARY) $(APIHEADER)
$(mkinstalldirs) $(libdir) $(includedir)
$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY)
$(INSTALL_DATA) $(APIHEADER) $(includedir)
uninstall: uninstalllib
$(LIBTOOL) --mode=uninstall rm -f $(bindir)/xmlwf
rm -f $(mandir)/xmlwf.1
uninstalllib:
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY)
rm -f $(includedir)/$(APIHEADER)
# for VPATH builds (invoked by configure)
mkdir-init:
@for d in lib xmlwf examples tests ; do \
(mkdir $$d 2> /dev/null || test 1) ; \
done
CC = @CC@
LIBTOOL = @LIBTOOL@
INCLUDES = -I$(srcdir)/lib -I.
LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
### autoconf this?
LTFLAGS = --silent
COMPILE = $(CC) $(CFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES)
LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE)
LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@
LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@
LIB_OBJS = lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
$(LIBRARY): $(LIB_OBJS)
$(LINK_LIB) $(LIB_OBJS)
lib/xmlparse.lo: lib/xmlparse.c lib/expat.h lib/xmlrole.h lib/xmltok.h \
$(top_builddir)/expat_config.h lib/internal.h
lib/xmlrole.lo: lib/xmlrole.c lib/ascii.h lib/xmlrole.h \
$(top_builddir)/expat_config.h lib/internal.h
lib/xmltok.lo: lib/xmltok.c lib/xmltok_impl.c lib/xmltok_ns.c \
lib/ascii.h lib/asciitab.h lib/iasciitab.h lib/latin1tab.h \
lib/nametab.h lib/utf8tab.h lib/xmltok.h lib/xmltok_impl.h \
$(top_builddir)/expat_config.h
XMLWF_OBJS = xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/@FILEMAP@.o
xmlwf/xmlwf.o: xmlwf/xmlwf.c
xmlwf/xmlfile.o: xmlwf/xmlfile.c
xmlwf/codepage.o: xmlwf/codepage.c
xmlwf/@FILEMAP@.o: xmlwf/@FILEMAP@.c
xmlwf/xmlwf: $(XMLWF_OBJS) $(LIBRARY)
$(LINK_EXE) $(XMLWF_OBJS) $(LIBRARY)
examples/elements.o: examples/elements.c
examples/elements: examples/elements.o $(LIBRARY)
$(LINK_EXE) $< $(LIBRARY)
examples/outline.o: examples/outline.c
examples/outline: examples/outline.o $(LIBRARY)
$(LINK_EXE) $< $(LIBRARY)
tests/chardata.o: tests/chardata.c tests/chardata.h
tests/runtests.o: tests/runtests.c tests/chardata.h
tests/runtests: tests/runtests.o tests/chardata.o $(LIBRARY)
$(LINK_EXE) $^ -lcheck
tests/xmlts.zip:
wget --output-document=tests/xmlts.zip \
http://www.w3.org/XML/Test/xmlts20020606.zip
tests/XML-Test-Suite: tests/xmlts.zip
cd tests && unzip -q xmlts.zip
run-xmltest: xmlwf/xmlwf tests/XML-Test-Suite
tests/xmltest.sh
.SUFFIXES: .c .lo .o
.c.o:
$(COMPILE) -o $@ -c $<
.c.lo:
$(LTCOMPILE) -o $@ -c $<
.PHONY: buildlib all \
clean distclean extraclean maintainer-clean \
dist distdir \
install uninstall

112
src/expat/README Normal file
View File

@@ -0,0 +1,112 @@
Expat, Release 1.95.6
This is Expat, a C library for parsing XML, written by James Clark.
Expat is a stream-oriented XML parser. This means that you register
handlers with the parser before starting the parse. These handlers
are called when the parser discovers the associated structures in the
document being parsed. A start tag is an example of the kind of
structures for which you may register handlers.
Windows users should use the expat_win32bin package, which includes
both precompiled libraries and executalbes, and source code for
developers.
Expat is free software. You may copy, distribute, and modify it under
the terms of the License contained in the file COPYING distributed
with this package. This license is the same as the MIT/X Consortium
license.
Versions of Expat that have an odd minor version (the middle number in
the release above), are development releases and should be considered
as beta software. Releases with even minor version numbers are
intended to be production grade software.
If you are building Expat from a check-out from the CVS repository,
you need to run a script that generates the configure script using the
GNU autoconf and libtool tools. To do this, you need to have
autoconf 2.52 or newer and libtool 1.4 or newer. Run the script like
this:
./buildconf.sh
Once this has been done, follow the same instructions as for building
from a source distribution.
To build Expat from a source distribution, you first run the
configuration shell script in the top level distribution directory:
./configure
There are many options which you may provide to configure (which you
can discover by running configure with the --help option). But the
one of most interest is the one that sets the installation directory.
By default, the configure script will set things up to install
libexpat into /usr/local/lib, expat.h into /usr/local/include, and
xmlwf into /usr/local/bin. If, for example, you'd prefer to install
into /home/me/mystuff/lib, /home/me/mystuff/include, and
/home/me/mystuff/bin, you can tell configure about that with:
./configure --prefix=/home/me/mystuff
After running the configure script, the "make" command will build
things and "make install" will install things into their proper
location. Note that you need to have write permission into the
directories into which things will be installed.
If you are interested in building Expat to provide document
information in UTF-16 rather than the default UTF-8, following these
instructions:
1. For UTF-16 output as unsigned short (and version/error
strings as char), run:
./configure CPPFLAGS=-DXML_UNICODE
For UTF-16 output as wchar_t (incl. version/error strings),
run:
./configure CFLAGS="-g -O2 -fshort-wchar" \
CPPFLAGS=-DXML_UNICODE_WCHAR_T
2. Edit the MakeFile, changing:
LIBRARY = libexpat.la
to:
LIBRARY = libexpatw.la
(Note the additional "w" in the library name.)
3. Run "make buildlib" (which builds the library only).
4. Run "make installlib" (which installs the library only).
Note for Solaris users: The "ar" command is usually located in
"/usr/ccs/bin", which is not in the default PATH. You will need to
add this to your path for the "make" command, and probably also switch
to GNU make (the "make" found in /usr/ccs/bin does not seem to work
properly -- appearantly it does not understand .PHONY directives). If
you're using ksh or bash, use this command to build:
PATH=/usr/ccs/bin:$PATH make
When using Expat with a project using autoconf for configuration, you
can use the probing macro in conftools/expat.m4 to determine how to
include Expat. See the comments at the top of that file for more
information.
A reference manual is available in the file doc/reference.html in this
distribution.
The homepage for this project is http://www.libexpat.org/. There
are links there to connect you to the bug reports page. If you need
to report a bug when you don't have access to a browser, you may also
send a bug report by email to expat-bugs@mail.libexpat.org.
Discussion related to the direction of future expat development takes
place on expat-discuss@mail.libexpat.org. Archives of this list and
other Expat-related lists may be found at:
http://mail.libexpat.org/mailman-21/listinfo/

86
src/expat/bcb5/README.txt Normal file
View File

@@ -0,0 +1,86 @@
Using a Borland compiler product
The files in this directory support using both the free Borland command-line
compiler tools and the Borland C++ Builder IDE. The project files have been
tested with both versions 5 and 6 of the C++ Builder product.
Using the free BCC32 command line compiler
After downloading and installing the free C++ Builder commandline version,
perform the following steps (assuming it was installed under C:\Borland\BCC55):
1) Add "C:\Borland\BCC55\BIN" to your path
2) Set the environment variable BCB to "C:\Borland\BCC55".
3) edit makefile.mak: enable or comment out the appropriate commands under
clean & distclean, depending on whether your OS can use deltree /y or
del /s/f/q.
After that, you should simply cd to the bcb5 directory in your Expat directory
tree (same structure as CVS) and run "make all" or just "make".
Naming
The libraries have the base name "libexpat" followed optionally by an "s"
(static) or a "w" (unicode version), then an underscore and optionally
"mt" (multi-threaded) and "d" (dynamic RTL).
To change the name of the library a project file produces, edit the project
option source (see step 1 under Unicode below) and change the name contained in
the PROJECT tag. In a make file, change the value assigned to the PROJECT
variable. Also, the LIBRARY entry in the .def file has to be changed to
correspond to the new executable name.
Unicode Considerations
There are no facilities in the BCB 5 GUI to create a unicode-enabled
application. Fortunately, it is not hard to do by hand.
1. The startup .obj system file must be changed to the unicode version.
Go to Project|Edit Option Source, and scroll down to the ALLOBJ tag. Change
c0x32.obj to c0x32w.obj. Editing this file can be quirky, but usually the
following kludge will make the change stick. Close and save the file
(CTRL-F4) then open the options dialog (CTRL-Shift-F11), then click OK on
the dialog immediately without changing anything in it. If this doesn't work,
you will have to close the project completely and edit the .bpr file by hand.
If you are using a make file, just change the startup .obj file assigned
to the ALLOBJ variable.
2. Add the macro define XML_UNICODE_WCHAR_T. In the GUI that goes in the options
dialog, Directories/Conditionals tab, in the Conditional define box. In a
make file, put it in the USERDEFINES variable.
3. Of course, your code has to be written for unicode. As a start, the "main"
function is called "wmain". The tchar macros are an interesting way to
write code that can easily switch between unicode and utf-8. If these macros
are used, then simply adding the conditional define _UNICODE as well as
XML_UNICODE_WCHAR_T will bring in the unicode versions of the tchar macros.
Otherwise the utf-8 versions are used. xmlwf uses its own versions of the
tchar macros which are switched on and off by the XML_UNICODE macro, which
itself is set by the XML_UNICODE_WCHAR_T define.
Threading
The libexpat libraries are all built with the multi-threaded dynamic RTL's.
To create single-threaded libs, do the following:
1. The compiler option for multi-threading must be turned off. Following the
instructions above to edit the option source, remove the -tWM option from
the CFLAG1 tag. In a make file, remove it from the CFLAG1 variable.
2. The single threaded RTL must be called. change the RTL in the ALLLIB tag or
variable (GUI or makefile repectively) to the version without the "mt" in the
name. For example, change cw32mti.lib to cw32i.lib.
Static RTL's
To build the libs with static RTL's do the following,
1. For the static expatlibs, in the Tlib tab on the options dialog, uncheck the
"Use dynamic RTL" box. For the dynamic expatlibs, in the Linker tab on the
options dialog, uncheck "Use dynamic RTL". If you are using a make file,
remove the _RTLDLL assignment to the SYSDEFINES variable, and change the RTL
to the version without an "i" in the ALLLIB variable. For example,
cw32mti.lib would become cw32mt.lib.

View File

@@ -0,0 +1,4 @@
USEUNIT("..\examples\elements.c");
USELIB("Release\libexpats_mtd.lib");
//---------------------------------------------------------------------------
main

149
src/expat/bcb5/elements.bpr Normal file
View File

@@ -0,0 +1,149 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\elements.exe"/>
<OBJFILES value="Release\obj\examples\elements.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value="Release\libexpats_mtd.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
<PATHCPP value=".;..\examples"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="ilink32"/>
<USERDEFINES value="WIN32;NDEBUG;_CONSOLE;XML_STATIC"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="elements.bpf"/>
<INCLUDEPATH value="..\examples;$(BCB)\include"/>
<LIBPATH value="..\examples;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-par -w-8027 -w-8026"/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
<PFLAGS value="-N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value="-IRelease\obj\examples -D&quot;&quot; -ap -Tpe -x -Gn -q -L..\LIB\RELEASE_STATIC"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\examples;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=8
Item0=..\examples;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\examples;$(BCB)\lib;..\examples\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);..\lib\Release-w_static
Item4=$(BCB)\lib;$(RELEASELIBPATH);..\lib\Release_static
Item5=$(BCB)\lib;$(RELEASELIBPATH);C:\src\expat\lib\Release_static
Item6=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item7=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=17
Item0=WIN32;NDEBUG;_CONSOLE;XML_STATIC
Item1=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_STATIC
Item2=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE;XML_STATIC
Item3=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
Item4=WIN32;NDEBUG;_CONSOLE;_DEBUG
Item5=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG
Item6=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG;_UNICODE
Item7=WIN32;NDEBUG;_CONSOLE;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
Item8=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
Item9=WIN32;NDEBUG;_CONSOLE;_UNICODE;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T
Item10=WIN32;NDEBUG;_CONSOLE;_UNICODE;XML_STATIC;_DEBUG;XML_UNICODE
Item11=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T;__WCHAR_T
Item12=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
Item13=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE;_UNICODE
Item14=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG;XML_UNICODE
Item15=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC;_DEBUG
Item16=WIN32;NDEBUG;_CONSOLE;_MBCS;XML_STATIC
[HistoryLists\hlIntOutputDir]
Count=5
Item0=Release\obj\examples
Item1=Release\obj\elements
Item2=Release\obj\mts
Item3=..\examples\Release
Item4=Release
[HistoryLists\hlFinalOutputDir]
Count=1
Item0=Release\
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

186
src/expat/bcb5/elements.mak Normal file
View File

@@ -0,0 +1,186 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\elements.exe
OBJFILES = Release\obj\examples\elements.obj
RESFILES =
MAINSOURCE = elements.bpf
RESDEPEN = $(RESFILES)
LIBFILES = Release\libexpats_mtd.lib
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
SPARELIBS =
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;..\examples
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = WIN32;NDEBUG;_CONSOLE;XML_STATIC
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\examples;$(BCB)\include
LIBPATH = ..\examples;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS= -w-par -w-8027 -w-8026
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -I..\lib -c
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS = -IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q -L..\LIB\RELEASE_STATIC
# ---------------------------------------------------------------------------
ALLOBJ = c0x32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = ilink32
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

6
src/expat/bcb5/expat.bpf Normal file
View File

@@ -0,0 +1,6 @@
USEUNIT("..\lib\xmlparse.c");
USEUNIT("..\lib\xmlrole.c");
USEUNIT("..\lib\xmltok.c");
USEDEF("libexpat_mtd.def");
//---------------------------------------------------------------------------
#define DllEntryPoint

140
src/expat/bcb5/expat.bpr Normal file
View File

@@ -0,0 +1,140 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\libexpat_mtd.dll"/>
<OBJFILES value="Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj
Release\obj\libexpat\xmltok.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value="libexpat_mtd.def"/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value=""/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
<PATHCPP value=".;..\lib"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="ilink32"/>
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="expat.bpf"/>
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD"/>
<PFLAGS value="-N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value="-IRelease\obj\libexpat -D&quot;&quot; -aa -Tpd -x -Gn -Gi -q"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0d32.obj $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\lib;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=5
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=8
Item0=_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
Item3=WIN32;_WINDOWS;NDEBUG;_DEBUG;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP
Item4=NDEBUG;WIN32;_WINDOWS;_USRDLL;_DEBUG;EXPAT_EXPORTS;COMPILED_FROM_DSP
Item5=NDEBUG;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;_DEBUG
Item6=NDEBUG;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;_DEBUG
Item7=NDEBUG;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP
[HistoryLists\hlIntOutputDir]
Count=7
Item0=Release\obj\libexpat
Item1=Release\obj\libexpat_static
Item2=Release\obj\mtd
Item3=Release\obj\mt
Item4=Release\obj
Item5=Release
Item6=..\lib\Release
[HistoryLists\hlFinalOutputDir]
Count=1
Item0=Release\
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

187
src/expat/bcb5/expat.mak Normal file
View File

@@ -0,0 +1,187 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\libexpat_mtd.dll
OBJFILES = Release\obj\libexpat\xmlparse.obj Release\obj\libexpat\xmlrole.obj \
Release\obj\libexpat\xmltok.obj
RESFILES =
MAINSOURCE = expat.bpf
RESDEPEN = $(RESFILES)
LIBFILES =
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
SPARELIBS =
DEFFILE = libexpat_mtd.def
# ---------------------------------------------------------------------------
PATHCPP = .;..\lib
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\lib;$(BCB)\include
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
# ---------------------------------------------------------------------------
CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\libexpat -N0Release\obj\libexpat -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS = -IRelease\obj\libexpat -D"" -aa -Tpd -x -Gn -Gi -q
# ---------------------------------------------------------------------------
ALLOBJ = c0d32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = ilink32
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

View File

@@ -0,0 +1,5 @@
USEUNIT("..\lib\xmlparse.c");
USEUNIT("..\lib\xmlrole.c");
USEUNIT("..\lib\xmltok.c");
//---------------------------------------------------------------------------
#define Library

View File

@@ -0,0 +1,143 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\libexpats_mtd.lib"/>
<OBJFILES value="Release\obj\libexpat_static\xmlparse.obj
Release\obj\libexpat_static\xmlrole.obj
Release\obj\libexpat_static\xmltok.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value=""/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value=""/>
<PATHCPP value=".;..\lib"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="TLib"/>
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="expat_static.bpf"/>
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
<LISTFILE value=""/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -c"/>
<PFLAGS value="-N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value=""/>
</OPTIONS>
<LINKER>
<ALLOBJ value="$(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES)"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\lib;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=5
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=7
Item0=_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
Item3=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_DEBUG
Item4=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP
Item5=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_MBCS
Item6=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP
[HistoryLists\hlIntOutputDir]
Count=6
Item0=Release\obj\libexpat_static
Item1=Release\obj\mts
Item2=Release\obj\mt
Item3=Release
Item4=..\lib\Release_static
Item5=Release_static
[HistoryLists\hlFinalOutputDir]
Count=3
Item0=Release\
Item1=Release
Item2=Release_static\
[HistoryLists\hlTlibPageSize]
Count=1
Item0=0x0010
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

View File

@@ -0,0 +1,189 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\libexpats_mtd.lib
OBJFILES = Release\obj\libexpat_static\xmlparse.obj \
Release\obj\libexpat_static\xmlrole.obj \
Release\obj\libexpat_static\xmltok.obj
RESFILES =
MAINSOURCE = expat_static.bpf
RESDEPEN = $(RESFILES)
LIBFILES =
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES =
SPARELIBS =
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;..\lib
PATHASM = .;
PATHPAS = .;
PATHRC = .;
LINKER = TLib
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\lib;$(BCB)\include
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
LISTFILE =
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\libexpat_static -N0Release\obj\libexpat_static -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS =
# ---------------------------------------------------------------------------
ALLOBJ = $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES)
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = TLib
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
!if "$(LISTFILE)" == ""
COMMA =
!else
COMMA = ,
!endif
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) /u $@ @&&!
$(LFLAGS) $? $(COMMA) $(LISTFILE)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

View File

@@ -0,0 +1,6 @@
USEUNIT("..\lib\xmlparse.c");
USEUNIT("..\lib\xmlrole.c");
USEUNIT("..\lib\xmltok.c");
USEDEF("libexpatw_mtd.def");
//---------------------------------------------------------------------------
#define DllEntryPoint

146
src/expat/bcb5/expatw.bpr Normal file
View File

@@ -0,0 +1,146 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\libexpatw_mtd.dll"/>
<OBJFILES value="Release\obj\libexpatw\xmlparse.obj Release\obj\libexpatw\xmlrole.obj
Release\obj\libexpatw\xmltok.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value="libexpatw_mtd.def"/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value=""/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
<PATHCPP value=".;..\lib"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="ilink32"/>
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="expatw.bpf"/>
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD"/>
<PFLAGS value="-N2Release\obj\libexpatw -N0Release\obj\libexpatw -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value="-IRelease\obj\libexpatw -D&quot;&quot; -aa -Tpd -x -Gn -Gi -w -q"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0d32w.obj $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\lib;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=5
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=9
Item0=_WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
Item2=_WINDOWS;WIN32;NDEBUG;_DEBUG;_USRDLL;EXPAT_EXPORTS;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
Item3=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;_DEBUG;XML_UNICODE_WCHAR_T
Item4=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;_DEBUG
Item5=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_UNICODE;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;_DEBUG
Item6=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_UNICODE;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
Item7=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T;XML_UNICODE
Item8=NDEBUG;COMPILED_FROM_DSP;WIN32;_WINDOWS;_MBCS;_USRDLL;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
[HistoryLists\hlIntOutputDir]
Count=8
Item0=Release\obj\libexpatw
Item1=Release\obj\libexpat
Item2=Release\obj\mtd
Item3=Release\obj\mt
Item4=Release_w\obj
Item5=Release-w\obj
Item6=Release-w
Item7=..\lib\Release-w
[HistoryLists\hlFinalOutputDir]
Count=5
Item0=Release\
Item1=Release
Item2=Release_w\
Item3=Release-w\
Item4=Release-w
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

187
src/expat/bcb5/expatw.mak Normal file
View File

@@ -0,0 +1,187 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\libexpatw_mtd.dll
OBJFILES = Release\obj\libexpatw\xmlparse.obj Release\obj\libexpatw\xmlrole.obj \
Release\obj\libexpatw\xmltok.obj
RESFILES =
MAINSOURCE = expatw.bpf
RESDEPEN = $(RESFILES)
LIBFILES =
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
SPARELIBS =
DEFFILE = libexpatw_mtd.def
# ---------------------------------------------------------------------------
PATHCPP = .;..\lib
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_USRDLL;COMPILED_FROM_DSP;EXPAT_EXPORTS;XML_UNICODE_WCHAR_T
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\lib;$(BCB)\include
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS= -w-rch -w-par -w-8027 -w-8026 -w-ccc
# ---------------------------------------------------------------------------
CFLAG1 = -WD -O2 -X- -a8 -b -k- -vi -q -tWM -c -tWD
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\libexpatw -N0Release\obj\libexpatw -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS = -IRelease\obj\libexpatw -D"" -aa -Tpd -x -Gn -Gi -w -q
# ---------------------------------------------------------------------------
ALLOBJ = c0d32w.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = ilink32
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

View File

@@ -0,0 +1,5 @@
USEUNIT("..\lib\xmlparse.c");
USEUNIT("..\lib\xmlrole.c");
USEUNIT("..\lib\xmltok.c");
//---------------------------------------------------------------------------
#define Library

View File

@@ -0,0 +1,152 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\libexpatws_mtd.lib"/>
<OBJFILES value="Release\obj\libexpatw_static\xmlparse.obj
Release\obj\libexpatw_static\xmlrole.obj
Release\obj\libexpatw_static\xmltok.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value=""/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value=""/>
<PATHCPP value=".;..\lib"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="TLib"/>
<USERDEFINES value="_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="expatw_static.bpf"/>
<INCLUDEPATH value="..\lib;$(BCB)\include"/>
<LIBPATH value="..\lib;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-rch -w-par -w-8027 -w-8026 -w-ccc"/>
<LISTFILE value=""/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -c"/>
<PFLAGS value="-N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L-
-$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value=""/>
</OPTIONS>
<LINKER>
<ALLOBJ value="$(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES)"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\lib;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=5
Item0=..\lib;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\lib;$(BCB)\lib;..\lib\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=15
Item0=_WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
Item1=_WINDOWS;WIN32;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
Item2=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
Item3=WIN32;_WINDOWS;NDEBUG;_DEBUG;_LIB;XML_STATIC;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
Item4=WIN32;_WINDOWS;NDEBUG;_LIB;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T
Item5=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG
Item6=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;__cplusplus
Item7=WIN32;_WINDOWS;NDEBUG;_UNICODE;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG
Item8=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG
Item9=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;__WCHAR_T
Item10=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG;_UNICODE
Item11=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE;_DEBUG;_UNICODE
Item12=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;_DEBUG
Item13=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T
Item14=WIN32;_WINDOWS;NDEBUG;_MBCS;_LIB;COMPILED_FROM_DSP;XML_UNICODE_WCHAR_T;XML_UNICODE
[HistoryLists\hlIntOutputDir]
Count=6
Item0=Release\obj\libexpatw_static
Item1=Release\obj\libexpat_static
Item2=Release\obj\mts
Item3=Release\obj\mt
Item4=..\lib\Release-w_static
Item5=Release-w_static
[HistoryLists\hlFinalOutputDir]
Count=3
Item0=Release\
Item1=Release
Item2=Release-w_static\
[HistoryLists\hlTlibPageSize]
Count=1
Item0=0x0010
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

View File

@@ -0,0 +1,190 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\libexpatws_mtd.lib
OBJFILES = Release\obj\libexpatw_static\xmlparse.obj \
Release\obj\libexpatw_static\xmlrole.obj \
Release\obj\libexpatw_static\xmltok.obj
RESFILES =
MAINSOURCE = expatw_static.bpf
RESDEPEN = $(RESFILES)
LIBFILES =
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES =
SPARELIBS =
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;..\lib
PATHASM = .;
PATHPAS = .;
PATHRC = .;
LINKER = TLib
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = _WINDOWS;WIN32;NDEBUG;_LIB;COMPILED_FROM_DSP;XML_STATIC;XML_UNICODE_WCHAR_T
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\lib;$(BCB)\include
LIBPATH = ..\lib;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS = -w-rch -w-par -w-8027 -w-8026 -w-ccc
LISTFILE =
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -c
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\libexpatw_static -N0Release\obj\libexpatw_static -$Y- -$L- \
-$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS =
# ---------------------------------------------------------------------------
ALLOBJ = $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES)
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = TLib
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
!if "$(LISTFILE)" == ""
COMMA =
!else
COMMA = ,
!endif
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) /u $@ @&&!
$(LFLAGS) $? $(COMMA) $(LISTFILE)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

View File

@@ -0,0 +1,133 @@
; DEF file for BCB5
LIBRARY LIBEXPAT_MTD
DESCRIPTION "Implements an XML parser."
EXPORTS
_XML_DefaultCurrent @1
_XML_ErrorString @2
_XML_ExpatVersion @3
_XML_ExpatVersionInfo @4
_XML_ExternalEntityParserCreate @5
_XML_GetBase @6
_XML_GetBuffer @7
_XML_GetCurrentByteCount @8
_XML_GetCurrentByteIndex @9
_XML_GetCurrentColumnNumber @10
_XML_GetCurrentLineNumber @11
_XML_GetErrorCode @12
_XML_GetIdAttributeIndex @13
_XML_GetInputContext @14
_XML_GetSpecifiedAttributeCount @15
_XML_Parse @16
_XML_ParseBuffer @17
_XML_ParserCreate @18
_XML_ParserCreateNS @19
_XML_ParserCreate_MM @20
_XML_ParserFree @21
_XML_SetAttlistDeclHandler @22
_XML_SetBase @23
_XML_SetCdataSectionHandler @24
_XML_SetCharacterDataHandler @25
_XML_SetCommentHandler @26
_XML_SetDefaultHandler @27
_XML_SetDefaultHandlerExpand @28
_XML_SetDoctypeDeclHandler @29
_XML_SetElementDeclHandler @30
_XML_SetElementHandler @31
_XML_SetEncoding @32
_XML_SetEndCdataSectionHandler @33
_XML_SetEndDoctypeDeclHandler @34
_XML_SetEndElementHandler @35
_XML_SetEndNamespaceDeclHandler @36
_XML_SetEntityDeclHandler @37
_XML_SetExternalEntityRefHandler @38
_XML_SetExternalEntityRefHandlerArg @39
_XML_SetNamespaceDeclHandler @40
_XML_SetNotStandaloneHandler @41
_XML_SetNotationDeclHandler @42
_XML_SetParamEntityParsing @43
_XML_SetProcessingInstructionHandler @44
_XML_SetReturnNSTriplet @45
_XML_SetStartCdataSectionHandler @46
_XML_SetStartDoctypeDeclHandler @47
_XML_SetStartElementHandler @48
_XML_SetStartNamespaceDeclHandler @49
_XML_SetUnknownEncodingHandler @50
_XML_SetUnparsedEntityDeclHandler @51
_XML_SetUserData @52
_XML_SetXmlDeclHandler @53
_XML_UseParserAsHandlerArg @54
; added with version 1.95.3
_XML_ParserReset @55
_XML_SetSkippedEntityHandler @56
; added with version 1.95.5
_XML_GetFeatureList @57
_XML_UseForeignDTD @58
; added with version 1.95.6
_XML_FreeContentModel @59
_XML_MemMalloc @60
_XML_MemRealloc @61
_XML_MemFree @62
; Aliases for MS compatible names
XML_DefaultCurrent = _XML_DefaultCurrent
XML_ErrorString = _XML_ErrorString
XML_ExpatVersion = _XML_ExpatVersion
XML_ExpatVersionInfo = _XML_ExpatVersionInfo
XML_ExternalEntityParserCreate = _XML_ExternalEntityParserCreate
XML_GetBase = _XML_GetBase
XML_GetBuffer = _XML_GetBuffer
XML_GetCurrentByteCount = _XML_GetCurrentByteCount
XML_GetCurrentByteIndex = _XML_GetCurrentByteIndex
XML_GetCurrentColumnNumber = _XML_GetCurrentColumnNumber
XML_GetCurrentLineNumber = _XML_GetCurrentLineNumber
XML_GetErrorCode = _XML_GetErrorCode
XML_GetIdAttributeIndex = _XML_GetIdAttributeIndex
XML_GetInputContext = _XML_GetInputContext
XML_GetSpecifiedAttributeCount = _XML_GetSpecifiedAttributeCount
XML_Parse = _XML_Parse
XML_ParseBuffer = _XML_ParseBuffer
XML_ParserCreate = _XML_ParserCreate
XML_ParserCreateNS = _XML_ParserCreateNS
XML_ParserCreate_MM = _XML_ParserCreate_MM
XML_ParserFree = _XML_ParserFree
XML_SetAttlistDeclHandler = _XML_SetAttlistDeclHandler
XML_SetBase = _XML_SetBase
XML_SetCdataSectionHandler = _XML_SetCdataSectionHandler
XML_SetCharacterDataHandler = _XML_SetCharacterDataHandler
XML_SetCommentHandler = _XML_SetCommentHandler
XML_SetDefaultHandler = _XML_SetDefaultHandler
XML_SetDefaultHandlerExpand = _XML_SetDefaultHandlerExpand
XML_SetDoctypeDeclHandler = _XML_SetDoctypeDeclHandler
XML_SetElementDeclHandler = _XML_SetElementDeclHandler
XML_SetElementHandler = _XML_SetElementHandler
XML_SetEncoding = _XML_SetEncoding
XML_SetEndCdataSectionHandler = _XML_SetEndCdataSectionHandler
XML_SetEndDoctypeDeclHandler = _XML_SetEndDoctypeDeclHandler
XML_SetEndElementHandler = _XML_SetEndElementHandler
XML_SetEndNamespaceDeclHandler = _XML_SetEndNamespaceDeclHandler
XML_SetEntityDeclHandler = _XML_SetEntityDeclHandler
XML_SetExternalEntityRefHandler = _XML_SetExternalEntityRefHandler
XML_SetExternalEntityRefHandlerArg = _XML_SetExternalEntityRefHandlerArg
XML_SetNamespaceDeclHandler = _XML_SetNamespaceDeclHandler
XML_SetNotStandaloneHandler = _XML_SetNotStandaloneHandler
XML_SetNotationDeclHandler = _XML_SetNotationDeclHandler
XML_SetParamEntityParsing = _XML_SetParamEntityParsing
XML_SetProcessingInstructionHandler = _XML_SetProcessingInstructionHandler
XML_SetReturnNSTriplet = _XML_SetReturnNSTriplet
XML_SetStartCdataSectionHandler = _XML_SetStartCdataSectionHandler
XML_SetStartDoctypeDeclHandler = _XML_SetStartDoctypeDeclHandler
XML_SetStartElementHandler = _XML_SetStartElementHandler
XML_SetStartNamespaceDeclHandler = _XML_SetStartNamespaceDeclHandler
XML_SetUnknownEncodingHandler = _XML_SetUnknownEncodingHandler
XML_SetUnparsedEntityDeclHandler = _XML_SetUnparsedEntityDeclHandler
XML_SetUserData = _XML_SetUserData
XML_SetXmlDeclHandler = _XML_SetXmlDeclHandler
XML_UseParserAsHandlerArg = _XML_UseParserAsHandlerArg
XML_ParserReset = _XML_ParserReset
XML_SetSkippedEntityHandler = _XML_SetSkippedEntityHandler
XML_GetFeatureList = _XML_GetFeatureList
XML_UseForeignDTD = _XML_UseForeignDTD
XML_FreeContentModel = _XML_FreeContentModel
XML_MemMalloc = _XML_MemMalloc
XML_MemRealloc = _XML_MemRealloc
XML_MemFree = _XML_MemFree

View File

@@ -0,0 +1,133 @@
; DEF file for BCB5
LIBRARY LIBEXPATW_MTD
DESCRIPTION "Implements an XML parser."
EXPORTS
_XML_DefaultCurrent @1
_XML_ErrorString @2
_XML_ExpatVersion @3
_XML_ExpatVersionInfo @4
_XML_ExternalEntityParserCreate @5
_XML_GetBase @6
_XML_GetBuffer @7
_XML_GetCurrentByteCount @8
_XML_GetCurrentByteIndex @9
_XML_GetCurrentColumnNumber @10
_XML_GetCurrentLineNumber @11
_XML_GetErrorCode @12
_XML_GetIdAttributeIndex @13
_XML_GetInputContext @14
_XML_GetSpecifiedAttributeCount @15
_XML_Parse @16
_XML_ParseBuffer @17
_XML_ParserCreate @18
_XML_ParserCreateNS @19
_XML_ParserCreate_MM @20
_XML_ParserFree @21
_XML_SetAttlistDeclHandler @22
_XML_SetBase @23
_XML_SetCdataSectionHandler @24
_XML_SetCharacterDataHandler @25
_XML_SetCommentHandler @26
_XML_SetDefaultHandler @27
_XML_SetDefaultHandlerExpand @28
_XML_SetDoctypeDeclHandler @29
_XML_SetElementDeclHandler @30
_XML_SetElementHandler @31
_XML_SetEncoding @32
_XML_SetEndCdataSectionHandler @33
_XML_SetEndDoctypeDeclHandler @34
_XML_SetEndElementHandler @35
_XML_SetEndNamespaceDeclHandler @36
_XML_SetEntityDeclHandler @37
_XML_SetExternalEntityRefHandler @38
_XML_SetExternalEntityRefHandlerArg @39
_XML_SetNamespaceDeclHandler @40
_XML_SetNotStandaloneHandler @41
_XML_SetNotationDeclHandler @42
_XML_SetParamEntityParsing @43
_XML_SetProcessingInstructionHandler @44
_XML_SetReturnNSTriplet @45
_XML_SetStartCdataSectionHandler @46
_XML_SetStartDoctypeDeclHandler @47
_XML_SetStartElementHandler @48
_XML_SetStartNamespaceDeclHandler @49
_XML_SetUnknownEncodingHandler @50
_XML_SetUnparsedEntityDeclHandler @51
_XML_SetUserData @52
_XML_SetXmlDeclHandler @53
_XML_UseParserAsHandlerArg @54
; added with version 1.95.3
_XML_ParserReset @55
_XML_SetSkippedEntityHandler @56
; added with version 1.95.5
_XML_GetFeatureList @57
_XML_UseForeignDTD @58
; added with version 1.95.6
_XML_FreeContentModel @59
_XML_MemMalloc @60
_XML_MemRealloc @61
_XML_MemFree @62
; Aliases for MS compatible names
XML_DefaultCurrent = _XML_DefaultCurrent
XML_ErrorString = _XML_ErrorString
XML_ExpatVersion = _XML_ExpatVersion
XML_ExpatVersionInfo = _XML_ExpatVersionInfo
XML_ExternalEntityParserCreate = _XML_ExternalEntityParserCreate
XML_GetBase = _XML_GetBase
XML_GetBuffer = _XML_GetBuffer
XML_GetCurrentByteCount = _XML_GetCurrentByteCount
XML_GetCurrentByteIndex = _XML_GetCurrentByteIndex
XML_GetCurrentColumnNumber = _XML_GetCurrentColumnNumber
XML_GetCurrentLineNumber = _XML_GetCurrentLineNumber
XML_GetErrorCode = _XML_GetErrorCode
XML_GetIdAttributeIndex = _XML_GetIdAttributeIndex
XML_GetInputContext = _XML_GetInputContext
XML_GetSpecifiedAttributeCount = _XML_GetSpecifiedAttributeCount
XML_Parse = _XML_Parse
XML_ParseBuffer = _XML_ParseBuffer
XML_ParserCreate = _XML_ParserCreate
XML_ParserCreateNS = _XML_ParserCreateNS
XML_ParserCreate_MM = _XML_ParserCreate_MM
XML_ParserFree = _XML_ParserFree
XML_SetAttlistDeclHandler = _XML_SetAttlistDeclHandler
XML_SetBase = _XML_SetBase
XML_SetCdataSectionHandler = _XML_SetCdataSectionHandler
XML_SetCharacterDataHandler = _XML_SetCharacterDataHandler
XML_SetCommentHandler = _XML_SetCommentHandler
XML_SetDefaultHandler = _XML_SetDefaultHandler
XML_SetDefaultHandlerExpand = _XML_SetDefaultHandlerExpand
XML_SetDoctypeDeclHandler = _XML_SetDoctypeDeclHandler
XML_SetElementDeclHandler = _XML_SetElementDeclHandler
XML_SetElementHandler = _XML_SetElementHandler
XML_SetEncoding = _XML_SetEncoding
XML_SetEndCdataSectionHandler = _XML_SetEndCdataSectionHandler
XML_SetEndDoctypeDeclHandler = _XML_SetEndDoctypeDeclHandler
XML_SetEndElementHandler = _XML_SetEndElementHandler
XML_SetEndNamespaceDeclHandler = _XML_SetEndNamespaceDeclHandler
XML_SetEntityDeclHandler = _XML_SetEntityDeclHandler
XML_SetExternalEntityRefHandler = _XML_SetExternalEntityRefHandler
XML_SetExternalEntityRefHandlerArg = _XML_SetExternalEntityRefHandlerArg
XML_SetNamespaceDeclHandler = _XML_SetNamespaceDeclHandler
XML_SetNotStandaloneHandler = _XML_SetNotStandaloneHandler
XML_SetNotationDeclHandler = _XML_SetNotationDeclHandler
XML_SetParamEntityParsing = _XML_SetParamEntityParsing
XML_SetProcessingInstructionHandler = _XML_SetProcessingInstructionHandler
XML_SetReturnNSTriplet = _XML_SetReturnNSTriplet
XML_SetStartCdataSectionHandler = _XML_SetStartCdataSectionHandler
XML_SetStartDoctypeDeclHandler = _XML_SetStartDoctypeDeclHandler
XML_SetStartElementHandler = _XML_SetStartElementHandler
XML_SetStartNamespaceDeclHandler = _XML_SetStartNamespaceDeclHandler
XML_SetUnknownEncodingHandler = _XML_SetUnknownEncodingHandler
XML_SetUnparsedEntityDeclHandler = _XML_SetUnparsedEntityDeclHandler
XML_SetUserData = _XML_SetUserData
XML_SetXmlDeclHandler = _XML_SetXmlDeclHandler
XML_UseParserAsHandlerArg = _XML_UseParserAsHandlerArg
XML_ParserReset = _XML_ParserReset
XML_SetSkippedEntityHandler = _XML_SetSkippedEntityHandler
XML_GetFeatureList = _XML_GetFeatureList
XML_UseForeignDTD = _XML_UseForeignDTD
XML_FreeContentModel = _XML_FreeContentModel
XML_MemMalloc = _XML_MemMalloc
XML_MemRealloc = _XML_MemRealloc
XML_MemFree = _XML_MemFree

View File

@@ -0,0 +1,37 @@
all: setup expat expatw expat_static expatw_static elements outline xmlwf
setup:
setup
expat:
make -l -fexpat.mak
expatw:
make -l -fexpatw.mak
expat_static:
make -l -fexpat_static.mak
expatw_static:
make -l -fexpatw_static.mak
elements:
make -l -felements.mak
outline:
make -l -foutline.mak
xmlwf:
make -l -fxmlwf.mak
clean:
# works on Win98/ME
# deltree /y release\obj
# works on WinNT/2000
del /s/f/q release\obj
distclean:
# works on Win98/ME
# deltree /y release\*.*
# works on WinNT/2000
del /s/f/q release\*

View File

@@ -0,0 +1,4 @@
USEUNIT("..\examples\outline.c");
USELIB("Release\libexpat_mtd.lib");
//---------------------------------------------------------------------------
main

132
src/expat/bcb5/outline.bpr Normal file
View File

@@ -0,0 +1,132 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\outline.exe"/>
<OBJFILES value="Release\obj\examples\outline.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value="Release\libexpat_mtd.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
<PATHCPP value=".;..\examples"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="ilink32"/>
<USERDEFINES value="WIN32;NDEBUG;_CONSOLE"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="outline.bpf"/>
<INCLUDEPATH value="..\examples;$(BCB)\include"/>
<LIBPATH value="..\examples;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-par -w-8027 -w-8026"/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
<PFLAGS value="-N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value="-IRelease\obj\examples -D&quot;&quot; -ap -Tpe -x -Gn -q"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=3
Item0=..\examples;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=4
Item0=..\examples;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\examples;$(BCB)\lib;..\examples\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=6
Item0=WIN32;NDEBUG;_CONSOLE
Item1=WIN32;NDEBUG;_CONSOLE;XML_STATIC
Item2=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_STATIC
Item3=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE;XML_STATIC
Item4=WIN32;NDEBUG;_CONSOLE;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
Item5=WIN32;NDEBUG;_CONSOLE;_DEBUG
[HistoryLists\hlIntOutputDir]
Count=4
Item0=Release\obj\examples
Item1=Release\obj\outline
Item2=..\examples\Release
Item3=Release
[HistoryLists\hlFinalOutputDir]
Count=1
Item0=Release\
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

186
src/expat/bcb5/outline.mak Normal file
View File

@@ -0,0 +1,186 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\outline.exe
OBJFILES = Release\obj\examples\outline.obj
RESFILES =
MAINSOURCE = outline.bpf
RESDEPEN = $(RESFILES)
LIBFILES = Release\libexpat_mtd.lib
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
SPARELIBS =
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;..\examples
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = WIN32;NDEBUG;_CONSOLE
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\examples;$(BCB)\include
LIBPATH = ..\examples;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS= -w-par -w-8027 -w-8026
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\examples -N0Release\obj\examples -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS = -IRelease\obj\examples -D"" -ap -Tpe -x -Gn -q
# ---------------------------------------------------------------------------
ALLOBJ = c0x32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = ilink32
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

9
src/expat/bcb5/setup.bat Normal file
View File

@@ -0,0 +1,9 @@
REM CommandInterpreter: $(COMSPEC)
if not exist .\release\nul mkdir release
if not exist .\release\obj\nul mkdir release\obj
if not exist .\release\obj\libexpat\nul mkdir release\obj\libexpat
if not exist .\release\obj\libexpatw\nul mkdir release\obj\libexpatw
if not exist .\release\obj\libexpat_static\nul mkdir release\obj\libexpat_static
if not exist .\release\obj\libexpatw_static\nul mkdir release\obj\libexpatw_static
if not exist .\release\obj\examples\nul mkdir release\obj\examples
if not exist .\release\obj\xmlwf\nul mkdir release\obj\xmlwf

7
src/expat/bcb5/xmlwf.bpf Normal file
View File

@@ -0,0 +1,7 @@
USEUNIT("..\xmlwf\codepage.c");
USEUNIT("..\xmlwf\win32filemap.c");
USEUNIT("..\xmlwf\xmlfile.c");
USEUNIT("..\xmlwf\xmlwf.c");
USELIB("Release\libexpat_mtd.lib");
//---------------------------------------------------------------------------
main

136
src/expat/bcb5/xmlwf.bpr Normal file
View File

@@ -0,0 +1,136 @@
<?xml version='1.0' encoding='utf-8' ?>
<!-- C++Builder XML Project -->
<PROJECT>
<MACROS>
<VERSION value="BCB.05.03"/>
<PROJECT value="Release\xmlwf.exe"/>
<OBJFILES value="Release\obj\xmlwf\codepage.obj Release\obj\xmlwf\win32filemap.obj
Release\obj\xmlwf\xmlfile.obj Release\obj\xmlwf\xmlwf.obj"/>
<RESFILES value=""/>
<IDLFILES value=""/>
<IDLGENFILES value=""/>
<DEFFILE value=""/>
<RESDEPEN value="$(RESFILES)"/>
<LIBFILES value="Release\libexpat_mtd.lib"/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
<PACKAGES value="VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi"/>
<PATHCPP value=".;..\xmlwf"/>
<PATHPAS value=".;"/>
<PATHRC value=".;"/>
<PATHASM value=".;"/>
<DEBUGLIBPATH value="$(BCB)\lib\debug"/>
<RELEASELIBPATH value="$(BCB)\lib\release"/>
<LINKER value="ilink32"/>
<USERDEFINES value="NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP"/>
<SYSDEFINES value="_NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL"/>
<MAINSOURCE value="xmlwf.bpf"/>
<INCLUDEPATH value="..\xmlwf;$(BCB)\include"/>
<LIBPATH value="..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)"/>
<WARNINGS value="-w-8065 -w-par -w-8027 -w-8026"/>
</MACROS>
<OPTIONS>
<IDLCFLAGS value="-I$(BCB)\include"/>
<CFLAG1 value="-O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c"/>
<PFLAGS value="-N2Release\obj\xmlwf -N0Release\obj\xmlwf -$Y- -$L- -$D-"/>
<RFLAGS value="/l 0x409 /d &quot;NDEBUG&quot; /i$(BCB)\include"/>
<AFLAGS value="/mx /w2 /zn"/>
<LFLAGS value="-IRelease\obj\xmlwf -D&quot;&quot; -ap -Tpe -x -Gn -q"/>
</OPTIONS>
<LINKER>
<ALLOBJ value="c0x32.obj $(OBJFILES)"/>
<ALLRES value="$(RESFILES)"/>
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib"/>
</LINKER>
<IDEOPTIONS>
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1033
CodePage=1252
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlIncludePath]
Count=4
Item0=..\xmlwf;$(BCB)\include
Item1=$(BCB)\include
Item2=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl
Item3=$(BCB)\include;$(BCB)\include\mfc;$(BCB)\include\atl;
[HistoryLists\hlLibraryPath]
Count=5
Item0=..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)
Item1=..\xmlwf;$(BCB)\lib;..\xmlwf\$(RELEASELIBPATH)
Item2=$(BCB)\lib;$(RELEASELIBPATH)
Item3=$(BCB)\lib;$(RELEASELIBPATH);$(BCB)\lib\psdk
Item4=$(BCB)\lib;$(RELEASELIBPATH);;$(BCB)\lib\psdk;
[HistoryLists\hlDebugSourcePath]
Count=1
Item0=$(BCB)\source\vcl
[HistoryLists\hlConditionals]
Count=6
Item0=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP
Item1=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T;_UNICODE
Item2=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;XML_UNICODE_WCHAR_T
Item3=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG
Item4=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;_UNICODE;XML_UNICODE_WCHAR_T
Item5=NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP;_DEBUG;_UNICODE
[HistoryLists\hlIntOutputDir]
Count=3
Item0=Release\obj\xmlwf
Item1=..\xmlwf\Release
Item2=Release
[HistoryLists\hlFinalOutputDir]
Count=3
Item0=Release\
Item1=Release
Item2=.\Release\
[Debugging]
DebugSourceDirs=
[Parameters]
RunParams=sample.xml
HostApplication=
RemoteHost=
RemotePath=
RemoteDebug=0
[Compiler]
ShowInfoMsgs=0
LinkDebugVcl=0
LinkCGLIB=0
[Language]
ActiveLang=
ProjectLang=
RootDir=
</IDEOPTIONS>
</PROJECT>

187
src/expat/bcb5/xmlwf.mak Normal file
View File

@@ -0,0 +1,187 @@
# ---------------------------------------------------------------------------
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.05.03
# ---------------------------------------------------------------------------
PROJECT = Release\xmlwf.exe
OBJFILES = Release\obj\xmlwf\codepage.obj Release\obj\xmlwf\win32filemap.obj \
Release\obj\xmlwf\xmlfile.obj Release\obj\xmlwf\xmlwf.obj
RESFILES =
MAINSOURCE = xmlwf.bpf
RESDEPEN = $(RESFILES)
LIBFILES = Release\libexpat_mtd.lib
IDLFILES =
IDLGENFILES =
LIBRARIES =
PACKAGES = VCL50.bpi VCLX50.bpi bcbsmp50.bpi QRPT50.bpi VCLDB50.bpi VCLBDE50.bpi \
ibsmp50.bpi VCLDBX50.bpi TEEUI50.bpi TEEDB50.bpi TEE50.bpi TEEQR50.bpi \
VCLIB50.bpi bcbie50.bpi VCLIE50.bpi INETDB50.bpi INET50.bpi NMFAST50.bpi \
dclocx50.bpi bcb2kaxserver50.bpi dclusr50.bpi
SPARELIBS =
DEFFILE =
# ---------------------------------------------------------------------------
PATHCPP = .;..\xmlwf
PATHASM = .;
PATHPAS = .;
PATHRC = .;
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES = NDEBUG;WIN32;_CONSOLE;COMPILED_FROM_DSP
SYSDEFINES = _NO_VCL;_ASSERTE;NO_STRICT;_RTLDLL
INCLUDEPATH = ..\xmlwf;$(BCB)\include
LIBPATH = ..\xmlwf;$(BCB)\lib;$(RELEASELIBPATH)
WARNINGS= -w-8065 -w-par -w-8027 -w-8026
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -X- -a8 -b -k- -vi -q -tWM -I..\lib -c
IDLCFLAGS = -I$(BCB)\include
PFLAGS = -N2Release\obj\xmlwf -N0Release\obj\xmlwf -$Y- -$L- -$D-
RFLAGS = /l 0x409 /d "NDEBUG" /i$(BCB)\include
AFLAGS = /mx /w2 /zn
LFLAGS = -IRelease\obj\xmlwf -D"" -ap -Tpe -x -Gn -q
# ---------------------------------------------------------------------------
ALLOBJ = c0x32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib
# ---------------------------------------------------------------------------
!ifdef IDEOPTIONS
[Version Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
[Version Info Keys]
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[Debugging]
DebugSourceDirs=$(BCB)\source\vcl
!endif
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if "$(USERDEFINES)" != ""
AUSERDEFINES = -d$(USERDEFINES:;= -d)
!else
AUSERDEFINES =
!endif
!if !$d(BCC32)
BCC32 = bcc32
!endif
!if !$d(CPP32)
CPP32 = cpp32
!endif
!if !$d(DCC32)
DCC32 = dcc32
!endif
!if !$d(TASM32)
TASM32 = tasm32
!endif
!if !$d(LINKER)
LINKER = ilink32
!endif
!if !$d(BRCC32)
BRCC32 = brcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHCPP)
.PATH.CPP = $(PATHCPP)
.PATH.C = $(PATHCPP)
!endif
!if $d(PATHPAS)
.PATH.PAS = $(PATHPAS)
!endif
!if $d(PATHASM)
.PATH.ASM = $(PATHASM)
!endif
!if $d(PATHRC)
.PATH.RC = $(PATHRC)
!endif
# ---------------------------------------------------------------------------
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) -L$(LIBPATH) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
!
# ---------------------------------------------------------------------------
.pas.hpp:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.pas.obj:
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
.cpp.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.obj:
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
.c.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.cpp.i:
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
.asm.obj:
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
.rc.res:
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
# ---------------------------------------------------------------------------

10094
src/expat/configure vendored Executable file

File diff suppressed because it is too large Load Diff

124
src/expat/configure.in Normal file
View File

@@ -0,0 +1,124 @@
dnl configuration script for expat
dnl Process this file with autoconf to produce a configure script.
dnl
dnl Copyright 2000 Clark Cooper
dnl
dnl This file is part of EXPAT.
dnl
dnl EXPAT is free software; you can redistribute it and/or modify it
dnl under the terms of the License (based on the MIT/X license) contained
dnl in the file COPYING that comes with this distribution.
dnl
dnl Ensure that Expat is configured with autoconf 2.52 or newer
AC_PREREQ(2.52)
dnl Get the version number of Expat, using m4's esyscmd() command to run
dnl the command at m4-generation time. This allows us to create an m4
dnl symbol holding the correct version number. AC_INIT() requires the
dnl version number at m4-time, rather than when ./configure is run, so
dnl all this must happen as part of m4, not as part of the shell code
dnl contained in ./configure.
dnl
dnl NOTE: esyscmd() is a GNU M4 extension. Thus, we wrap it in an appropriate
dnl test. I believe this test will work, but I don't have a place with non-
dnl GNU M4 to test it right now.
define([expat_version], ifdef([__gnu__],
[esyscmd(conftools/get-version.sh lib/expat.h)],
[1.95.x]))
AC_INIT(expat, expat_version, expat-bugs@mail.libexpat.org)
undefine([expat_version])
AC_CONFIG_SRCDIR(Makefile.in)
AC_CONFIG_AUX_DIR(conftools)
dnl
dnl Increment LIBREVISION if source code has changed at all
dnl
dnl If the API has changed, increment LIBCURRENT and set LIBREVISION to 0
dnl
dnl If the API changes compatibly (i.e. simply adding a new function
dnl without changing or removing earlier interfaces), then increment LIBAGE.
dnl
dnl If the API changes incompatibly set LIBAGE back to 0
dnl
LIBCURRENT=4
LIBREVISION=0
LIBAGE=4
AC_CONFIG_HEADER(expat_config.h)
sinclude(conftools/libtool.m4)
sinclude(conftools/ac_c_bigendian_cross.m4)
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_SUBST(LIBCURRENT)
AC_SUBST(LIBREVISION)
AC_SUBST(LIBAGE)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
if test "$GCC" = yes ; then
dnl
dnl Be careful about adding the -fexceptions option; some versions of
dnl GCC don't support it and it causes extra warnings that are only
dnl distracting; avoid.
dnl
OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
CFLAGS="$OLDCFLAGS -fexceptions"
AC_MSG_CHECKING(whether gcc accepts -fexceptions)
AC_TRY_COMPILE(,(void)1,
AC_MSG_RESULT(yes),
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS")
fi
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Note: Avoid using AC_C_BIGENDIAN because it does not
dnl work in a cross compile.
AC_C_BIGENDIAN_CROSS
AC_C_CONST
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_MMAP
if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
FILEMAP=unixfilemap
else
FILEMAP=readfilemap
fi
AC_SUBST(FILEMAP)
AC_CHECK_FUNCS(memmove bcopy)
dnl some basic configuration
AC_DEFINE([XML_NS], 1,
[Define to make XML Namespaces functionality available.])
AC_DEFINE([XML_DTD], 1,
[Define to make parameter entity parsing functionality available.])
AC_DEFINE([XML_CONTEXT_BYTES], 1024,
[Define to specify how much context to retain around the current parse point.])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
abs_srcdir="`cd $srcdir && pwd`"
abs_builddir="`pwd`"
if test "$abs_srcdir" != "$abs_builddir"; then
make mkdir-init
fi

116
src/expat/conftools/PrintPath Executable file
View File

@@ -0,0 +1,116 @@
#!/bin/sh
# Look for program[s] somewhere in $PATH.
#
# Options:
# -s
# Do not print out full pathname. (silent)
# -pPATHNAME
# Look in PATHNAME instead of $PATH
#
# Usage:
# PrintPath [-s] [-pPATHNAME] program [program ...]
#
# Initially written by Jim Jagielski for the Apache configuration mechanism
# (with kudos to Kernighan/Pike)
#
# This script falls under the Apache License.
# See http://www.apache.org/licenses/LICENSE
##
# Some "constants"
##
pathname=$PATH
echo="yes"
##
# Find out what OS we are running for later on
##
os=`(uname) 2>/dev/null`
##
# Parse command line
##
for args in $*
do
case $args in
-s ) echo="no" ;;
-p* ) pathname="`echo $args | sed 's/^..//'`" ;;
* ) programs="$programs $args" ;;
esac
done
##
# Now we make the adjustments required for OS/2 and everyone
# else :)
#
# First of all, all OS/2 programs have the '.exe' extension.
# Next, we adjust PATH (or what was given to us as PATH) to
# be whitespace seperated directories.
# Finally, we try to determine the best flag to use for
# test/[] to look for an executable file. OS/2 just has '-r'
# but with other OSs, we do some funny stuff to check to see
# if test/[] knows about -x, which is the prefered flag.
##
if [ "x$os" = "xOS/2" ]
then
ext=".exe"
pathname=`echo -E $pathname |
sed 's/^;/.;/
s/;;/;.;/g
s/;$/;./
s/;/ /g
s/\\\\/\\//g' `
test_exec_flag="-r"
else
ext="" # No default extensions
pathname=`echo $pathname |
sed 's/^:/.:/
s/::/:.:/g
s/:$/:./
s/:/ /g' `
# Here is how we test to see if test/[] can handle -x
testfile="pp.t.$$"
cat > $testfile <<ENDTEST
#!/bin/sh
if [ -x / ] || [ -x /bin ] || [ -x /bin/ls ]; then
exit 0
fi
exit 1
ENDTEST
if `/bin/sh $testfile 2>/dev/null`; then
test_exec_flag="-x"
else
test_exec_flag="-r"
fi
rm -f $testfile
fi
for program in $programs
do
for path in $pathname
do
if [ $test_exec_flag $path/${program}${ext} ] && \
[ ! -d $path/${program}${ext} ]; then
if [ "x$echo" = "xyes" ]; then
echo $path/${program}${ext}
fi
exit 0
fi
# Next try without extension (if one was used above)
if [ "x$ext" != "x" ]; then
if [ $test_exec_flag $path/${program} ] && \
[ ! -d $path/${program} ]; then
if [ "x$echo" = "xyes" ]; then
echo $path/${program}
fi
exit 0
fi
fi
done
done
exit 1

View File

@@ -0,0 +1,81 @@
dnl @synopsis AC_C_BIGENDIAN_CROSS
dnl
dnl Check endianess even when crosscompiling
dnl (partially based on the original AC_C_BIGENDIAN).
dnl
dnl The implementation will create a binary, and instead of running
dnl the binary it will be grep'ed for some symbols that will look
dnl different for different endianess of the binary.
dnl
dnl @version $Id$
dnl @author Guido Draheim <guidod@gmx.de>
dnl
AC_DEFUN([AC_C_BIGENDIAN_CROSS],
[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
[ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
if test $ac_cv_c_bigendian = unknown; then
AC_TRY_RUN([main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes,
[ echo $ac_n "cross-compiling... " 2>&AC_FD_MSG ])
fi])
if test $ac_cv_c_bigendian = unknown; then
AC_MSG_CHECKING(to probe for byte ordering)
[
cat >conftest.c <<EOF
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
int main() { _ascii (); _ebcdic (); return 0; }
EOF
] if test -f conftest.c ; then
if ${CC-cc} -c conftest.c -o conftest.o && test -f conftest.o ; then
if test `grep -l BIGenDianSyS conftest.o` ; then
echo $ac_n ' big endian probe OK, ' 1>&AC_FD_MSG
ac_cv_c_bigendian=yes
fi
if test `grep -l LiTTleEnDian conftest.o` ; then
echo $ac_n ' little endian probe OK, ' 1>&AC_FD_MSG
if test $ac_cv_c_bigendian = yes ; then
ac_cv_c_bigendian=unknown;
else
ac_cv_c_bigendian=no
fi
fi
echo $ac_n 'guessing bigendian ... ' >&AC_FD_MSG
fi
fi
AC_MSG_RESULT($ac_cv_c_bigendian)
fi
if test $ac_cv_c_bigendian = yes; then
AC_DEFINE(WORDS_BIGENDIAN, 1, [whether byteorder is bigendian])
BYTEORDER=4321
else
BYTEORDER=1234
fi
AC_DEFINE_UNQUOTED(BYTEORDER, $BYTEORDER, [1234 = LIL_ENDIAN, 4321 = BIGENDIAN])
if test $ac_cv_c_bigendian = unknown; then
AC_MSG_ERROR(unknown endianess - sorry, please pre-set ac_cv_c_bigendian)
fi
])

1344
src/expat/conftools/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1507
src/expat/conftools/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
dnl Check if --with-expat[=PREFIX] is specified and
dnl Expat >= 1.95.0 is installed in the system.
dnl If yes, substitute EXPAT_CFLAGS, EXPAT_LIBS with regard to
dnl the specified PREFIX and set with_expat to PREFIX, or 'yes' if PREFIX
dnl has not been specified. Also HAVE_LIBEXPAT, HAVE_EXPAT_H are defined.
dnl If --with-expat has not been specified, set with_expat to 'no'.
dnl In addition, an Automake conditional EXPAT_INSTALLED is set accordingly.
dnl This is necessary to adapt a whole lot of packages that have expat
dnl bundled as a static library.
AC_DEFUN(AM_WITH_EXPAT,
[ AC_ARG_WITH(expat,
[ --with-expat=PREFIX Use system Expat library],
, with_expat=no)
AM_CONDITIONAL(EXPAT_INSTALLED, test $with_expat != no)
EXPAT_CFLAGS=
EXPAT_LIBS=
if test $with_expat != no; then
if test $with_expat != yes; then
EXPAT_CFLAGS="-I$with_expat/include"
EXPAT_LIBS="-L$with_expat/lib"
fi
AC_CHECK_LIB(expat, XML_ParserCreate,
[ EXPAT_LIBS="$EXPAT_LIBS -lexpat"
expat_found=yes ],
[ expat_found=no ],
"$EXPAT_LIBS")
if test $expat_found = no; then
AC_MSG_ERROR([Could not find the Expat library])
fi
expat_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $EXPAT_CFLAGS"
AC_CHECK_HEADERS(expat.h, , expat_found=no)
if test $expat_found = no; then
AC_MSG_ERROR([Could not find expat.h])
fi
CFLAGS="$expat_save_CFLAGS"
fi
AC_SUBST(EXPAT_CFLAGS)
AC_SUBST(EXPAT_LIBS)
])

251
src/expat/conftools/install-sh Executable file
View File

@@ -0,0 +1,251 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch. It can only install one file at a time, a restriction
# shared with many OS's install programs.
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
chmodcmd=""
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0

3573
src/expat/conftools/libtool.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,40 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# mkinstalldirs ends here

1896
src/expat/doc/reference.html Normal file

File diff suppressed because it is too large Load Diff

51
src/expat/doc/style.css Normal file
View File

@@ -0,0 +1,51 @@
body {
background-color: white
}
.noborder {
border-width: 0px;
}
.eg {
padding-left: 1em;
padding-top: .5em;
padding-bottom: .5em;
border: solid thin;
margin: 1em 0;
background-color: tan;
margin-left: 2em;
margin-right: 10%;
}
.handler {
width: 100%;
border-top-width: thin;
margin-bottom: 1em;
}
.handler p {
margin-left: 2em;
}
.setter {
font-weight: bold;
}
.signature {
color: navy;
}
.fcndec {
width: 100%;
border-top-width: thin;
font-weight: bold;
}
.fcndef {
margin-left: 2em;
margin-bottom: 2em;
}
dd {
margin-bottom: 2em;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

251
src/expat/doc/xmlwf.1 Normal file
View File

@@ -0,0 +1,251 @@
.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "XMLWF" "1" "24 January 2003" "" ""
.SH NAME
xmlwf \- Determines if an XML document is well-formed
.SH SYNOPSIS
\fBxmlwf\fR [ \fB-s\fR] [ \fB-n\fR] [ \fB-p\fR] [ \fB-x\fR] [ \fB-e \fIencoding\fB\fR] [ \fB-w\fR] [ \fB-d \fIoutput-dir\fB\fR] [ \fB-c\fR] [ \fB-m\fR] [ \fB-r\fR] [ \fB-t\fR] [ \fB-v\fR] [ \fBfile ...\fR]
.SH "DESCRIPTION"
.PP
\fBxmlwf\fR uses the Expat library to
determine if an XML document is well-formed. It is
non-validating.
.PP
If you do not specify any files on the command-line, and you
have a recent version of \fBxmlwf\fR, the
input file will be read from standard input.
.SH "WELL-FORMED DOCUMENTS"
.PP
A well-formed document must adhere to the
following rules:
.TP 0.2i
\(bu
The file begins with an XML declaration. For instance,
<?xml version="1.0" standalone="yes"?>.
\fBNOTE:\fR
\fBxmlwf\fR does not currently
check for a valid XML declaration.
.TP 0.2i
\(bu
Every start tag is either empty (<tag/>)
or has a corresponding end tag.
.TP 0.2i
\(bu
There is exactly one root element. This element must contain
all other elements in the document. Only comments, white
space, and processing instructions may come after the close
of the root element.
.TP 0.2i
\(bu
All elements nest properly.
.TP 0.2i
\(bu
All attribute values are enclosed in quotes (either single
or double).
.PP
If the document has a DTD, and it strictly complies with that
DTD, then the document is also considered \fBvalid\fR.
\fBxmlwf\fR is a non-validating parser --
it does not check the DTD. However, it does support
external entities (see the \fB-x\fR option).
.SH "OPTIONS"
.PP
When an option includes an argument, you may specify the argument either
separately ("\fB-d\fR output") or concatenated with the
option ("\fB-d\fRoutput"). \fBxmlwf\fR
supports both.
.TP
\fB-c\fR
If the input file is well-formed and \fBxmlwf\fR
doesn't encounter any errors, the input file is simply copied to
the output directory unchanged.
This implies no namespaces (turns off \fB-n\fR) and
requires \fB-d\fR to specify an output file.
.TP
\fB-d output-dir\fR
Specifies a directory to contain transformed
representations of the input files.
By default, \fB-d\fR outputs a canonical representation
(described below).
You can select different output formats using \fB-c\fR
and \fB-m\fR.
The output filenames will
be exactly the same as the input filenames or "STDIN" if the input is
coming from standard input. Therefore, you must be careful that the
output file does not go into the same directory as the input
file. Otherwise, \fBxmlwf\fR will delete the
input file before it generates the output file (just like running
cat < file > file in most shells).
Two structurally equivalent XML documents have a byte-for-byte
identical canonical XML representation.
Note that ignorable white space is considered significant and
is treated equivalently to data.
More on canonical XML can be found at
http://www.jclark.com/xml/canonxml.html .
.TP
\fB-e encoding\fR
Specifies the character encoding for the document, overriding
any document encoding declaration. \fBxmlwf\fR
supports four built-in encodings:
US-ASCII,
UTF-8,
UTF-16, and
ISO-8859-1.
Also see the \fB-w\fR option.
.TP
\fB-m\fR
Outputs some strange sort of XML file that completely
describes the the input file, including character postitions.
Requires \fB-d\fR to specify an output file.
.TP
\fB-n\fR
Turns on namespace processing. (describe namespaces)
\fB-c\fR disables namespaces.
.TP
\fB-p\fR
Tells xmlwf to process external DTDs and parameter
entities.
Normally \fBxmlwf\fR never parses parameter
entities. \fB-p\fR tells it to always parse them.
\fB-p\fR implies \fB-x\fR.
.TP
\fB-r\fR
Normally \fBxmlwf\fR memory-maps the XML file
before parsing; this can result in faster parsing on many
platforms.
\fB-r\fR turns off memory-mapping and uses normal file
IO calls instead.
Of course, memory-mapping is automatically turned off
when reading from standard input.
Use of memory-mapping can cause some platforms to report
substantially higher memory usage for
\fBxmlwf\fR, but this appears to be a matter of
the operating system reporting memory in a strange way; there is
not a leak in \fBxmlwf\fR.
.TP
\fB-s\fR
Prints an error if the document is not standalone.
A document is standalone if it has no external subset and no
references to parameter entities.
.TP
\fB-t\fR
Turns on timings. This tells Expat to parse the entire file,
but not perform any processing.
This gives a fairly accurate idea of the raw speed of Expat itself
without client overhead.
\fB-t\fR turns off most of the output options
(\fB-d\fR, \fB-m\fR, \fB-c\fR,
\&...).
.TP
\fB-v\fR
Prints the version of the Expat library being used, including some
information on the compile-time configuration of the library, and
then exits.
.TP
\fB-w\fR
Enables support for Windows code pages.
Normally, \fBxmlwf\fR will throw an error if it
runs across an encoding that it is not equipped to handle itself. With
\fB-w\fR, xmlwf will try to use a Windows code
page. See also \fB-e\fR.
.TP
\fB-x\fR
Turns on parsing external entities.
Non-validating parsers are not required to resolve external
entities, or even expand entities at all.
Expat always expands internal entities (?),
but external entity parsing must be enabled explicitly.
External entities are simply entities that obtain their
data from outside the XML file currently being parsed.
This is an example of an internal entity:
.nf
<!ENTITY vers '1.0.2'>
.fi
And here are some examples of external entities:
.nf
<!ENTITY header SYSTEM "header-&vers;.xml"> (parsed)
<!ENTITY logo SYSTEM "logo.png" PNG> (unparsed)
.fi
.TP
\fB--\fR
(Two hyphens.)
Terminates the list of options. This is only needed if a filename
starts with a hyphen. For example:
.nf
xmlwf -- -myfile.xml
.fi
will run \fBxmlwf\fR on the file
\fI-myfile.xml\fR.
.PP
Older versions of \fBxmlwf\fR do not support
reading from standard input.
.SH "OUTPUT"
.PP
If an input file is not well-formed,
\fBxmlwf\fR prints a single line describing
the problem to standard output. If a file is well formed,
\fBxmlwf\fR outputs nothing.
Note that the result code is \fBnot\fR set.
.SH "BUGS"
.PP
According to the W3C standard, an XML file without a
declaration at the beginning is not considered well-formed.
However, \fBxmlwf\fR allows this to pass.
.PP
\fBxmlwf\fR returns a 0 - noerr result,
even if the file is not well-formed. There is no good way for
a program to use \fBxmlwf\fR to quickly
check a file -- it must parse \fBxmlwf\fR's
standard output.
.PP
The errors should go to standard error, not standard output.
.PP
There should be a way to get \fB-d\fR to send its
output to standard output rather than forcing the user to send
it to a file.
.PP
I have no idea why anyone would want to use the
\fB-d\fR, \fB-c\fR, and
\fB-m\fR options. If someone could explain it to
me, I'd like to add this information to this manpage.
.SH "ALTERNATIVES"
.PP
Here are some XML validators on the web:
.nf
http://www.hcrc.ed.ac.uk/~richard/xml-check.html
http://www.stg.brown.edu/service/xmlvalid/
http://www.scripting.com/frontier5/xml/code/xmlValidator.html
http://www.xml.com/pub/a/tools/ruwf/check.html
.fi
.SH "SEE ALSO"
.PP
.nf
The Expat home page: http://www.libexpat.org/
The W3 XML specification: http://www.w3.org/TR/REC-xml
.fi
.SH "AUTHOR"
.PP
This manual page was written by Scott Bronson <bronson@rinspin.com> for
the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation
License, Version 1.1.

473
src/expat/doc/xmlwf.sgml Normal file
View File

@@ -0,0 +1,473 @@
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Scott</firstname>">
<!ENTITY dhsurname "<surname>Bronson</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>December 5, 2001</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
<!ENTITY dhemail "<email>bronson@rinspin.com</email>">
<!ENTITY dhusername "Scott Bronson">
<!ENTITY dhucpackage "<refentrytitle>XMLWF</refentrytitle>">
<!ENTITY dhpackage "xmlwf">
<!ENTITY debian "<productname>Debian GNU/Linux</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2001</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>Determines if an XML document is well-formed</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>-s</option></arg>
<arg><option>-n</option></arg>
<arg><option>-p</option></arg>
<arg><option>-x</option></arg>
<arg><option>-e <replaceable>encoding</replaceable></option></arg>
<arg><option>-w</option></arg>
<arg><option>-d <replaceable>output-dir</replaceable></option></arg>
<arg><option>-c</option></arg>
<arg><option>-m</option></arg>
<arg><option>-r</option></arg>
<arg><option>-t</option></arg>
<arg><option>-v</option></arg>
<arg>file ...</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>
<command>&dhpackage;</command> uses the Expat library to
determine if an XML document is well-formed. It is
non-validating.
</para>
<para>
If you do not specify any files on the command-line, and you
have a recent version of <command>&dhpackage;</command>, the
input file will be read from standard input.
</para>
</refsect1>
<refsect1>
<title>WELL-FORMED DOCUMENTS</title>
<para>
A well-formed document must adhere to the
following rules:
</para>
<itemizedlist>
<listitem><para>
The file begins with an XML declaration. For instance,
<literal>&lt;?xml version="1.0" standalone="yes"?&gt;</literal>.
<emphasis>NOTE:</emphasis>
<command>&dhpackage;</command> does not currently
check for a valid XML declaration.
</para></listitem>
<listitem><para>
Every start tag is either empty (&lt;tag/&gt;)
or has a corresponding end tag.
</para></listitem>
<listitem><para>
There is exactly one root element. This element must contain
all other elements in the document. Only comments, white
space, and processing instructions may come after the close
of the root element.
</para></listitem>
<listitem><para>
All elements nest properly.
</para></listitem>
<listitem><para>
All attribute values are enclosed in quotes (either single
or double).
</para></listitem>
</itemizedlist>
<para>
If the document has a DTD, and it strictly complies with that
DTD, then the document is also considered <emphasis>valid</emphasis>.
<command>&dhpackage;</command> is a non-validating parser --
it does not check the DTD. However, it does support
external entities (see the <option>-x</option> option).
</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>
When an option includes an argument, you may specify the argument either
separately ("<option>-d</option> output") or concatenated with the
option ("<option>-d</option>output"). <command>&dhpackage;</command>
supports both.
</para>
<variablelist>
<varlistentry>
<term><option>-c</option></term>
<listitem>
<para>
If the input file is well-formed and <command>&dhpackage;</command>
doesn't encounter any errors, the input file is simply copied to
the output directory unchanged.
This implies no namespaces (turns off <option>-n</option>) and
requires <option>-d</option> to specify an output file.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d output-dir</option></term>
<listitem>
<para>
Specifies a directory to contain transformed
representations of the input files.
By default, <option>-d</option> outputs a canonical representation
(described below).
You can select different output formats using <option>-c</option>
and <option>-m</option>.
</para>
<para>
The output filenames will
be exactly the same as the input filenames or "STDIN" if the input is
coming from standard input. Therefore, you must be careful that the
output file does not go into the same directory as the input
file. Otherwise, <command>&dhpackage;</command> will delete the
input file before it generates the output file (just like running
<literal>cat &lt; file &gt; file</literal> in most shells).
</para>
<para>
Two structurally equivalent XML documents have a byte-for-byte
identical canonical XML representation.
Note that ignorable white space is considered significant and
is treated equivalently to data.
More on canonical XML can be found at
http://www.jclark.com/xml/canonxml.html .
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-e encoding</option></term>
<listitem>
<para>
Specifies the character encoding for the document, overriding
any document encoding declaration. <command>&dhpackage;</command>
supports four built-in encodings:
<literal>US-ASCII</literal>,
<literal>UTF-8</literal>,
<literal>UTF-16</literal>, and
<literal>ISO-8859-1</literal>.
Also see the <option>-w</option> option.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-m</option></term>
<listitem>
<para>
Outputs some strange sort of XML file that completely
describes the the input file, including character postitions.
Requires <option>-d</option> to specify an output file.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-n</option></term>
<listitem>
<para>
Turns on namespace processing. (describe namespaces)
<option>-c</option> disables namespaces.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-p</option></term>
<listitem>
<para>
Tells xmlwf to process external DTDs and parameter
entities.
</para>
<para>
Normally <command>&dhpackage;</command> never parses parameter
entities. <option>-p</option> tells it to always parse them.
<option>-p</option> implies <option>-x</option>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-r</option></term>
<listitem>
<para>
Normally <command>&dhpackage;</command> memory-maps the XML file
before parsing; this can result in faster parsing on many
platforms.
<option>-r</option> turns off memory-mapping and uses normal file
IO calls instead.
Of course, memory-mapping is automatically turned off
when reading from standard input.
</para>
<para>
Use of memory-mapping can cause some platforms to report
substantially higher memory usage for
<command>&dhpackage;</command>, but this appears to be a matter of
the operating system reporting memory in a strange way; there is
not a leak in <command>&dhpackage;</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-s</option></term>
<listitem>
<para>
Prints an error if the document is not standalone.
A document is standalone if it has no external subset and no
references to parameter entities.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-t</option></term>
<listitem>
<para>
Turns on timings. This tells Expat to parse the entire file,
but not perform any processing.
This gives a fairly accurate idea of the raw speed of Expat itself
without client overhead.
<option>-t</option> turns off most of the output options
(<option>-d</option>, <option>-m</option>, <option>-c</option>,
...).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option></term>
<listitem>
<para>
Prints the version of the Expat library being used, including some
information on the compile-time configuration of the library, and
then exits.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-w</option></term>
<listitem>
<para>
Enables support for Windows code pages.
Normally, <command>&dhpackage;</command> will throw an error if it
runs across an encoding that it is not equipped to handle itself. With
<option>-w</option>, &dhpackage; will try to use a Windows code
page. See also <option>-e</option>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-x</option></term>
<listitem>
<para>
Turns on parsing external entities.
</para>
<para>
Non-validating parsers are not required to resolve external
entities, or even expand entities at all.
Expat always expands internal entities (?),
but external entity parsing must be enabled explicitly.
</para>
<para>
External entities are simply entities that obtain their
data from outside the XML file currently being parsed.
</para>
<para>
This is an example of an internal entity:
<literallayout>
&lt;!ENTITY vers '1.0.2'&gt;
</literallayout>
</para>
<para>
And here are some examples of external entities:
<literallayout>
&lt;!ENTITY header SYSTEM "header-&amp;vers;.xml"&gt; (parsed)
&lt;!ENTITY logo SYSTEM "logo.png" PNG&gt; (unparsed)
</literallayout>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--</option></term>
<listitem>
<para>
(Two hyphens.)
Terminates the list of options. This is only needed if a filename
starts with a hyphen. For example:
</para>
<literallayout>
&dhpackage; -- -myfile.xml
</literallayout>
<para>
will run <command>&dhpackage;</command> on the file
<filename>-myfile.xml</filename>.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
Older versions of <command>&dhpackage;</command> do not support
reading from standard input.
</para>
</refsect1>
<refsect1>
<title>OUTPUT</title>
<para>
If an input file is not well-formed,
<command>&dhpackage;</command> prints a single line describing
the problem to standard output. If a file is well formed,
<command>&dhpackage;</command> outputs nothing.
Note that the result code is <emphasis>not</emphasis> set.
</para>
</refsect1>
<refsect1>
<title>BUGS</title>
<para>
According to the W3C standard, an XML file without a
declaration at the beginning is not considered well-formed.
However, <command>&dhpackage;</command> allows this to pass.
</para>
<para>
<command>&dhpackage;</command> returns a 0 - noerr result,
even if the file is not well-formed. There is no good way for
a program to use <command>&dhpackage;</command> to quickly
check a file -- it must parse <command>&dhpackage;</command>'s
standard output.
</para>
<para>
The errors should go to standard error, not standard output.
</para>
<para>
There should be a way to get <option>-d</option> to send its
output to standard output rather than forcing the user to send
it to a file.
</para>
<para>
I have no idea why anyone would want to use the
<option>-d</option>, <option>-c</option>, and
<option>-m</option> options. If someone could explain it to
me, I'd like to add this information to this manpage.
</para>
</refsect1>
<refsect1>
<title>ALTERNATIVES</title>
<para>
Here are some XML validators on the web:
<literallayout>
http://www.hcrc.ed.ac.uk/~richard/xml-check.html
http://www.stg.brown.edu/service/xmlvalid/
http://www.scripting.com/frontier5/xml/code/xmlValidator.html
http://www.xml.com/pub/a/tools/ruwf/check.html
</literallayout>
</para>
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>
<literallayout>
The Expat home page: http://www.libexpat.org/
The W3 XML specification: http://www.w3.org/TR/REC-xml
</literallayout>
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>
This manual page was written by &dhusername; &dhemail; for
the &debian; system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the <acronym>GNU</acronym> Free Documentation
License, Version 1.1.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->

View File

@@ -0,0 +1,50 @@
/* This is simple demonstration of how to use expat. This program
reads an XML document from standard input and writes a line with
the name of each element to standard output indenting child
elements by one tab stop more than their parent element.
*/
#include <stdio.h>
#include "expat.h"
static void
startElement(void *userData, const char *name, const char **atts)
{
int i;
int *depthPtr = userData;
for (i = 0; i < *depthPtr; i++)
putchar('\t');
puts(name);
*depthPtr += 1;
}
static void
endElement(void *userData, const char *name)
{
int *depthPtr = userData;
*depthPtr -= 1;
}
int
main(int argc, char *argv[])
{
char buf[BUFSIZ];
XML_Parser parser = XML_ParserCreate(NULL);
int done;
int depth = 0;
XML_SetUserData(parser, &depth);
XML_SetElementHandler(parser, startElement, endElement);
do {
size_t len = fread(buf, 1, sizeof(buf), stdin);
done = len < sizeof(buf);
if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
fprintf(stderr,
"%s at line %d\n",
XML_ErrorString(XML_GetErrorCode(parser)),
XML_GetCurrentLineNumber(parser));
return 1;
}
} while (!done);
XML_ParserFree(parser);
return 0;
}

View File

@@ -0,0 +1,90 @@
/*****************************************************************
* outline.c
*
* Copyright 1999, Clark Cooper
* All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the license contained in the
* COPYING file that comes with the expat distribution.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Read an XML document from standard input and print an element
* outline on standard output.
*/
#include <stdio.h>
#include <expat.h>
#define BUFFSIZE 8192
char Buff[BUFFSIZE];
int Depth;
static void
start(void *data, const char *el, const char **attr)
{
int i;
for (i = 0; i < Depth; i++)
printf(" ");
printf("%s", el);
for (i = 0; attr[i]; i += 2) {
printf(" %s='%s'", attr[i], attr[i + 1]);
}
printf("\n");
Depth++;
}
static void
end(void *data, const char *el)
{
Depth--;
}
int
main(int argc, char *argv[])
{
XML_Parser p = XML_ParserCreate(NULL);
if (! p) {
fprintf(stderr, "Couldn't allocate memory for parser\n");
exit(-1);
}
XML_SetElementHandler(p, start, end);
for (;;) {
int done;
int len;
len = fread(Buff, 1, BUFFSIZE, stdin);
if (ferror(stdin)) {
fprintf(stderr, "Read error\n");
exit(-1);
}
done = feof(stdin);
if (XML_Parse(p, Buff, len, done) == XML_STATUS_ERROR) {
fprintf(stderr, "Parse error at line %d:\n%s\n",
XML_GetCurrentLineNumber(p),
XML_ErrorString(XML_GetErrorCode(p)));
exit(-1);
}
if (done)
break;
}
return 0;
}

View File

@@ -0,0 +1,89 @@
/* expat_config.h.in. Generated from configure.in by autoheader. */
/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */
#undef BYTEORDER
/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* whether byteorder is bigendian */
#undef WORDS_BIGENDIAN
/* Define to specify how much context to retain around the current parse
point. */
#undef XML_CONTEXT_BYTES
/* Define to make parameter entity parsing functionality available. */
#undef XML_DTD
/* Define to make XML Namespaces functionality available. */
#undef XML_NS
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `long' if <sys/types.h> does not define. */
#undef off_t
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t

85
src/expat/lib/ascii.h Normal file
View File

@@ -0,0 +1,85 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#define ASCII_A 0x41
#define ASCII_B 0x42
#define ASCII_C 0x43
#define ASCII_D 0x44
#define ASCII_E 0x45
#define ASCII_F 0x46
#define ASCII_G 0x47
#define ASCII_H 0x48
#define ASCII_I 0x49
#define ASCII_J 0x4A
#define ASCII_K 0x4B
#define ASCII_L 0x4C
#define ASCII_M 0x4D
#define ASCII_N 0x4E
#define ASCII_O 0x4F
#define ASCII_P 0x50
#define ASCII_Q 0x51
#define ASCII_R 0x52
#define ASCII_S 0x53
#define ASCII_T 0x54
#define ASCII_U 0x55
#define ASCII_V 0x56
#define ASCII_W 0x57
#define ASCII_X 0x58
#define ASCII_Y 0x59
#define ASCII_Z 0x5A
#define ASCII_a 0x61
#define ASCII_b 0x62
#define ASCII_c 0x63
#define ASCII_d 0x64
#define ASCII_e 0x65
#define ASCII_f 0x66
#define ASCII_g 0x67
#define ASCII_h 0x68
#define ASCII_i 0x69
#define ASCII_j 0x6A
#define ASCII_k 0x6B
#define ASCII_l 0x6C
#define ASCII_m 0x6D
#define ASCII_n 0x6E
#define ASCII_o 0x6F
#define ASCII_p 0x70
#define ASCII_q 0x71
#define ASCII_r 0x72
#define ASCII_s 0x73
#define ASCII_t 0x74
#define ASCII_u 0x75
#define ASCII_v 0x76
#define ASCII_w 0x77
#define ASCII_x 0x78
#define ASCII_y 0x79
#define ASCII_z 0x7A
#define ASCII_0 0x30
#define ASCII_1 0x31
#define ASCII_2 0x32
#define ASCII_3 0x33
#define ASCII_4 0x34
#define ASCII_5 0x35
#define ASCII_6 0x36
#define ASCII_7 0x37
#define ASCII_8 0x38
#define ASCII_9 0x39
#define ASCII_TAB 0x09
#define ASCII_SPACE 0x20
#define ASCII_EXCL 0x21
#define ASCII_QUOT 0x22
#define ASCII_AMP 0x26
#define ASCII_APOS 0x27
#define ASCII_MINUS 0x2D
#define ASCII_PERIOD 0x2E
#define ASCII_COLON 0x3A
#define ASCII_SEMI 0x3B
#define ASCII_LT 0x3C
#define ASCII_EQUALS 0x3D
#define ASCII_GT 0x3E
#define ASCII_LSQB 0x5B
#define ASCII_RSQB 0x5D
#define ASCII_UNDERSCORE 0x5F

36
src/expat/lib/asciitab.h Normal file
View File

@@ -0,0 +1,36 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML,
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,

926
src/expat/lib/expat.h Normal file
View File

@@ -0,0 +1,926 @@
/* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#ifndef XmlParse_INCLUDED
#define XmlParse_INCLUDED 1
#ifdef __VMS
/* 0 1 2 3 0 1 2 3
1234567890123456789012345678901 1234567890123456789012345678901 */
#define XML_SetProcessingInstructionHandler XML_SetProcessingInstrHandler
#define XML_SetUnparsedEntityDeclHandler XML_SetUnparsedEntDeclHandler
#define XML_SetStartNamespaceDeclHandler XML_SetStartNamespcDeclHandler
#define XML_SetExternalEntityRefHandlerArg XML_SetExternalEntRefHandlerArg
#endif
#include <stdlib.h>
#ifndef XMLPARSEAPI
#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
#ifdef XML_STATIC
#define XMLPARSEAPI(type) type __cdecl
#else
#define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
#endif
#else
#define XMLPARSEAPI(type) type
#endif
#endif /* not defined XMLPARSEAPI */
#ifdef __cplusplus
extern "C" {
#endif
#ifdef XML_UNICODE_WCHAR_T
#define XML_UNICODE
#endif
struct XML_ParserStruct;
typedef struct XML_ParserStruct *XML_Parser;
#ifdef XML_UNICODE /* Information is UTF-16 encoded. */
#ifdef XML_UNICODE_WCHAR_T
typedef wchar_t XML_Char;
typedef wchar_t XML_LChar;
#else
typedef unsigned short XML_Char;
typedef char XML_LChar;
#endif /* XML_UNICODE_WCHAR_T */
#else /* Information is UTF-8 encoded. */
typedef char XML_Char;
typedef char XML_LChar;
#endif /* XML_UNICODE */
/* Should this be defined using stdbool.h when C99 is available? */
typedef unsigned char XML_Bool;
#define XML_TRUE ((XML_Bool) 1)
#define XML_FALSE ((XML_Bool) 0)
enum XML_Error {
XML_ERROR_NONE,
XML_ERROR_NO_MEMORY,
XML_ERROR_SYNTAX,
XML_ERROR_NO_ELEMENTS,
XML_ERROR_INVALID_TOKEN,
XML_ERROR_UNCLOSED_TOKEN,
XML_ERROR_PARTIAL_CHAR,
XML_ERROR_TAG_MISMATCH,
XML_ERROR_DUPLICATE_ATTRIBUTE,
XML_ERROR_JUNK_AFTER_DOC_ELEMENT,
XML_ERROR_PARAM_ENTITY_REF,
XML_ERROR_UNDEFINED_ENTITY,
XML_ERROR_RECURSIVE_ENTITY_REF,
XML_ERROR_ASYNC_ENTITY,
XML_ERROR_BAD_CHAR_REF,
XML_ERROR_BINARY_ENTITY_REF,
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF,
XML_ERROR_MISPLACED_XML_PI,
XML_ERROR_UNKNOWN_ENCODING,
XML_ERROR_INCORRECT_ENCODING,
XML_ERROR_UNCLOSED_CDATA_SECTION,
XML_ERROR_EXTERNAL_ENTITY_HANDLING,
XML_ERROR_NOT_STANDALONE,
XML_ERROR_UNEXPECTED_STATE,
XML_ERROR_ENTITY_DECLARED_IN_PE,
XML_ERROR_FEATURE_REQUIRES_XML_DTD,
XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING
};
enum XML_Content_Type {
XML_CTYPE_EMPTY = 1,
XML_CTYPE_ANY,
XML_CTYPE_MIXED,
XML_CTYPE_NAME,
XML_CTYPE_CHOICE,
XML_CTYPE_SEQ
};
enum XML_Content_Quant {
XML_CQUANT_NONE,
XML_CQUANT_OPT,
XML_CQUANT_REP,
XML_CQUANT_PLUS
};
/* If type == XML_CTYPE_EMPTY or XML_CTYPE_ANY, then quant will be
XML_CQUANT_NONE, and the other fields will be zero or NULL.
If type == XML_CTYPE_MIXED, then quant will be NONE or REP and
numchildren will contain number of elements that may be mixed in
and children point to an array of XML_Content cells that will be
all of XML_CTYPE_NAME type with no quantification.
If type == XML_CTYPE_NAME, then the name points to the name, and
the numchildren field will be zero and children will be NULL. The
quant fields indicates any quantifiers placed on the name.
CHOICE and SEQ will have name NULL, the number of children in
numchildren and children will point, recursively, to an array
of XML_Content cells.
The EMPTY, ANY, and MIXED types will only occur at top level.
*/
typedef struct XML_cp XML_Content;
struct XML_cp {
enum XML_Content_Type type;
enum XML_Content_Quant quant;
XML_Char * name;
unsigned int numchildren;
XML_Content * children;
};
/* This is called for an element declaration. See above for
description of the model argument. It's the caller's responsibility
to free model when finished with it.
*/
typedef void (*XML_ElementDeclHandler) (void *userData,
const XML_Char *name,
XML_Content *model);
XMLPARSEAPI(void)
XML_SetElementDeclHandler(XML_Parser parser,
XML_ElementDeclHandler eldecl);
/* The Attlist declaration handler is called for *each* attribute. So
a single Attlist declaration with multiple attributes declared will
generate multiple calls to this handler. The "default" parameter
may be NULL in the case of the "#IMPLIED" or "#REQUIRED"
keyword. The "isrequired" parameter will be true and the default
value will be NULL in the case of "#REQUIRED". If "isrequired" is
true and default is non-NULL, then this is a "#FIXED" default.
*/
typedef void (*XML_AttlistDeclHandler) (void *userData,
const XML_Char *elname,
const XML_Char *attname,
const XML_Char *att_type,
const XML_Char *dflt,
int isrequired);
XMLPARSEAPI(void)
XML_SetAttlistDeclHandler(XML_Parser parser,
XML_AttlistDeclHandler attdecl);
/* The XML declaration handler is called for *both* XML declarations
and text declarations. The way to distinguish is that the version
parameter will be NULL for text declarations. The encoding
parameter may be NULL for XML declarations. The standalone
parameter will be -1, 0, or 1 indicating respectively that there
was no standalone parameter in the declaration, that it was given
as no, or that it was given as yes.
*/
typedef void (*XML_XmlDeclHandler) (void *userData,
const XML_Char *version,
const XML_Char *encoding,
int standalone);
XMLPARSEAPI(void)
XML_SetXmlDeclHandler(XML_Parser parser,
XML_XmlDeclHandler xmldecl);
typedef struct {
void *(*malloc_fcn)(size_t size);
void *(*realloc_fcn)(void *ptr, size_t size);
void (*free_fcn)(void *ptr);
} XML_Memory_Handling_Suite;
/* Constructs a new parser; encoding is the encoding specified by the
external protocol or NULL if there is none specified.
*/
XMLPARSEAPI(XML_Parser)
XML_ParserCreate(const XML_Char *encoding);
/* Constructs a new parser and namespace processor. Element type
names and attribute names that belong to a namespace will be
expanded; unprefixed attribute names are never expanded; unprefixed
element type names are expanded only if there is a default
namespace. The expanded name is the concatenation of the namespace
URI, the namespace separator character, and the local part of the
name. If the namespace separator is '\0' then the namespace URI
and the local part will be concatenated without any separator.
When a namespace is not declared, the name and prefix will be
passed through without expansion.
*/
XMLPARSEAPI(XML_Parser)
XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator);
/* Constructs a new parser using the memory management suite referred to
by memsuite. If memsuite is NULL, then use the standard library memory
suite. If namespaceSeparator is non-NULL it creates a parser with
namespace processing as described above. The character pointed at
will serve as the namespace separator.
All further memory operations used for the created parser will come from
the given suite.
*/
XMLPARSEAPI(XML_Parser)
XML_ParserCreate_MM(const XML_Char *encoding,
const XML_Memory_Handling_Suite *memsuite,
const XML_Char *namespaceSeparator);
/* Prepare a parser object to be re-used. This is particularly
valuable when memory allocation overhead is disproportionatly high,
such as when a large number of small documnents need to be parsed.
All handlers are cleared from the parser, except for the
unknownEncodingHandler. The parser's external state is re-initialized
except for the values of ns and ns_triplets.
Added in Expat 1.95.3.
*/
XMLPARSEAPI(XML_Bool)
XML_ParserReset(XML_Parser parser, const XML_Char *encoding);
/* atts is array of name/value pairs, terminated by 0;
names and values are 0 terminated.
*/
typedef void (*XML_StartElementHandler)(void *userData,
const XML_Char *name,
const XML_Char **atts);
typedef void (*XML_EndElementHandler)(void *userData,
const XML_Char *name);
/* s is not 0 terminated. */
typedef void (*XML_CharacterDataHandler)(void *userData,
const XML_Char *s,
int len);
/* target and data are 0 terminated */
typedef void (*XML_ProcessingInstructionHandler)(void *userData,
const XML_Char *target,
const XML_Char *data);
/* data is 0 terminated */
typedef void (*XML_CommentHandler)(void *userData, const XML_Char *data);
typedef void (*XML_StartCdataSectionHandler)(void *userData);
typedef void (*XML_EndCdataSectionHandler)(void *userData);
/* This is called for any characters in the XML document for which
there is no applicable handler. This includes both characters that
are part of markup which is of a kind that is not reported
(comments, markup declarations), or characters that are part of a
construct which could be reported but for which no handler has been
supplied. The characters are passed exactly as they were in the XML
document except that they will be encoded in UTF-8 or UTF-16.
Line boundaries are not normalized. Note that a byte order mark
character is not passed to the default handler. There are no
guarantees about how characters are divided between calls to the
default handler: for example, a comment might be split between
multiple calls.
*/
typedef void (*XML_DefaultHandler)(void *userData,
const XML_Char *s,
int len);
/* This is called for the start of the DOCTYPE declaration, before
any DTD or internal subset is parsed.
*/
typedef void (*XML_StartDoctypeDeclHandler)(void *userData,
const XML_Char *doctypeName,
const XML_Char *sysid,
const XML_Char *pubid,
int has_internal_subset);
/* This is called for the start of the DOCTYPE declaration when the
closing > is encountered, but after processing any external
subset.
*/
typedef void (*XML_EndDoctypeDeclHandler)(void *userData);
/* This is called for entity declarations. The is_parameter_entity
argument will be non-zero if the entity is a parameter entity, zero
otherwise.
For internal entities (<!ENTITY foo "bar">), value will
be non-NULL and systemId, publicID, and notationName will be NULL.
The value string is NOT nul-terminated; the length is provided in
the value_length argument. Since it is legal to have zero-length
values, do not use this argument to test for internal entities.
For external entities, value will be NULL and systemId will be
non-NULL. The publicId argument will be NULL unless a public
identifier was provided. The notationName argument will have a
non-NULL value only for unparsed entity declarations.
Note that is_parameter_entity can't be changed to XML_Bool, since
that would break binary compatibility.
*/
typedef void (*XML_EntityDeclHandler) (void *userData,
const XML_Char *entityName,
int is_parameter_entity,
const XML_Char *value,
int value_length,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId,
const XML_Char *notationName);
XMLPARSEAPI(void)
XML_SetEntityDeclHandler(XML_Parser parser,
XML_EntityDeclHandler handler);
/* OBSOLETE -- OBSOLETE -- OBSOLETE
This handler has been superceded by the EntityDeclHandler above.
It is provided here for backward compatibility.
This is called for a declaration of an unparsed (NDATA) entity.
The base argument is whatever was set by XML_SetBase. The
entityName, systemId and notationName arguments will never be
NULL. The other arguments may be.
*/
typedef void (*XML_UnparsedEntityDeclHandler)(void *userData,
const XML_Char *entityName,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId,
const XML_Char *notationName);
/* This is called for a declaration of notation. The base argument is
whatever was set by XML_SetBase. The notationName will never be
NULL. The other arguments can be.
*/
typedef void (*XML_NotationDeclHandler)(void *userData,
const XML_Char *notationName,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId);
/* When namespace processing is enabled, these are called once for
each namespace declaration. The call to the start and end element
handlers occur between the calls to the start and end namespace
declaration handlers. For an xmlns attribute, prefix will be
NULL. For an xmlns="" attribute, uri will be NULL.
*/
typedef void (*XML_StartNamespaceDeclHandler)(void *userData,
const XML_Char *prefix,
const XML_Char *uri);
typedef void (*XML_EndNamespaceDeclHandler)(void *userData,
const XML_Char *prefix);
/* This is called if the document is not standalone, that is, it has an
external subset or a reference to a parameter entity, but does not
have standalone="yes". If this handler returns XML_STATUS_ERROR,
then processing will not continue, and the parser will return a
XML_ERROR_NOT_STANDALONE error.
If parameter entity parsing is enabled, then in addition to the
conditions above this handler will only be called if the referenced
entity was actually read.
*/
typedef int (*XML_NotStandaloneHandler)(void *userData);
/* This is called for a reference to an external parsed general
entity. The referenced entity is not automatically parsed. The
application can parse it immediately or later using
XML_ExternalEntityParserCreate.
The parser argument is the parser parsing the entity containing the
reference; it can be passed as the parser argument to
XML_ExternalEntityParserCreate. The systemId argument is the
system identifier as specified in the entity declaration; it will
not be NULL.
The base argument is the system identifier that should be used as
the base for resolving systemId if systemId was relative; this is
set by XML_SetBase; it may be NULL.
The publicId argument is the public identifier as specified in the
entity declaration, or NULL if none was specified; the whitespace
in the public identifier will have been normalized as required by
the XML spec.
The context argument specifies the parsing context in the format
expected by the context argument to XML_ExternalEntityParserCreate;
context is valid only until the handler returns, so if the
referenced entity is to be parsed later, it must be copied.
context is NULL only when the entity is a parameter entity.
The handler should return XML_STATUS_ERROR if processing should not
continue because of a fatal error in the handling of the external
entity. In this case the calling parser will return an
XML_ERROR_EXTERNAL_ENTITY_HANDLING error.
Note that unlike other handlers the first argument is the parser,
not userData.
*/
typedef int (*XML_ExternalEntityRefHandler)(XML_Parser parser,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId);
/* This is called in two situations:
1) An entity reference is encountered for which no declaration
has been read *and* this is not an error.
2) An internal entity reference is read, but not expanded, because
XML_SetDefaultHandler has been called.
Note: skipped parameter entities in declarations and skipped general
entities in attribute values cannot be reported, because
the event would be out of sync with the reporting of the
declarations or attribute values
*/
typedef void (*XML_SkippedEntityHandler)(void *userData,
const XML_Char *entityName,
int is_parameter_entity);
/* This structure is filled in by the XML_UnknownEncodingHandler to
provide information to the parser about encodings that are unknown
to the parser.
The map[b] member gives information about byte sequences whose
first byte is b.
If map[b] is c where c is >= 0, then b by itself encodes the
Unicode scalar value c.
If map[b] is -1, then the byte sequence is malformed.
If map[b] is -n, where n >= 2, then b is the first byte of an
n-byte sequence that encodes a single Unicode scalar value.
The data member will be passed as the first argument to the convert
function.
The convert function is used to convert multibyte sequences; s will
point to a n-byte sequence where map[(unsigned char)*s] == -n. The
convert function must return the Unicode scalar value represented
by this byte sequence or -1 if the byte sequence is malformed.
The convert function may be NULL if the encoding is a single-byte
encoding, that is if map[b] >= -1 for all bytes b.
When the parser is finished with the encoding, then if release is
not NULL, it will call release passing it the data member; once
release has been called, the convert function will not be called
again.
Expat places certain restrictions on the encodings that are supported
using this mechanism.
1. Every ASCII character that can appear in a well-formed XML document,
other than the characters
$@\^`{}~
must be represented by a single byte, and that byte must be the
same byte that represents that character in ASCII.
2. No character may require more than 4 bytes to encode.
3. All characters encoded must have Unicode scalar values <=
0xFFFF, (i.e., characters that would be encoded by surrogates in
UTF-16 are not allowed). Note that this restriction doesn't
apply to the built-in support for UTF-8 and UTF-16.
4. No Unicode character may be encoded by more than one distinct
sequence of bytes.
*/
typedef struct {
int map[256];
void *data;
int (*convert)(void *data, const char *s);
void (*release)(void *data);
} XML_Encoding;
/* This is called for an encoding that is unknown to the parser.
The encodingHandlerData argument is that which was passed as the
second argument to XML_SetUnknownEncodingHandler.
The name argument gives the name of the encoding as specified in
the encoding declaration.
If the callback can provide information about the encoding, it must
fill in the XML_Encoding structure, and return XML_STATUS_OK.
Otherwise it must return XML_STATUS_ERROR.
If info does not describe a suitable encoding, then the parser will
return an XML_UNKNOWN_ENCODING error.
*/
typedef int (*XML_UnknownEncodingHandler)(void *encodingHandlerData,
const XML_Char *name,
XML_Encoding *info);
XMLPARSEAPI(void)
XML_SetElementHandler(XML_Parser parser,
XML_StartElementHandler start,
XML_EndElementHandler end);
XMLPARSEAPI(void)
XML_SetStartElementHandler(XML_Parser, XML_StartElementHandler);
XMLPARSEAPI(void)
XML_SetEndElementHandler(XML_Parser, XML_EndElementHandler);
XMLPARSEAPI(void)
XML_SetCharacterDataHandler(XML_Parser parser,
XML_CharacterDataHandler handler);
XMLPARSEAPI(void)
XML_SetProcessingInstructionHandler(XML_Parser parser,
XML_ProcessingInstructionHandler handler);
XMLPARSEAPI(void)
XML_SetCommentHandler(XML_Parser parser,
XML_CommentHandler handler);
XMLPARSEAPI(void)
XML_SetCdataSectionHandler(XML_Parser parser,
XML_StartCdataSectionHandler start,
XML_EndCdataSectionHandler end);
XMLPARSEAPI(void)
XML_SetStartCdataSectionHandler(XML_Parser parser,
XML_StartCdataSectionHandler start);
XMLPARSEAPI(void)
XML_SetEndCdataSectionHandler(XML_Parser parser,
XML_EndCdataSectionHandler end);
/* This sets the default handler and also inhibits expansion of
internal entities. These entity references will be passed to the
default handler, or to the skipped entity handler, if one is set.
*/
XMLPARSEAPI(void)
XML_SetDefaultHandler(XML_Parser parser,
XML_DefaultHandler handler);
/* This sets the default handler but does not inhibit expansion of
internal entities. The entity reference will not be passed to the
default handler.
*/
XMLPARSEAPI(void)
XML_SetDefaultHandlerExpand(XML_Parser parser,
XML_DefaultHandler handler);
XMLPARSEAPI(void)
XML_SetDoctypeDeclHandler(XML_Parser parser,
XML_StartDoctypeDeclHandler start,
XML_EndDoctypeDeclHandler end);
XMLPARSEAPI(void)
XML_SetStartDoctypeDeclHandler(XML_Parser parser,
XML_StartDoctypeDeclHandler start);
XMLPARSEAPI(void)
XML_SetEndDoctypeDeclHandler(XML_Parser parser,
XML_EndDoctypeDeclHandler end);
XMLPARSEAPI(void)
XML_SetUnparsedEntityDeclHandler(XML_Parser parser,
XML_UnparsedEntityDeclHandler handler);
XMLPARSEAPI(void)
XML_SetNotationDeclHandler(XML_Parser parser,
XML_NotationDeclHandler handler);
XMLPARSEAPI(void)
XML_SetNamespaceDeclHandler(XML_Parser parser,
XML_StartNamespaceDeclHandler start,
XML_EndNamespaceDeclHandler end);
XMLPARSEAPI(void)
XML_SetStartNamespaceDeclHandler(XML_Parser parser,
XML_StartNamespaceDeclHandler start);
XMLPARSEAPI(void)
XML_SetEndNamespaceDeclHandler(XML_Parser parser,
XML_EndNamespaceDeclHandler end);
XMLPARSEAPI(void)
XML_SetNotStandaloneHandler(XML_Parser parser,
XML_NotStandaloneHandler handler);
XMLPARSEAPI(void)
XML_SetExternalEntityRefHandler(XML_Parser parser,
XML_ExternalEntityRefHandler handler);
/* If a non-NULL value for arg is specified here, then it will be
passed as the first argument to the external entity ref handler
instead of the parser object.
*/
XMLPARSEAPI(void)
XML_SetExternalEntityRefHandlerArg(XML_Parser, void *arg);
XMLPARSEAPI(void)
XML_SetSkippedEntityHandler(XML_Parser parser,
XML_SkippedEntityHandler handler);
XMLPARSEAPI(void)
XML_SetUnknownEncodingHandler(XML_Parser parser,
XML_UnknownEncodingHandler handler,
void *encodingHandlerData);
/* This can be called within a handler for a start element, end
element, processing instruction or character data. It causes the
corresponding markup to be passed to the default handler.
*/
XMLPARSEAPI(void)
XML_DefaultCurrent(XML_Parser parser);
/* If do_nst is non-zero, and namespace processing is in effect, and
a name has a prefix (i.e. an explicit namespace qualifier) then
that name is returned as a triplet in a single string separated by
the separator character specified when the parser was created: URI
+ sep + local_name + sep + prefix.
If do_nst is zero, then namespace information is returned in the
default manner (URI + sep + local_name) whether or not the name
has a prefix.
Note: Calling XML_SetReturnNSTriplet after XML_Parse or
XML_ParseBuffer has no effect.
*/
XMLPARSEAPI(void)
XML_SetReturnNSTriplet(XML_Parser parser, int do_nst);
/* This value is passed as the userData argument to callbacks. */
XMLPARSEAPI(void)
XML_SetUserData(XML_Parser parser, void *userData);
/* Returns the last value set by XML_SetUserData or NULL. */
#define XML_GetUserData(parser) (*(void **)(parser))
/* This is equivalent to supplying an encoding argument to
XML_ParserCreate. On success XML_SetEncoding returns non-zero,
zero otherwise.
Note: Calling XML_SetEncoding after XML_Parse or XML_ParseBuffer
has no effect and returns XML_STATUS_ERROR.
*/
XMLPARSEAPI(enum XML_Status)
XML_SetEncoding(XML_Parser parser, const XML_Char *encoding);
/* If this function is called, then the parser will be passed as the
first argument to callbacks instead of userData. The userData will
still be accessible using XML_GetUserData.
*/
XMLPARSEAPI(void)
XML_UseParserAsHandlerArg(XML_Parser parser);
/* If useDTD == XML_TRUE is passed to this function, then the parser
will assume that there is an external subset, even if none is
specified in the document. In such a case the parser will call the
externalEntityRefHandler with a value of NULL for the systemId
argument (the publicId and context arguments will be NULL as well).
Note: If this function is called, then this must be done before
the first call to XML_Parse or XML_ParseBuffer, since it will
have no effect after that. Returns
XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING.
Note: If the document does not have a DOCTYPE declaration at all,
then startDoctypeDeclHandler and endDoctypeDeclHandler will not
be called, despite an external subset being parsed.
Note: If XML_DTD is not defined when Expat is compiled, returns
XML_ERROR_FEATURE_REQUIRES_XML_DTD.
*/
XMLPARSEAPI(enum XML_Error)
XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD);
/* Sets the base to be used for resolving relative URIs in system
identifiers in declarations. Resolving relative identifiers is
left to the application: this value will be passed through as the
base argument to the XML_ExternalEntityRefHandler,
XML_NotationDeclHandler and XML_UnparsedEntityDeclHandler. The base
argument will be copied. Returns XML_STATUS_ERROR if out of memory,
XML_STATUS_OK otherwise.
*/
XMLPARSEAPI(enum XML_Status)
XML_SetBase(XML_Parser parser, const XML_Char *base);
XMLPARSEAPI(const XML_Char *)
XML_GetBase(XML_Parser parser);
/* Returns the number of the attribute/value pairs passed in last call
to the XML_StartElementHandler that were specified in the start-tag
rather than defaulted. Each attribute/value pair counts as 2; thus
this correspondds to an index into the atts array passed to the
XML_StartElementHandler.
*/
XMLPARSEAPI(int)
XML_GetSpecifiedAttributeCount(XML_Parser parser);
/* Returns the index of the ID attribute passed in the last call to
XML_StartElementHandler, or -1 if there is no ID attribute. Each
attribute/value pair counts as 2; thus this correspondds to an
index into the atts array passed to the XML_StartElementHandler.
*/
XMLPARSEAPI(int)
XML_GetIdAttributeIndex(XML_Parser parser);
/* Parses some input. Returns XML_STATUS_ERROR if a fatal error is
detected. The last call to XML_Parse must have isFinal true; len
may be zero for this call (or any other).
The XML_Status enum gives the possible return values for the
XML_Parse and XML_ParseBuffer functions. Though the return values
for these functions has always been described as a Boolean value,
the implementation, at least for the 1.95.x series, has always
returned exactly one of these values. The preprocessor #defines
are included so this stanza can be added to code that still needs
to support older versions of Expat 1.95.x:
#ifndef XML_STATUS_OK
#define XML_STATUS_OK 1
#define XML_STATUS_ERROR 0
#endif
Otherwise, the #define hackery is quite ugly and would have been dropped.
*/
enum XML_Status {
XML_STATUS_ERROR = 0,
#define XML_STATUS_ERROR XML_STATUS_ERROR
XML_STATUS_OK = 1
#define XML_STATUS_OK XML_STATUS_OK
};
XMLPARSEAPI(enum XML_Status)
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal);
XMLPARSEAPI(void *)
XML_GetBuffer(XML_Parser parser, int len);
XMLPARSEAPI(enum XML_Status)
XML_ParseBuffer(XML_Parser parser, int len, int isFinal);
/* Creates an XML_Parser object that can parse an external general
entity; context is a '\0'-terminated string specifying the parse
context; encoding is a '\0'-terminated string giving the name of
the externally specified encoding, or NULL if there is no
externally specified encoding. The context string consists of a
sequence of tokens separated by formfeeds (\f); a token consisting
of a name specifies that the general entity of the name is open; a
token of the form prefix=uri specifies the namespace for a
particular prefix; a token of the form =uri specifies the default
namespace. This can be called at any point after the first call to
an ExternalEntityRefHandler so longer as the parser has not yet
been freed. The new parser is completely independent and may
safely be used in a separate thread. The handlers and userData are
initialized from the parser argument. Returns NULL if out of memory.
Otherwise returns a new XML_Parser object.
*/
XMLPARSEAPI(XML_Parser)
XML_ExternalEntityParserCreate(XML_Parser parser,
const XML_Char *context,
const XML_Char *encoding);
enum XML_ParamEntityParsing {
XML_PARAM_ENTITY_PARSING_NEVER,
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE,
XML_PARAM_ENTITY_PARSING_ALWAYS
};
/* Controls parsing of parameter entities (including the external DTD
subset). If parsing of parameter entities is enabled, then
references to external parameter entities (including the external
DTD subset) will be passed to the handler set with
XML_SetExternalEntityRefHandler. The context passed will be 0.
Unlike external general entities, external parameter entities can
only be parsed synchronously. If the external parameter entity is
to be parsed, it must be parsed during the call to the external
entity ref handler: the complete sequence of
XML_ExternalEntityParserCreate, XML_Parse/XML_ParseBuffer and
XML_ParserFree calls must be made during this call. After
XML_ExternalEntityParserCreate has been called to create the parser
for the external parameter entity (context must be 0 for this
call), it is illegal to make any calls on the old parser until
XML_ParserFree has been called on the newly created parser.
If the library has been compiled without support for parameter
entity parsing (ie without XML_DTD being defined), then
XML_SetParamEntityParsing will return 0 if parsing of parameter
entities is requested; otherwise it will return non-zero.
Note: If XML_SetParamEntityParsing is called after XML_Parse or
XML_ParseBuffer, then it has no effect and will always return 0.
*/
XMLPARSEAPI(int)
XML_SetParamEntityParsing(XML_Parser parser,
enum XML_ParamEntityParsing parsing);
/* If XML_Parse or XML_ParseBuffer have returned XML_STATUS_ERROR, then
XML_GetErrorCode returns information about the error.
*/
XMLPARSEAPI(enum XML_Error)
XML_GetErrorCode(XML_Parser parser);
/* These functions return information about the current parse
location. They may be called from any callback called to report
some parse event; in this case the location is the location of
the first of the sequence of characters that generated the event.
They may also be called after returning from a call to XML_Parse
or XML_ParseBuffer. If the return value is XML_STATUS_ERROR then
the location is the location of the character at which the error
was detected; otherwise the location is the location of the last
parse event, as described above.
*/
XMLPARSEAPI(int) XML_GetCurrentLineNumber(XML_Parser parser);
XMLPARSEAPI(int) XML_GetCurrentColumnNumber(XML_Parser parser);
XMLPARSEAPI(long) XML_GetCurrentByteIndex(XML_Parser parser);
/* Return the number of bytes in the current event.
Returns 0 if the event is in an internal entity.
*/
XMLPARSEAPI(int)
XML_GetCurrentByteCount(XML_Parser parser);
/* If XML_CONTEXT_BYTES is defined, returns the input buffer, sets
the integer pointed to by offset to the offset within this buffer
of the current parse position, and sets the integer pointed to by size
to the size of this buffer (the number of input bytes). Otherwise
returns a NULL pointer. Also returns a NULL pointer if a parse isn't
active.
NOTE: The character pointer returned should not be used outside
the handler that makes the call.
*/
XMLPARSEAPI(const char *)
XML_GetInputContext(XML_Parser parser,
int *offset,
int *size);
/* For backwards compatibility with previous versions. */
#define XML_GetErrorLineNumber XML_GetCurrentLineNumber
#define XML_GetErrorColumnNumber XML_GetCurrentColumnNumber
#define XML_GetErrorByteIndex XML_GetCurrentByteIndex
/* Frees the content model passed to the element declaration handler */
XMLPARSEAPI(void)
XML_FreeContentModel(XML_Parser parser, XML_Content *model);
/* Exposing the memory handling functions used in Expat */
XMLPARSEAPI(void *)
XML_MemMalloc(XML_Parser parser, size_t size);
XMLPARSEAPI(void *)
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size);
XMLPARSEAPI(void)
XML_MemFree(XML_Parser parser, void *ptr);
/* Frees memory used by the parser. */
XMLPARSEAPI(void)
XML_ParserFree(XML_Parser parser);
/* Returns a string describing the error. */
XMLPARSEAPI(const XML_LChar *)
XML_ErrorString(enum XML_Error code);
/* Return a string containing the version number of this expat */
XMLPARSEAPI(const XML_LChar *)
XML_ExpatVersion(void);
typedef struct {
int major;
int minor;
int micro;
} XML_Expat_Version;
/* Return an XML_Expat_Version structure containing numeric version
number information for this version of expat.
*/
XMLPARSEAPI(XML_Expat_Version)
XML_ExpatVersionInfo(void);
/* Added in Expat 1.95.5. */
enum XML_FeatureEnum {
XML_FEATURE_END = 0,
XML_FEATURE_UNICODE,
XML_FEATURE_UNICODE_WCHAR_T,
XML_FEATURE_DTD,
XML_FEATURE_CONTEXT_BYTES,
XML_FEATURE_MIN_SIZE,
XML_FEATURE_SIZEOF_XML_CHAR,
XML_FEATURE_SIZEOF_XML_LCHAR
/* Additional features must be added to the end of this enum. */
};
typedef struct {
enum XML_FeatureEnum feature;
const XML_LChar *name;
long int value;
} XML_Feature;
XMLPARSEAPI(const XML_Feature *)
XML_GetFeatureList(void);
/* Expat follows the GNU/Linux convention of odd number minor version for
beta/development releases and even number minor version for stable
releases. Micro is bumped with each release, and set to 0 with each
change to major or minor version.
*/
#define XML_MAJOR_VERSION 1
#define XML_MINOR_VERSION 95
#define XML_MICRO_VERSION 6
#ifdef __cplusplus
}
#endif
#endif /* not XmlParse_INCLUDED */

37
src/expat/lib/iasciitab.h Normal file
View File

@@ -0,0 +1,37 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* Like asciitab.h, except that 0xD has code BT_S rather than BT_CR */
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML,
/* 0x0C */ BT_NONXML, BT_S, BT_NONXML, BT_NONXML,
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM,
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS,
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS,
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL,
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT,
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI,
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST,
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB,
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT,
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX,
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT,
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER,

73
src/expat/lib/internal.h Normal file
View File

@@ -0,0 +1,73 @@
/* internal.h
Internal definitions used by Expat. This is not needed to compile
client code.
The following calling convention macros are defined for frequently
called functions:
FASTCALL - Used for those internal functions that have a simple
body and a low number of arguments and local variables.
PTRCALL - Used for functions called though function pointers.
PTRFASTCALL - Like PTRCALL, but for low number of arguments.
inline - Used for selected internal functions for which inlining
may improve performance on some platforms.
Note: Use of these macros is based on judgement, not hard rules,
and therefore subject to change.
*/
#if defined(__GNUC__)
/* Instability reported with egcs on a RedHat Linux 7.3.
Let's comment it out:
#define FASTCALL __attribute__((stdcall, regparm(3)))
and let's try this:
*/
#define FASTCALL __attribute__((regparm(3)))
#define PTRCALL
#define PTRFASTCALL __attribute__((regparm(3)))
#elif defined(WIN32)
/* Using __fastcall seems to have an unexpected negative effect under
MS VC++, especially for function pointers, so we won't use it for
now on that platform. It may be reconsidered for a future release
if it can be made more effective.
Likely reason: __fastcall on Windows is like stdcall, therefore
the compiler cannot perform stack optimizations for call clusters.
*/
#define FASTCALL
#define PTRCALL
#define PTRFASTCALL
#endif
#ifndef FASTCALL
#define FASTCALL
#endif
#ifndef PTRCALL
#define PTRCALL
#endif
#ifndef PTRFASTCALL
#define PTRFASTCALL
#endif
#ifndef XML_MIN_SIZE
#if !defined(__cplusplus) && !defined(inline)
#ifdef __GNUC__
#define inline __inline
#endif /* __GNUC__ */
#endif
#endif /* XML_MIN_SIZE */
#ifdef __cplusplus
#define inline inline
#else
#ifndef inline
#define inline
#endif
#endif

36
src/expat/lib/latin1tab.h Normal file
View File

@@ -0,0 +1,36 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* 0x80 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x84 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x88 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x8C */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x90 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x94 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x98 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0x9C */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xA0 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xA4 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xA8 */ BT_OTHER, BT_OTHER, BT_NMSTRT, BT_OTHER,
/* 0xAC */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xB0 */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xB4 */ BT_OTHER, BT_NMSTRT, BT_OTHER, BT_NAME,
/* 0xB8 */ BT_OTHER, BT_OTHER, BT_NMSTRT, BT_OTHER,
/* 0xBC */ BT_OTHER, BT_OTHER, BT_OTHER, BT_OTHER,
/* 0xC0 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xC4 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xC8 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xCC */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xD0 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xD4 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
/* 0xD8 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xDC */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xE0 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xE4 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xE8 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xEC */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xF0 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xF4 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER,
/* 0xF8 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,
/* 0xFC */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT,

150
src/expat/lib/nametab.h Normal file
View File

@@ -0,0 +1,150 @@
static const unsigned namingBitmap[] = {
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
0x00000000, 0x04000000, 0x87FFFFFE, 0x07FFFFFE,
0x00000000, 0x00000000, 0xFF7FFFFF, 0xFF7FFFFF,
0xFFFFFFFF, 0x7FF3FFFF, 0xFFFFFDFE, 0x7FFFFFFF,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFE00F, 0xFC31FFFF,
0x00FFFFFF, 0x00000000, 0xFFFF0000, 0xFFFFFFFF,
0xFFFFFFFF, 0xF80001FF, 0x00000003, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xFFFFD740, 0xFFFFFFFB, 0x547F7FFF, 0x000FFFFD,
0xFFFFDFFE, 0xFFFFFFFF, 0xDFFEFFFF, 0xFFFFFFFF,
0xFFFF0003, 0xFFFFFFFF, 0xFFFF199F, 0x033FCFFF,
0x00000000, 0xFFFE0000, 0x027FFFFF, 0xFFFFFFFE,
0x0000007F, 0x00000000, 0xFFFF0000, 0x000707FF,
0x00000000, 0x07FFFFFE, 0x000007FE, 0xFFFE0000,
0xFFFFFFFF, 0x7CFFFFFF, 0x002F7FFF, 0x00000060,
0xFFFFFFE0, 0x23FFFFFF, 0xFF000000, 0x00000003,
0xFFF99FE0, 0x03C5FDFF, 0xB0000000, 0x00030003,
0xFFF987E0, 0x036DFDFF, 0x5E000000, 0x001C0000,
0xFFFBAFE0, 0x23EDFDFF, 0x00000000, 0x00000001,
0xFFF99FE0, 0x23CDFDFF, 0xB0000000, 0x00000003,
0xD63DC7E0, 0x03BFC718, 0x00000000, 0x00000000,
0xFFFDDFE0, 0x03EFFDFF, 0x00000000, 0x00000003,
0xFFFDDFE0, 0x03EFFDFF, 0x40000000, 0x00000003,
0xFFFDDFE0, 0x03FFFDFF, 0x00000000, 0x00000003,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xFFFFFFFE, 0x000D7FFF, 0x0000003F, 0x00000000,
0xFEF02596, 0x200D6CAE, 0x0000001F, 0x00000000,
0x00000000, 0x00000000, 0xFFFFFEFF, 0x000003FF,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0xFFFFFFFF, 0xFFFF003F, 0x007FFFFF,
0x0007DAED, 0x50000000, 0x82315001, 0x002C62AB,
0x40000000, 0xF580C900, 0x00000007, 0x02010800,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
0x0FFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x03FFFFFF,
0x3F3FFFFF, 0xFFFFFFFF, 0xAAFF3F3F, 0x3FFFFFFF,
0xFFFFFFFF, 0x5FDFFFFF, 0x0FCF1FDC, 0x1FDC1FFF,
0x00000000, 0x00004C40, 0x00000000, 0x00000000,
0x00000007, 0x00000000, 0x00000000, 0x00000000,
0x00000080, 0x000003FE, 0xFFFFFFFE, 0xFFFFFFFF,
0x001FFFFF, 0xFFFFFFFE, 0xFFFFFFFF, 0x07FFFFFF,
0xFFFFFFE0, 0x00001FFF, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
0xFFFFFFFF, 0x0000003F, 0x00000000, 0x00000000,
0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,
0xFFFFFFFF, 0x0000000F, 0x00000000, 0x00000000,
0x00000000, 0x07FF6000, 0x87FFFFFE, 0x07FFFFFE,
0x00000000, 0x00800000, 0xFF7FFFFF, 0xFF7FFFFF,
0x00FFFFFF, 0x00000000, 0xFFFF0000, 0xFFFFFFFF,
0xFFFFFFFF, 0xF80001FF, 0x00030003, 0x00000000,
0xFFFFFFFF, 0xFFFFFFFF, 0x0000003F, 0x00000003,
0xFFFFD7C0, 0xFFFFFFFB, 0x547F7FFF, 0x000FFFFD,
0xFFFFDFFE, 0xFFFFFFFF, 0xDFFEFFFF, 0xFFFFFFFF,
0xFFFF007B, 0xFFFFFFFF, 0xFFFF199F, 0x033FCFFF,
0x00000000, 0xFFFE0000, 0x027FFFFF, 0xFFFFFFFE,
0xFFFE007F, 0xBBFFFFFB, 0xFFFF0016, 0x000707FF,
0x00000000, 0x07FFFFFE, 0x0007FFFF, 0xFFFF03FF,
0xFFFFFFFF, 0x7CFFFFFF, 0xFFEF7FFF, 0x03FF3DFF,
0xFFFFFFEE, 0xF3FFFFFF, 0xFF1E3FFF, 0x0000FFCF,
0xFFF99FEE, 0xD3C5FDFF, 0xB080399F, 0x0003FFCF,
0xFFF987E4, 0xD36DFDFF, 0x5E003987, 0x001FFFC0,
0xFFFBAFEE, 0xF3EDFDFF, 0x00003BBF, 0x0000FFC1,
0xFFF99FEE, 0xF3CDFDFF, 0xB0C0398F, 0x0000FFC3,
0xD63DC7EC, 0xC3BFC718, 0x00803DC7, 0x0000FF80,
0xFFFDDFEE, 0xC3EFFDFF, 0x00603DDF, 0x0000FFC3,
0xFFFDDFEC, 0xC3EFFDFF, 0x40603DDF, 0x0000FFC3,
0xFFFDDFEC, 0xC3FFFDFF, 0x00803DCF, 0x0000FFC3,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0xFFFFFFFE, 0x07FF7FFF, 0x03FF7FFF, 0x00000000,
0xFEF02596, 0x3BFF6CAE, 0x03FF3F5F, 0x00000000,
0x03000000, 0xC2A003FF, 0xFFFFFEFF, 0xFFFE03FF,
0xFEBF0FDF, 0x02FE3FFF, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x1FFF0000, 0x00000002,
0x000000A0, 0x003EFFFE, 0xFFFFFFFE, 0xFFFFFFFF,
0x661FFFFF, 0xFFFFFFFE, 0xFFFFFFFF, 0x77FFFFFF,
};
static const unsigned char nmstrtPages[] = {
0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x00,
0x00, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
0x10, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13,
0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x15, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x18,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
static const unsigned char namePages[] = {
0x19, 0x03, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x00,
0x00, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25,
0x10, 0x11, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x13,
0x26, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x27, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x17,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x18,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};

37
src/expat/lib/utf8tab.h Normal file
View File

@@ -0,0 +1,37 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
/* 0x80 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x84 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x88 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x8C */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x90 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x94 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x98 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0x9C */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xA0 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xA4 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xA8 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xAC */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xB0 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xB4 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xB8 */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xBC */ BT_TRAIL, BT_TRAIL, BT_TRAIL, BT_TRAIL,
/* 0xC0 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xC4 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xC8 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xCC */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xD0 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xD4 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xD8 */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xDC */ BT_LEAD2, BT_LEAD2, BT_LEAD2, BT_LEAD2,
/* 0xE0 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
/* 0xE4 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
/* 0xE8 */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
/* 0xEC */ BT_LEAD3, BT_LEAD3, BT_LEAD3, BT_LEAD3,
/* 0xF0 */ BT_LEAD4, BT_LEAD4, BT_LEAD4, BT_LEAD4,
/* 0xF4 */ BT_LEAD4, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0xF8 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
/* 0xFC */ BT_NONXML, BT_NONXML, BT_MALFORM, BT_MALFORM,

30
src/expat/lib/winconfig.h Normal file
View File

@@ -0,0 +1,30 @@
/*================================================================
** Copyright 2000, Clark Cooper
** All rights reserved.
**
** This is free software. You are permitted to copy, distribute, or modify
** it under the terms of the MIT/X license (contained in the COPYING file
** with this distribution.)
*/
#ifndef WINCONFIG_H
#define WINCONFIG_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#include <memory.h>
#include <string.h>
#define XML_NS 1
#define XML_DTD 1
#define XML_CONTEXT_BYTES 1024
/* we will assume all Windows platforms are little endian */
#define BYTEORDER 1234
/* Windows has memmove() available. */
#define HAVE_MEMMOVE
#endif /* ndef WINCONFIG_H */

5702
src/expat/lib/xmlparse.c Normal file

File diff suppressed because it is too large Load Diff

1321
src/expat/lib/xmlrole.c Normal file

File diff suppressed because it is too large Load Diff

114
src/expat/lib/xmlrole.h Normal file
View File

@@ -0,0 +1,114 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#ifndef XmlRole_INCLUDED
#define XmlRole_INCLUDED 1
#ifdef __VMS
/* 0 1 2 3 0 1 2 3
1234567890123456789012345678901 1234567890123456789012345678901 */
#define XmlPrologStateInitExternalEntity XmlPrologStateInitExternalEnt
#endif
#include "xmltok.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
XML_ROLE_ERROR = -1,
XML_ROLE_NONE = 0,
XML_ROLE_XML_DECL,
XML_ROLE_INSTANCE_START,
XML_ROLE_DOCTYPE_NONE,
XML_ROLE_DOCTYPE_NAME,
XML_ROLE_DOCTYPE_SYSTEM_ID,
XML_ROLE_DOCTYPE_PUBLIC_ID,
XML_ROLE_DOCTYPE_INTERNAL_SUBSET,
XML_ROLE_DOCTYPE_CLOSE,
XML_ROLE_GENERAL_ENTITY_NAME,
XML_ROLE_PARAM_ENTITY_NAME,
XML_ROLE_ENTITY_NONE,
XML_ROLE_ENTITY_VALUE,
XML_ROLE_ENTITY_SYSTEM_ID,
XML_ROLE_ENTITY_PUBLIC_ID,
XML_ROLE_ENTITY_COMPLETE,
XML_ROLE_ENTITY_NOTATION_NAME,
XML_ROLE_NOTATION_NONE,
XML_ROLE_NOTATION_NAME,
XML_ROLE_NOTATION_SYSTEM_ID,
XML_ROLE_NOTATION_NO_SYSTEM_ID,
XML_ROLE_NOTATION_PUBLIC_ID,
XML_ROLE_ATTRIBUTE_NAME,
XML_ROLE_ATTRIBUTE_TYPE_CDATA,
XML_ROLE_ATTRIBUTE_TYPE_ID,
XML_ROLE_ATTRIBUTE_TYPE_IDREF,
XML_ROLE_ATTRIBUTE_TYPE_IDREFS,
XML_ROLE_ATTRIBUTE_TYPE_ENTITY,
XML_ROLE_ATTRIBUTE_TYPE_ENTITIES,
XML_ROLE_ATTRIBUTE_TYPE_NMTOKEN,
XML_ROLE_ATTRIBUTE_TYPE_NMTOKENS,
XML_ROLE_ATTRIBUTE_ENUM_VALUE,
XML_ROLE_ATTRIBUTE_NOTATION_VALUE,
XML_ROLE_ATTLIST_NONE,
XML_ROLE_ATTLIST_ELEMENT_NAME,
XML_ROLE_IMPLIED_ATTRIBUTE_VALUE,
XML_ROLE_REQUIRED_ATTRIBUTE_VALUE,
XML_ROLE_DEFAULT_ATTRIBUTE_VALUE,
XML_ROLE_FIXED_ATTRIBUTE_VALUE,
XML_ROLE_ELEMENT_NONE,
XML_ROLE_ELEMENT_NAME,
XML_ROLE_CONTENT_ANY,
XML_ROLE_CONTENT_EMPTY,
XML_ROLE_CONTENT_PCDATA,
XML_ROLE_GROUP_OPEN,
XML_ROLE_GROUP_CLOSE,
XML_ROLE_GROUP_CLOSE_REP,
XML_ROLE_GROUP_CLOSE_OPT,
XML_ROLE_GROUP_CLOSE_PLUS,
XML_ROLE_GROUP_CHOICE,
XML_ROLE_GROUP_SEQUENCE,
XML_ROLE_CONTENT_ELEMENT,
XML_ROLE_CONTENT_ELEMENT_REP,
XML_ROLE_CONTENT_ELEMENT_OPT,
XML_ROLE_CONTENT_ELEMENT_PLUS,
XML_ROLE_PI,
XML_ROLE_COMMENT,
#ifdef XML_DTD
XML_ROLE_TEXT_DECL,
XML_ROLE_IGNORE_SECT,
XML_ROLE_INNER_PARAM_ENTITY_REF,
#endif /* XML_DTD */
XML_ROLE_PARAM_ENTITY_REF
};
typedef struct prolog_state {
int (PTRCALL *handler) (struct prolog_state *state,
int tok,
const char *ptr,
const char *end,
const ENCODING *enc);
unsigned level;
int role_none;
#ifdef XML_DTD
unsigned includeLevel;
int documentEntity;
int inEntityValue;
#endif /* XML_DTD */
} PROLOG_STATE;
void XmlPrologStateInit(PROLOG_STATE *);
#ifdef XML_DTD
void XmlPrologStateInitExternalEntity(PROLOG_STATE *);
#endif /* XML_DTD */
#define XmlTokenRole(state, tok, ptr, end, enc) \
(((state)->handler)(state, tok, ptr, end, enc))
#ifdef __cplusplus
}
#endif
#endif /* not XmlRole_INCLUDED */

1632
src/expat/lib/xmltok.c Normal file

File diff suppressed because it is too large Load Diff

315
src/expat/lib/xmltok.h Normal file
View File

@@ -0,0 +1,315 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#ifndef XmlTok_INCLUDED
#define XmlTok_INCLUDED 1
#ifdef __cplusplus
extern "C" {
#endif
/* The following token may be returned by XmlContentTok */
#define XML_TOK_TRAILING_RSQB -5 /* ] or ]] at the end of the scan; might be
start of illegal ]]> sequence */
/* The following tokens may be returned by both XmlPrologTok and
XmlContentTok.
*/
#define XML_TOK_NONE -4 /* The string to be scanned is empty */
#define XML_TOK_TRAILING_CR -3 /* A CR at the end of the scan;
might be part of CRLF sequence */
#define XML_TOK_PARTIAL_CHAR -2 /* only part of a multibyte sequence */
#define XML_TOK_PARTIAL -1 /* only part of a token */
#define XML_TOK_INVALID 0
/* The following tokens are returned by XmlContentTok; some are also
returned by XmlAttributeValueTok, XmlEntityTok, XmlCdataSectionTok.
*/
#define XML_TOK_START_TAG_WITH_ATTS 1
#define XML_TOK_START_TAG_NO_ATTS 2
#define XML_TOK_EMPTY_ELEMENT_WITH_ATTS 3 /* empty element tag <e/> */
#define XML_TOK_EMPTY_ELEMENT_NO_ATTS 4
#define XML_TOK_END_TAG 5
#define XML_TOK_DATA_CHARS 6
#define XML_TOK_DATA_NEWLINE 7
#define XML_TOK_CDATA_SECT_OPEN 8
#define XML_TOK_ENTITY_REF 9
#define XML_TOK_CHAR_REF 10 /* numeric character reference */
/* The following tokens may be returned by both XmlPrologTok and
XmlContentTok.
*/
#define XML_TOK_PI 11 /* processing instruction */
#define XML_TOK_XML_DECL 12 /* XML decl or text decl */
#define XML_TOK_COMMENT 13
#define XML_TOK_BOM 14 /* Byte order mark */
/* The following tokens are returned only by XmlPrologTok */
#define XML_TOK_PROLOG_S 15
#define XML_TOK_DECL_OPEN 16 /* <!foo */
#define XML_TOK_DECL_CLOSE 17 /* > */
#define XML_TOK_NAME 18
#define XML_TOK_NMTOKEN 19
#define XML_TOK_POUND_NAME 20 /* #name */
#define XML_TOK_OR 21 /* | */
#define XML_TOK_PERCENT 22
#define XML_TOK_OPEN_PAREN 23
#define XML_TOK_CLOSE_PAREN 24
#define XML_TOK_OPEN_BRACKET 25
#define XML_TOK_CLOSE_BRACKET 26
#define XML_TOK_LITERAL 27
#define XML_TOK_PARAM_ENTITY_REF 28
#define XML_TOK_INSTANCE_START 29
/* The following occur only in element type declarations */
#define XML_TOK_NAME_QUESTION 30 /* name? */
#define XML_TOK_NAME_ASTERISK 31 /* name* */
#define XML_TOK_NAME_PLUS 32 /* name+ */
#define XML_TOK_COND_SECT_OPEN 33 /* <![ */
#define XML_TOK_COND_SECT_CLOSE 34 /* ]]> */
#define XML_TOK_CLOSE_PAREN_QUESTION 35 /* )? */
#define XML_TOK_CLOSE_PAREN_ASTERISK 36 /* )* */
#define XML_TOK_CLOSE_PAREN_PLUS 37 /* )+ */
#define XML_TOK_COMMA 38
/* The following token is returned only by XmlAttributeValueTok */
#define XML_TOK_ATTRIBUTE_VALUE_S 39
/* The following token is returned only by XmlCdataSectionTok */
#define XML_TOK_CDATA_SECT_CLOSE 40
/* With namespace processing this is returned by XmlPrologTok for a
name with a colon.
*/
#define XML_TOK_PREFIXED_NAME 41
#ifdef XML_DTD
#define XML_TOK_IGNORE_SECT 42
#endif /* XML_DTD */
#ifdef XML_DTD
#define XML_N_STATES 4
#else /* not XML_DTD */
#define XML_N_STATES 3
#endif /* not XML_DTD */
#define XML_PROLOG_STATE 0
#define XML_CONTENT_STATE 1
#define XML_CDATA_SECTION_STATE 2
#ifdef XML_DTD
#define XML_IGNORE_SECTION_STATE 3
#endif /* XML_DTD */
#define XML_N_LITERAL_TYPES 2
#define XML_ATTRIBUTE_VALUE_LITERAL 0
#define XML_ENTITY_VALUE_LITERAL 1
/* The size of the buffer passed to XmlUtf8Encode must be at least this. */
#define XML_UTF8_ENCODE_MAX 4
/* The size of the buffer passed to XmlUtf16Encode must be at least this. */
#define XML_UTF16_ENCODE_MAX 2
typedef struct position {
/* first line and first column are 0 not 1 */
unsigned long lineNumber;
unsigned long columnNumber;
} POSITION;
typedef struct {
const char *name;
const char *valuePtr;
const char *valueEnd;
char normalized;
} ATTRIBUTE;
struct encoding;
typedef struct encoding ENCODING;
typedef int (PTRCALL *SCANNER)(const ENCODING *,
const char *,
const char *,
const char **);
struct encoding {
SCANNER scanners[XML_N_STATES];
SCANNER literalScanners[XML_N_LITERAL_TYPES];
int (PTRCALL *sameName)(const ENCODING *,
const char *,
const char *);
int (PTRCALL *nameMatchesAscii)(const ENCODING *,
const char *,
const char *,
const char *);
int (PTRFASTCALL *nameLength)(const ENCODING *, const char *);
const char *(PTRFASTCALL *skipS)(const ENCODING *, const char *);
int (PTRCALL *getAtts)(const ENCODING *enc,
const char *ptr,
int attsMax,
ATTRIBUTE *atts);
int (PTRFASTCALL *charRefNumber)(const ENCODING *enc, const char *ptr);
int (PTRCALL *predefinedEntityName)(const ENCODING *,
const char *,
const char *);
void (PTRCALL *updatePosition)(const ENCODING *,
const char *ptr,
const char *end,
POSITION *);
int (PTRCALL *isPublicId)(const ENCODING *enc,
const char *ptr,
const char *end,
const char **badPtr);
void (PTRCALL *utf8Convert)(const ENCODING *enc,
const char **fromP,
const char *fromLim,
char **toP,
const char *toLim);
void (PTRCALL *utf16Convert)(const ENCODING *enc,
const char **fromP,
const char *fromLim,
unsigned short **toP,
const unsigned short *toLim);
int minBytesPerChar;
char isUtf8;
char isUtf16;
};
/* Scan the string starting at ptr until the end of the next complete
token, but do not scan past eptr. Return an integer giving the
type of token.
Return XML_TOK_NONE when ptr == eptr; nextTokPtr will not be set.
Return XML_TOK_PARTIAL when the string does not contain a complete
token; nextTokPtr will not be set.
Return XML_TOK_INVALID when the string does not start a valid
token; nextTokPtr will be set to point to the character which made
the token invalid.
Otherwise the string starts with a valid token; nextTokPtr will be
set to point to the character following the end of that token.
Each data character counts as a single token, but adjacent data
characters may be returned together. Similarly for characters in
the prolog outside literals, comments and processing instructions.
*/
#define XmlTok(enc, state, ptr, end, nextTokPtr) \
(((enc)->scanners[state])(enc, ptr, end, nextTokPtr))
#define XmlPrologTok(enc, ptr, end, nextTokPtr) \
XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr)
#define XmlContentTok(enc, ptr, end, nextTokPtr) \
XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr)
#define XmlCdataSectionTok(enc, ptr, end, nextTokPtr) \
XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr)
#ifdef XML_DTD
#define XmlIgnoreSectionTok(enc, ptr, end, nextTokPtr) \
XmlTok(enc, XML_IGNORE_SECTION_STATE, ptr, end, nextTokPtr)
#endif /* XML_DTD */
/* This is used for performing a 2nd-level tokenization on the content
of a literal that has already been returned by XmlTok.
*/
#define XmlLiteralTok(enc, literalType, ptr, end, nextTokPtr) \
(((enc)->literalScanners[literalType])(enc, ptr, end, nextTokPtr))
#define XmlAttributeValueTok(enc, ptr, end, nextTokPtr) \
XmlLiteralTok(enc, XML_ATTRIBUTE_VALUE_LITERAL, ptr, end, nextTokPtr)
#define XmlEntityValueTok(enc, ptr, end, nextTokPtr) \
XmlLiteralTok(enc, XML_ENTITY_VALUE_LITERAL, ptr, end, nextTokPtr)
#define XmlSameName(enc, ptr1, ptr2) (((enc)->sameName)(enc, ptr1, ptr2))
#define XmlNameMatchesAscii(enc, ptr1, end1, ptr2) \
(((enc)->nameMatchesAscii)(enc, ptr1, end1, ptr2))
#define XmlNameLength(enc, ptr) \
(((enc)->nameLength)(enc, ptr))
#define XmlSkipS(enc, ptr) \
(((enc)->skipS)(enc, ptr))
#define XmlGetAttributes(enc, ptr, attsMax, atts) \
(((enc)->getAtts)(enc, ptr, attsMax, atts))
#define XmlCharRefNumber(enc, ptr) \
(((enc)->charRefNumber)(enc, ptr))
#define XmlPredefinedEntityName(enc, ptr, end) \
(((enc)->predefinedEntityName)(enc, ptr, end))
#define XmlUpdatePosition(enc, ptr, end, pos) \
(((enc)->updatePosition)(enc, ptr, end, pos))
#define XmlIsPublicId(enc, ptr, end, badPtr) \
(((enc)->isPublicId)(enc, ptr, end, badPtr))
#define XmlUtf8Convert(enc, fromP, fromLim, toP, toLim) \
(((enc)->utf8Convert)(enc, fromP, fromLim, toP, toLim))
#define XmlUtf16Convert(enc, fromP, fromLim, toP, toLim) \
(((enc)->utf16Convert)(enc, fromP, fromLim, toP, toLim))
typedef struct {
ENCODING initEnc;
const ENCODING **encPtr;
} INIT_ENCODING;
int XmlParseXmlDecl(int isGeneralTextEntity,
const ENCODING *enc,
const char *ptr,
const char *end,
const char **badPtr,
const char **versionPtr,
const char **versionEndPtr,
const char **encodingNamePtr,
const ENCODING **namedEncodingPtr,
int *standalonePtr);
int XmlInitEncoding(INIT_ENCODING *, const ENCODING **, const char *name);
const ENCODING *XmlGetUtf8InternalEncoding(void);
const ENCODING *XmlGetUtf16InternalEncoding(void);
int FASTCALL XmlUtf8Encode(int charNumber, char *buf);
int FASTCALL XmlUtf16Encode(int charNumber, unsigned short *buf);
int XmlSizeOfUnknownEncoding(void);
typedef int (*CONVERTER)(void *userData, const char *p);
ENCODING *
XmlInitUnknownEncoding(void *mem,
int *table,
CONVERTER convert,
void *userData);
int XmlParseXmlDeclNS(int isGeneralTextEntity,
const ENCODING *enc,
const char *ptr,
const char *end,
const char **badPtr,
const char **versionPtr,
const char **versionEndPtr,
const char **encodingNamePtr,
const ENCODING **namedEncodingPtr,
int *standalonePtr);
int XmlInitEncodingNS(INIT_ENCODING *, const ENCODING **, const char *name);
const ENCODING *XmlGetUtf8InternalEncodingNS(void);
const ENCODING *XmlGetUtf16InternalEncodingNS(void);
ENCODING *
XmlInitUnknownEncodingNS(void *mem,
int *table,
CONVERTER convert,
void *userData);
#ifdef __cplusplus
}
#endif
#endif /* not XmlTok_INCLUDED */

1779
src/expat/lib/xmltok_impl.c Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,46 @@
/*
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
enum {
BT_NONXML,
BT_MALFORM,
BT_LT,
BT_AMP,
BT_RSQB,
BT_LEAD2,
BT_LEAD3,
BT_LEAD4,
BT_TRAIL,
BT_CR,
BT_LF,
BT_GT,
BT_QUOT,
BT_APOS,
BT_EQUALS,
BT_QUEST,
BT_EXCL,
BT_SOL,
BT_SEMI,
BT_NUM,
BT_LSQB,
BT_S,
BT_NMSTRT,
BT_COLON,
BT_HEX,
BT_DIGIT,
BT_NAME,
BT_MINUS,
BT_OTHER, /* known not to be a name or name start character */
BT_NONASCII, /* might be a name or name start character */
BT_PERCNT,
BT_LPAR,
BT_RPAR,
BT_AST,
BT_PLUS,
BT_COMMA,
BT_VERBAR
};
#include <stddef.h>

106
src/expat/lib/xmltok_ns.c Normal file
View File

@@ -0,0 +1,106 @@
const ENCODING *
NS(XmlGetUtf8InternalEncoding)(void)
{
return &ns(internal_utf8_encoding).enc;
}
const ENCODING *
NS(XmlGetUtf16InternalEncoding)(void)
{
#if BYTEORDER == 1234
return &ns(internal_little2_encoding).enc;
#elif BYTEORDER == 4321
return &ns(internal_big2_encoding).enc;
#else
const short n = 1;
return (*(const char *)&n
? &ns(internal_little2_encoding).enc
: &ns(internal_big2_encoding).enc);
#endif
}
static const ENCODING *NS(encodings)[] = {
&ns(latin1_encoding).enc,
&ns(ascii_encoding).enc,
&ns(utf8_encoding).enc,
&ns(big2_encoding).enc,
&ns(big2_encoding).enc,
&ns(little2_encoding).enc,
&ns(utf8_encoding).enc /* NO_ENC */
};
static int PTRCALL
NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end,
const char **nextTokPtr)
{
return initScan(NS(encodings), (const INIT_ENCODING *)enc,
XML_PROLOG_STATE, ptr, end, nextTokPtr);
}
static int PTRCALL
NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end,
const char **nextTokPtr)
{
return initScan(NS(encodings), (const INIT_ENCODING *)enc,
XML_CONTENT_STATE, ptr, end, nextTokPtr);
}
int
NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr,
const char *name)
{
int i = getEncodingIndex(name);
if (i == UNKNOWN_ENC)
return 0;
SET_INIT_ENC_INDEX(p, i);
p->initEnc.scanners[XML_PROLOG_STATE] = NS(initScanProlog);
p->initEnc.scanners[XML_CONTENT_STATE] = NS(initScanContent);
p->initEnc.updatePosition = initUpdatePosition;
p->encPtr = encPtr;
*encPtr = &(p->initEnc);
return 1;
}
static const ENCODING *
NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end)
{
#define ENCODING_MAX 128
char buf[ENCODING_MAX];
char *p = buf;
int i;
XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1);
if (ptr != end)
return 0;
*p = 0;
if (streqci(buf, KW_UTF_16) && enc->minBytesPerChar == 2)
return enc;
i = getEncodingIndex(buf);
if (i == UNKNOWN_ENC)
return 0;
return NS(encodings)[i];
}
int
NS(XmlParseXmlDecl)(int isGeneralTextEntity,
const ENCODING *enc,
const char *ptr,
const char *end,
const char **badPtr,
const char **versionPtr,
const char **versionEndPtr,
const char **encodingName,
const ENCODING **encoding,
int *standalone)
{
return doParseXmlDecl(NS(findEncoding),
isGeneralTextEntity,
enc,
ptr,
end,
badPtr,
versionPtr,
versionEndPtr,
encodingName,
encoding,
standalone);
}

View File

@@ -0,0 +1,14 @@
This directory contains the (fledgling) test suite for Expat. The
tests provide general unit testing and regression coverage. The tests
are not expected to be useful examples of Expat usage; see the
examples/ directory for that.
The Expat tests use the "Check" unit testing framework for C. More
information on Check can be found at:
http://check.sourceforge.net/
Check 0.8 must be installed before the unit tests can be compiled & run.
Since both Check and this test suite are young, it can all change in a
later version.

122
src/expat/tests/chardata.c Normal file
View File

@@ -0,0 +1,122 @@
/* chardata.c
*
*
*/
#include <assert.h>
#include <check.h>
#include <stdio.h>
#include <string.h>
#include "chardata.h"
static int
xmlstrlen(const XML_Char *s)
{
int len = 0;
assert(s != NULL);
while (s[len] != 0)
++len;
return len;
}
void
CharData_Init(CharData *storage)
{
assert(storage != NULL);
storage->count = -1;
}
void
CharData_AppendString(CharData *storage, const char *s)
{
int maxchars = sizeof(storage->data) / sizeof(storage->data[0]);
int len;
assert(s != NULL);
len = strlen(s);
if (storage->count < 0)
storage->count = 0;
if ((len + storage->count) > maxchars) {
len = (maxchars - storage->count);
}
if (len + storage->count < sizeof(storage->data)) {
memcpy(storage->data + storage->count, s, len);
storage->count += len;
}
}
void
CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len)
{
int maxchars;
assert(storage != NULL);
assert(s != NULL);
maxchars = sizeof(storage->data) / sizeof(storage->data[0]);
if (storage->count < 0)
storage->count = 0;
if (len < 0)
len = xmlstrlen(s);
if ((len + storage->count) > maxchars) {
len = (maxchars - storage->count);
}
if (len + storage->count < sizeof(storage->data)) {
memcpy(storage->data + storage->count, s,
len * sizeof(storage->data[0]));
storage->count += len;
}
}
int
CharData_CheckString(CharData *storage, const char *expected)
{
char buffer[1280];
int len;
int count;
assert(storage != NULL);
assert(expected != NULL);
count = (storage->count < 0) ? 0 : storage->count;
len = strlen(expected);
if (len != count) {
if (sizeof(XML_Char) == 1)
sprintf(buffer, "wrong number of data characters:"
" got %d, expected %d:\n%s", count, len, storage->data);
else
sprintf(buffer,
"wrong number of data characters: got %d, expected %d",
count, len);
fail(buffer);
return 0;
}
if (memcmp(expected, storage->data, len) != 0) {
fail("got bad data bytes");
return 0;
}
return 1;
}
int
CharData_CheckXMLChars(CharData *storage, const XML_Char *expected)
{
char buffer[1024];
int len = xmlstrlen(expected);
int count;
assert(storage != NULL);
count = (storage->count < 0) ? 0 : storage->count;
if (len != count) {
sprintf(buffer, "wrong number of data characters: got %d, expected %d",
count, len);
fail(buffer);
return 0;
}
if (memcmp(expected, storage->data, len * sizeof(storage->data[0])) != 0) {
fail("got bad data bytes");
return 0;
}
return 1;
}

View File

@@ -0,0 +1,32 @@
/* chardata.h
Interface to some helper routines used to accumulate and check text
and attribute content.
*/
#ifndef XML_CHARDATA_H
#define XML_CHARDATA_H 1
#ifndef XML_VERSION
#include "expat.h" /* need XML_Char */
#endif
typedef struct {
int count; /* # of chars, < 0 if not set */
XML_Char data[1024];
} CharData;
void CharData_Init(CharData *storage);
void CharData_AppendString(CharData *storage, const char *s);
void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
int CharData_CheckString(CharData *storage, const char *s);
int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
#endif /* XML_CHARDATA_H */

1364
src/expat/tests/runtests.c Normal file

File diff suppressed because it is too large Load Diff

137
src/expat/tests/xmltest.sh Executable file
View File

@@ -0,0 +1,137 @@
#! /bin/sh
# EXPAT TEST SCRIPT FOR W3C XML TEST SUITE
# This script can be used to exercise Expat against the
# w3c.org xml test suite, available from
# http://www.w3.org/XML/Test/xmlts20020606.zip.
# To run this script, first set XMLWF so that xmlwf can be
# found, then set the output directory with OUTPUT.
# The script lists all test cases where Expat shows a discrepancy
# from the expected result. Test cases where only the canonical
# output differs are prefixed with "Output differs:", and a diff file
# is generated in the appropriate subdirectory under $OUTPUT.
# If there are output files provided, the script will use
# output from xmlwf and compare the desired output against it.
# However, one has to take into account that the canonical output
# produced by xmlwf conforms to an older definition of canonical XML
# and does not generate notation declarations.
MYDIR="`dirname \"$0\"`"
cd "$MYDIR"
MYDIR="`pwd`"
XMLWF="`dirname \"$MYDIR\"`/xmlwf/xmlwf"
# XMLWF=/usr/local/bin/xmlwf
TS="$MYDIR/XML-Test-Suite"
# OUTPUT must terminate with the directory separator.
OUTPUT="$TS/out/"
# OUTPUT=/home/tmp/xml-testsuite-out/
RunXmlwfNotWF() {
$XMLWF $1 $2 > outfile || return $?
read outdata < outfile
if test "$outdata" = "" ; then
echo "Well formed: $3$2"
return 1
else
return 0
fi
}
RunXmlwfWF() {
$XMLWF $1 -d "$OUTPUT$3" $2 > outfile || return $?
read outdata < outfile
if test "$outdata" = "" ; then
if [ -f out/$2 ] ; then
diff "$OUTPUT$3$2" out/$2 > outfile
if [ -s outfile ] ; then
cp outfile $OUTPUT$3${2}.diff
echo "Output differs: $3$2"
return 1
fi
fi
return 0
else
echo "In $3: $outdata"
return 1
fi
}
SUCCESS=0
ERROR=0
##########################
# well-formed test cases #
##########################
cd "$TS/xmlconf"
for xmldir in ibm/valid/P*/ \
ibm/invalid/P*/ \
xmltest/valid/ext-sa/ \
xmltest/valid/not-sa/ \
xmltest/invalid/ \
xmltest/invalid/not-sa/ \
xmltest/valid/sa/ \
sun/valid/ \
sun/invalid/ ; do
cd "$TS/xmlconf/$xmldir"
mkdir -p "$OUTPUT$xmldir"
for xmlfile in *.xml ; do
if RunXmlwfWF -p "$xmlfile" "$xmldir" ; then
SUCCESS=`expr $SUCCESS + 1`
else
ERROR=`expr $ERROR + 1`
fi
done
rm outfile
done
cd "$TS/xmlconf/oasis"
mkdir -p "$OUTPUT"oasis/
for xmlfile in *pass*.xml ; do
if RunXmlwfWF -p "$xmlfile" "oasis/" ; then
SUCCESS=`expr $SUCCESS + 1`
else
ERROR=`expr $ERROR + 1`
fi
done
rm outfile
##############################
# not well-formed test cases #
##############################
cd "$TS/xmlconf"
for xmldir in ibm/not-wf/P*/ \
ibm/not-wf/misc/ \
xmltest/not-wf/ext-sa/ \
xmltest/not-wf/not-sa/ \
xmltest/not-wf/sa/ \
sun/not-wf/ ; do
cd "$TS/xmlconf/$xmldir"
for xmlfile in *.xml ; do
if RunXmlwfNotWF -p "$xmlfile" "$xmldir" ; then
SUCCESS=`expr $SUCCESS + 1`
else
ERROR=`expr $ERROR + 1`
fi
done
rm outfile
done
cd "$TS/xmlconf/oasis"
for xmlfile in *fail*.xml ; do
if RunXmlwfNotWF -p "$xmlfile" "oasis/" ; then
SUCCESS=`expr $SUCCESS + 1`
else
ERROR=`expr $ERROR + 1`
fi
done
rm outfile
echo "Passed: $SUCCESS"
echo "Failed: $ERROR"

23
src/expat/vms/README.vms Normal file
View File

@@ -0,0 +1,23 @@
4-jun-2002 Craig A. Berry
Added rudimentary build procedures for
OpenVMS based on work by Martin Vorlaender.
You'll need MMS or its freeware equivalent MMK. Just go to the
top-level directory and type
$ MMS/DESCRIPTION=[.vms]
or
$ MMK/DESCRIPTION=[.vms]
You'll end up with the object library expat.olb. For now, installation
consists merely of copying the object library, include files, and
documentation to a suitable location.
To-do list:
-- create a shareable image
-- build and run the tests and build the xmlwf utility
-- create an install target

69
src/expat/vms/descrip.mms Normal file
View File

@@ -0,0 +1,69 @@
# Bare bones description file (Makefile) for OpenVMS
PACKAGE = expat
VERSION = 1.95.3
EXPAT_MAJOR_VERSION=1
EXPAT_MINOR_VERSION=95
EXPAT_EDIT=3
O = .obj
OLB = .olb
LIBRARY = expat$(OLB)
LIBDIR = [.lib]
SOURCES = $(LIBDIR)xmlparse.c $(LIBDIR)xmltok.c $(LIBDIR)xmlrole.c
OBJECTS = xmlparse$(O) xmltok$(O) xmlrole$(O)
TEMPLATES = xmltok_impl.c xmltok_ns.c
APIHEADER = $(LIBDIR)expat.h
HEADERS = $(LIBDIR)ascii.h $(LIBDIR)iasciitab.h $(LIBDIR)utf8tab.h $(LIBDIR)xmltok.h \
$(LIBDIR)asciitab.h $(LIBDIR)latin1tab.h \
$(LIBDIR)nametab.h $(LIBDIR)xmldef.h $(LIBDIR)xmlrole.h $(LIBDIR)xmltok_impl.h
CONFIG_HEADER = expat_config.h
INCLUDES = /INCLUDE=([],[.lib])
DEFS = /DEFINE=(PACKAGE="""$(PACKAGE)""",VERSION="""$(PACKAGE)_$(VERSION)""")
LIBREVISION = 0
LIBCURRENT = 1
LIBAGE = 0
#
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
#
# DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS)
#
# TAR = gtar
# GZIP_ENV = --best
#
.FIRST :
IF F$SEARCH("$(LIBRARY)") .EQS. "" THEN $(LIBR) /CREATE /OBJECT $(LIBRARY)
all : $(LIBRARY)
.SUFFIXES :
.SUFFIXES : $(OLB) $(O) .C .H
.c$(O) :
$(COMPILE) $(MMS$SOURCE)
$(O)$(OLB) :
@ IF F$SEARCH("$(MMS$TARGET)") .EQS. "" -
THEN LIBRARY/CREATE/LOG $(MMS$TARGET)
@ LIBRARY /REPLACE /LOG $(MMS$TARGET) $(MMS$SOURCE)
clean :
DELETE $(LIBRARY);*,*$(O);*
$(LIBRARY) : $(LIBRARY)( $(OBJECTS) )
$(LIBR) /COMPRESS $(MMS$TARGET)
$(CONFIG_HEADER) : [.vms]expat_config.h
COPY/LOG $(MMS$SOURCE) $(MMS$TARGET)
xmlparse$(O) : $(LIBDIR)xmlparse.c $(LIBDIR)expat.h $(LIBDIR)xmlrole.h $(LIBDIR)xmltok.h $(CONFIG_HEADER)
xmlrole$(O) : $(LIBDIR)xmlrole.c $(LIBDIR)ascii.h $(LIBDIR)xmlrole.h $(CONFIG_HEADER)
xmltok$(O) : $(LIBDIR)xmltok.c $(LIBDIR)xmltok_impl.c $(LIBDIR)xmltok_ns.c \
$(LIBDIR)ascii.h $(LIBDIR)asciitab.h $(LIBDIR)iasciitab.h $(LIBDIR)latin1tab.h \
$(LIBDIR)nametab.h $(LIBDIR)utf8tab.h $(LIBDIR)xmltok.h $(LIBDIR)xmltok_impl.h $(CONFIG_HEADER)

View File

@@ -0,0 +1,61 @@
/* Copyright 2000, Clark Cooper
All rights reserved.
This is free software. You are permitted to copy, distribute, or modify
it under the terms of the MIT/X license (contained in the COPYING file
with this distribution.)
*/
/* Define to empty if the keyword does not work. */
#undef const
/* Define if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to `long' if <sys/types.h> doesn't define. */
#undef off_t
/* Define to `unsigned' if <sys/types.h> doesn't define. */
#undef size_t
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define if you have the bcopy function. */
#undef HAVE_BCOPY
/* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE
/* Define if you have the memmove function. */
#define HAVE_MEMMOVE 1
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#define XML_NS
#define XML_DTD
#ifdef WORDS_BIGENDIAN
#define XML_BYTE_ORDER 21
#else
#define XML_BYTE_ORDER 12
#endif
#define XML_CONTEXT_BYTES 1024
#ifndef HAVE_MEMMOVE
#ifdef HAVE_BCOPY
#define memmove(d,s,l) bcopy((s),(d),(l))
#else
#define memmove(d,s,l) ;punting on memmove;
#endif
#endif

View File

@@ -0,0 +1,29 @@
Overview of the Expat distribution
The Expat distribution creates several subdirectories on your system.
Some of these directories contain components of interest to all Expat
users, and some contain material of interest to developers who wish to
use Expat in their applications. In the list below, <top> is the
directory you specified to the installer.
Directory Contents
--------------------------------------------------------------------
<top>\ The XML well-formedness checker and some general
information files.
<top>\Doc\ API documentation for developers.
<top>\Libs\ Pre-compiled dynamic libraries for developers.
<top>\StaticLibs\ Pre-compiled static libraries for developers.
<top>\Source\ Source code, which may interest some developers,
including a workspace for Microsft Visual C++.
The source code includes the parser, the well-
formedness checker, and a couple of small sample
applications.
<top>\Source\bcb5\ Project files for Borland C++ Builder 5 and BCC
5.5.
<top>\Unistall\ The uninstaller and its data files.

61
src/expat/win32/expat.iss Normal file
View File

@@ -0,0 +1,61 @@
; Basic setup script for the Inno Setep installer builder. For more
; information on the free installer builder, see www.jrsoftware.org.
;
; This script was contributed by Tim Peters.
; The current version is used with Inno Setup 2.0.19.
[Setup]
AppName=expat
AppId=expat
AppVersion=1.95.6
AppVerName=expat 1.95.6
AppCopyright=Copyright <20> 1998-2002 Thai Open Source Software Center, Clark Cooper, and the Expat maintainers
DefaultDirName={sd}\Expat-1.95.6
AppPublisher=The Expat Developers
AppPublisherURL=http://www.libexpat.org/
AppSupportURL=http://www.libexpat.org/
AppUpdatesURL=http://www.libexpat.org/
UninstallDisplayName=Expat XML Parser (version 1.95.6)
UninstallFilesDir={app}\Uninstall
Compression=bzip/9
SourceDir=..
OutputDir=win32
DisableStartupPrompt=yes
AllowNoIcons=yes
DisableProgramGroupPage=yes
DisableReadyPage=yes
[Files]
CopyMode: alwaysoverwrite; Source: xmlwf\Release\*.exe; DestDir: "{app}"
CopyMode: alwaysoverwrite; Source: win32\MANIFEST.txt; DestDir: "{app}"
CopyMode: alwaysoverwrite; Source: Changes; DestDir: "{app}"; DestName: Changes.txt
CopyMode: alwaysoverwrite; Source: COPYING; DestDir: "{app}"; DestName: COPYING.txt
CopyMode: alwaysoverwrite; Source: README; DestDir: "{app}"; DestName: README.txt
CopyMode: alwaysoverwrite; Source: doc\*.html; DestDir: "{app}\Doc"
CopyMode: alwaysoverwrite; Source: doc\*.css; DestDir: "{app}\Doc"
CopyMode: alwaysoverwrite; Source: doc\*.png; DestDir: "{app}\Doc"
CopyMode: alwaysoverwrite; Source: lib\Release\*.dll; DestDir: "{app}\Libs"
CopyMode: alwaysoverwrite; Source: lib\Release\*.lib; DestDir: "{app}\Libs"
CopyMode: alwaysoverwrite; Source: lib\Release-w\*.dll; DestDir: "{app}\Libs"
CopyMode: alwaysoverwrite; Source: lib\Release-w\*.lib; DestDir: "{app}\Libs"
CopyMode: alwaysoverwrite; Source: lib\Release_static\*.lib; DestDir: "{app}\StaticLibs"
CopyMode: alwaysoverwrite; Source: lib\Release-w_static\*.lib; DestDir: "{app}\StaticLibs"
CopyMode: alwaysoverwrite; Source: expat.dsw; DestDir: "{app}\Source"
CopyMode: alwaysoverwrite; Source: bcb5\*.*; DestDir: "{app}\Source\bcb5"
CopyMode: alwaysoverwrite; Source: lib\*.c; DestDir: "{app}\Source\lib"
CopyMode: alwaysoverwrite; Source: lib\*.h; DestDir: "{app}\Source\lib"
CopyMode: alwaysoverwrite; Source: lib\*.def; DestDir: "{app}\Source\lib"
CopyMode: alwaysoverwrite; Source: lib\*.dsp; DestDir: "{app}\Source\lib"
CopyMode: alwaysoverwrite; Source: examples\*.c; DestDir: "{app}\Source\examples"
CopyMode: alwaysoverwrite; Source: examples\*.dsp; DestDir: "{app}\Source\examples"
CopyMode: alwaysoverwrite; Source: tests\*.c; DestDir: "{app}\Source\tests"
CopyMode: alwaysoverwrite; Source: tests\*.h; DestDir: "{app}\Source\tests"
CopyMode: alwaysoverwrite; Source: tests\README.txt; DestDir: "{app}\Source\tests"
CopyMode: alwaysoverwrite; Source: xmlwf\*.c*; DestDir: "{app}\Source\xmlwf"
CopyMode: alwaysoverwrite; Source: xmlwf\*.h; DestDir: "{app}\Source\xmlwf"
CopyMode: alwaysoverwrite; Source: xmlwf\*.dsp; DestDir: "{app}\Source\xmlwf"
[Messages]
WelcomeLabel1=Welcome to the Expat XML Parser Setup Wizard
WelcomeLabel2=This will install [name/ver] on your computer.%n%nExpat is an XML parser with a C-language API, and is primarily made available to allow developers to build applications which use XML using a portable API and fast implementation.%n%nIt is strongly recommended that you close all other applications you have running before continuing. This will help prevent any conflicts during the installation process.

View File

@@ -0,0 +1,68 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include "codepage.h"
#ifdef WIN32
#define STRICT 1
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
int
codepageMap(int cp, int *map)
{
int i;
CPINFO info;
if (!GetCPInfo(cp, &info) || info.MaxCharSize > 2)
return 0;
for (i = 0; i < 256; i++)
map[i] = -1;
if (info.MaxCharSize > 1) {
for (i = 0; i < MAX_LEADBYTES; i++) {
int j, lim;
if (info.LeadByte[i] == 0 && info.LeadByte[i + 1] == 0)
break;
lim = info.LeadByte[i + 1];
for (j = info.LeadByte[i]; j < lim; j++)
map[j] = -2;
}
}
for (i = 0; i < 256; i++) {
if (map[i] == -1) {
char c = (char)i;
unsigned short n;
if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,
&c, 1, &n, 1) == 1)
map[i] = n;
}
}
return 1;
}
int
codepageConvert(int cp, const char *p)
{
unsigned short c;
if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,
p, 2, &c, 1) == 1)
return c;
return -1;
}
#else /* not WIN32 */
int
codepageMap(int cp, int *map)
{
return 0;
}
int
codepageConvert(int cp, const char *p)
{
return -1;
}
#endif /* not WIN32 */

View File

@@ -0,0 +1,6 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
int codepageMap(int cp, int *map);
int codepageConvert(int cp, const char *p);

147
src/expat/xmlwf/ct.c Normal file
View File

@@ -0,0 +1,147 @@
#define CHARSET_MAX 41
static const char *
getTok(const char **pp)
{
enum { inAtom, inString, init, inComment };
int state = init;
const char *tokStart = 0;
for (;;) {
switch (**pp) {
case '\0':
return 0;
case ' ':
case '\r':
case '\t':
case '\n':
if (state == inAtom)
return tokStart;
break;
case '(':
if (state == inAtom)
return tokStart;
if (state != inString)
state++;
break;
case ')':
if (state > init)
--state;
else if (state != inString)
return 0;
break;
case ';':
case '/':
case '=':
if (state == inAtom)
return tokStart;
if (state == init)
return (*pp)++;
break;
case '\\':
++*pp;
if (**pp == '\0')
return 0;
break;
case '"':
switch (state) {
case inString:
++*pp;
return tokStart;
case inAtom:
return tokStart;
case init:
tokStart = *pp;
state = inString;
break;
}
break;
default:
if (state == init) {
tokStart = *pp;
state = inAtom;
}
break;
}
++*pp;
}
/* not reached */
}
/* key must be lowercase ASCII */
static int
matchkey(const char *start, const char *end, const char *key)
{
if (!start)
return 0;
for (; start != end; start++, key++)
if (*start != *key && *start != 'A' + (*key - 'a'))
return 0;
return *key == '\0';
}
void
getXMLCharset(const char *buf, char *charset)
{
const char *next, *p;
charset[0] = '\0';
next = buf;
p = getTok(&next);
if (matchkey(p, next, "text"))
strcpy(charset, "us-ascii");
else if (!matchkey(p, next, "application"))
return;
p = getTok(&next);
if (!p || *p != '/')
return;
p = getTok(&next);
if (matchkey(p, next, "xml"))
isXml = 1;
p = getTok(&next);
while (p) {
if (*p == ';') {
p = getTok(&next);
if (matchkey(p, next, "charset")) {
p = getTok(&next);
if (p && *p == '=') {
p = getTok(&next);
if (p) {
char *s = charset;
if (*p == '"') {
while (++p != next - 1) {
if (*p == '\\')
++p;
if (s == charset + CHARSET_MAX - 1) {
charset[0] = '\0';
break;
}
*s++ = *p;
}
*s++ = '\0';
}
else {
if (next - p > CHARSET_MAX - 1)
break;
while (p != next)
*s++ = *p++;
*s = 0;
break;
}
}
}
}
}
else
p = getTok(&next);
}
}
int
main(int argc, char **argv)
{
char buf[CHARSET_MAX];
getXMLCharset(argv[1], buf);
printf("charset = \"%s\"\n", buf);
return 0;
}

17
src/expat/xmlwf/filemap.h Normal file
View File

@@ -0,0 +1,17 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include <stddef.h>
#ifdef XML_UNICODE
int filemap(const wchar_t *name,
void (*processor)(const void *, size_t,
const wchar_t *, void *arg),
void *arg);
#else
int filemap(const char *name,
void (*processor)(const void *, size_t,
const char *, void *arg),
void *arg);
#endif

View File

@@ -0,0 +1,78 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#ifndef S_ISREG
#ifndef S_IFREG
#define S_IFREG _S_IFREG
#endif
#ifndef S_IFMT
#define S_IFMT _S_IFMT
#endif
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif /* not S_ISREG */
#ifndef O_BINARY
#ifdef _O_BINARY
#define O_BINARY _O_BINARY
#else
#define O_BINARY 0
#endif
#endif
#include "filemap.h"
int
filemap(const char *name,
void (*processor)(const void *, size_t, const char *, void *arg),
void *arg)
{
size_t nbytes;
int fd;
int n;
struct stat sb;
void *p;
fd = open(name, O_RDONLY|O_BINARY);
if (fd < 0) {
perror(name);
return 0;
}
if (fstat(fd, &sb) < 0) {
perror(name);
return 0;
}
if (!S_ISREG(sb.st_mode)) {
fprintf(stderr, "%s: not a regular file\n", name);
return 0;
}
nbytes = sb.st_size;
p = malloc(nbytes);
if (!p) {
fprintf(stderr, "%s: out of memory\n", name);
return 0;
}
n = read(fd, p, nbytes);
if (n < 0) {
perror(name);
free(p);
close(fd);
return 0;
}
if (n != nbytes) {
fprintf(stderr, "%s: read unexpected number of bytes\n", name);
free(p);
close(fd);
return 0;
}
processor(p, nbytes, name, arg);
free(p);
close(fd);
return 1;
}

View File

@@ -0,0 +1,58 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#ifndef MAP_FILE
#define MAP_FILE 0
#endif
#include "filemap.h"
int
filemap(const char *name,
void (*processor)(const void *, size_t, const char *, void *arg),
void *arg)
{
int fd;
size_t nbytes;
struct stat sb;
void *p;
fd = open(name, O_RDONLY);
if (fd < 0) {
perror(name);
return 0;
}
if (fstat(fd, &sb) < 0) {
perror(name);
close(fd);
return 0;
}
if (!S_ISREG(sb.st_mode)) {
close(fd);
fprintf(stderr, "%s: not a regular file\n", name);
return 0;
}
nbytes = sb.st_size;
p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ,
MAP_FILE|MAP_PRIVATE, fd, (off_t)0);
if (p == (void *)-1) {
perror(name);
close(fd);
return 0;
}
processor(p, nbytes, name, arg);
munmap((caddr_t)p, nbytes);
close(fd);
return 1;
}

View File

@@ -0,0 +1,96 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#define STRICT 1
#define WIN32_LEAN_AND_MEAN 1
#ifdef XML_UNICODE_WCHAR_T
#ifndef XML_UNICODE
#define XML_UNICODE
#endif
#endif
#ifdef XML_UNICODE
#define UNICODE
#define _UNICODE
#endif /* XML_UNICODE */
#include <windows.h>
#include <stdio.h>
#include <tchar.h>
#include "filemap.h"
static void win32perror(const TCHAR *);
int
filemap(const TCHAR *name,
void (*processor)(const void *, size_t, const TCHAR *, void *arg),
void *arg)
{
HANDLE f;
HANDLE m;
DWORD size;
DWORD sizeHi;
void *p;
f = CreateFile(name, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING,
FILE_FLAG_SEQUENTIAL_SCAN, NULL);
if (f == INVALID_HANDLE_VALUE) {
win32perror(name);
return 0;
}
size = GetFileSize(f, &sizeHi);
if (size == (DWORD)-1) {
win32perror(name);
return 0;
}
if (sizeHi) {
_ftprintf(stderr, _T("%s: bigger than 2Gb\n"), name);
return 0;
}
/* CreateFileMapping barfs on zero length files */
if (size == 0) {
static const char c = '\0';
processor(&c, 0, name, arg);
CloseHandle(f);
return 1;
}
m = CreateFileMapping(f, NULL, PAGE_READONLY, 0, 0, NULL);
if (m == NULL) {
win32perror(name);
CloseHandle(f);
return 0;
}
p = MapViewOfFile(m, FILE_MAP_READ, 0, 0, 0);
if (p == NULL) {
win32perror(name);
CloseHandle(m);
CloseHandle(f);
return 0;
}
processor(p, size, name, arg);
UnmapViewOfFile(p);
CloseHandle(m);
CloseHandle(f);
return 1;
}
static void
win32perror(const TCHAR *s)
{
LPVOID buf;
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER
| FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &buf,
0,
NULL)) {
_ftprintf(stderr, _T("%s: %s"), s, buf);
fflush(stderr);
LocalFree(buf);
}
else
_ftprintf(stderr, _T("%s: unknown Windows error\n"), s);
}

231
src/expat/xmlwf/xmlfile.c Normal file
View File

@@ -0,0 +1,231 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <fcntl.h>
#ifdef COMPILED_FROM_DSP
#include "winconfig.h"
#else
#include "expat_config.h"
#endif
#include "expat.h"
#include "xmlfile.h"
#include "xmltchar.h"
#include "filemap.h"
#ifdef _MSC_VER
#include <io.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef O_BINARY
#ifdef _O_BINARY
#define O_BINARY _O_BINARY
#else
#define O_BINARY 0
#endif
#endif
#ifdef _DEBUG
#define READ_SIZE 16
#else
#define READ_SIZE (1024*8)
#endif
typedef struct {
XML_Parser parser;
int *retPtr;
} PROCESS_ARGS;
static void
reportError(XML_Parser parser, const XML_Char *filename)
{
int code = XML_GetErrorCode(parser);
const XML_Char *message = XML_ErrorString(code);
if (message)
ftprintf(stdout, T("%s:%d:%d: %s\n"),
filename,
XML_GetErrorLineNumber(parser),
XML_GetErrorColumnNumber(parser),
message);
else
ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code);
}
static void
processFile(const void *data, size_t size,
const XML_Char *filename, void *args)
{
XML_Parser parser = ((PROCESS_ARGS *)args)->parser;
int *retPtr = ((PROCESS_ARGS *)args)->retPtr;
if (XML_Parse(parser, data, size, 1) == XML_STATUS_ERROR) {
reportError(parser, filename);
*retPtr = 0;
}
else
*retPtr = 1;
}
#ifdef WIN32
static int
isAsciiLetter(XML_Char c)
{
return (T('a') <= c && c <= T('z')) || (T('A') <= c && c <= T('Z'));
}
#endif /* WIN32 */
static const XML_Char *
resolveSystemId(const XML_Char *base, const XML_Char *systemId,
XML_Char **toFree)
{
XML_Char *s;
*toFree = 0;
if (!base
|| *systemId == T('/')
#ifdef WIN32
|| *systemId == T('\\')
|| (isAsciiLetter(systemId[0]) && systemId[1] == T(':'))
#endif
)
return systemId;
*toFree = (XML_Char *)malloc((tcslen(base) + tcslen(systemId) + 2)
* sizeof(XML_Char));
if (!*toFree)
return systemId;
tcscpy(*toFree, base);
s = *toFree;
if (tcsrchr(s, T('/')))
s = tcsrchr(s, T('/')) + 1;
#ifdef WIN32
if (tcsrchr(s, T('\\')))
s = tcsrchr(s, T('\\')) + 1;
#endif
tcscpy(s, systemId);
return *toFree;
}
static int
externalEntityRefFilemap(XML_Parser parser,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId)
{
int result;
XML_Char *s;
const XML_Char *filename;
XML_Parser entParser = XML_ExternalEntityParserCreate(parser, context, 0);
PROCESS_ARGS args;
args.retPtr = &result;
args.parser = entParser;
filename = resolveSystemId(base, systemId, &s);
XML_SetBase(entParser, filename);
if (!filemap(filename, processFile, &args))
result = 0;
free(s);
XML_ParserFree(entParser);
return result;
}
static int
processStream(const XML_Char *filename, XML_Parser parser)
{
/* passing NULL for filename means read intput from stdin */
int fd = 0; /* 0 is the fileno for stdin */
if (filename != NULL) {
fd = topen(filename, O_BINARY|O_RDONLY);
if (fd < 0) {
tperror(filename);
return 0;
}
}
for (;;) {
int nread;
char *buf = XML_GetBuffer(parser, READ_SIZE);
if (!buf) {
if (filename != NULL)
close(fd);
ftprintf(stderr, T("%s: out of memory\n"),
filename != NULL ? filename : "xmlwf");
return 0;
}
nread = read(fd, buf, READ_SIZE);
if (nread < 0) {
tperror(filename != NULL ? filename : "STDIN");
if (filename != NULL)
close(fd);
return 0;
}
if (XML_ParseBuffer(parser, nread, nread == 0) == XML_STATUS_ERROR) {
reportError(parser, filename != NULL ? filename : "STDIN");
if (filename != NULL)
close(fd);
return 0;
}
if (nread == 0) {
if (filename != NULL)
close(fd);
break;;
}
}
return 1;
}
static int
externalEntityRefStream(XML_Parser parser,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId)
{
XML_Char *s;
const XML_Char *filename;
int ret;
XML_Parser entParser = XML_ExternalEntityParserCreate(parser, context, 0);
filename = resolveSystemId(base, systemId, &s);
XML_SetBase(entParser, filename);
ret = processStream(filename, entParser);
free(s);
XML_ParserFree(entParser);
return ret;
}
int
XML_ProcessFile(XML_Parser parser,
const XML_Char *filename,
unsigned flags)
{
int result;
if (!XML_SetBase(parser, filename)) {
ftprintf(stderr, T("%s: out of memory"), filename);
exit(1);
}
if (flags & XML_EXTERNAL_ENTITIES)
XML_SetExternalEntityRefHandler(parser,
(flags & XML_MAP_FILE)
? externalEntityRefFilemap
: externalEntityRefStream);
if (flags & XML_MAP_FILE) {
PROCESS_ARGS args;
args.retPtr = &result;
args.parser = parser;
if (!filemap(filename, processFile, &args))
result = 0;
}
else
result = processStream(filename, parser);
return result;
}

10
src/expat/xmlwf/xmlfile.h Normal file
View File

@@ -0,0 +1,10 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#define XML_MAP_FILE 01
#define XML_EXTERNAL_ENTITIES 02
extern int XML_ProcessFile(XML_Parser parser,
const XML_Char *filename,
unsigned flags);

163
src/expat/xmlwf/xmlmime.c Normal file
View File

@@ -0,0 +1,163 @@
#include <string.h>
#include "xmlmime.h"
static const char *
getTok(const char **pp)
{
/* inComment means one level of nesting; inComment+1 means two levels etc */
enum { inAtom, inString, init, inComment };
int state = init;
const char *tokStart = 0;
for (;;) {
switch (**pp) {
case '\0':
if (state == inAtom)
return tokStart;
return 0;
case ' ':
case '\r':
case '\t':
case '\n':
if (state == inAtom)
return tokStart;
break;
case '(':
if (state == inAtom)
return tokStart;
if (state != inString)
state++;
break;
case ')':
if (state > init)
--state;
else if (state != inString)
return 0;
break;
case ';':
case '/':
case '=':
if (state == inAtom)
return tokStart;
if (state == init)
return (*pp)++;
break;
case '\\':
++*pp;
if (**pp == '\0')
return 0;
break;
case '"':
switch (state) {
case inString:
++*pp;
return tokStart;
case inAtom:
return tokStart;
case init:
tokStart = *pp;
state = inString;
break;
}
break;
default:
if (state == init) {
tokStart = *pp;
state = inAtom;
}
break;
}
++*pp;
}
/* not reached */
}
/* key must be lowercase ASCII */
static int
matchkey(const char *start, const char *end, const char *key)
{
if (!start)
return 0;
for (; start != end; start++, key++)
if (*start != *key && *start != 'A' + (*key - 'a'))
return 0;
return *key == '\0';
}
void
getXMLCharset(const char *buf, char *charset)
{
const char *next, *p;
charset[0] = '\0';
next = buf;
p = getTok(&next);
if (matchkey(p, next, "text"))
strcpy(charset, "us-ascii");
else if (!matchkey(p, next, "application"))
return;
p = getTok(&next);
if (!p || *p != '/')
return;
p = getTok(&next);
#if 0
if (!matchkey(p, next, "xml") && charset[0] == '\0')
return;
#endif
p = getTok(&next);
while (p) {
if (*p == ';') {
p = getTok(&next);
if (matchkey(p, next, "charset")) {
p = getTok(&next);
if (p && *p == '=') {
p = getTok(&next);
if (p) {
char *s = charset;
if (*p == '"') {
while (++p != next - 1) {
if (*p == '\\')
++p;
if (s == charset + CHARSET_MAX - 1) {
charset[0] = '\0';
break;
}
*s++ = *p;
}
*s++ = '\0';
}
else {
if (next - p > CHARSET_MAX - 1)
break;
while (p != next)
*s++ = *p++;
*s = 0;
break;
}
}
}
break;
}
}
else
p = getTok(&next);
}
}
#ifdef TEST
#include <stdio.h>
int
main(int argc, char *argv[])
{
char buf[CHARSET_MAX];
if (argc <= 1)
return 1;
printf("%s\n", argv[1]);
getXMLCharset(argv[1], buf);
printf("charset=\"%s\"\n", buf);
return 0;
}
#endif /* TEST */

19
src/expat/xmlwf/xmlmime.h Normal file
View File

@@ -0,0 +1,19 @@
#ifdef __cplusplus
extern "C" {
#endif
/* Registered charset names are at most 40 characters long. */
#define CHARSET_MAX 41
/* Figure out the charset to use from the ContentType.
buf contains the body of the header field (the part after "Content-Type:").
charset gets the charset to use. It must be at least CHARSET_MAX chars
long. charset will be empty if the default charset should be used.
*/
void getXMLCharset(const char *buf, char *charset);
#ifdef __cplusplus
}
#endif

View File

@@ -0,0 +1,36 @@
#ifdef XML_UNICODE
#ifndef XML_UNICODE_WCHAR_T
#error xmlwf requires a 16-bit Unicode-compatible wchar_t
#endif
#define T(x) L ## x
#define ftprintf fwprintf
#define tfopen _wfopen
#define fputts fputws
#define puttc putwc
#define tcscmp wcscmp
#define tcscpy wcscpy
#define tcscat wcscat
#define tcschr wcschr
#define tcsrchr wcsrchr
#define tcslen wcslen
#define tperror _wperror
#define topen _wopen
#define tmain wmain
#define tremove _wremove
#else /* not XML_UNICODE */
#define T(x) x
#define ftprintf fprintf
#define tfopen fopen
#define fputts fputs
#define puttc putc
#define tcscmp strcmp
#define tcscpy strcpy
#define tcscat strcat
#define tcschr strchr
#define tcsrchr strrchr
#define tcslen strlen
#define tperror perror
#define topen open
#define tmain main
#define tremove remove
#endif /* not XML_UNICODE */

13
src/expat/xmlwf/xmlurl.h Normal file
View File

@@ -0,0 +1,13 @@
#ifdef __cplusplus
extern "C" {
#endif
int XML_URLInit();
void XML_URLUninit();
int XML_ProcessURL(XML_Parser parser,
const XML_Char *url,
unsigned flags);
#ifdef __cplusplus
}
#endif

842
src/expat/xmlwf/xmlwf.c Normal file
View File

@@ -0,0 +1,842 @@
/* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
See the file COPYING for copying permission.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include "expat.h"
#include "codepage.h"
#include "xmlfile.h"
#include "xmltchar.h"
#ifdef _MSC_VER
#include <crtdbg.h>
#endif
/* This ensures proper sorting. */
#define NSSEP T('\001')
static void
characterData(void *userData, const XML_Char *s, int len)
{
FILE *fp = userData;
for (; len > 0; --len, ++s) {
switch (*s) {
case T('&'):
fputts(T("&amp;"), fp);
break;
case T('<'):
fputts(T("&lt;"), fp);
break;
case T('>'):
fputts(T("&gt;"), fp);
break;
#ifdef W3C14N
case 13:
fputts(T("&#xD;"), fp);
break;
#else
case T('"'):
fputts(T("&quot;"), fp);
break;
case 9:
case 10:
case 13:
ftprintf(fp, T("&#%d;"), *s);
break;
#endif
default:
puttc(*s, fp);
break;
}
}
}
static void
attributeValue(FILE *fp, const XML_Char *s)
{
puttc(T('='), fp);
puttc(T('"'), fp);
for (;;) {
switch (*s) {
case 0:
case NSSEP:
puttc(T('"'), fp);
return;
case T('&'):
fputts(T("&amp;"), fp);
break;
case T('<'):
fputts(T("&lt;"), fp);
break;
case T('"'):
fputts(T("&quot;"), fp);
break;
#ifdef W3C14N
case 9:
fputts(T("&#x9;"), fp);
break;
case 10:
fputts(T("&#xA;"), fp);
break;
case 13:
fputts(T("&#xD;"), fp);
break;
#else
case T('>'):
fputts(T("&gt;"), fp);
break;
case 9:
case 10:
case 13:
ftprintf(fp, T("&#%d;"), *s);
break;
#endif
default:
puttc(*s, fp);
break;
}
s++;
}
}
/* Lexicographically comparing UTF-8 encoded attribute values,
is equivalent to lexicographically comparing based on the character number. */
static int
attcmp(const void *att1, const void *att2)
{
return tcscmp(*(const XML_Char **)att1, *(const XML_Char **)att2);
}
static void
startElement(void *userData, const XML_Char *name, const XML_Char **atts)
{
int nAtts;
const XML_Char **p;
FILE *fp = userData;
puttc(T('<'), fp);
fputts(name, fp);
p = atts;
while (*p)
++p;
nAtts = (p - atts) >> 1;
if (nAtts > 1)
qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, attcmp);
while (*atts) {
puttc(T(' '), fp);
fputts(*atts++, fp);
attributeValue(fp, *atts);
atts++;
}
puttc(T('>'), fp);
}
static void
endElement(void *userData, const XML_Char *name)
{
FILE *fp = userData;
puttc(T('<'), fp);
puttc(T('/'), fp);
fputts(name, fp);
puttc(T('>'), fp);
}
static int
nsattcmp(const void *p1, const void *p2)
{
const XML_Char *att1 = *(const XML_Char **)p1;
const XML_Char *att2 = *(const XML_Char **)p2;
int sep1 = (tcsrchr(att1, NSSEP) != 0);
int sep2 = (tcsrchr(att1, NSSEP) != 0);
if (sep1 != sep2)
return sep1 - sep2;
return tcscmp(att1, att2);
}
static void
startElementNS(void *userData, const XML_Char *name, const XML_Char **atts)
{
int nAtts;
int nsi;
const XML_Char **p;
FILE *fp = userData;
const XML_Char *sep;
puttc(T('<'), fp);
sep = tcsrchr(name, NSSEP);
if (sep) {
fputts(T("n1:"), fp);
fputts(sep + 1, fp);
fputts(T(" xmlns:n1"), fp);
attributeValue(fp, name);
nsi = 2;
}
else {
fputts(name, fp);
nsi = 1;
}
p = atts;
while (*p)
++p;
nAtts = (p - atts) >> 1;
if (nAtts > 1)
qsort((void *)atts, nAtts, sizeof(XML_Char *) * 2, nsattcmp);
while (*atts) {
name = *atts++;
sep = tcsrchr(name, NSSEP);
puttc(T(' '), fp);
if (sep) {
ftprintf(fp, T("n%d:"), nsi);
fputts(sep + 1, fp);
}
else
fputts(name, fp);
attributeValue(fp, *atts);
if (sep) {
ftprintf(fp, T(" xmlns:n%d"), nsi++);
attributeValue(fp, name);
}
atts++;
}
puttc(T('>'), fp);
}
static void
endElementNS(void *userData, const XML_Char *name)
{
FILE *fp = userData;
const XML_Char *sep;
puttc(T('<'), fp);
puttc(T('/'), fp);
sep = tcsrchr(name, NSSEP);
if (sep) {
fputts(T("n1:"), fp);
fputts(sep + 1, fp);
}
else
fputts(name, fp);
puttc(T('>'), fp);
}
#ifndef W3C14N
static void
processingInstruction(void *userData, const XML_Char *target,
const XML_Char *data)
{
FILE *fp = userData;
puttc(T('<'), fp);
puttc(T('?'), fp);
fputts(target, fp);
puttc(T(' '), fp);
fputts(data, fp);
puttc(T('?'), fp);
puttc(T('>'), fp);
}
#endif /* not W3C14N */
static void
defaultCharacterData(void *userData, const XML_Char *s, int len)
{
XML_DefaultCurrent((XML_Parser) userData);
}
static void
defaultStartElement(void *userData, const XML_Char *name,
const XML_Char **atts)
{
XML_DefaultCurrent((XML_Parser) userData);
}
static void
defaultEndElement(void *userData, const XML_Char *name)
{
XML_DefaultCurrent((XML_Parser) userData);
}
static void
defaultProcessingInstruction(void *userData, const XML_Char *target,
const XML_Char *data)
{
XML_DefaultCurrent((XML_Parser) userData);
}
static void
nopCharacterData(void *userData, const XML_Char *s, int len)
{
}
static void
nopStartElement(void *userData, const XML_Char *name, const XML_Char **atts)
{
}
static void
nopEndElement(void *userData, const XML_Char *name)
{
}
static void
nopProcessingInstruction(void *userData, const XML_Char *target,
const XML_Char *data)
{
}
static void
markup(void *userData, const XML_Char *s, int len)
{
FILE *fp = XML_GetUserData((XML_Parser) userData);
for (; len > 0; --len, ++s)
puttc(*s, fp);
}
static void
metaLocation(XML_Parser parser)
{
const XML_Char *uri = XML_GetBase(parser);
if (uri)
ftprintf(XML_GetUserData(parser), T(" uri=\"%s\""), uri);
ftprintf(XML_GetUserData(parser),
T(" byte=\"%ld\" nbytes=\"%d\" line=\"%d\" col=\"%d\""),
XML_GetCurrentByteIndex(parser),
XML_GetCurrentByteCount(parser),
XML_GetCurrentLineNumber(parser),
XML_GetCurrentColumnNumber(parser));
}
static void
metaStartDocument(void *userData)
{
fputts(T("<document>\n"), XML_GetUserData((XML_Parser) userData));
}
static void
metaEndDocument(void *userData)
{
fputts(T("</document>\n"), XML_GetUserData((XML_Parser) userData));
}
static void
metaStartElement(void *userData, const XML_Char *name,
const XML_Char **atts)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
const XML_Char **specifiedAttsEnd
= atts + XML_GetSpecifiedAttributeCount(parser);
const XML_Char **idAttPtr;
int idAttIndex = XML_GetIdAttributeIndex(parser);
if (idAttIndex < 0)
idAttPtr = 0;
else
idAttPtr = atts + idAttIndex;
ftprintf(fp, T("<starttag name=\"%s\""), name);
metaLocation(parser);
if (*atts) {
fputts(T(">\n"), fp);
do {
ftprintf(fp, T("<attribute name=\"%s\" value=\""), atts[0]);
characterData(fp, atts[1], tcslen(atts[1]));
if (atts >= specifiedAttsEnd)
fputts(T("\" defaulted=\"yes\"/>\n"), fp);
else if (atts == idAttPtr)
fputts(T("\" id=\"yes\"/>\n"), fp);
else
fputts(T("\"/>\n"), fp);
} while (*(atts += 2));
fputts(T("</starttag>\n"), fp);
}
else
fputts(T("/>\n"), fp);
}
static void
metaEndElement(void *userData, const XML_Char *name)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
ftprintf(fp, T("<endtag name=\"%s\""), name);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaProcessingInstruction(void *userData, const XML_Char *target,
const XML_Char *data)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
ftprintf(fp, T("<pi target=\"%s\" data=\""), target);
characterData(fp, data, tcslen(data));
puttc(T('"'), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaComment(void *userData, const XML_Char *data)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<comment data=\""), fp);
characterData(fp, data, tcslen(data));
puttc(T('"'), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaStartCdataSection(void *userData)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<startcdata"), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaEndCdataSection(void *userData)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<endcdata"), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaCharacterData(void *userData, const XML_Char *s, int len)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<chars str=\""), fp);
characterData(fp, s, len);
puttc(T('"'), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaStartDoctypeDecl(void *userData,
const XML_Char *doctypeName,
const XML_Char *sysid,
const XML_Char *pubid,
int has_internal_subset)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
ftprintf(fp, T("<startdoctype name=\"%s\""), doctypeName);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaEndDoctypeDecl(void *userData)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<enddoctype"), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaNotationDecl(void *userData,
const XML_Char *notationName,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
ftprintf(fp, T("<notation name=\"%s\""), notationName);
if (publicId)
ftprintf(fp, T(" public=\"%s\""), publicId);
if (systemId) {
fputts(T(" system=\""), fp);
characterData(fp, systemId, tcslen(systemId));
puttc(T('"'), fp);
}
metaLocation(parser);
fputts(T("/>\n"), fp);
}
static void
metaEntityDecl(void *userData,
const XML_Char *entityName,
int is_param,
const XML_Char *value,
int value_length,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId,
const XML_Char *notationName)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
if (value) {
ftprintf(fp, T("<entity name=\"%s\""), entityName);
metaLocation(parser);
puttc(T('>'), fp);
characterData(fp, value, value_length);
fputts(T("</entity/>\n"), fp);
}
else if (notationName) {
ftprintf(fp, T("<entity name=\"%s\""), entityName);
if (publicId)
ftprintf(fp, T(" public=\"%s\""), publicId);
fputts(T(" system=\""), fp);
characterData(fp, systemId, tcslen(systemId));
puttc(T('"'), fp);
ftprintf(fp, T(" notation=\"%s\""), notationName);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
else {
ftprintf(fp, T("<entity name=\"%s\""), entityName);
if (publicId)
ftprintf(fp, T(" public=\"%s\""), publicId);
fputts(T(" system=\""), fp);
characterData(fp, systemId, tcslen(systemId));
puttc(T('"'), fp);
metaLocation(parser);
fputts(T("/>\n"), fp);
}
}
static void
metaStartNamespaceDecl(void *userData,
const XML_Char *prefix,
const XML_Char *uri)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
fputts(T("<startns"), fp);
if (prefix)
ftprintf(fp, T(" prefix=\"%s\""), prefix);
if (uri) {
fputts(T(" ns=\""), fp);
characterData(fp, uri, tcslen(uri));
fputts(T("\"/>\n"), fp);
}
else
fputts(T("/>\n"), fp);
}
static void
metaEndNamespaceDecl(void *userData, const XML_Char *prefix)
{
XML_Parser parser = (XML_Parser) userData;
FILE *fp = XML_GetUserData(parser);
if (!prefix)
fputts(T("<endns/>\n"), fp);
else
ftprintf(fp, T("<endns prefix=\"%s\"/>\n"), prefix);
}
static int
unknownEncodingConvert(void *data, const char *p)
{
return codepageConvert(*(int *)data, p);
}
static int
unknownEncoding(void *userData, const XML_Char *name, XML_Encoding *info)
{
int cp;
static const XML_Char prefixL[] = T("windows-");
static const XML_Char prefixU[] = T("WINDOWS-");
int i;
for (i = 0; prefixU[i]; i++)
if (name[i] != prefixU[i] && name[i] != prefixL[i])
return 0;
cp = 0;
for (; name[i]; i++) {
static const XML_Char digits[] = T("0123456789");
const XML_Char *s = tcschr(digits, name[i]);
if (!s)
return 0;
cp *= 10;
cp += s - digits;
if (cp >= 0x10000)
return 0;
}
if (!codepageMap(cp, info->map))
return 0;
info->convert = unknownEncodingConvert;
/* We could just cast the code page integer to a void *,
and avoid the use of release. */
info->release = free;
info->data = malloc(sizeof(int));
if (!info->data)
return 0;
*(int *)info->data = cp;
return 1;
}
static int
notStandalone(void *userData)
{
return 0;
}
static void
showVersion(XML_Char *prog)
{
XML_Char *s = prog;
XML_Char ch;
const XML_Feature *features = XML_GetFeatureList();
while ((ch = *s) != 0) {
if (ch == '/'
#ifdef WIN32
|| ch == '\\'
#endif
)
prog = s + 1;
++s;
}
ftprintf(stdout, T("%s using %s\n"), prog, XML_ExpatVersion());
if (features != NULL && features[0].feature != XML_FEATURE_END) {
int i = 1;
ftprintf(stdout, T("%s"), features[0].name);
if (features[0].value)
ftprintf(stdout, T("=%ld"), features[0].value);
while (features[i].feature != XML_FEATURE_END) {
ftprintf(stdout, T(", %s"), features[i].name);
if (features[i].value)
ftprintf(stdout, T("=%ld"), features[i].value);
++i;
}
ftprintf(stdout, T("\n"));
}
}
static void
usage(const XML_Char *prog, int rc)
{
ftprintf(stderr,
T("usage: %s [-n] [-p] [-r] [-s] [-w] [-x] [-d output-dir] "
"[-e encoding] file ...\n"), prog);
exit(rc);
}
int
tmain(int argc, XML_Char **argv)
{
int i, j;
const XML_Char *outputDir = NULL;
const XML_Char *encoding = NULL;
unsigned processFlags = XML_MAP_FILE;
int windowsCodePages = 0;
int outputType = 0;
int useNamespaces = 0;
int requireStandalone = 0;
int paramEntityParsing = XML_PARAM_ENTITY_PARSING_NEVER;
int useStdin = 0;
#ifdef _MSC_VER
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF|_CRTDBG_LEAK_CHECK_DF);
#endif
i = 1;
j = 0;
while (i < argc) {
if (j == 0) {
if (argv[i][0] != T('-'))
break;
if (argv[i][1] == T('-') && argv[i][2] == T('\0')) {
i++;
break;
}
j++;
}
switch (argv[i][j]) {
case T('r'):
processFlags &= ~XML_MAP_FILE;
j++;
break;
case T('s'):
requireStandalone = 1;
j++;
break;
case T('n'):
useNamespaces = 1;
j++;
break;
case T('p'):
paramEntityParsing = XML_PARAM_ENTITY_PARSING_ALWAYS;
/* fall through */
case T('x'):
processFlags |= XML_EXTERNAL_ENTITIES;
j++;
break;
case T('w'):
windowsCodePages = 1;
j++;
break;
case T('m'):
outputType = 'm';
j++;
break;
case T('c'):
outputType = 'c';
useNamespaces = 0;
j++;
break;
case T('t'):
outputType = 't';
j++;
break;
case T('d'):
if (argv[i][j + 1] == T('\0')) {
if (++i == argc)
usage(argv[0], 2);
outputDir = argv[i];
}
else
outputDir = argv[i] + j + 1;
i++;
j = 0;
break;
case T('e'):
if (argv[i][j + 1] == T('\0')) {
if (++i == argc)
usage(argv[0], 2);
encoding = argv[i];
}
else
encoding = argv[i] + j + 1;
i++;
j = 0;
break;
case T('h'):
usage(argv[0], 0);
return 0;
case T('v'):
showVersion(argv[0]);
return 0;
case T('\0'):
if (j > 1) {
i++;
j = 0;
break;
}
/* fall through */
default:
usage(argv[0], 2);
}
}
if (i == argc) {
useStdin = 1;
processFlags &= ~XML_MAP_FILE;
i--;
}
for (; i < argc; i++) {
FILE *fp = 0;
XML_Char *outName = 0;
int result;
XML_Parser parser;
if (useNamespaces)
parser = XML_ParserCreateNS(encoding, NSSEP);
else
parser = XML_ParserCreate(encoding);
if (requireStandalone)
XML_SetNotStandaloneHandler(parser, notStandalone);
XML_SetParamEntityParsing(parser, paramEntityParsing);
if (outputType == 't') {
/* This is for doing timings; this gives a more realistic estimate of
the parsing time. */
outputDir = 0;
XML_SetElementHandler(parser, nopStartElement, nopEndElement);
XML_SetCharacterDataHandler(parser, nopCharacterData);
XML_SetProcessingInstructionHandler(parser, nopProcessingInstruction);
}
else if (outputDir) {
const XML_Char *file = useStdin ? T("STDIN") : argv[i];
if (tcsrchr(file, T('/')))
file = tcsrchr(file, T('/')) + 1;
#ifdef WIN32
if (tcsrchr(file, T('\\')))
file = tcsrchr(file, T('\\')) + 1;
#endif
outName = malloc((tcslen(outputDir) + tcslen(file) + 2)
* sizeof(XML_Char));
tcscpy(outName, outputDir);
tcscat(outName, T("/"));
tcscat(outName, file);
fp = tfopen(outName, T("wb"));
if (!fp) {
tperror(outName);
exit(1);
}
setvbuf(fp, NULL, _IOFBF, 16384);
#ifdef XML_UNICODE
puttc(0xFEFF, fp);
#endif
XML_SetUserData(parser, fp);
switch (outputType) {
case 'm':
XML_UseParserAsHandlerArg(parser);
XML_SetElementHandler(parser, metaStartElement, metaEndElement);
XML_SetProcessingInstructionHandler(parser, metaProcessingInstruction);
XML_SetCommentHandler(parser, metaComment);
XML_SetCdataSectionHandler(parser, metaStartCdataSection,
metaEndCdataSection);
XML_SetCharacterDataHandler(parser, metaCharacterData);
XML_SetDoctypeDeclHandler(parser, metaStartDoctypeDecl,
metaEndDoctypeDecl);
XML_SetEntityDeclHandler(parser, metaEntityDecl);
XML_SetNotationDeclHandler(parser, metaNotationDecl);
XML_SetNamespaceDeclHandler(parser, metaStartNamespaceDecl,
metaEndNamespaceDecl);
metaStartDocument(parser);
break;
case 'c':
XML_UseParserAsHandlerArg(parser);
XML_SetDefaultHandler(parser, markup);
XML_SetElementHandler(parser, defaultStartElement, defaultEndElement);
XML_SetCharacterDataHandler(parser, defaultCharacterData);
XML_SetProcessingInstructionHandler(parser,
defaultProcessingInstruction);
break;
default:
if (useNamespaces)
XML_SetElementHandler(parser, startElementNS, endElementNS);
else
XML_SetElementHandler(parser, startElement, endElement);
XML_SetCharacterDataHandler(parser, characterData);
#ifndef W3C14N
XML_SetProcessingInstructionHandler(parser, processingInstruction);
#endif /* not W3C14N */
break;
}
}
if (windowsCodePages)
XML_SetUnknownEncodingHandler(parser, unknownEncoding, 0);
result = XML_ProcessFile(parser, useStdin ? NULL : argv[i], processFlags);
if (outputDir) {
if (outputType == 'm')
metaEndDocument(parser);
fclose(fp);
if (!result)
tremove(outName);
free(outName);
}
XML_ParserFree(parser);
}
return 0;
}

View File

@@ -0,0 +1,395 @@
#include "expat.h"
#ifdef XML_UNICODE
#define UNICODE
#endif
#include <windows.h>
#include <urlmon.h>
#include <wininet.h>
#include <stdio.h>
#include <tchar.h>
#include "xmlurl.h"
#include "xmlmime.h"
static int
processURL(XML_Parser parser, IMoniker *baseMoniker, const XML_Char *url);
typedef void (*StopHandler)(void *, HRESULT);
class Callback : public IBindStatusCallback {
public:
// IUnknown methods
STDMETHODIMP QueryInterface(REFIID,void **);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
// IBindStatusCallback methods
STDMETHODIMP OnStartBinding(DWORD, IBinding *);
STDMETHODIMP GetPriority(LONG *);
STDMETHODIMP OnLowResource(DWORD);
STDMETHODIMP OnProgress(ULONG, ULONG, ULONG, LPCWSTR);
STDMETHODIMP OnStopBinding(HRESULT, LPCWSTR);
STDMETHODIMP GetBindInfo(DWORD *, BINDINFO *);
STDMETHODIMP OnDataAvailable(DWORD, DWORD, FORMATETC *, STGMEDIUM *);
STDMETHODIMP OnObjectAvailable(REFIID, IUnknown *);
Callback(XML_Parser, IMoniker *, StopHandler, void *);
~Callback();
int externalEntityRef(const XML_Char *context,
const XML_Char *systemId, const XML_Char *publicId);
private:
XML_Parser parser_;
IMoniker *baseMoniker_;
DWORD totalRead_;
ULONG ref_;
IBinding *pBinding_;
StopHandler stopHandler_;
void *stopArg_;
};
STDMETHODIMP_(ULONG)
Callback::AddRef()
{
return ref_++;
}
STDMETHODIMP_(ULONG)
Callback::Release()
{
if (--ref_ == 0) {
delete this;
return 0;
}
return ref_;
}
STDMETHODIMP
Callback::QueryInterface(REFIID riid, void** ppv)
{
if (IsEqualGUID(riid, IID_IUnknown))
*ppv = (IUnknown *)this;
else if (IsEqualGUID(riid, IID_IBindStatusCallback))
*ppv = (IBindStatusCallback *)this;
else
return E_NOINTERFACE;
((LPUNKNOWN)*ppv)->AddRef();
return S_OK;
}
STDMETHODIMP
Callback::OnStartBinding(DWORD, IBinding* pBinding)
{
pBinding_ = pBinding;
pBinding->AddRef();
return S_OK;
}
STDMETHODIMP
Callback::GetPriority(LONG *)
{
return E_NOTIMPL;
}
STDMETHODIMP
Callback::OnLowResource(DWORD)
{
return E_NOTIMPL;
}
STDMETHODIMP
Callback::OnProgress(ULONG, ULONG, ULONG, LPCWSTR)
{
return S_OK;
}
STDMETHODIMP
Callback::OnStopBinding(HRESULT hr, LPCWSTR szError)
{
if (pBinding_) {
pBinding_->Release();
pBinding_ = 0;
}
if (baseMoniker_) {
baseMoniker_->Release();
baseMoniker_ = 0;
}
stopHandler_(stopArg_, hr);
return S_OK;
}
STDMETHODIMP
Callback::GetBindInfo(DWORD* pgrfBINDF, BINDINFO* pbindinfo)
{
*pgrfBINDF = BINDF_ASYNCHRONOUS;
return S_OK;
}
static void
reportError(XML_Parser parser)
{
int code = XML_GetErrorCode(parser);
const XML_Char *message = XML_ErrorString(code);
if (message)
_ftprintf(stderr, _T("%s:%d:%ld: %s\n"),
XML_GetBase(parser),
XML_GetErrorLineNumber(parser),
XML_GetErrorColumnNumber(parser),
message);
else
_ftprintf(stderr, _T("%s: (unknown message %d)\n"),
XML_GetBase(parser), code);
}
STDMETHODIMP
Callback::OnDataAvailable(DWORD grfBSCF,
DWORD dwSize,
FORMATETC *pfmtetc,
STGMEDIUM* pstgmed)
{
if (grfBSCF & BSCF_FIRSTDATANOTIFICATION) {
IWinInetHttpInfo *hp;
HRESULT hr = pBinding_->QueryInterface(IID_IWinInetHttpInfo,
(void **)&hp);
if (SUCCEEDED(hr)) {
char contentType[1024];
DWORD bufSize = sizeof(contentType);
DWORD flags = 0;
contentType[0] = 0;
hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType,
&bufSize, 0, NULL);
if (SUCCEEDED(hr)) {
char charset[CHARSET_MAX];
getXMLCharset(contentType, charset);
if (charset[0]) {
#ifdef XML_UNICODE
XML_Char wcharset[CHARSET_MAX];
XML_Char *p1 = wcharset;
const char *p2 = charset;
while ((*p1++ = (unsigned char)*p2++) != 0)
;
XML_SetEncoding(parser_, wcharset);
#else
XML_SetEncoding(parser_, charset);
#endif
}
}
hp->Release();
}
}
if (!parser_)
return E_ABORT;
if (pstgmed->tymed == TYMED_ISTREAM) {
while (totalRead_ < dwSize) {
#define READ_MAX (64*1024)
DWORD nToRead = dwSize - totalRead_;
if (nToRead > READ_MAX)
nToRead = READ_MAX;
void *buf = XML_GetBuffer(parser_, nToRead);
if (!buf) {
_ftprintf(stderr, _T("out of memory\n"));
return E_ABORT;
}
DWORD nRead;
HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead);
if (SUCCEEDED(hr)) {
totalRead_ += nRead;
if (!XML_ParseBuffer(parser_,
nRead,
(grfBSCF & BSCF_LASTDATANOTIFICATION) != 0
&& totalRead_ == dwSize)) {
reportError(parser_);
return E_ABORT;
}
}
}
}
return S_OK;
}
STDMETHODIMP
Callback::OnObjectAvailable(REFIID, IUnknown *)
{
return S_OK;
}
int
Callback::externalEntityRef(const XML_Char *context,
const XML_Char *systemId,
const XML_Char *publicId)
{
XML_Parser entParser = XML_ExternalEntityParserCreate(parser_, context, 0);
XML_SetBase(entParser, systemId);
int ret = processURL(entParser, baseMoniker_, systemId);
XML_ParserFree(entParser);
return ret;
}
Callback::Callback(XML_Parser parser, IMoniker *baseMoniker,
StopHandler stopHandler, void *stopArg)
: parser_(parser),
baseMoniker_(baseMoniker),
ref_(0),
pBinding_(0),
totalRead_(0),
stopHandler_(stopHandler),
stopArg_(stopArg)
{
if (baseMoniker_)
baseMoniker_->AddRef();
}
Callback::~Callback()
{
if (pBinding_)
pBinding_->Release();
if (baseMoniker_)
baseMoniker_->Release();
}
static int
externalEntityRef(void *arg,
const XML_Char *context,
const XML_Char *base,
const XML_Char *systemId,
const XML_Char *publicId)
{
return ((Callback *)arg)->externalEntityRef(context, systemId, publicId);
}
static HRESULT
openStream(XML_Parser parser,
IMoniker *baseMoniker,
const XML_Char *uri,
StopHandler stopHandler, void *stopArg)
{
if (!XML_SetBase(parser, uri))
return E_OUTOFMEMORY;
HRESULT hr;
IMoniker *m;
#ifdef XML_UNICODE
hr = CreateURLMoniker(0, uri, &m);
#else
LPWSTR uriw = new wchar_t[strlen(uri) + 1];
for (int i = 0;; i++) {
uriw[i] = uri[i];
if (uriw[i] == 0)
break;
}
hr = CreateURLMoniker(baseMoniker, uriw, &m);
delete [] uriw;
#endif
if (FAILED(hr))
return hr;
IBindStatusCallback *cb = new Callback(parser, m, stopHandler, stopArg);
XML_SetExternalEntityRefHandler(parser, externalEntityRef);
XML_SetExternalEntityRefHandlerArg(parser, cb);
cb->AddRef();
IBindCtx *b;
if (FAILED(hr = CreateAsyncBindCtx(0, cb, 0, &b))) {
cb->Release();
m->Release();
return hr;
}
cb->Release();
IStream *pStream;
hr = m->BindToStorage(b, 0, IID_IStream, (void **)&pStream);
if (SUCCEEDED(hr)) {
if (pStream)
pStream->Release();
}
if (hr == MK_S_ASYNCHRONOUS)
hr = S_OK;
m->Release();
b->Release();
return hr;
}
struct QuitInfo {
const XML_Char *url;
HRESULT hr;
int stop;
};
static void
winPerror(const XML_Char *url, HRESULT hr)
{
LPVOID buf;
if (FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER
| FORMAT_MESSAGE_FROM_HMODULE,
GetModuleHandleA("urlmon.dll"),
hr,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &buf,
0,
NULL)
|| FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER
| FORMAT_MESSAGE_FROM_SYSTEM,
0,
hr,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR) &buf,
0,
NULL)) {
/* The system error messages seem to end with a newline. */
_ftprintf(stderr, _T("%s: %s"), url, buf);
fflush(stderr);
LocalFree(buf);
}
else
_ftprintf(stderr, _T("%s: error %x\n"), url, hr);
}
static void
threadQuit(void *p, HRESULT hr)
{
QuitInfo *qi = (QuitInfo *)p;
qi->hr = hr;
qi->stop = 1;
}
extern "C"
int
XML_URLInit(void)
{
return SUCCEEDED(CoInitialize(0));
}
extern "C"
void
XML_URLUninit(void)
{
CoUninitialize();
}
static int
processURL(XML_Parser parser, IMoniker *baseMoniker,
const XML_Char *url)
{
QuitInfo qi;
qi.stop = 0;
qi.url = url;
XML_SetBase(parser, url);
HRESULT hr = openStream(parser, baseMoniker, url, threadQuit, &qi);
if (FAILED(hr)) {
winPerror(url, hr);
return 0;
}
else if (FAILED(qi.hr)) {
winPerror(url, qi.hr);
return 0;
}
MSG msg;
while (!qi.stop && GetMessage (&msg, NULL, 0, 0)) {
TranslateMessage (&msg);
DispatchMessage (&msg);
}
return 1;
}
extern "C"
int
XML_ProcessURL(XML_Parser parser,
const XML_Char *url,
unsigned flags)
{
return processURL(parser, 0, url);
}

View File

@@ -1,19 +0,0 @@
.DS_Store
.emacs.desktop
.gdb_history
MANIFEST
_build_dmg
_build_rpm
build
build-gtk
build-gtk2
build-gtk2.unicode
build-pkg
build-pkg-debug
build.local
build.unicode
dist
licence
s.bat
temp
update.log

View File

@@ -1,72 +0,0 @@
Building wxPython on Mac OS X
-----------------------------
These are the steps I have used for building wxPython on Mac OS X 10.x
with the Apple Developer Tools, a.k.a the Darwin version. I assume
that you know your way around a command line and that you know how to
get things from various CVS repositories as needed.
1. "MacPython-OSX" 2.3 is required. There is a disk image with an
installer package in the wxPython Sourceforge download area, in
this group:
http://sourceforge.net/project/showfiles.php?group_id=10718&release_id=84730
If, for some reason you need to build your own Python, get the
source from www.python.org and follow the instructions in the
Mac/OSX/README file to build and install the Python.framework and
Python tools.
One last thing, make sure that /usr/local/bin is in your PATH
environment variable since that is where the new python and pythonw
commands will be located.
2. In a wxWindows CVS tree make a build directory. (You can also use
a CVS snapshot located in http://wxwindows.org/snapshots/ or the
released wxPythonSrc-*.tr.gz archive.)
cd ~/proj/wxWindows # or wherever you put it
mkdir build
3. Run configure from that build directory.
cd build
../configure --with-mac --with-opengl --enable-debug
4. Make and install wxMac.
make
sudo make install
5. Build and install wxPython.
cd ../wxPython
python setup.py build install
If you would like to install to someplace besides the Python
site-packages directory (such as to your home directory) then you
can add "--root=<path>" after the "install" command. To use
wxPython like this you'll need to ensure that the directory
containing wxPyrthon is contained in in the PYTHONPATH environment
variable.
6. Test. Just navigate in the Finder to the demo directory and double
click demo.py, or simple.py, or whatever you want to run. Or from
a command line you can run it this way:
cd demo
pythonw demo.py
7. Figure out what's wrong, figure out how to fix it, and then send
the patches to me. <wink>
--Robin

View File

@@ -1,340 +0,0 @@
Building wxPython on Unix or Unix-like Systems
----------------------------------------------
NOTE: You should probably look at the ../ README.1st.txt file for
directions for how to build wxPython the "new way." This files
describes the "old way" to build on unix-like systems. The difference
is very simple: The new way uses a private copy of wxGTK while the
old way uses either an existing wxGTK that may be installed and used
by other apps, or you can build a wxGTK that will be accissible by
other apps.
NOTE 2: I use a tool called SWIG (http://www.swig.org) to help
generate the C++ sources used in the wxPython extension module.
However you don't need to have SWIG unless you want to modify the *.i
files. I've made several modifications to and older version of SWIG
that are specific to wxPython's needs and so the modified sources are
included in the wx CVS at .../wxPython/wxSWIG. But because of the
size and since most people won't need it my SWIG is not included in
the wxPythonSrc tarball. You'll need to get it from CVS or a CVS
snapshot.
If you need to modify the *.i files for wxPython then you will need to
build wxswig. Change to the .../wxPython/wxSWIG directory and run:
configure
make
(Do not run "make install" as wxswig is run in-place.) You'll then
need to change a flag in the setup.py script as described below so the
wxPython build process will use SWIG if needed.
I use the new Python Distutils tool to build wxPython. It is included
with Python 2.0, but if you want to use Python 1.5.2 or 1.6 then
you'll need to download and install Distutils 1.0 from
http://www.python.org/sigs/distutils-sig/
Okay, now on the the fun stuff...
1. Compile and/or install glib and gtk+
---------------------------------------
A. First of all, check and see if you've already got glib/gtk+ on your
system, all the Linux distributions I know of come with it, at
least as an option. Look for libglib.* and libgtk.* in your system's
standard library directories. You'll also need the headers and
config scripts in order to build things that use glib/gtk. Try
running gtk-config:
gtk-config --version
If you have version 1.2.7 or better then you're all set. Otherwise
either get the pacakges for your unix distribution and install them
or get the sources from www.gtk.org and build and install them.
The best version to get is the latest 1.2.x release as the
wxWindows support for GTK 2.x is still beta-level. (Most tings
work great though, and it looks real nice.)
2. Compile and/or install wxGTK
-------------------------------
A. You can find the sources and RPMs for wxGTK at
http://wxwindows.org/, just follow the download links from the
navigation panel.
Source code for wxGTK is now included with the wxPythonSrc tarball,
and is the recommended way to get released wxGTK source code if you
plan on building both.
You can also check out a current snapshot of the sources from the
CVS server. (Some information about annonymous CVS access is at
http://wxwindows.org/cvs.htm.) The advantage of using CVS is that
you can easily update as soon as the developers check in new
sources or fixes. The advantage of using a released version is
that it usually has had more thorough testing done. You can decide
which method is best for you.
B. You'll usually want to use a version of wxGTK that has the same
version number as the wxPython sources you are using. (Another
advantage of using wxPythonSrc or CVS is that you'll get both at
the same time.)
C. If using the RPMs be sure to get both the wxGTK and wxGTK-devel
RPMs (at a minimum) and then install them as root.
rpm -Uhv wxGTK-2.2.2-0.i386.rpm wxGTK-devel-2.2.2-0.i386.rpm
D. If using the sources (either from the tarball or from CVS) then
configure it like this:
cd wxWindows # or whatever your top-level directory is called
mkdir build
cd build
../configure --with-gtk --enable-geometry
There are gobs and gobs of options for the configure script, run
../configure --help to see them all. I'll describe some that I find
useful here.
If you have OpenGL or compatible libraries installed, then add the
--with-opengl flag.
If you are on Solaris and are using a recent version of GCC, then
you'll probably want to add the --enable-permissive flag so the
compiler won't barf on your broken X11 header files.
To make a debugging version of wxGTK, add the --enable-debug flag.
This sets the -g flag for the compiler and also activates some
special debugging code in wxWindows by defining the __WXDEBUG__
macro. You'll get some extra asserts, failure logging, etc.
If you are using GTK 2.x then you'll want to add --enable-gtk2 and
probably also --enable-unicode.
E. Now just compile and install. You need to use GNU make, so if your
system has something else get GNU make and build and install it and
use it instead of your system's default make command.
make
make install
The last step will probably have to be done as root. Also, if your
system needs anything done to update the dynamic loader for shared
libraries, (such as running ldconfig on Linux) then do it now.
F. You can test your build by changing to one of the directories under
build/samples or build/demos, running make and then running the
executable that is built.
3. Compile and install wxPython
-------------------------------
A. You have the same options (and same advantages/disadvantages) for
getting the wxPython source, either a released snapshot or from
CVS. The released version file is named wxPythonSrc-[version].tar.gz
and is available at http://wxpython.org/download.php. If you want
to use CVS you'll find wxPython in the wxWindows CVS tree (see
above) in the wxWindows/wxPython directory.
B. wxPython is built with the standard Python Distutils tool and
currently includes it's own snapshot of the latest version of
distutils which can also be used with previous versions of Python
On Unix systems Distutils figures out what commands and flags to
use for the compiler and linker by looking in the Makefile that was
used to build Python itself. Most of the time this works okay. If
it doesn't, there doesn't seem to be a way to override the values
that Distutils uses without hacking either Distutils itself, or
Python's Makefile. (NOTE: This has been changed with the
distutilsincluded with Python 2.3 but I havn't yet looked into how
best to utilize this in wxPython...)
While we're on the subject of how Python was built... Since
wxPython is a C++ extension some platforms and/or compilers will
require that the Python executable was linked with the C++ linker
in order for everything to work correctly. If you build and
install Python yourself then this is easy to take care of,
otherwise you may have to mess with binary packages or bribe your
system administrator...
In my case on Solaris wxPython applications would core dump on
exit. The core file indicated that the fault happened after
_exit() was called and the run-time library was trying to execute
cleanup code. After relinking the Python executable the problem
went away. To build Python to link with the C++ linker do this:
cd Python-2.0 # wherever the root of the source tree is
rm python # in case it's still there from an old build
make LINKCC=g++ # or whatever your C++ command is
make install
I recently built Python 2.1.3 and Python 2.2.1 on Solaris and did
not have to resort to this workaround so apparently things are
getting better there. I will leave this note here though in case
there are similar issues elsewhere. However I did run into a
Python build issue that affects the wxPython build when attempting
to use SunCC instead of GNU gcc. See the note below titled
"Building with non-GNU compilers" if you are interested.
C. Change to the root wxPython directory and look at the setup.py
file. This is the script that configures and defines all the
information that Distutils needs to build wxPython. There are some
options near the begining of the script that you may want or need
to change based on your system and what options you have selected
up to this point, (sources from tar.gz or from CVS, etc.) You can
either change these flags directly in setup.py or supply them on
the command-line.
BUILD_GLCANVAS Set to zero if you don't want to build the
Open GL canvas extension module. If you don't
have OpenGL or compatible libraries then you'll
need to set this to zero.
BUILD_OGL Set to zero if you don't want to build the
Object Graphics Library extension module.
BUILD_STC Set to zero if you don't want to build the
wxStyledTextCtrl (the Scintilla wrapper)
extension module.
USE_SWIG If you have edited any of the *.i files you
will need to set this flag to non-zero so SWIG
will be executed to regenerate the wrapper C++
and shadow python files.
etc.
D. To build and install wxPython you simply need to execute the
setup.py script. If you have more than one version of Python
installed, be sure to execute setup.py with the version you want to
build wxPython for. Depending on the permissions on your
site-packages directory you may need to be root to run the install
command.
python setup.py build install
If you need to change any of the build flags that can also be done
on the setup.py command line, like this:
python setup.py BUILD_GLCANVAS=0 build install
If you are using GTK 2.x then you'll want to add these flags:
python setup.py WXPORT=gtk2 UNICODE=1 build install
If you would like to install to someplace besides the Python
site-packages directory (such as to your home directory) then you
can add "--root=<path>" after the "install" command. To use
wxPython like this you'll need to ensure that the directory
containing wxPyrthon is contained in in the PYTHONPATH environment
variable.
E. At this point you should be able to change into the wxPython/demo
directory and run the demo:
python demo.py
F. If you would like to make a test build that doesn't overwrite any
installed version of wxPython you can do so with this command
instead of the install command above:
python setup.py build_ext --inplace
This will build the wxPython package in the local wxPython
directory instead of installing it under your Python installation.
To run using this test version just add the base wxPython source
directory to the PYTHONPATH:
export PYTHONPATH=~/projects/wxWindows/wxPython
# or whatever is required for your shell
cd ~/projects/wxWindows/wxPython/demo
python demo.py
4. Building with non-GNU compilers
----------------------------------
As mentioned above Python's distutils uses whatever compiler Python
was compiled with to compile extension modules. It also appears that
distutils assumes that this compiler can compile C or C++ sources as
distutils makes no differentiation between the two. For builds using
GNU gcc and a few other compilers this is not an issue as they will
determine the type of source from the file extension. For SunCC (and
probably other compilers that came from cfront) it won't work as the C
compiler (cc) is totally separate from the C++ compiler (CC). This
causes distutils to attempt to compile the wxPython sources with the C
compiler, which won't work.
There may be better ways to get around this, but here is the
workaround I devised. I created a script that will execute either cc
or CC based on the file extension given to it. If Python uses this
script for its compiler then it will also be used by extensions built
with distutils and everybody will be more or less happy. Here is a
copy of the script I used. It was a fairly quick rush job so there
are probably issues with it but it worked for me.
#!/bin/bash
#--------------------------------------------------------------
# Try to determine type of file being compiled and then
# launch cc for C sources or CC for C++.
#
args=$@
is_C=
for arg in $args; do
# is the arg a file that exists?
if [ -e $arg ]; then
# does it end in ".c"?
if [ "${arg:${#arg}-2}" == ".c" ]; then
is_C=yes
fi
fi
done
# if the flag wasn't set then assume C++ and execute CC,
# otherwise execute cc.
if [ -z $is_C ]; then
exec CC -w $@
else
exec cc -w $@
fi
#--------------------------------------------------------------
I called it pycc, put it in ${prefix}/bin and set its execute
permission bit.
The next step is to configure and build Python such that it uses pycc
as it's compiler. You can do that by setting CC in your environment
before running configure, like this in bash:
export CC=pycc
configure
After making and installing Python with this configuration you should
be able to build wxPython as described in the steps above.
-----------------
robin@alldunn.com

View File

@@ -1,303 +0,0 @@
Building wxPython on Win32
--------------------------
Building wxPython for use on win32 systems is a fairly simple process
consisting of just a few steps. However depending on where you get
your sources from and what your desired end result is, there are
several permutations of those steps. At a high level the basic steps
are:
1. Get the sources
2. Build the wxWindows DLL
3. Build and Install wxPython
We'll go into more detail of each of these steps below, but first a
few bits of background information on tools.
I use a tool called SWIG (http://www.swig.org) to help generate the
C++ sources used in the wxPython extension module. However you don't
need to have SWIG unless you want to modify the *.i files. I've made
several modifications to SWIG specific to wxPython's needs and so the
modified sources are included in the wx CVS at.../wxPython/wxSWIG.
But because of the size and since most people won't need it my SWIG is
not included in the wxPythonSrc tarball. You'll need to get it from
CVS or a CVS snapshot.
If you need to modify the *.i files for wxPython then change to this
directory and run:
nmake -f makefile.vc
Then you'll need to change a flag in the setup.py script as described
below so the wxPython build process will use SWIG if needed.
I use the new Python Distutils tool to build wxPython. It is included
with Python 2.0, but if you want to use Python 1.5.2 or 1.6 then
you'll need to download and install Distutils 1.0 from
http://www.python.org/sigs/distutils-sig/
I use Microsoft Visual C++ 6.0 (5.0 with the service packs should work
also) to compile the wxPython C++ sources. Since I am using Distutils
it should be easier now to build with other win32 compilers such as
the free mingw32 or Borland compilers, but I havn't tried them yet.
If anybody wants to try it I'll take any required patches for the
setup script and for these instructions.
UNICODE
-------
To build the version of wxWindows/wxPython that uses the unicode
version of the Win32 APIs, just follow the steps below with these
changes:
a. You'll need the MSLU runtime DLL and import lib. The former can
be downloaded from Microsoft, the latter is part of the latest
Platform SDK from Microsoft (see msdn.microsoft.com for
details). An alternative implementation of import lib can be
downloaded from http://libunicows.sourceforge.net
b. Add "UNICODE=1 MSLU=1" to the nmake command line when building
wxWindows.
c. Add "UNICODE=1" to the setup.py commandline when building
wxPython.
d. See the notes in CHANGES.txt about unicode.
And now on to the fun stuff...
1. Get the sources
------------------
A. You can either use a tarball with the released version of the
source code for wxWindows/wxPython, or you can get current
development sources from the CVS repository. (Some information
about annonymous CVS access is at the http://wxwindows.org/cvs.htm
site.) The advantage of using CVS is that you can easily update as
soon as the developers check in new sources or fixes. The
advantage of using a released version is that it usually has had
more thorough testing done. You can decide which method is best
for you. The released version file is named
wxPythonSrc-[version].tar.gz and is available from the wxPython
website at http://wxpython.org/download.php. You can use WinZip to
unpack it if you don't have tar and gzip.
B. Once you get the sources be sure to put them in a path without a
space in it (i.e., NOT c:\Program Files\wx) and set an environment
variable named WXWIN to the top level directory. For example:
set WXWIN=c:\wx\wxPythonSrc-2.4.0.4
You'll probably want to add that line to your autoexec.bat or
System Properties depending on the type of system you are on.
C. Change to the %WXWIN%\include\wx\msw directory and copy setup0.h to
setup.h and then edit setup.h. This is how you control which parts
of wxWindows are compiled into or left out of the build, simply by
turning options on or off. I have the following differences from
the default setup0.h in my setup.h, but you can experiment with
other settings if you like:
WXWIN_COMPATIBILITY_2_2 0
wxDIALOG_UNIT_COMPATIBILITY 0
wxUSE_DEBUG_CONTEXT 1
wxUSE_MEMORY_TRACING 1
wxUSE_CMDLINE_PARSER 0
wxUSE_FSVOLUME 0
wxUSE_DIALUP_MANAGER 0
wxUSE_DYNAMIC_LOADER 0
wxUSE_TREELAYOUT 0
wxUSE_MS_HTML_HELP 0
wxUSE_POSTSCRIPT 1
** NEW **
Be sure that wxUSE_GLCANVAS is defined to be 0 as wxPython now
keeps its own copy of the glcanvas sources and expects that it is
not in the main library. This is done to reduce the number of
dependant DLLs on the core library and therefore help reduce
startup time.
2. Build the wxWindows DLL
---------------------------
A. Although MSVC project files are provided I always use the makefiles
to build wxWindows because by default the flags are compatible with
Python, (and I make sure they stay that way.) You would have to
edit the project files a bit to make it work otherwise.
B. There are three different types of wxWindows DLLs that can be
produced by the VC makefile simply by providing a flag on the nmake
command-line, I call the three types DEBUG, FINAL, and HYBRID.
Here are some more details:
DEBUG Specified with "FINAL=0" and produces a DLL named
wxmsw[version]d.dll. This DLL is compiled with full
debugging information and with the __WXDEBUG__ macro set,
which enables some debugging-only code in wxWindows such
as assertions and failure log messages. The /MDd flag is
used which means that it is linked with the debugging
version of the C runtime library and also that you must
use the debugging version of Python, (python_d.exe and
pythonXX_d.dll) which also means that all extensions
loaded by Python should also have the _d in the name.
With this option you can use the MSVC debugger to trace
though the Python interpreter, as well as the code for the
wxPython extension and the wxWindows DLL.
FINAL Specified with "FINAL=1" and produces a DLL named
wxmsw[version].dll. This DLL is compiled with optimizations
turned on and without debugging information and without
__WXDEBUG__. The /MD flag is used which means that you
can use this version with the standard python.exe.
HYBRID Specified with "FINAL=hybrid" and produces a DLL named
wxmsw[version]h.dll. This DLL is almost the same as the
FINAL version except the __WXDEBUG__ is used which means
that you will get extra runtime assertions and validations
from wxWindows. If any of these fail then they are turned
into a Python exception that you can catch and deal with
in your code. This is the version that I use when making
the binary installer for win32.
Since different DLL names and object file directories are used you
can build all three types if you like.
C. Change to the %WXWIN%\src\msw directory and type the following command,
using the value for FINAL that you want:
nmake -f makefile.vc dll FINAL=hybrid
Your machine will then crunch away for possibly a long time,
depending on your hardware, and when it's done you should have a
DLL and some library files in %WXWIN%\lib.
D. You'll either need to add %WXWIN%\lib to the PATH or copy the DLL
file to a directory already on the PATH so the DLL can be found at
runtime. Another option is to copy the DLL to the directory that
the wxPython pacakge is installed to, for example,
c:\Python22\lib\site-packages\wxPython.
E. You can test your build by changing to one of the directories under
%WXWIN%\samples or %WXWIN\demos and typing (using the right FINAL flag):
nmake -f makefile.vc FINAL=hybrid WXUSINGDLL=1
and then executing the resulting .exe file.
3. Build and Install wxPython
-----------------------------
A. As mentioned previouslly, wxPython is built with the standard
Python Distutils tool. If you are using Python 2.0 or later you
are all set, otherwise you need to download and install Distutils
1.0 from http://www.python.org/sigs/distutils-sig/.
B. Change to the root wxPython directory and look at the setup.py
file. This is the script that configures and defines all the
information that Distutils needs to build wxPython. There are some
options near the begining of the script that you may want or need
to change based on what options you have selected up to this point,
(type of DLL built, sources from tar.gz or from CVS, etc.) You can
either change these flags directly in setup.py or supply them on
the command-line.
BUILD_GLCANVAS Set to zero if you don't want to build the
Open GL canvas extension module.
BUILD_OGL Set to zero if you don't want to build the
Object Graphics Library extension module.
BUILD_STC Set to zero if you don't want to build the
wxStyledTextCtrl (the Scintilla wrapper)
extension module.
USE_SWIG If you have edited any of the *.i files you
will need to set this flag to non-zero so SWIG
will be executed to regenerate the wrapper C++
and shadow python files.
etc.
C. To build and install wxPython you simply need to execute the
setup.py script. If you have more than one version of Python
installed, be sure to execute setup.py with the version you want to
build wxPython for.
Depending on what kind of wxWindows DLL you built there are
different command-line parameters you'll want to pass to setup (in
addition to possibly one or more of the above):
FINAL: python setup.py install
DEBUG: python setup.py build --debug install
HYBRID: python setup.py HYBRID=1 install
NOTE: If you get an internal compiler error from MSVC then you
need to edit setup.py and add in the /GX- flag that is normally
commented out. Just search for "GX-" and uncomment it so it is put
into the cflags list.
If you would like to install to someplace besides the Python
site-packages directory (such as to your home directory) then you
can add "--root=<path>" after the "install" command. To use
wxPython like this you'll need to ensure that the directory
containing wxPyrthon is contained in in the PYTHONPATH environment
variable.
D. At this point you should be able to change into the wxPython\demo
directory and run the demo:
python demo.py
E. If you would like to make a test build that doesn't overwrite the
installed version of wxPython you can do so with one of these
commands instead of the install command above:
FINAL: python setup.py build_ext --inplace
DEBUG: python setup.py build_ext --debug --inplace
HYBRID: python setup.py HYBRID=1 build_ext --inplace
This will build the wxPython package in the local wxPython
directory instead of installing it under your Python installation.
To run using this test version just add the base wxPython source
directory to the PYTHONPATH:
set PYTHONPATH=%WXDIR%\wxPython
cd %WXDIR%\wxPython\demo
python demo.py
That's all folks!
-----------------
robin@alldunn.com

File diff suppressed because it is too large Load Diff

View File

@@ -1,205 +0,0 @@
include *.txt
include my_distutils.py
## include my_install_data.py
include licence/*.txt
include b
include b.bat
include MANIFEST.in
include SWIG/*
exclude SWIG/CVS/*
include demo/*.py
include demo/*.wdr
include demo/*.txt
include demo/*.xml
include demo/*.ico
include demo/bitmaps/*.bmp
include demo/bitmaps/*.ico
include demo/bitmaps/*.gif
include demo/bitmaps/*.png
include demo/bitmaps/*.jpg
include demo/bmp_source/*.bmp
include demo/bmp_source/*.ico
include demo/bmp_source/*.gif
include demo/bmp_source/*.png
include demo/bmp_source/*.jpg
include demo/data/*.png
include demo/data/*.htm
include demo/data/*.html
include demo/data/*.bmp
include demo/data/*.txt
include demo/data/*.i
include demo/data/*.h
include demo/data/*.py
include demo/data/*.wav
include demo/data/*.wdr
include demo/data/*.xrc
include demo/dllwidget/Makefile
include demo/dllwidget/makefile.*
include demo/dllwidget/*.cpp
include demo/dllwidget/*.py
include samples/doodle/*.txt
include samples/doodle/*.py
include samples/doodle/*.iss
include samples/doodle/sample.ddl
include samples/wxProject/*.txt
include samples/wxProject/*.py
include samples/StyleEditor/*.py
include samples/StyleEditor/*.txt
include samples/StyleEditor/*.cfg
include samples/pySketch/*.py
include samples/pySketch/images/*.bmp
include samples/frogedit/*.py
include samples/embedded/*.py
include samples/embedded/*.cpp
include samples/embedded/*.txt
include samples/embedded/*.vc
include samples/embedded/*.unx
include samples/embedded/*.ico
include samples/embedded/*.xpm
include wxPython/lib/*.py
include wxPython/lib/*.txt
include wxPython/lib/*.wdr
include wxPython/lib/editor/*.py
include wxPython/lib/editor/*.txt
include wxPython/lib/mixins/*.py
include wxPython/lib/PyCrust/*.py
include wxPython/lib/PyCrust/*.txt
include wxPython/lib/PyCrust/*.ico
exclude wxPython/*
exclude tests
include src/*.i
include src/*.py
include src/*.cpp
include src/*.c
include src/*.h
include src/*.ico
include src/*.rc
include src/wxc.pyd.manifest
include src/msw/*.cpp
include src/msw/*.h
include src/msw/*.py
include src/gtk/*.cpp
include src/gtk/*.h
include src/gtk/*.py
include src/mac/*.cpp
include src/mac/*.h
include src/mac/*.py
include wxPython/tools/*.py
include wxPython/tools/XRCed/CHANGES
include wxPython/tools/XRCed/TODO
include wxPython/tools/XRCed/README
include wxPython/tools/XRCed/*.py
include wxPython/tools/XRCed/*.xrc
include wxPython/tools/XRCed/*.ico
include wxPython/tools/XRCed/*.sh
include scripts/*
include contrib/glcanvas/*.i
include contrib/glcanvas/*.py
include contrib/glcanvas/*.cpp
include contrib/glcanvas/*.c
include contrib/glcanvas/*.h
include contrib/glcanvas/msw/*.cpp
include contrib/glcanvas/msw/*.h
include contrib/glcanvas/msw/*.py
include contrib/glcanvas/gtk/*.cpp
include contrib/glcanvas/gtk/*.h
include contrib/glcanvas/gtk/*.py
include contrib/glcanvas/mac/*.cpp
include contrib/glcanvas/mac/*.h
include contrib/glcanvas/mac/*.py
include contrib/ogl/*.txt
include contrib/ogl/*.i
include contrib/ogl/*.py
include contrib/ogl/*.cpp
include contrib/ogl/*.c
include contrib/ogl/*.h
include contrib/ogl/contrib/include/wx/ogl/*.h
include contrib/ogl/contrib/src/ogl/*.cpp
include contrib/stc/*.txt
include contrib/stc/*.i
include contrib/stc/*.py
include contrib/stc/*.cpp
include contrib/stc/*.c
include contrib/stc/msw/*.h
include contrib/stc/msw/*.cpp
include contrib/stc/msw/*.py
include contrib/stc/gtk/*.h
include contrib/stc/gtk/*.cpp
include contrib/stc/gtk/*.py
include contrib/stc/mac/*.h
include contrib/stc/mac/*.cpp
include contrib/stc/mac/*.py
include contrib/stc/contrib/include/wx/stc/*.h
include contrib/stc/contrib/src/stc/*.h
include contrib/stc/contrib/src/stc/*.cpp
include contrib/stc/contrib/src/stc/*.txt
include contrib/stc/contrib/src/stc/*.py
include contrib/stc/contrib/src/stc/stc.*.in
include contrib/stc/contrib/src/stc/scintilla/include/*.h
include contrib/stc/contrib/src/stc/scintilla/include/*.iface
include contrib/stc/contrib/src/stc/scintilla/src/*.h
include contrib/stc/contrib/src/stc/scintilla/src/*.cxx
include contrib/stc/contrib/src/stc/scintilla/*.txt
include contrib/xrc/*.txt
include contrib/xrc/*.i
include contrib/xrc/*.py
include contrib/xrc/*.cpp
include contrib/xrc/*.c
include contrib/xrc/*.h
include contrib/xrc/contrib/include/wx/xrc/*.h
include contrib/xrc/contrib/src/xrc/*.cpp
include contrib/xrc/contrib/src/xrc/*.txt
include contrib/xrc/contrib/src/xrc/README.EXPAT
include contrib/xrc/contrib/src/xrc/expat/*.txt
include contrib/xrc/contrib/src/xrc/expat/xmlparse/*.c
include contrib/xrc/contrib/src/xrc/expat/xmlparse/*.h
include contrib/xrc/contrib/src/xrc/expat/xmltok/*.c
include contrib/xrc/contrib/src/xrc/expat/xmltok/*.h
include contrib/gizmos/*.txt
include contrib/gizmos/*.i
include contrib/gizmos/*.py
include contrib/gizmos/*.cpp
include contrib/gizmos/*.c
include contrib/gizmos/*.h
include contrib/gizmos/contrib/include/wx/gizmos/*.h
include contrib/gizmos/contrib/src/gizmos/*.cpp
include contrib/gizmos/contrib/src/gizmos/*.xpm
include contrib/gizmos/contrib/src/gizmos/*.txt
include contrib/iewin/*.txt
include contrib/iewin/*.i
include contrib/iewin/*.py
include contrib/iewin/*.cpp
include contrib/iewin/*.c
include contrib/iewin/*.h
include contrib/dllwidget/*.txt
include contrib/dllwidget/*.i
include contrib/dllwidget/*.py
include contrib/dllwidget/*.cpp
include contrib/dllwidget/*.c
include contrib/dllwidget/*.h
include demo/dllwidget/*.h
include demo/dllwidget/*.cpp
include demo/dllwidget/*.py
include demo/dllwidget/Makefile
include demo/dllwidget/makefile.*

View File

@@ -1,70 +0,0 @@
wxPython README
---------------
Welcome to the wonderful world of wxPython!
So where do you go from here? The best thing to do is to run the demo
and use its source code to help you learn how to use wxPython. Most
of the classes available are demonstrated there, and you can view the
sources directly in the demo so it is designed to help you learn. If
you are on Windows or OS X then you can run the demo just by double
clicking it's icon. If you are on Linux/Unix then change to the
directory containing the demo and type:
python demo.py
There are also some sample mini applications available for you to run
and to play with as a learning exercise.
The next thing you should do is join the wxPython-users maillist where
you can interact with a community of other users and developers who
are willing to help you learn, answer questions and solve problems.
To join the mail list just send an email message to the following
address from the account you want to receive the mail messages from
the list:
wxPython-users-subscribe@lists.wxwindows.org
There is also a good set of class reference documentation available
for wxPython, but currently it is geared for the C++ user. This may
be a little daunting at first, but with a little practice you'll
easily be able to "translate" from the C++ shown there to Python. Not
all classes documented are available in Python, but most of the GUI
related classes are.
Other Info
----------
Please also see the following files in this directory:
CHANGES.txt Information about new features, fixes,
etc. in each release.
../README.1st.txt Instructions for building wxGTK and
wxPython on Unix-like platforms the
"new way."
BUILD.unix.txt Instructions for building wxPython on
various Unix-like platforms the "old way."
BUILD.win32.txt Instructions for building wxPython on Windows.
BUILD.osx.txt Instructions for building wxPython on Mac OS X.
licence/* Text of the wxWindows license.
-----------------
Robin Dunn
robin@alldunn.com

View File

@@ -1,123 +0,0 @@
#!/bin/sh
function getpyver {
if [ "$1" = "15" ]; then
PYVER=1.5
elif [ "$1" = "20" ]; then
PYVER=2.0
elif [ "$1" = "21" ]; then
PYVER=2.1
elif [ "$1" = "22" ]; then
PYVER=2.2
elif [ "$1" = "23" ]; then
PYVER=2.3
else
echo You must specify Python version as first parameter.
exit
fi
}
getpyver $1
shift
python$PYVER -c "import sys;print '\n', sys.version, '\n'"
SETUP="python$PYVER -u setup.py"
FLAGS="USE_SWIG=1 IN_CVS_TREE=1" # BUILD_GLCANVAS=0"
OTHERFLAGS=""
# "c" --> clean
if [ "$1" = "c" ]; then
shift
CMD="$SETUP $FLAGS $OTHERFLAGS clean $*"
OTHERCMD="rm -f wxPython/*.so"
# "d" --> clean extension modules only
elif [ "$1" = "d" ]; then
shift
CMD="rm -f wxPython/*.so"
# "t" --> touch *.i files
elif [ "$1" = "t" ]; then
shift
#CMD="set CMD=touch src\*.i; touch contrib\glcanvas\*.i; touch contrib\ogl\*.i; touch contrib\stc\*.i"
CMD='find . -name "*.i" | xargs touch'
# "i" --> install
elif [ "$1" = "i" ]; then
shift
CMD="$SETUP $FLAGS $OTHERFLAGS build_ext install $*"
# "s" --> source dist
elif [ "$1" = "s" ]; then
shift
CMD="$SETUP $OTHERFLAGS sdist $*"
# "r" --> rpm dist
elif [ "$1" = "r" ]; then
WXPYVER=`python$PYVER -c "import setup;print setup.VERSION"`
for VER in 21 22; do
getpyver $VER
echo "*****************************************************************"
echo "******* Building wxPython for Python $PYVER"
echo "*****************************************************************"
SETUP="python$PYVER -u setup.py"
# save the original
cp setup.py setup.py.save
# fix up setup.py the way we want...
sed "s/BUILD_GLCANVAS = /BUILD_GLCANVAS = 0 #/" < setup.py.save > setup.py.temp
sed "s/GL_ONLY = /GL_ONLY = 1 #/" < setup.py.temp > setup.py
# build wxPython-gl RPM
$SETUP $OTHERFLAGS bdist_rpm --binary-only --doc-files README.txt --python=python$PYVER
### --requires=python$PYVER
rm dist/wxPython-gl*.tar.gz
# Build wxPython RPM
cp setup.py setup.py.temp
sed "s/GL_ONLY = /GL_ONLY = 0 #/" < setup.py.temp > setup.py
$SETUP $OTHERFLAGS bdist_rpm --binary-only --python=python$PYVER
### --requires=python$PYVER
# put the oringal setup.py back
cp setup.py.save setup.py
rm setup.py.*
# rename the binary RPM's
mv dist/wxPython-$WXPYVER-1.i386.rpm dist/wxPython-$WXPYVER-1-Py$VER.i386.rpm
mv dist/wxPython-gl-$WXPYVER-1.i386.rpm dist/wxPython-gl-$WXPYVER-1-Py$VER.i386.rpm
done
# rebuild the source dists without the munched up setup.py
$SETUP $OTHERFLAGS bdist_rpm --source-only
exit 0
# "f" --> FINAL (no debug)
elif [ "$1" = "f" ]; then
shift
CMD="$SETUP $FLAGS $OTHERFLAGS build_ext --inplace $*"
# (no command arg) --> normal build for development
else
CMD="$SETUP $FLAGS $OTHERFLAGS build_ext --inplace --debug $*"
fi
echo $CMD
eval $CMD
if [ "$OTHERCMD" != "" ]; then
echo $OTHERCMD
$OTHERCMD
fi

Some files were not shown because too many files have changed in this diff Show More