Compare commits

..

1500 Commits

Author SHA1 Message Date
Bryan Petty
0d8a8bf477 This commit was manufactured by cvs2svn to create tag 'WX_2_3_2'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/WX_2_3_2@12987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 18:53:22 +00:00
Vadim Zeitlin
2bcdcf7e2a some wxUniv docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 18:53:22 +00:00
Vadim Zeitlin
84a32a7796 fixes for wxBase dist and install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 18:39:59 +00:00
Vadim Zeitlin
22b41d3e01 some basic docs for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 17:52:51 +00:00
Robin Dunn
00360d4699 SWIGged code update for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 17:04:08 +00:00
Vadim Zeitlin
d1cd84e787 added FM and wx-announce to the last section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 14:32:28 +00:00
Ron Lee
edc8bd8df3 preemptive fix for wxPython compilation. It will break otherwise when
the Serialise stuff goes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 06:40:48 +00:00
Robin Dunn
f221f8eb3a Oops... Committed wrong version last time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 06:13:55 +00:00
Robin Dunn
2ba9346d84 Another distrib fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 06:02:26 +00:00
Robin Dunn
a6139dacac More distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 04:55:09 +00:00
Vadim Zeitlin
6b5691cb91 added a note about preparing a wxGTK release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-11 01:11:54 +00:00
Vadim Zeitlin
dc7c324430 wxBase compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 23:24:53 +00:00
Robin Dunn
af7e29cc47 PyCrust updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 22:45:02 +00:00
Robin Dunn
4309b812ef More demo/distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 22:44:38 +00:00
Julian Smart
cbb26e3f6d Reversed crazy wxKEY_STRING/INTEGER thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 21:33:30 +00:00
Robin Dunn
0655d12d67 I have no idea if this is right or works, but I'm adding a manifest to
wxPython's resource file for WinXP...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 21:23:36 +00:00
Robin Dunn
52ad59c2e9 Some demo cleanup and distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 21:20:48 +00:00
Vadim Zeitlin
daa2c7d950 enabled all tests for the release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 15:30:29 +00:00
Robert Roebling
f6eaeda1b0 Small optical fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 11:55:16 +00:00
Julian Smart
ba5ac173ea Updated readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 11:47:58 +00:00
Julian Smart
5d0000b5b5 Event typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 11:39:06 +00:00
Robert Roebling
2593f03384 Changed wxTreeCtrl to look Mac-like under Mac
automatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 11:21:28 +00:00
Ron Lee
abfc2b1d5a added deps for .t files so make works correctly when you edit them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 01:50:09 +00:00
Robert Roebling
dd5a32cc2d Changed semantics of clicking beside the text control
when editing a label. This now accepts the input.
 My attempt to make the focus return to the owning
   tree and list control window failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 21:15:56 +00:00
Václav Slavík
0cbc52f38e clean is symbolic target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 15:38:45 +00:00
Václav Slavík
0a4f1bbf6d fixed zlib watcom makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 15:38:38 +00:00
Václav Slavík
f17fb29767 added wxMGL+DOS+Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 15:38:31 +00:00
Václav Slavík
e04487ebe8 more MSDOS fixes (config file location)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 15:37:51 +00:00
Vadim Zeitlin
607d9cfc56 oops, a typo in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 14:38:23 +00:00
Vadim Zeitlin
59a2e6354d ItemHasChildren() should return TRUE for the items which have plus button as they could have children even if they currently don't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 14:35:54 +00:00
George Tasker
abbacd903e utils/framelayout has been much enhanced, and can now be found in contrib/src/fl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 13:58:06 +00:00
Vadim Zeitlin
ae0d8c1445 fix for the crash when many listctrl items change state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 13:35:48 +00:00
Vadim Zeitlin
68c7f44cf6 added a note about Windows XP support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 12:56:28 +00:00
Vadim Zeitlin
7a25a27c35 fix for my old and broken mingw32 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 12:56:03 +00:00
Julian Smart
92209a3966 Define SF_UNICODE if undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 10:41:07 +00:00
Stefan Csomor
63efc55ff7 added changes in order to make at least button events work on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 07:41:10 +00:00
Václav Slavík
000307d7a8 compilation fix for Watcom (sorry, Vadim, there's some bug in Watcom C++, it doesn't compile this instance of valid C++ code, producing an obviously incorrect error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 02:21:30 +00:00
Václav Slavík
b43a988613 wxMGL Watcom compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 02:21:20 +00:00
Vadim Zeitlin
af01f1ba0d fixed bug with the caret positioning after SetValue() introduced by the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 01:39:54 +00:00
Ron Lee
0627d0917b fix bogus VC 'for' scoping.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 01:36:33 +00:00
Vadim Zeitlin
a92b0cfd2b no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 01:29:11 +00:00
Vadim Zeitlin
aac7e7fe7b fixed displaying text in non default charset in the richedit control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:47:29 +00:00
Vadim Zeitlin
c6465c961b suppress compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:46:43 +00:00
Vadim Zeitlin
b1d66b5415 added wxEncodingToCodepage() and implemented it properly (using in32 API instead of directly reading from the registry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:46:15 +00:00
Vadim Zeitlin
fcf689db0d refresh the window when the size changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:45:22 +00:00
Václav Slavík
810aa7fc7f fixes for setup.h handling in Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:28:29 +00:00
Václav Slavík
3602a62e83 Watcom docs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:28:20 +00:00
Václav Slavík
2796d5dae5 build zlib in WIN32, not MSDOS mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:26:34 +00:00
Václav Slavík
00811ff918 compilation fix for Watcom C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:26:22 +00:00
Václav Slavík
0729bd19f1 reverted SciTech sabotage of Watcom compilation (invalid definition of PNG,TIFF LINKAGEMODE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:25:56 +00:00
Václav Slavík
f725b2a4ec moved HAVE_BOOLEAN logic specific to wxWindows outside libjpeg headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:25:45 +00:00
Václav Slavík
cb69afe081 compilation fix for Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:25:35 +00:00
Vadim Zeitlin
d4597e138e fixed bugs with setting the client size when the difference between the total and client size changes as the result (e.g. because the scrollbars [dis]appear or the menu bar [un]wraps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 23:13:27 +00:00
Mattia Barbon
8810d43125 Applied #486410
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 22:22:00 +00:00
Vadim Zeitlin
99d1b93d89 1. don't emulate OFN_OVERWRITEPROMPT, use the real thing
2. squeeze duplicate (back)slashes from the initial dir, othewise the
   common dialog doesn't work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 20:03:07 +00:00
Julian Smart
a40a9c813f Some updates to the MSW install text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 19:49:37 +00:00
Julian Smart
53fdeb16a8 Removed --use-temp-file removed from makeg95.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 19:20:38 +00:00
Julian Smart
25ad2ac2fe Corrected CVS commit clash; small doc changes (removed Windows 3.1 reference since
it's probably broken by now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 18:14:57 +00:00
Robin Dunn
51dc95a4c8 Added clipboard cut and paste
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 18:04:27 +00:00
Vadim Zeitlin
08df3e4420 initialize m_hasXXX in wxWindowBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 14:03:33 +00:00
Stefan Csomor
5bc0790f29 corrected constness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 08:00:39 +00:00
Robin Dunn
4a98c806e5 Added comment about an untested code path...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 01:25:30 +00:00
Robin Dunn
78b57918f8 Nasty workaround for an incompatible low-level change in Python 2.2,
but it was undocumented before 2.2 so I guess that's what I get...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 01:15:15 +00:00
Robin Dunn
ff5f1abaf0 also turn off build of gizmos and dllwidget if CORE_ONLY==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 01:14:04 +00:00
Vadim Zeitlin
23895080c2 fixes for handling WM_SYSCOLORCHANGE - now seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:30 +00:00
Václav Slavík
b32a1ead44 added wxMGL_DOS platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:25 +00:00
Václav Slavík
a246f95e96 - added precompiled headers code
- more Watcom+DOS+MGL fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:26:05 +00:00
Václav Slavík
f043bf8d19 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-08 00:25:52 +00:00
Robert Roebling
ed2e7e59a9 Made Aqua style internal in wxSplitterWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 23:28:03 +00:00
Robert Roebling
712969258a Removed Aqua style from docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 23:27:10 +00:00
Václav Slavík
a20275148b compilation fix for Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:51:08 +00:00
Václav Slavík
b13f5fbf29 DOS compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:47:17 +00:00
Václav Slavík
4894ae18fc fixes for wxUSE_MIMETYPE==0 and fixes for compilation of generic wxFiledialog under DOS/Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:47:09 +00:00
Václav Slavík
17386f5322 the sample should really really show treectrl's native/default look
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:46:47 +00:00
Václav Slavík
e76520fdf8 fixed rendering of expanded nodes with exactly one child
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:44:02 +00:00
Václav Slavík
3678697093 compilation fix for Watcom/DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:42:04 +00:00
Václav Slavík
c5124240c4 watcom fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:41:25 +00:00
Václav Slavík
625e74a703 compilation fix for Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:40:47 +00:00
Václav Slavík
c35c7d01d4 compilation fix for wxULongLongWx::Divide (Vadim, is this correct?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:40:17 +00:00
Václav Slavík
4d97d44e14 (temporary) hotfix for Watcom/DOS and PNGLINKAGEMODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:39:59 +00:00
Václav Slavík
659a606421 wxFileSystem w/o wxUSE_MIMETYPE fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:39:35 +00:00
Václav Slavík
d9f54bb0c7 MS-DOS fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 22:39:22 +00:00
Gilles Depeyrot
84e89e2aac use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 20:18:55 +00:00
Robin Dunn
950e7faf4a Added wxLEDNumberCtrl to gizmos and wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 18:45:16 +00:00
Julian Smart
91bdd96210 Small corrections -- please remember to put a blank line at the end of each input file. Thank you
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 16:57:05 +00:00
Vadim Zeitlin
75421bf116 show font encoding as well; use a splitter to allow resizing the windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 15:24:00 +00:00
Vadim Zeitlin
3a989c8afe propose to the user to use the replacement encoding if one was found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 15:23:11 +00:00
Stefan Csomor
b03e4fcd11 added method for getting the help menu on classic and carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 05:35:57 +00:00
Stefan Csomor
56a38bbe87 added method for getting the help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 05:30:00 +00:00
Robin Dunn
ff65119eb2 Changed a method name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 04:32:43 +00:00
Vadim Zeitlin
4d416b5f21 fixed wxConfig memory leak in wxFontMapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 00:09:50 +00:00
Vadim Zeitlin
5acc0d5f32 don't crash in wxGetWindowXXX() if HWND is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 00:08:02 +00:00
Robin Dunn
be050baf48 dllwidget demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:27:40 +00:00
Robin Dunn
39679a3c2f .cvsignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:19:03 +00:00
Robin Dunn
462f07cac2 Added some event handlers to show they work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:01:20 +00:00
Robin Dunn
df7c5d28a3 Don't send the button event in idle time, just release the mouse first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:00:27 +00:00
Robin Dunn
4a61305d36 Added wxDllWidget from Vaclav Slavik which allows wx widgets derived
from wxWindow to be loaded from a C++ .dll (or .so) and be used in a
wxPython program, without the widget having to be SWIGged first.

Various updates for distribs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 19:59:37 +00:00
Robert Roebling
d30f093006 Added wxSP_SASH_AQUA style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 17:01:00 +00:00
Ron Lee
c8499e53d8 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 22:15:41 +00:00
Gilles Depeyrot
8cf3806b82 use wxWindow instead of wxTopLevelWindow (not yet implemented for wxMOTIF)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 21:05:23 +00:00
Stefan Csomor
3363eadf72 changed DoMoveWindow not to change the height of the spinbutton on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 20:39:32 +00:00
Stefan Csomor
0f092804a2 changed default size, because MacOS X was using the boundaries differently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 20:38:05 +00:00
Václav Slavík
f48fa475c2 DOS+Watcom fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:33 +00:00
Václav Slavík
d2ce649bec compilation fixes (I wonder how did you people ever compile it...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:17 +00:00
Václav Slavík
b7f411dd9b compilation fixes for Watcom+MGL+MS-DOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 17:03:05 +00:00
Robin Dunn
7f60145d85 wxRemotelyScrolledTreeCtrl draws its own lines if wxTR_ROW_LINES flag
is used, but prevents the base class from seeing the flag so they
won't be drawn twice with possibly different colours.

Also changed all tabs to spaces, so the diffs will show a lot of
whitespace-only changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 16:17:17 +00:00
Julian Smart
8f3fc6b415 Added univ.rsp and included files in wxMSW distrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 13:30:34 +00:00
Jouk Jansen
508e0acbd9 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/gtk/descrip.mms

 Update of OpenVMS compile support

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 11:02:02 +00:00
Václav Slavík
c427acc8d5 MS-DOS fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 23:45:16 +00:00
Václav Slavík
863210791a 1. Who the hell wrote that idiotencode for choosing drive letter on OS/2 ????
Nuked! ...and replaced that 26 items switch statement with one wxString::Printf call.
2. Compilation fixes for Watcom+MGL+MS-DOS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 23:44:38 +00:00
Václav Slavík
c7aaa64f26 compilation fix - wxCoord, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 23:44:12 +00:00
Václav Slavík
6198749900 watcom headers don't define M_PI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 23:43:49 +00:00
Robert Roebling
ac6bdf4056 Aqua splitter sashes.
Even bigger notebook for Aqua.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 21:08:50 +00:00
Stefan Csomor
9c641c057c changed defaultitem method from belonging to a panel to any window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 20:08:29 +00:00
Mattia Barbon
ea64fd024a Updated docs for wxTaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 19:41:53 +00:00
Mattia Barbon
ee88cb3417 Fix for very old w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 19:40:28 +00:00
Robert Roebling
c768ded54a Still more space around notebook pages...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 17:44:52 +00:00
Vadim Zeitlin
dd964dccf7 wxUSE_TIPWINDOW may be set even if wxUSE_POPUPWIN is unset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 17:37:23 +00:00
Robert Roebling
eaf336e02a Notebook sizers didn't take any borders into account,
esc. not those large ones under Aqua which caused
ugly overlapping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 17:22:05 +00:00
Stefan Csomor
eddd3a9d37 changed the button container from wxPanel to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 16:48:26 +00:00
Robert Roebling
e8566d3538 Compile fix for app.cpp without precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 16:37:35 +00:00
Vadim Zeitlin
ae4d7004d3 fixed compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 16:29:43 +00:00
Stefan Csomor
e562df9b4b added default return and escape/command-period handling for dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 16:22:36 +00:00
Robert Roebling
a385b5dfa8 Temporary fix for wxFileName under Mac - ignore volumes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 15:52:14 +00:00
Vadim Zeitlin
f7d886af3a added wxFileName::MakeRelativeTo() and the tests/docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 15:13:56 +00:00
Julian Smart
c942560f94 Tried to fix makefile.g95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 14:52:33 +00:00
Vadim Zeitlin
d90b2df89d compilation fix for HAVE_SETENV
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 14:14:32 +00:00
Stefan Csomor
dd2b41b6e9 MacOS X was having a coordinate rollover for a rectangle when painting the pane background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 14:02:59 +00:00
Julian Smart
269c86d089 Ifdefed out code that wouldn't compile with Mingw32 2.95.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 12:13:31 +00:00
Ron Lee
a22eb2f5c3 (Blind) fix for BCC compile glitch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 10:40:35 +00:00
Julian Smart
a20c8355d3 Only paint lines in MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 08:08:21 +00:00
Ron Lee
ea1e6c4be4 fix for wxDynamicCast making it safe to pass factory functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 04:21:09 +00:00
Vadim Zeitlin
f736ec7623 fixed assert failure when removing a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 01:29:21 +00:00
Vadim Zeitlin
81f256328c fixed Assign(fullpath, fullname)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 01:14:09 +00:00
Robert Roebling
a8e6bf8ae2 The code in wxMac's listbox was too ambitious in filtering
out surplus events.s


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 00:55:45 +00:00
Robert Roebling
ed8c278040 Make wxMac single line text control ignore ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 23:25:28 +00:00
Robin Dunn
14b3f932dd wxRemotelyScrolledTreeCtrl now draws its own lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 21:37:22 +00:00
Robert Roebling
2bc6041712 Replaced && with $ in bittest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 21:29:54 +00:00
Robin Dunn
07c99b2608 wxRemotelyScrolledTreeCtrl now draws its own lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 21:29:50 +00:00
Robin Dunn
74bcba0e33 More fixes and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:58:19 +00:00
Julian Smart
a18b162dc1 Moved line-drawing to splittree implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:52:06 +00:00
Robin Dunn
78e8819c2e Added SplitTree sample to the demo
Fixes for wxEditor and its FrogEdit sample

Misc. other stuff


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 20:41:03 +00:00
Vadim Zeitlin
9bbe7068c4 fixed bug in AssignDir() which didn't always consider the argument as directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 18:28:07 +00:00
Robin Dunn
1dc302a8ae Removed m_clientData and related methods as it's now handled by the
wxClientDataContainer mixin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 18:17:43 +00:00
George Tasker
bb064193a7 Removed a call to Upper() on the table name when building an UPDATE statement. Patch #488365 submitted by Christophe Massaloux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 14:52:29 +00:00
Julian Smart
02a3b39120 Fixed some label errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 11:36:04 +00:00
Julian Smart
5ea757d054 Added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 11:17:30 +00:00
George Tasker
0bd63eb6ff Removed semicolons from end of DECLARE_DYNAMIC_CLASS() and DECLARE_NO_COPY_CLASS() lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 10:55:58 +00:00
George Tasker
3a87625f68 Changed all the wxASSERT(0) calls to use wxFAIL_MSG()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 10:54:59 +00:00
George Tasker
5515f252cb Changed all the wxASSERT(0) calls to use wxFAIL_MSG()
Removed the TABs in the source replacing with the standard number of spaces
Removed variable definitions from FOR statements defining the variables before the FOR statement


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 10:54:38 +00:00
Vadim Zeitlin
e6b01b78a3 fixed mem leak in wxDataObjectComposite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 00:30:51 +00:00
Vadim Zeitlin
d6044f582c don't use wxRegEx in wxString::Matches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 00:11:53 +00:00
George Tasker
7527fdd873 Fixed incorrect deletion of hPalette if the call to wxReadDIB() fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 22:54:38 +00:00
Gilles Depeyrot
add33e95c5 corrected line endings in xml files (mistakenly committed with mac eol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 20:53:08 +00:00
Gilles Depeyrot
8a242615ef filter CodeWarrior data directories during recursive directory scan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 20:02:17 +00:00
Gilles Depeyrot
b383b2c1fd added not concerning conversion of xml files to CodeWarrior binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 19:19:17 +00:00
Gilles Depeyrot
d8542a1cd1 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:40:34 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +00:00
Gilles Depeyrot
1c777e15c9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 17:09:31 +00:00
Gilles Depeyrot
644deea4d2 removed obsolete mac related directories and files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 16:41:34 +00:00
Vadim Zeitlin
58a9336be1 fixed bad choice of accel keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 16:19:33 +00:00
Vadim Zeitlin
fdda2df62d fixed redraw problems on resize under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 16:18:37 +00:00
Vadim Zeitlin
5f3286d17d more fixes to target window scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:57:36 +00:00
Vadim Zeitlin
af4088f1be fixed event processing for the target window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:04:38 +00:00
Gilles Depeyrot
f69fcd070b added instructions concerning applescripts to convert xml files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 14:52:40 +00:00
Gilles Depeyrot
af54096f69 updated todo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 14:51:03 +00:00
Gilles Depeyrot
0cdb5f82c6 added folder update in order to run correctly under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 14:50:40 +00:00
Vadim Zeitlin
4ae76072f1 really avoid the compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 13:35:04 +00:00
Vadim Zeitlin
c598f22518 SetDefaultStyle(wxTextAttr()) now resets the default style instead of not changing it at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 13:29:21 +00:00
Ron Lee
2dc5bacc01 fixes for contrib build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 10:07:15 +00:00
Robin Dunn
961c54c333 wxTipWindow can now derived from wxFrame if not wxUSE_POPUPWIN, or
wxPopupTransientWindow otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 01:54:38 +00:00
Vadim Zeitlin
673ad11240 fixed stupid bug which prevented automatic encoding conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 01:51:42 +00:00
Vadim Zeitlin
71292fab8d always use HWND first in WM_COMMAND handler to avoid mixing the controls with the same id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:49:02 +00:00
Vadim Zeitlin
3f2474754a fixed bug introduced earlier today in wxTempFile::Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:46:48 +00:00
Vadim Zeitlin
d7997e1ab1 really fixed wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 00:08:21 +00:00
Vadim Zeitlin
b01fb5c340 fixed VC++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 23:53:03 +00:00
Robin Dunn
42dd647cfd Added a dependency for setup.h so it will be copied again if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 20:58:08 +00:00
Robin Dunn
44d568b6a8 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 20:49:12 +00:00
Vadim Zeitlin
d0e9b1506e updated dmalloc home page address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 18:26:24 +00:00
Gilles Depeyrot
d71c423e19 don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:18:11 +00:00
Vadim Zeitlin
1d21855083 added wxStringBuffer helper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 17:16:16 +00:00
Mattia Barbon
f2d0790b1a Applied #487077: updates/fixes for BCC32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 14:52:00 +00:00
Ron Lee
f1104df133 somehow this got missed on the last commit..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 14:40:34 +00:00
Ron Lee
681641370c Added wxFile::write_excl and use it from wxTempFile to securely open the
temporary file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:51:24 +00:00
Vadim Zeitlin
ab3edaceba fixed Borland C++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:46:07 +00:00
Gilles Depeyrot
2edd0e7c66 don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:34:50 +00:00
Ron Lee
4f716609c9 fix wxUINT64_SWAP macro to use wxULongLong now that it exists.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 13:13:45 +00:00
Vadim Zeitlin
485cf710d7 disable wxUSE_POPUPWIN for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:57:55 +00:00
Vadim Zeitlin
77f859c38e fixed assert to avoid compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:56:01 +00:00
Vadim Zeitlin
0ba9f867fa fixed compilation warning about signed/unsigned comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:53:55 +00:00
Julian Smart
13ff9344d6 Attempted to fix splittree problem by not pushing event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:26:27 +00:00
Julian Smart
38058a49c6 Corrected small error but still no tree visible :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 09:15:40 +00:00
Gilles Depeyrot
4b796bb03c don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 08:17:03 +00:00
Ron Lee
9929591c13 oops, still missed one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:56:52 +00:00
Ron Lee
8e38fd1fb0 Added 2 extra macros to handle all the flavours of wxInt64 :(
Did a quick and dirty cut'n'paste to implement wxULongLong and provide
wxUint64 on platforms without a suitable native type.
Noted it's existance and inappropriate methods in the wxLongLong docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:43:08 +00:00
Vadim Zeitlin
2b7e44a28c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:28:04 +00:00
Vadim Zeitlin
9926e4a4d7 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:24:54 +00:00
Vadim Zeitlin
0b01706f2c added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:21:06 +00:00
Vadim Zeitlin
f38bcae5bf fixed compilation after wxTipWindow base class change, added wxUSE_TIPWINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:18:24 +00:00
Vadim Zeitlin
83a2e3c5ad documented ConvertStringToArgs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:17:49 +00:00
Vadim Zeitlin
6f91bc3333 1. GetCwd() now has the volume argument, Normalize() works correctly for the
paths without full path but with the volume
2. fixed old SplitPath() version without volume to behave in a backwards
   compatible way
3. added more docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 03:16:19 +00:00
Vadim Zeitlin
52dbd056d2 more fixes for volume names handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 02:28:51 +00:00
Robin Dunn
1918b6f789 Updated PyCrust contrib from Patrick O'Brian.
Added an enhanced wxEditor from Steve Howell and Adam Feuer.


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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:40:12 +00:00
Vadim Zeitlin
ff69a290d6 wxFILE_SEP_PATH_VMS must be '.', not '/'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:38:06 +00:00
Robin Dunn
572c7069bb Updated contribs from Lorne White
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:33:32 +00:00
Robin Dunn
68673975c6 Tweaking this demo a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:18:30 +00:00
Robin Dunn
2481a3763b SWIGged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:17:55 +00:00
Robin Dunn
4416b50837 wxTipWindow is now a wxPopupTransientWindow instead of a wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:15:05 +00:00
Vadim Zeitlin
684cbc0edd reverted previous change - it doesn't fix the bug I wanted to fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:08:54 +00:00
Robin Dunn
5f09cfe3de Forgot to take the unneeded code out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:03:46 +00:00
Robin Dunn
8962e1d938 wxTipWindow is now a wxPopupTransientWindow instead of a wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:02:27 +00:00
Vadim Zeitlin
d323d966dd don't use implicit parent for the progress dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 22:55:16 +00:00
David Webster
27752aab2a Can't just wxASSERT(0). Give "constant in conditional expression" errors on some compilers. Also bad control codes on the end of some preprocessor constants.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 22:10:31 +00:00
Vadim Zeitlin
a874db9279 extended file name tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:56:16 +00:00
Vadim Zeitlin
04c943b139 added volume support and support for UNC paths under Windows, improved Mac and VMS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:55:13 +00:00
Vadim Zeitlin
2569938d39 added wxFileName docs skeleton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:53:45 +00:00
Vadim Zeitlin
d8b6f4d9a2 now the methods are sorted in the correct order in the generated docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:43:35 +00:00
Robin Dunn
744d5712ce Added the standard lines needed for compiling with PCH, and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:19:30 +00:00
Robin Dunn
7a0f694a11 SWIGged code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:17:18 +00:00
Robin Dunn
611dc22cee Attempted to add the SplitTree gizmo classes, but it is not working on
MSW... :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 21:16:36 +00:00
Gilles Depeyrot
643b97f8a7 added AppleScripts to export/import xml files from/to projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 20:59:23 +00:00
Vadim Zeitlin
5a56be287a corrected InternetGetConnectedState() prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 17:02:21 +00:00
Vadim Zeitlin
7104f65dbe set app name to argv[0] by default, as was done before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 16:54:15 +00:00
Julian Smart
232b005197 Fixed bug in wxConvertDIBToBitmap (contributed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 07:34:40 +00:00
Robin Dunn
3e2125031b SWIGged code update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 05:08:46 +00:00
Robin Dunn
4161723f46 Fixed some warnings in wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 05:07:43 +00:00
Robin Dunn
ddf2da08b5 Another blind attempt to fix AltGr issues in wxSTC, and a context menu
fix for wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 02:16:27 +00:00
Václav Slavík
58fd8ab910 czech translation update (not yet finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 21:41:38 +00:00
Vadim Zeitlin
4efb5650d1 fixed backslashes parsing in the cmd line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 19:47:35 +00:00
Julian Smart
3ac59f211b Don't convert args if NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 15:05:05 +00:00
Ron Lee
2226ead00d Add wxPython/contrib/gizmos to PYTHON_DIST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 01:08:54 +00:00
Robin Dunn
c594325333 Changes to ensure that GDI objects returned from Python methods are
copied, not just left as references.  The old way was
counter-intuitive for Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 00:51:59 +00:00
Václav Slavík
b2abc29318 fixes w.r.t. size_t vs. int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 23:10:59 +00:00
Mattia Barbon
f7db440e1f Fixed error in translation ( thanks to Nerijus Baliunas for spotting it )
Added some more translations.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 22:44:47 +00:00
Vadim Zeitlin
83c865f518 fixed (at least some of) the focus asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 19:50:37 +00:00
Vadim Zeitlin
a3b72ffb8f HelpGen doesn't work in GUI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 19:27:33 +00:00
Julian Smart
e8d5008c2e Small change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:33:44 +00:00
Julian Smart
c67d6888d4 Fixing wxMicroWindows compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:22:16 +00:00
Vadim Zeitlin
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
0a3e82894a added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 17:53:24 +00:00
Robert Roebling
89ebf1c919 Darwin has commandline args.
Position controls right under Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 16:28:37 +00:00
Julian Smart
92749d6a37 Added missing files to project file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 15:41:28 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Robin Dunn
7b7ac0ab51 Added wxChildFocusEvent
Updated wxHtmlWindow

Added wxEditableListBox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 09:47:53 +00:00
Robin Dunn
96d24601af Added tooltips to the buttons in the wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 09:17:44 +00:00
Vadim Zeitlin
d7d0296285 blind fix for iconizing/restoring hidden child frames bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 00:36:22 +00:00
Vadim Zeitlin
6f20c54861 fixed stupid bug in tab traversal code which totally broke it whenever mouse was used to change focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 00:34:44 +00:00
Mattia Barbon
fbdb357ea2 Fixes for Cygwin compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 20:44:22 +00:00
Václav Slavík
37b83ca639 second halt of Chris' wxImage ICO patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:14:09 +00:00
Václav Slavík
4f41713093 added two-step creation of wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:13:53 +00:00
Václav Slavík
954cc8d2f2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:13:31 +00:00
Václav Slavík
ea91314fdf docs update for Greg's wxGenericTreeCtrl patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 18:12:47 +00:00
Vadim Zeitlin
df336b7f25 fudged the extra width in GetBestSize() to fit better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 16:15:25 +00:00
Vadim Zeitlin
5f95bb7096 added some test for the choice dialog sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:46:18 +00:00
Vadim Zeitlin
3f393e3dbd don't show scrollbars at all when the window is big enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:45:58 +00:00
Vadim Zeitlin
408a83cbe9 added more instruction for writing the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:44:40 +00:00
Vadim Zeitlin
1d8c3e58b8 oops, forgot to commit the header for the notebook fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:43:26 +00:00
Robin Dunn
7a9b33dbf8 New SWIGged files for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 07:00:17 +00:00
Robin Dunn
ebe2507564 set the background brush to the window's background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 06:59:21 +00:00
Robin Dunn
dbd3685cc4 New SWIGged files for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 06:22:32 +00:00
Robin Dunn
c5fe0dcced Added IsVertical to wxMac's wxScrollBar. (It doesn't derive
from wxScrollbarBase)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 05:44:36 +00:00
Robin Dunn
2f4e928794 Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 02:56:59 +00:00
Robin Dunn
220f2d5c4d Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 02:51:47 +00:00
Robin Dunn
67d54b58cb Shapes will now draw the right background color when erased if the
canvas is not white.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 00:35:36 +00:00
Václav Slavík
fd008b87e3 wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 00:18:27 +00:00
Gilles Depeyrot
156b252383 corrected shared library linking for Darwin (dylib initialisation routine)
disabled joystick for wxMAC and wxMOTIF (not yet implemented)
unified configure warning messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 21:21:50 +00:00
Gilles Depeyrot
4cd1a81804 corrected shared library linking (add wx library to link)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 21:13:39 +00:00
Robin Dunn
086ab76622 Changed WXDLLEXPORT --> GIZMOSDLLEXPORT (and added it where is wasn't
used) so gizmos can be used with wx DLL but not be a DLL itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 19:58:06 +00:00
Vadim Zeitlin
13960e3c69 fixed listbox initial size determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 16:35:04 +00:00
Vadim Zeitlin
eda40bfc08 superposition of text styles in wxTextCtrl now works as expected (and as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:50:50 +00:00
Vadim Zeitlin
33b7a5491f removed unneeded include from the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:38:02 +00:00
Vadim Zeitlin
1d5c2a8eb5 fixed notebook tabs refresh when changing them under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 12:05:29 +00:00
Vadim Zeitlin
528a5fe43f fixed wxRadioBox::Enable() and Show() to enable/show the buttons as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 11:33:42 +00:00
Vadim Zeitlin
da6069e29c fix for incorrect assert in SetClientObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 11:24:14 +00:00
Vadim Zeitlin
0ae0226b1d compilation warning fixed for wxUSE_TOOLTIPS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 11:23:25 +00:00
Gilles Depeyrot
bbd08c6a95 added missing const for char* arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 07:33:30 +00:00
Gilles Depeyrot
9832ce0bcc Added compile-time check to be sure that wxUSE_ is set to 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 06:47:54 +00:00
Ron Lee
41b0a1139d added wx(U)int64, then added it to wxDataStream so contrib should
(hopefully) now build on alpha, ia64, s/390 without the kludge
from 2.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 03:53:32 +00:00
Václav Slavík
1489a2c037 wxT(), not _()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 23:17:22 +00:00
Gilles Depeyrot
ce28b4d772 added dynamic shared library (dylib) initialization routine for Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 21:52:58 +00:00
Vadim Zeitlin
31f6de22b0 added wxCmdLineParser::ConvertStringToArgs(), wxApp::ConertToStandardCommandArgs() now uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 21:36:28 +00:00
Mattia Barbon
a7910d97a3 Updated Italian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 20:31:33 +00:00
Robert Roebling
574bf50785 Correct wxTimer bug in wxGTK.
Correct SetSize bug for certain Toplevel windows in wxMAC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 20:10:46 +00:00
Gilles Depeyrot
ad80f0d194 removed MAKE variable which is set by make, otherwise it recursive makes do
not work when make is in fact gmake (or some other name)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 19:19:27 +00:00
Vadim Zeitlin
b52ea5c510 fixed comment about [not] deleting wxConfig::Get() pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:39:55 +00:00
Vadim Zeitlin
a8141d3f28 changed wxYES_NO to be equal to wxYES | wxNO freeing another style bit which allows to avoid conflicts between wxYES and wxTE_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:18:45 +00:00
Vadim Zeitlin
65c12361f3 fixed wxTE_LINESCROLL definition to not conflict with wxTE_PROCESS_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 18:11:47 +00:00
Vadim Zeitlin
444e05b609 fixed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 17:12:51 +00:00
Gilles Depeyrot
9f8148b11c corrected case of DeRez for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 16:43:30 +00:00
Gilles Depeyrot
0b90b51ceb moved wx/panel include to correct wxGTK compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:54:25 +00:00
Vadim Zeitlin
3f93aa54a9 removed small as otherwise the code was apparently unreadable in HTML docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:35:50 +00:00
Vadim Zeitlin
f0125ede4a minor updates/clarifications to the wxNotebook docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:32:16 +00:00
Gilles Depeyrot
5e173f35d2 removed trailing ; after DECLARE_ macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:18:38 +00:00
Vadim Zeitlin
cba1148d00 added Remove() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:17:09 +00:00
Gilles Depeyrot
c4ea29714d removed trailing ; after DECLARE_NO_COPY_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:08:40 +00:00
Vadim Zeitlin
4c53c74335 centre on screen the dialogs without epxlicit position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 14:59:25 +00:00
Vadim Zeitlin
835074fe0a fixed the message when creating setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 14:41:21 +00:00
Vadim Zeitlin
fbf4eacb26 added wxCHANGE_DIR test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 14:32:01 +00:00
Vadim Zeitlin
6e8aa701e9 added wxCHANGE_DIR flag support to wxMSW implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 14:27:21 +00:00
Gilles Depeyrot
8beeef5f05 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 12:58:57 +00:00
Gilles Depeyrot
c34174728f remove static libraries and recreate them to avoid stale object files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 12:56:42 +00:00
Gilles Depeyrot
4498031c44 use "..." instead of "..." for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 12:51:37 +00:00
Gilles Depeyrot
6bbff0aac1 corrected blind fix of missing .c_str()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 12:50:15 +00:00
Robin Dunn
6e8a778af3 Added wxDynamicSashWindow to wxPython, plus other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:39:49 +00:00
Robin Dunn
ebf4302cbe Added wxDynamicSashWindow to wxPython, plus other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 09:10:01 +00:00
Robin Dunn
5fa4613c81 Added ability for wxSTC's scrollbars to be supplieed externally, such
as those that are created in wxDynamicSashWindows,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 08:53:33 +00:00
Robin Dunn
281de223c8 Added wxDS_DRAG_CORNER so the corner dragging can be turned off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 08:51:43 +00:00
Robin Dunn
3928c4fd66 Honor the SetUseHorizontalScrollBar setting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 02:34:43 +00:00
Vadim Zeitlin
0dcdeee9e7 fix for focus handling in case when the panel itself is clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:57:06 +00:00
Vadim Zeitlin
faa1ae782d and now fixes for compilation with wxUSE_PALETTE=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:53:53 +00:00
Vadim Zeitlin
9a9045a9f3 typo: & was used instead of &&
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:51:22 +00:00
Vadim Zeitlin
d2d14464a5 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:23:19 +00:00
Vadim Zeitlin
5836c9080b compilation warning (and possible bug) fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:22:53 +00:00
Vadim Zeitlin
e22c13fe7e fixes for compilation with wxUSE_PALETTE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:22:07 +00:00
Vadim Zeitlin
1816a07003 added GetHpalette[Of] macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:21:19 +00:00
Vadim Zeitlin
d63819e045 compilation fix for wxUSE_TEXTBUFFER=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:20:56 +00:00
Vadim Zeitlin
1d6f23483a blindly added missing .c_str()s to fix compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 00:17:26 +00:00
Václav Slavík
443aec6f41 wxToolBar support in wxUniv/wxFrame
(well, sort of --  with wxToolBarSimple only and it looks really weird. I don't know
 yet if it is my fault or wxTBSimple's...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:44 +00:00
Václav Slavík
857dab7dcd wxToolBar support in wxUniv/wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:34 +00:00
Václav Slavík
ac4de06921 fool-proof wxDC::SetPalette(wxNullPalette)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:22 +00:00
Václav Slavík
a6b27b78d3 fix for palette restoration in wxToolBarSimple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:59:08 +00:00
Václav Slavík
05c9ccbe62 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:58:40 +00:00
Václav Slavík
ee1e43a725 minor syntactic fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:57:13 +00:00
Václav Slavík
a509f6bcdd better behaviour of wxMGL's wxTimer w.r.t. memory allocations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:56:02 +00:00
Mattia Barbon
279b1aea9d Must honour wxUSE_TOOLTIPS in tooltip.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:55:43 +00:00
Václav Slavík
0e4b997673 - better behaviour of wxMGL's wxTimer w.r.t. memory allocations
- fix for crash when wxTimer was deleted from wxTimer::Notify


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:55:43 +00:00
Václav Slavík
debc175a42 added AM_PATH_WXCONFIG macro and its installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:55:29 +00:00
Mattia Barbon
69d27ff78b * added new --enable-logdialog option
* added warning for use of wxToolTip in wxUniv
* corrected some cut&paste errors ( now --disable-pnm doesn't disable XPMs anymore... )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 23:39:47 +00:00
Václav Slavík
23cf065f01 added contrib strings to catalog and regenerated po files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 13:30:01 +00:00
Václav Slavík
192644bfcb forgot to remove ;; when applying the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 13:25:25 +00:00
Julian Smart
d96083979d Include windows.h before sql headers, if compiling with VC++. Otherwise, for files
that don't use wxprec.h (non-sample/demo files), windows.h may not have been included,
and sqltypes.h will fail to compile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 12:58:09 +00:00
Gilles Depeyrot
42993df25e correction for compilation under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 09:28:33 +00:00
Ron Lee
94054c1dfa Ignore what the diff says.. think "added S/390 support". Really.
The rest is just an illusion, as was ever not supporting S/390.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 05:39:18 +00:00
Robin Dunn
aa83902af1 Give wxDynamicSashReparentEvent a copy ctor and a proper Clone so it
can be used with AddPendingEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-24 03:50:31 +00:00
Stefan Csomor
abfe4a8415 formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:28:53 +00:00
Stefan Csomor
461a37f596 moved test for valid controlpart into this method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:26:21 +00:00
Stefan Csomor
8614041baa added virtual DoSetSize method in order to allow for MacOSX Listbox bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:25:03 +00:00
Vadim Zeitlin
afbd36dd57 added test for selecting intial colour in the col dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:24:30 +00:00
Stefan Csomor
419f362d6a carbon compat routine define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:23:45 +00:00
Vadim Zeitlin
ea8a96991a show correctly the initially selected colour and update the sliders (patch 484415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:22:33 +00:00
Stefan Csomor
92e50d0521 added virtual DoSetSize method in order to allow for MacOSX Listbox bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:10:18 +00:00
Mattia Barbon
0a67eeac3d wxPerl documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:08:45 +00:00
Vadim Zeitlin
097f29c22f fixed UMR (patch #484863)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 21:58:08 +00:00
Gilles Depeyrot
846e4632b4 corrected makefiles following suggestion by MBN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 21:28:12 +00:00
Gilles Depeyrot
04eb894b5c added missing wxUSE_SYSTEM_OPTIONS define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:59:38 +00:00
Vadim Zeitlin
29f54b9b37 implemented GetBestSize() for wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:43:02 +00:00
Robert Roebling
01d981ec6d Restored wxFileName::GetModificationTime() under Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:42:10 +00:00
Václav Slavík
2b84e565c6 applied Greg's refinment of hist treectrl patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:39:04 +00:00
Václav Slavík
717510eb58 fixed memory leak in imagjpeG (patch #484865)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:38:32 +00:00
Václav Slavík
b5d6954b87 cosmetic change: XML resource -> XRC resource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:38:05 +00:00
Robert Roebling
6264b550ad Fixed mouse move bug. No idea why it has to be fixed,
but MacOS X seems to send incorect event states.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 17:14:00 +00:00
Julian Smart
30fc2c8ec0 Some corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:51:27 +00:00
Jouk Jansen
3c62105945 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/filefn.h
 	wxWindows/include/wx/filename.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/filename.cpp

 Updates for OpenVMS,
    -Updated copmpile support for new files/features
    -First version of OpenVMS file support (wxPATH_VMS).
       (will need a lot of testing on OpenVMS systems)

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:45:25 +00:00
Vadim Zeitlin
2ec0173d44 added comment for OnScroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:40:11 +00:00
Jouk Jansen
043dcdaad0 Committing in .
Modified Files:
 	wxWindows/samples/dialogs/dialogs.cpp

 added conditional compilation for replacement dialogs in oder to allow
compilation on non-MSW systems.

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:34:13 +00:00
Julian Smart
4ed56ed897 Fixed Plot compilation, aliased OnScroll to HandleOnScroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:27:56 +00:00
Julian Smart
b97a1a73fd Added file and fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:42:42 +00:00
Julian Smart
67d54ef1dc Fixed VC++ project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:37:36 +00:00
Julian Smart
41286fd1de Added event Clone functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:37:00 +00:00
Vadim Zeitlin
f1fa9adc7a updated and expanded wxLog docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:17:11 +00:00
Vadim Zeitlin
a826c31586 updated and expanded wxLog docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 12:10:22 +00:00
George Tasker
6a498e2d1b Added missing documentation for a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:43:41 +00:00
George Tasker
5bdad317aa "char *" changed to "wxChar *" in several places
"Documentation needed" comments removed as the function(s) are now documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:42:10 +00:00
George Tasker
1dee6b3992 MS Access support fix
Standardized the parameter names for "colNo" in all places
A few more unicode adjustments (but Unicode is still not supported by these classes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:39:21 +00:00
George Tasker
f369dd4fdd Fixed coding of a switch statement that had RETURN statements before the BREAK statements, causing compiler warnings with BCC
Initialized the temporary date variables so that if a date in the DB is corrupt, then the variables will have a default value in them.
When data sources list box is populated, if the DB specified in the .CFG file is no longer in the list, a wxASSERT() message was generated in debug builds.  Now the program makes sure that the datasource is in the listbox's choices before trying to set the selected choice to that string


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 00:24:32 +00:00
Václav Slavík
ef3a5e0aae blind fix for wxGIFDecoder::ReadGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 23:55:34 +00:00
Václav Slavík
acea2a0bac mo files are now with lang directive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 23:55:21 +00:00
George Tasker
bb6de5ffad Fixed coding of a switch statement that had RETURN statements before the BREAK statements, causing compiler warnings with BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 23:17:45 +00:00
George Tasker
11a68fa3af Removed non-reachable code (consulted Aleks first, and he said the code was no longer needed)
Commented out unused variables to stop BCC warnings - left the code for debugging purposes
Removed hardcoded tabs and replaced with spaces per the wxWindows code style specs
Spelling typos fixed in comments
Miscellaneous source formatting issues fixed to meet standard wxwindows coding styles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 23:15:12 +00:00
Mattia Barbon
df43c1d682 Fixed/simplified Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 22:20:50 +00:00
Gilles Depeyrot
5aa5c1e4c9 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 22:03:26 +00:00
Vadim Zeitlin
c4a25811cc fixed memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 21:30:40 +00:00
Vadim Zeitlin
7a5c8ac45a added check for NULL Clone() return
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 21:14:41 +00:00
Vadim Zeitlin
d90bb48e69 removed read() declaration which resulted in a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 21:03:36 +00:00
Gilles Depeyrot
d7a53fcacb removed obsolete CodeWarrior projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 20:17:12 +00:00
Gilles Depeyrot
a2b4f4a287 removed obsolete CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 20:15:59 +00:00
Ron Lee
d147266834 changed charset back to iso-8859-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 20:15:33 +00:00
Mattia Barbon
289b2d6174 Pass parameters ( UNICODE WXUSINGDLL FINAL ) to subdirectories' makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 17:56:59 +00:00
Julian Smart
7aeb9adcaf Added zip file containing DSW files for samples and demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 14:20:12 +00:00
Julian Smart
e0e50e29c4 Removed dsw file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 14:16:15 +00:00
George Tasker
beab584049 Added the missing keyword 'const' to the fix for virtual Clone() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 14:03:40 +00:00
Julian Smart
0f71032121 Removed some dsw files from CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 13:31:23 +00:00
Julian Smart
ffc6ce3f6d Added empty Clone method for cbPluginEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 13:20:11 +00:00
Julian Smart
244d3b67ca #ifdefed out the joystick code, and removed the wxBitmapList addition
from the wxBitmap constructor that was causing a crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 12:59:53 +00:00
Julian Smart
bbb8f29b4a Applied patch #484508 (mostly sample warnings).
I've no idea why CVS thinks that the .mcp files have been changed - they haven't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 12:58:44 +00:00
Robert Roebling
780bb8744b Tries to fix wxListBox focus problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 11:38:56 +00:00
Vadim Zeitlin
1539c2f54a added wxSockAddress copy ctor which, in particular, fixes Clone() and fixed its operator=() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 10:38:02 +00:00
Mattia Barbon
a60b1f5d57 Unicode compilation fixed for almost all samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:11:33 +00:00
Mattia Barbon
50d0b061ee Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:10:12 +00:00
Mattia Barbon
9298c435cf Converting uninitialized data is not a Good Idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:09:17 +00:00
Mattia Barbon
f40b54b1e0 Must convert the last part, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:08:26 +00:00
Mattia Barbon
42ac146ba4 Readded --use-temp-file to RCFLAGS, needed for old windres
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:04:54 +00:00
Mattia Barbon
0fbb762e07 Test for wctype.h
Fix for broken Cygwin wchar.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:03:04 +00:00
Vadim Zeitlin
a7ad2611f3 fix for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:58:09 +00:00
Vadim Zeitlin
ad9f477da5 minor flicker reduction in the virtual list ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:43:38 +00:00
Václav Slavík
5dcf9614cf added -static packages to specfiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:33:18 +00:00
Václav Slavík
885d4bf54e changes to wx-config --static to allow static linkage in presence of shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:32:53 +00:00
Václav Slavík
affe40440e reverted fix for missing wxEvent::operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:31:11 +00:00
Václav Slavík
2c18f21dc7 change to /usr/share/wx/version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:30:44 +00:00
Václav Slavík
65eb985502 - change to /usr/share/wx/version
- do not set executable flag for .a libraries


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:29:57 +00:00
Václav Slavík
406e3e0d0d oops, checked in wrong version of wxMOtif.spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 00:29:44 +00:00
Vadim Zeitlin
c3c39620ba fixed wxDropFilesEvent dtor, added copy ctor and implemented Clone() for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 23:48:49 +00:00
Vadim Zeitlin
fa1c12bdd7 fixed wxTaskBarIcon compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 23:39:26 +00:00
David Webster
d093261668 New .def file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 22:59:50 +00:00
Vadim Zeitlin
19924e90e5 mention wxObject and wxEvent API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:46:20 +00:00
Vadim Zeitlin
acd15a3fa0 1. removed wxObject::CopyObject() and Clone() - some objects just can't be
copied
2. made wxEvent::Clone() pure virtual and added missing Clone()s to the
   other event classes which this changes has helped to discover


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:44:52 +00:00
Vadim Zeitlin
dcfb179bc7 expanded the comment about redefining the client data methods a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:42:44 +00:00
Gilles Depeyrot
8d9e8770da added missing joystick source file for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 20:51:16 +00:00
Vadim Zeitlin
545a0b000f fixed compilation somehow, the code is still broken!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 18:45:54 +00:00
Vadim Zeitlin
163f315474 replaced wxSocketEvent::CopyObject() with Clone()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 17:25:08 +00:00
Vadim Zeitlin
0ded6bb695 changes to match listctrl.h changes (forgot to commit yesterday, sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 16:43:13 +00:00
Ron Lee
1352efdf58 add some output to the GL tests..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 13:30:58 +00:00
Ron Lee
62d0491bf6 Where's GL? Hopefully wx-config will now tell us if we need to know.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 13:20:26 +00:00
Ron Lee
10916a4f7a backported 2.2 packaging fixes for python 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 05:33:35 +00:00
Ron Lee
8dba7bfb70 merged some message catlogues from 2.2 that were missing from 2.3
updated all .po files from current source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 05:30:05 +00:00
Vadim Zeitlin
2d33aec94c 1. restored wxEvent::operator=()
2. removed wxListEvent::CopyObject()
3. refresh fixes to MSW virtual list control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:43:54 +00:00
Václav Slavík
050c9e3c90 removed rpmfiles.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:06:58 +00:00
Václav Slavík
badc44fe58 client area origin handling fixes for univ/wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:03:56 +00:00
Václav Slavík
c5f9d1567c wxMouseEvent's coordinates are now relative to client area origin in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:03:30 +00:00
Václav Slavík
c10920deb8 wxUniv fixes for generic wxColourDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:01:53 +00:00
Václav Slavík
3125528da3 wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:01:28 +00:00
Václav Slavík
07082b28a5 more programmer-friendly wxApp::SetDisplayMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:01:11 +00:00
Václav Slavík
3cdd0895f4 removed GDI lists from wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:00:29 +00:00
Václav Slavík
d76048f514 - removed GDI lists from wxMGL
- friendlier wxApp::SetDisplayMode
- redirects stdout and stderr to files if __WXDEBUG__
- wxLog initialization and flushing fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:00:12 +00:00
Václav Slavík
8b81a824c4 compilation fix for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:59:46 +00:00
Václav Slavík
990ff5eceb fixes for ambiquity in wxComboBox (is it correct this time?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:59:24 +00:00
Václav Slavík
ca808bbfe8 compilation fix (caused by removal of wxMouseEvent::operator=)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:58:07 +00:00
Václav Slavík
a3e78c767d wxMotif.spec fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:56:43 +00:00
Václav Slavík
d7b766f5a8 compilation fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:56:03 +00:00
Václav Slavík
1f5b2017df fine-tuned API from the ICO patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:55:44 +00:00
Václav Slavík
8065aebc48 removed rpmfiles.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:54:06 +00:00
Václav Slavík
81edbb3f00 fixes to wxGTK specfile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:50:53 +00:00
Václav Slavík
51072df23f better <HR> tag handling in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:50:44 +00:00
Václav Slavík
32037c4ed9 fixes for wxBase RPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:50:32 +00:00
Václav Slavík
31e39e3c51 wxDC::SetFont can now handle invalid font and doesn't assert anymore (other ports behave this way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:48:21 +00:00
Václav Slavík
8fbdfa4faf optimized default GUI font loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 23:48:03 +00:00
Gilles Depeyrot
f91bf72fb0 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 21:31:04 +00:00
Vadim Zeitlin
364f80ef96 applied patch fixing compilation without wxUSE_TIMEDATE and another warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 20:46:03 +00:00
Vadim Zeitlin
6ce3e85a1e added bitmaps to the resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 20:44:37 +00:00
Gilles Depeyrot
e4a2236693 added (another) missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 20:34:56 +00:00
Vadim Zeitlin
d9f7f49ea3 applied patch 475879 (Can't use subclassed GridCellEditor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 18:58:47 +00:00
Vadim Zeitlin
c7821f944f more DBCS-related changes (patch 481898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 18:49:51 +00:00
Vadim Zeitlin
7ecb8b06ad don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
with FindOrCreateXXX() are managed by the lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 18:40:03 +00:00
Vadim Zeitlin
636d266b89 backwards incompatible change to wxWizardPage reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:23:58 +00:00
Robin Dunn
a9fd2e6f1b Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:04:15 +00:00
Vadim Zeitlin
18134a1cd0 fix for BC++ internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 17:01:17 +00:00
Julian Smart
6495f2dd5d More project file fun
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 15:58:54 +00:00
Vadim Zeitlin
d1f2eb1dd0 fix for my old mingw32 cross-compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 15:36:28 +00:00
Vadim Zeitlin
d32011d406 added 2nd image as XPM as well to the wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 15:09:45 +00:00
Vadim Zeitlin
3409ae1756 added #if wxUSE_TIMEDATE where needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 15:00:18 +00:00
Vadim Zeitlin
9a7d612157 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:58:41 +00:00
Vadim Zeitlin
c63767311f replaced wxDate with wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:56:47 +00:00
Julian Smart
8b283bb88e Misc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:55:10 +00:00
Vadim Zeitlin
ecdba0d10f added wxToggleButton docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:25:25 +00:00
Robin Dunn
ab51f6db14 SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 07:42:59 +00:00
Robin Dunn
4a08218bc3 SWIGged code uodates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 07:42:10 +00:00
Robin Dunn
8af26133d9 Bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 07:40:26 +00:00
Robin Dunn
6bff4be599 Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 07:40:06 +00:00
Robin Dunn
80cb3dbc36 SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:30:33 +00:00
Robin Dunn
0a8c1efb27 Demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:19:02 +00:00
Robin Dunn
07b2e1cd38 Replaced CopyObject with Clone for wxPython-specific event classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 06:04:42 +00:00
Robin Dunn
262e41eb55 SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:52:07 +00:00
Robin Dunn
a3015b16dd Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:31:27 +00:00
Robin Dunn
937eb7db46 Additions and fixes for the script that builds the Windows installer script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:30:58 +00:00
Robin Dunn
d820003682 Added LIST_ITEM_FOCUSED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:29:41 +00:00
Robin Dunn
181526acad SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:06:31 +00:00
Robin Dunn
c3819e4aa4 Added the WX_GL constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:04:03 +00:00
Robin Dunn
bf7057315c For Python 2.2 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:03:22 +00:00
Robin Dunn
a703a33acb Added some code to override distutils compile flags, but left it
commented out since I found that the problem I was seeing is actaully
in Python headers...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 02:02:43 +00:00
Robin Dunn
36fd8ec3c9 Fixed some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 01:55:55 +00:00
Vadim Zeitlin
aaf765a549 fixed erroneous debug error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 01:28:33 +00:00
Václav Slavík
25fd9bdfca case-insensitive sort of HTML help index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 23:54:12 +00:00
Václav Slavík
e431570022 fix for wxComboBox::GetSelection from inside event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 23:53:42 +00:00
Václav Slavík
4a70a30b2e wxMGL support for std dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 23:53:21 +00:00
Stefan Csomor
653b244972 applied Paul A. Thiessen's patches for correcting coordinates when having borders, exchanged the border painting method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 21:24:18 +00:00
Robin Dunn
05f30eecb7 Fixed a problem in the demo and plugged a potential leak in SetDashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:43:04 +00:00
Robin Dunn
08da19d737 SWIGged code uodates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:41:48 +00:00
Vadim Zeitlin
6f36917bbf fixed a memory leak and an initialization problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:31:44 +00:00
Mattia Barbon
a95821781b Fixed Cygwin crash on toolbar tooltip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 18:58:04 +00:00
Mattia Barbon
e757496edf Added HANGUL_CHARSET for MSVC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 18:57:00 +00:00
Julian Smart
3390b9ef88 More VC++ project file corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 17:47:23 +00:00
Julian Smart
a059a1f2e2 Corrected ViewStart problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 16:07:18 +00:00
Julian Smart
5638d705f5 Project file corrections, doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 16:05:55 +00:00
Vadim Zeitlin
8d6854a63a fixes for the dialog layout for the multiline labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 14:00:10 +00:00
David Webster
e652fdd527 New .def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 04:05:08 +00:00
Vadim Zeitlin
f97500b80d fixes for wxEvent and wxKeyEvent operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 23:08:00 +00:00
Vadim Zeitlin
14fca7389a fixes for programmatically deleting the find/replace dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 23:06:43 +00:00
Gilles Depeyrot
01f944e67e use class name instead of generic message in event related assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 22:28:11 +00:00
Stefan Csomor
ccf0e7f6d4 added a preImage of the selection in order to avoid unnecessary events being triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 18:52:47 +00:00
Stefan Csomor
f47db8f067 corrected MacSetSelection which was incorrectly deselecting also the previously selected line when using multiselect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 18:14:07 +00:00
Robert Roebling
8e72b8b517 This form of the event cloning patch survived my
thorough stress testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:42:45 +00:00
Gilles Depeyrot
d5939a20fd replaced HAVE_MALLOC_H with !__DARWIN__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:32:15 +00:00
Gilles Depeyrot
ad05396006 corrections for compilation under Mac OS X
removed invalid '#pragma interface' in source files (instead of headers?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:25:12 +00:00
Robert Roebling
52b64b0a78 Applied Chris' patch for support for ICO loading.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 09:43:06 +00:00
Gilles Depeyrot
990578f892 removed include/wx/mac/setup.h from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 08:00:07 +00:00
Gilles Depeyrot
96e169b523 removed duplicated prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 07:29:36 +00:00
Gilles Depeyrot
49a47c50be added missing include (for instance, needed in the calendar sample for wxMotif)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 07:28:45 +00:00
Ron Lee
c00f8e638a Removed include/wx/setup.h from filelist.txt -- Needed for autotools build,
I don't _think_ it will break anything else..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 02:57:51 +00:00
Ron Lee
88e30f2b71 Don't add -MMD until we are just about ready to build the lib, it messes with
configure tests for RH's broken '2.96' compiler, and really doesn't belong
in CFLAGS before then anyway.

Made wxBaseArray dtor always non-virtual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 02:11:19 +00:00
Robert Roebling
9864c56ded More changes to various controls for more reliably
preventing them from emitting event when their
     state was changed programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:50:58 +00:00
Gilles Depeyrot
bc87fd68e3 added const for constant char pointer function parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:18:43 +00:00
Václav Slavík
c1ec1ccf9a regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:15:08 +00:00
Václav Slavík
926592a8cf added temporary implementation of wxChoice for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:13:55 +00:00
Robert Roebling
bac957422a Changed/Fixed way in which wxListBox blocks events
after changing its state programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 22:32:15 +00:00
Robert Roebling
c6ac78a61e Trying to fix dialog close/focus_widget problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 17:14:40 +00:00
Robert Roebling
e1f14d226f Fixed bug which prevented toplevel window from reacting
to a ::SetSize() call more than once.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 16:48:44 +00:00
Ron Lee
b36d8c8f11 cast away a couple of warnings and added *.inc to the MANUAL_DIST target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 15:36:48 +00:00
Robert Roebling
7eb0e0375f Added ::IsOk() to wxDataStream for error checking in
stream classes used by wxDataStream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 13:23:10 +00:00
Robert Roebling
ba3f6b4436 Fixed sveral problems with wxTextCtrl::WriteText and AppendText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 12:54:48 +00:00
Ron Lee
a9241e6025 document the new *_USER_EXPORTED_ARRAY macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 11:48:34 +00:00
Ron Lee
7631414188 Added WX_DEFINE_*_USER_EXPORTED_ARRAY macros for external dlls.
updated debian scripts to build with python2.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 11:33:50 +00:00
Vadim Zeitlin
8001ecce19 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 01:23:13 +00:00
Vadim Zeitlin
648bec3ef5 implemented EVT_LIST_ITEM_FOCUSED() for Win32 wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 00:34:46 +00:00
David Webster
0cf6acbf26 Implementing some more controls and an MDI child frame fix for wxFrame.
Also include the textbuf class in the make.  New module definition file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:42:18 +00:00
David Webster
fb49f3b32e Implementing some more controls and an MDI child frame fix for wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:40:45 +00:00
David Webster
f6c2a6f418 TRUE and FALSE; not true and false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:39:54 +00:00
Vadim Zeitlin
1d2bd8475d moved wxNotebook events docs into a separate file included by both noteevt.tex and notebook.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:53:08 +00:00
Vadim Zeitlin
0ddefeb07f added wxEVT_COMMAND_LIST_ITEM_FOCUSED event and implemented it for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:31:17 +00:00
Vadim Zeitlin
e347320363 wxGTK popup menu positioning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:20:21 +00:00
Vadim Zeitlin
2a2ec35354 compilation fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:08:49 +00:00
Vadim Zeitlin
5e6e6e73d2 compilation fix for wxFrame under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:04:59 +00:00
Ron Lee
7274f1c705 mainly the result of collapsing folds in vimdiff from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 13:09:52 +00:00
Vadim Zeitlin
a6c84d26fd Flush() argument should have a default value for compatibility with the other wxConfig versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 12:27:32 +00:00
Vadim Zeitlin
d728116a27 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 12:07:18 +00:00
Gilles Depeyrot
9d705dfa81 applied SourceForge patch #479670 (fixes for OpenGL samples) by Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 07:17:37 +00:00
Robin Dunn
a7c7c1549c Corrected wxPython notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 00:19:36 +00:00
Robin Dunn
7f3d6cbcfe Corrected the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 00:01:38 +00:00
Robin Dunn
163f2606f8 Enhanced the DnD demo and made the code more informative.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:59:42 +00:00
Václav Slavík
1d965e2fb1 use XPMs in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:55:08 +00:00
Václav Slavík
b835e9bf49 optimalization of wxHtmlWindow painting (used to repaint areas invalidated when scrolling 3+ times)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:54:16 +00:00
Václav Slavík
88f2a7714a wxMGL bugfixes:
- timers weren't scheduled properly
- wxSizeEvent was sent even though the physical dimensions didn't change
- wxDC had bugs in device origin computations


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:50:04 +00:00
George Tasker
00d1538d29 Spelling typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 17:48:10 +00:00
George Tasker
eb165274cb Added the FTP site location for "extra.zip"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 16:08:59 +00:00
Robert Roebling
b2d1bc21c5 Small patch for HTML help under Drawin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 15:49:12 +00:00
Robin Dunn
00887b391b added some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 07:21:26 +00:00
Robin Dunn
7173744550 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 04:59:26 +00:00
Robin Dunn
a7f1fbf609 Only update the mask if the mask is valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 03:07:39 +00:00
Vadim Zeitlin
a91cf80c60 moved EnableCloseButton() from wxialog to wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 02:21:43 +00:00
Václav Slavík
3cc2aa562f minor complitation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 23:19:03 +00:00
Robin Dunn
45b1027709 Updated manifest to include new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 21:43:04 +00:00
Vadim Zeitlin
a3a584a7a6 added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 20:40:20 +00:00
Robin Dunn
00ca6262d1 A fix for when wxPython is compiled with no threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:46:47 +00:00
Robin Dunn
80f7e6500b A bit of cleanup and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:43:55 +00:00
Robin Dunn
c70fd24fa8 wxComboBox does not derive from wxChoice in wxGTK so it can't in
wxPython either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:34:26 +00:00
Robin Dunn
742fc581e4 SWIGged files updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 05:22:45 +00:00
Robin Dunn
93283355d3 SWIGged code updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:11:15 +00:00
Robin Dunn
6c0168c945 Added missing wxImage methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:05:12 +00:00
Robin Dunn
edc2a0366a Cleanup of library dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:04:31 +00:00
Robin Dunn
101dd79ab6 Added new sizer methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:03:56 +00:00
Robin Dunn
7dbce44a33 Added wxFileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:03:09 +00:00
Robin Dunn
b78b83ecb4 Added wxTextCtrl.GetStringSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:02:20 +00:00
Robin Dunn
f0db4f3850 some demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:01:42 +00:00
Robin Dunn
eef97940e8 GetSelection --> GetStringSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:50:11 +00:00
Robin Dunn
973983be62 A little fix for Vadim's fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:49:02 +00:00
Vadim Zeitlin
e444455c49 wxPopupWindow::GetPosition() should return point in screen coords now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:35:45 +00:00
Vadim Zeitlin
184144794d added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:27:16 +00:00
Vadim Zeitlin
9327c3aa02 fixed wxFrame::IconizeChildFrames() bug which would restore the child frame even if it had been iconized before the main frame was
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:26:14 +00:00
Vadim Zeitlin
5e6a47f5a7 fixed wxFindReplaceDialog::Create() doc entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 19:27:00 +00:00
Vadim Zeitlin
19a2deddc5 fixed bugs in rfind() (patch 481325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 18:50:05 +00:00
Robert Roebling
84f7908b99 Applied patch from SF on menu command not blocked
if they are disabled but still emitted by an
    accelerator
  First attempt at adding wxSizer::Clear(). Further
     testing pending :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 16:21:04 +00:00
Robert Roebling
4494ad58e8 Patch to make wxComboBox work in Toolbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 15:18:06 +00:00
Vadim Zeitlin
17271c793e fixed bug with redoing the command when there was nothing to redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 14:27:00 +00:00
Robin Dunn
0d1ace8697 SWIGged code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 06:48:36 +00:00
Robin Dunn
a57d56d662 More fixes for wxPopupWindow.
More SWIGged code updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 06:43:26 +00:00
Robin Dunn
98624b49d3 Various other tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:18:00 +00:00
Robin Dunn
25b00b4e8c Passing None to an EVT_* function will Disconnect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:17:09 +00:00
Robin Dunn
c0c84fa088 Finally figured out wxPopupWindow, added to demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:16:03 +00:00
Robin Dunn
4deafe3122 Added some code to demonstrate a problem and a workaround in wxTextCtrl on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:14:05 +00:00
Robin Dunn
5e217089d4 New ErrorDialogs from Chris Fama
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:09:28 +00:00
Robin Dunn
5b119149c0 wxGLCanvas updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:08:53 +00:00
Robin Dunn
769eda42db fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:08:29 +00:00
Robin Dunn
56456d9faf SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:33:56 +00:00
Robin Dunn
0d3859bf1e Fixed a little demo problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:32:39 +00:00
Robin Dunn
8a7f3379ba Added missing \ before _
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:17:42 +00:00
Gilles Depeyrot
a1c34a786a corrected Carbon to/from POSIX path conversions for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:32:23 +00:00
Gilles Depeyrot
3de71bc877 added parentheses (corrects smart preprocessor error under Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:19:07 +00:00
Ron Lee
024cad37e9 removed -static flag from wx-config --libs. It does more damage removing
fine-grained choice from people than it does to help them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 01:22:56 +00:00
Václav Slavík
28edd9ef20 wxPanel::OnSize must call event.Skip(), otherwise scrollbars won't work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 00:13:55 +00:00
Vadim Zeitlin
185d0094f8 fixed key event code for ASCII keys in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 20:39:28 +00:00
Vadim Zeitlin
7bfc22f614 some clean up, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:55:07 +00:00
Vadim Zeitlin
27d2cd5c96 fixed bug with creating status bar with more than 1 pane (needed resize to refresh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:52:45 +00:00
Vadim Zeitlin
c8b204e6fd bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:27:35 +00:00
Vadim Zeitlin
3adc70bf87 fixed minor combobox bug: GetValue() reported wrong value when caleld from TEXT_UPDATED handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:19:59 +00:00
Václav Slavík
f9619ece1d fixed stupid big when assigning wxImage's palette to wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:00:25 +00:00
Václav Slavík
1acd70f921 wxTimer for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 18:59:30 +00:00
Vadim Zeitlin
08829b064c emphasize that wxFindReplaceDialog is always modeless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 18:38:48 +00:00
Václav Slavík
f96f33629f minor fixs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:24:32 +00:00
Václav Slavík
cbe37d08c8 added app name to wxrcedit (forgot to commit this one long time ago...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:23:55 +00:00
Václav Slavík
8ca4684107 update to wxHtmlTag docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:23:46 +00:00
Robin Dunn
b6e5c4450a Added build instructions for OS X.
Added a very simple demo to help build functionality bit by bit.
Regenerated the files that needed SWIGging.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 23:19:16 +00:00
Vadim Zeitlin
e44d6a1f90 signed/unsigned comparison warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 18:11:44 +00:00
Vadim Zeitlin
c0ad3d42d5 removed focus assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 17:58:50 +00:00
Vadim Zeitlin
2a4c85e755 removed code (re)setting the camera from wxGLCanvas::OnSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 15:12:25 +00:00
Vadim Zeitlin
62b3ca69cf s/Chiniese/Chinese/g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:29:51 +00:00
Vadim Zeitlin
8e7b0418f1 reset SourceSafe project name in the VC++ projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:19:31 +00:00
Vadim Zeitlin
695e43faf2 don't document wxBitmap::SetOk(), it's an implementation detail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:18:41 +00:00
Ron Lee
00c813596e make --static flag act on --cppflags too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 05:24:36 +00:00
Ron Lee
57964555cd We always add -lm (eventually) anyway, so just adding it to the GL lib test
should be sufficient.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 01:37:00 +00:00
Vadim Zeitlin
bc4e6fcdc3 applied DBCS patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:15:04 +00:00
Vadim Zeitlin
570cb8cb08 regenerated after -GL change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:13:09 +00:00
Robert Roebling
2710a096d1 Removed unused variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:00:18 +00:00
Vadim Zeitlin
fb56368aa0 add -lm before checking for -lGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:00:04 +00:00
Robert Roebling
e2762ff06a wxListBox mouse events now report coords relative
to the whole list box.
  wxRadioButton doesn't emit any event when unpressed.
  Similar correction to wxRadioBox and wxToggleButton.
  Upported change to wxMenuEvent so that the id is
     set in the constructor. Otherwise the EVT_MENU
     macro is pretty useless. Already in 2.2.8.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 23:24:16 +00:00
Mattia Barbon
6433f6d316 Last correction for makefile.g95: win32 mkdir does not like forward slashes as directory
separators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 21:06:19 +00:00
Robin Dunn
ea6601756a Fixed wxSingleChoiceDialog to match the docs wrt the style flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 18:47:53 +00:00
Ron Lee
8c3abf985d create install dir for overrides.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 12:31:52 +00:00
Ron Lee
63e7762e67 wxUSE_GTK must stay quoted..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 12:25:49 +00:00
Ron Lee
3d63bc3a03 Rearrange the linker flags/libs code in preparation for better static/shared
support.  Added --static option to wx-config and removed most libs from
--libs output unless it is used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 11:24:04 +00:00
Ron Lee
f1687ed8ad add lintian override for -univ hybrid package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 02:31:40 +00:00
Ron Lee
180db90836 applied the bit's of #473508 that were still relevant, and fixed a couple of
others that either the patch missed or (more likely) were new since it was
made.  Thanks Francis.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 00:03:06 +00:00
Robin Dunn
32ce09e292 New XRCed from Roman Rolinsky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 16:13:35 +00:00
Robin Dunn
bd658b8c33 Show class type returned from HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 16:12:44 +00:00
Vadim Zeitlin
efd1393bcc applied a patch to ignore the modifiers (things like @euro) in LC_XXX vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 15:58:23 +00:00
Ron Lee
b96848d3aa added aclocal.m4 to dist target. Bad Things happen if it's missing
and you want to rebuild configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 12:08:23 +00:00
Ron Lee
ba0e650ced oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 11:31:03 +00:00
Ron Lee
d48ad9bd84 More pesky "quotes" hiding in m4 macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 10:03:57 +00:00
Ron Lee
83dbe2eabb Put $(GENERICOBJECTS) back into configure.in for a while, there are still
other ports that depend on it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 09:47:20 +00:00
Jouk Jansen
abfcca57dd Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/distrib/msw/makefile.rsp
 	wxWindows/include/wx/dbgrid.h wxWindows/lib/vms_gtk.opt
 	wxWindows/samples/db/dbtest.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 Added Files:
 	wxWindows/samples/dialup/descrip.mms
 	wxWindows/samples/docview/descrip.mms
 	wxWindows/samples/font/descrip.mms

 dbgrid.h change as announced in the developer mailing list
 various OpenVMS complile issues

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 09:26:33 +00:00
Ron Lee
1d93af2fbf remove -lfoo.dll hack, it appears to be unnecessary after all.. don't ask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 07:53:33 +00:00
Václav Slavík
223e7fbf29 beginnings of support for MGL shared library (it is crappy as hell in MGL, to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 23:54:15 +00:00
Mattia Barbon
d8bffc1335 * Fixed wxStaticBitmap::SetBitmap so that it does not ignore the mask
* Hopefully made possible use SetBitmap with as wxSB created with an icon
  and SetIcon with a wxSB created with a bitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 21:16:02 +00:00
Vadim Zeitlin
e37177c27b removed duplicated line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:45:18 +00:00
Vadim Zeitlin
66fa5a8c1f part of wxWizard loading from WXR patch I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:34:36 +00:00
Vadim Zeitlin
4eb1fe9da6 fixed wxUniv/GTK linking by getting rid of GENERICOBJS and putting them into GUIOBJS/GUI_LOWLEVEL_OBJS instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:31:31 +00:00
Vadim Zeitlin
8b9c59052a compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:27:23 +00:00
Ron Lee
25d0687a6e Merged WXMSW_DLL_DEFINES and PICFLAGS, since they essentially do the same thing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 05:44:09 +00:00
Ron Lee
0d6e7df47c found another object that nobody appears to have ever used in a dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 05:10:16 +00:00
Ron Lee
41213f67af Brown paper bag fix to -lwx.dll in wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 02:36:39 +00:00
Gilles Depeyrot
612500804c use Unix line ending when compiled when the Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:08:03 +00:00
Gilles Depeyrot
f3ff38139d use Unix line ending when compiling with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:02:23 +00:00
Gilles Depeyrot
c31ad41d80 use Unix raise for wxTrap when compiling with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:01:46 +00:00
Gilles Depeyrot
4d293f8ef4 corrected path format for wxMac compiled with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 20:20:14 +00:00
Vadim Zeitlin
461f203cbf more incompatible changes mentioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 16:43:12 +00:00
Václav Slavík
90da9c3f3b forgot to update univ/toplevel.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 15:49:59 +00:00
Ron Lee
2da4f89277 renamed (gcc) wxMSW import lib name yet again. *.dll.a should be the
final choice for a while I think.
Removed mostly useless ELF style version numbers from .dll -- it's not
an ELF lib so no point adding cruft we can't use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 11:48:47 +00:00
David Webster
49dc8caac9 Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 03:22:45 +00:00
David Webster
217f0360ec Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 02:59:23 +00:00
David Webster
934dac2fd5 Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 02:50:59 +00:00
Václav Slavík
49e885f807 fixed stupid bug in display mode error reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:33:19 +00:00
Václav Slavík
41b66be9c9 controls sample is now able to use default command line arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:33:09 +00:00
Václav Slavík
1f43b5c985 reworked display mode stuff once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:32:52 +00:00
Václav Slavík
240889a18c implemented late(r) initialization of wxUniv themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:32:16 +00:00
Stefan Csomor
f78024a1f9 workaroung for handling problems because groupboxes are not included in the parent-child relationship in wxwindows in a geometrical correct way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 21:02:06 +00:00
Stefan Csomor
a3bf4a6263 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:54:39 +00:00
Stefan Csomor
fce5f505f1 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:42:33 +00:00
Stefan Csomor
4bf3cd97c6 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:36:23 +00:00
Stefan Csomor
15913ebfdd corrected tooltip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:24:12 +00:00
Gilles Depeyrot
4b42290e0e corrected detection of wchar_t under Mac OS X/Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 19:30:34 +00:00
Gilles Depeyrot
9e392a09f1 added wcslen prototype declaration for Darwin/FreeBSD, wcslen is in wxchar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 18:46:43 +00:00
Gilles Depeyrot
219f4a6d0d added missing wxSTD for cout & cerr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:41:53 +00:00
Gilles Depeyrot
750c3a6d07 wchar/wcslen corrections for Darwin (same as FreeBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:20:38 +00:00
David Webster
1bcf0c7d6e TRUE and FALSE, not true and false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 14:51:05 +00:00
David Webster
1a2076a2f8 Some compiler bug fixes, new .def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 14:49:22 +00:00
Gilles Depeyrot
eb99ae0b77 use 'cp -fp' instead of 'cp -p' to install programs/data under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 13:59:15 +00:00
Ron Lee
174d5c21ca Don't strip cross packages with native strip. All of them. Really.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 03:01:57 +00:00
Ron Lee
978f1259ac Backed out misguided 'build both' patch.
Reshuffled library name code into a slightly neater stack.

Added separate shared and static msw builds to .debs  :(
that makes 13 builds of the core lib alone required to create
all packages now..  (anyone want to donate me a fast MP box :)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 01:29:54 +00:00
Ron Lee
a0b0370119 More cross compiling fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:07:25 +00:00
Václav Slavík
634f6a1f0a implemented display mode setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:36 +00:00
Václav Slavík
c358c6601f implemented wxApp::Get/SetDisplayMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:15 +00:00
Václav Slavík
55176f44e2 oh, better interface to GetDisplayMode (Vadim was right; previous commit was by accident)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:06 +00:00
Gilles Depeyrot
b585338405 install apparently ignores -p option under Mac OS X, use cp -p instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 23:08:16 +00:00
Gilles Depeyrot
6054113a50 corrected install program for Mac OS X (use AC_PROG_INSTALL but add -p option
to INSTALL_PROGRAM and INSTALL_DATA in order to preserve modification dates)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 22:42:30 +00:00
Vadim Zeitlin
9ba53034e7 removed OnSetFocus() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:49:33 +00:00
Václav Slavík
1b4908dedc added wxApp::GetDisplayMode function for fullscreen ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:36:15 +00:00
Václav Slavík
c88040761c recently checked in patch was ignorant to wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:36:01 +00:00
Václav Slavík
ea7682f015 oops, configure defined _WIN_IE instead of _WIN32_IE for cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:35:21 +00:00
Robin Dunn
eedf876b34 Added wxPostscriptDC to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:34:26 +00:00
Robin Dunn
00c64037fb A little tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:33:54 +00:00
Robin Dunn
b403ab005c Enabled wxPostscriptDC to be used in wxMSW, if wxUSE_POSTSCRIPT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:31:07 +00:00
Vadim Zeitlin
c5c528fc7f implemented Freeze/Thaw() for the generic listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 17:06:29 +00:00
Ron Lee
4fb788e466 Added static lib to shared build targets for wxMSW builds.
Added -dbg packages for msw-cross.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 13:00:52 +00:00
Ron Lee
d685354062 Tweaked config for weird static lib BSDism.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 11:29:05 +00:00
Ron Lee
77e1340840 Added separate import lib for msw .dlls
Removed useless mingw and cygwin options.
Fixed library naming for msw _gl and set 'unix' style names for cross
builds and 'windows' style for native builds.
Added $target to wx-config, and fixed lib/header dir exclusions.
Added -mwindows to wx-config output for gui libs.
Fixed wx-config to output import lib instead of dll for shared
msw builds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 11:08:15 +00:00
Ron Lee
a0145564d0 added missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 05:14:32 +00:00
Vadim Zeitlin
8c290175b3 don't send fictious menu events when another WM_COMMAND occurs while a popup menu is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 00:34:44 +00:00
Václav Slavík
2f7adba06f mingw compilation fixc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 23:33:08 +00:00
Robin Dunn
b66824a572 wxPython updates to match recent updates to wxCalendarCtrl, wxGrid,
and wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 23:21:45 +00:00
Stefan Csomor
eea0ecad6e corrected findfirst/next on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 22:00:54 +00:00
Robin Dunn
ab11ebfa19 wxPython updates to match recent updates to wxCalendarCtrl, wxGrid,
and wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:56:23 +00:00
Gilles Depeyrot
eb5420bf25 updated and renamed CodeWarrior 5.3 project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:52:13 +00:00
Stefan Csomor
9673f535ac corrected rebuild of more than one-level hiearchical menus when not directly added to the current menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:47:11 +00:00
Robin Dunn
a705ee4785 Removed som unnecessary sh-bangs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 19:43:54 +00:00
Vadim Zeitlin
764566762c check for wxOnAssert reentrancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 18:35:50 +00:00
Vadim Zeitlin
eb749c3e37 fixed wxString::resize() which was completely broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 18:17:38 +00:00
Vadim Zeitlin
4d509295ee don't make the log dialog taller than the screen (patch 457695)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:52:27 +00:00
Vadim Zeitlin
fe7b9ed6fd support for vetoing grid cell editing (patch 469049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:44:55 +00:00
Vadim Zeitlin
f8a4fa4c99 more efficient SetStatusText for the generic wxStatusBar (patch 469976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:38:40 +00:00
Vadim Zeitlin
7cc5041d03 fix a bug for bitmap changing in wxWizard (patch 474975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:30:42 +00:00
Vadim Zeitlin
f80bf90194 wxWizard help patch (474974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:29:38 +00:00
Vadim Zeitlin
a0a48a3f0d wxWizardPage may be loaded from resource (patch 470683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:22:44 +00:00
Vadim Zeitlin
02244615e5 replaced a static buffer with wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 16:43:28 +00:00
Vadim Zeitlin
4660d7e5d6 applied patch to make wxGLCanvas derive from wxWindow, not wxScrolledWindow (Paul A. Thiessen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 16:08:52 +00:00
Vadim Zeitlin
6f75447397 give an error and stop if OpenGL libs not found but --with-opengl was specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:45:07 +00:00
Vadim Zeitlin
37df1f3370 patch from Søren Erland Vestø for additional wxCalendarCtrl styles (also moved them all to calctrl.h from defs.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:42:51 +00:00
Julian Smart
2a8f50bb72 Updates to project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 09:06:13 +00:00
Gilles Depeyrot
4538b3f1b0 added missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 07:13:17 +00:00
Gilles Depeyrot
e84010cf65 added missing const
ise "..." instead of <...> for wx headers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 07:03:26 +00:00
Robin Dunn
92b002a4c8 Added wxEntryStart, wxEntryInitGui, and wxEntryCleanup for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:59:02 +00:00
Robin Dunn
2c667cb8d8 swig updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:23:18 +00:00
Robin Dunn
b184227d4b wxDragLink for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:22:57 +00:00
Robin Dunn
df26d82fc3 Removed GetOldIndex, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 02:00:32 +00:00
Robin Dunn
a40b5e8474 Updated XRCed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:59:05 +00:00
Robin Dunn
b6ea61a589 Create the directories fo rthe .pch, etc. files if it doesn't exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:34:37 +00:00
Robin Dunn
4fa54a31ad SetEventObject for wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:14:16 +00:00
Vadim Zeitlin
1bffa9138f replaced wxList for storing HWND <-> wxWindow with wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:44:19 +00:00
Vadim Zeitlin
a4aad4def6 ignore the border flags for the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:42:56 +00:00
Vadim Zeitlin
08d7397c9a BC++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:05:01 +00:00
Julian Smart
c12b84937e Made project file work for Release and Debug targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-01 11:54:01 +00:00
Gilles Depeyrot
65fd49a434 remove static libraries and recreate them to avoid stale object files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 23:30:45 +00:00
Gilles Depeyrot
b53e38fed5 changed ar options to reduce build verbosity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 23:21:25 +00:00
Gilles Depeyrot
1d0b7ed3f3 corrections to required setup for wxWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:55:13 +00:00
Gilles Depeyrot
bb89dec340 clarified native line ending for Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:48:51 +00:00
Gilles Depeyrot
a73523797c added comment concerning native line endings under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:41:08 +00:00
Ron Lee
f3507ce40d really fix wxPython dist target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:30:15 +00:00
Gilles Depeyrot
ff8fda3617 corrected access to NULL parameters in wxGetOsVersion
replaced wxMACINTOSH with wxMAC and wxMAC_DARWIN to differentiate return
value of wxGetOsVersion according to whether Mac paths or Unix paths are used


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:23:58 +00:00
Gilles Depeyrot
a3df447d8b shortened configure warning messages to avoid exceeding 80 characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:18:22 +00:00
Gilles Depeyrot
e5b1c41c49 removed subprojects for ldef and cdef, changed to in-proc ldef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:06:57 +00:00
David Webster
9c88ff79e5 Some more Multi-Line Text control fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 21:10:04 +00:00
George Tasker
051443d481 Fixed compilation of this file using tex2rtf in RTF mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 17:11:04 +00:00
George Tasker
da78fdf31c Put a backslash before a '_'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 17:10:39 +00:00
Stefan Csomor
e42e45a9dd removed subprojects for ldef and cdef, changed to in-proc ldef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 16:22:33 +00:00
Stefan Csomor
bb5f7ca77e removed subprojects for ldef and cdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 16:12:02 +00:00
Ron Lee
ad8b399079 made declaration of WXDLL_ENTRY_FUNCTION match it definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 12:38:42 +00:00
Ron Lee
835fed359d added new wxPython dirs to dist target for .debs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 09:42:54 +00:00
Gilles Depeyrot
a044cb721a use wxFILE_SEP_PATH instead of ':' separator for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:26:08 +00:00
Gilles Depeyrot
e8e1d09e0e corrections for path handling under Mac OS X
Classic Mac paths (: separator) are used when compiled using CodeWarrior even
under Mac OS X; Unix like Mac paths (/ separator) are used when compiled using
the Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:25:05 +00:00
Vadim Zeitlin
d56e2b972f made wxFileName::Set/GetTimes() work under Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 02:42:50 +00:00
Vadim Zeitlin
7de3c4699f fixed typos in wxBase template and project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 02:23:26 +00:00
Václav Slavík
580616706f cleanup in wxMGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:51 +00:00
Václav Slavík
253293c103 changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:04 +00:00
Václav Slavík
6296744f45 added inactive titlebar text colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:27:00 +00:00
Mattia Barbon
25acfd4ca3 Fixed wxMask::Create(bitmap,colour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 20:52:35 +00:00
Robin Dunn
68d92db331 Updated timer demo (again ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:16:01 +00:00
Robin Dunn
e6157a6995 Updated timer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:15:13 +00:00
Vadim Zeitlin
10eb1f1eac applied wxDirSelector() patch and regenerated the makefiles to include the new src/common/dseldlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 16:58:42 +00:00
Vadim Zeitlin
4f2570aaf1 added stat.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 16:44:45 +00:00
Vadim Zeitlin
246c704fca fixed compilation problem in SetTimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 15:34:15 +00:00
Vadim Zeitlin
87948f22dd minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:56:40 +00:00
George Tasker
5921a14eca Fixed code that should have been enclosed in brackets but wasn't, causing the program flow to abort part way through the function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:40:23 +00:00
George Tasker
92a19c2e77 All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
George Tasker
3a7bfa067e Changes to make commandline compilation with VC6 match the same settings and LIB names as created with the VC IDE.
LIB/PCH/PDB files are now created in the same directories (off the wxWin dir) that the IDE uses


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 12:51:29 +00:00
Vadim Zeitlin
176e7e8321 added wx/platform.h to the list of files and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 11:48:14 +00:00
Robin Dunn
4c3b4ed07f DSM fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 07:03:33 +00:00
Robin Dunn
ee707cb73a Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:58:52 +00:00
Robin Dunn
5c0282d504 Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:53:13 +00:00
Robin Dunn
b37c7e1dcd Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:43:54 +00:00
Vadim Zeitlin
951cd18031 added and partly implemented the time functions for wxFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 02:41:30 +00:00
Vadim Zeitlin
9f51f2b678 applied Watcom thread patches and made thread entry point stdcall for all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 02:40:28 +00:00
David Webster
42be4418fe Yet another .def file for OS/2 VA
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 22:54:25 +00:00
Gilles Depeyrot
e7e1b01eb5 path/file corrections for Darwin/Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 22:26:59 +00:00
Gilles Depeyrot
334d244877 corrected wxMacFSSpec2MacFilename and wxMacFilename2FSSpec to convert to/from
Unix style paths under Mac OS X (when compiled with the Apple DevTools)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 20:20:46 +00:00
Vadim Zeitlin
7f35402d14 removed wxListEvent::m_oldItemIndex from docs, it is not used for anything anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 17:48:28 +00:00
Vadim Zeitlin
1b73381734 added WXEXPORT to wxGetClassFirst() declaration to make it work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:35:04 +00:00
Vadim Zeitlin
78340847c9 extracted platform/compiler detection macros from wx/defs,h into wx/platform.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:33:46 +00:00
Vadim Zeitlin
21977bac1a improved sizing of wxBusyInfo window and updated the docs a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:32:42 +00:00
Vadim Zeitlin
a62b0bcc14 added wxBusyInfo test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 13:21:29 +00:00
David Webster
8330166c65 Some more frame formating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 03:01:39 +00:00
Václav Slavík
f41ed3c442 minor wxMGL fixes -- controls sample is now OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 23:25:35 +00:00
Gilles Depeyrot
0b7a8cd392 corrected realization of vertical toolbars (were always horizontal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 21:51:24 +00:00
Stefan Csomor
5384bdbc77 added clientdata to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 20:25:16 +00:00
Stefan Csomor
f00f657d37 added conversion routines to CIconHandle, removing pre 8.6 routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:52:40 +00:00
Stefan Csomor
7205570233 added conversion routines to CIconHandle, removing pre 8.6 routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:32:42 +00:00
Stefan Csomor
2fb4d7b86e added conversion routines to CIconHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:26:05 +00:00
Václav Slavík
3590965bf9 added msw/gccpriv.h and others to headers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:52:30 +00:00
Václav Slavík
c3c031dd1d added msw/gccpriv.h and others to headers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:52:19 +00:00
Václav Slavík
fbe77ceae5 fix for colspan or rowspan = 0 in HTML tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:26:14 +00:00
Václav Slavík
2d963ba2cb fix for animated GIFs with frames of different dimensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:25:37 +00:00
Václav Slavík
8ecd8ade37 applied wxListCtrl label editing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:24:59 +00:00
Robin Dunn
89c8ea73d4 new files for wxSTC on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:35:03 +00:00
Robin Dunn
8a2fa5c83a new files for wxSTC on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:23:43 +00:00
Robin Dunn
74933d7501 Since there have to be platform ifdef's in wxSTC for wxMAC then we
need to have septarate sets of the swig generated code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:19:32 +00:00
Vadim Zeitlin
2dfba8cac9 removed some straym ^Ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:25:13 +00:00
Vadim Zeitlin
aeddd5a582 fixed wxNotebook bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:24:11 +00:00
Robin Dunn
1bc3250868 First pass at wxPython for Mac (darwin only so far). It
builds but doesn't run yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:15:09 +00:00
Robin Dunn
e6056257ab First pass at wxPython for Mac (darwin only so far). It
builds but doesn't run yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:08:14 +00:00
Vadim Zeitlin
35bf863b1c don't make the dialogs appear in the taskbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:07:29 +00:00
Vadim Zeitlin
34e5028ffe position the controls correctly in the vertical toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:07:09 +00:00
Vadim Zeitlin
42d6e13697 wxToolBarTool::IsXXX() should return bool, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 23:56:08 +00:00
David Webster
dbd4b16d5e removed defs.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 20:45:22 +00:00
Ron Lee
cb4a5a7316 fix for regex dist target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 18:35:57 +00:00
Robin Dunn
17c0e08c61 fixes for the wxPre* helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:23:04 +00:00
Robin Dunn
c9a1416a3a Added wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:19:20 +00:00
Robin Dunn
e8bf92fd9c Use the right flags on wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 05:46:39 +00:00
Robin Dunn
96af6eb5fd New PyCrust files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:14:12 +00:00
Robin Dunn
846ec2f9ed Added URL drag and drop sample to the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:13:11 +00:00
Robin Dunn
e6d318c25a Added wxDragLink
Added SetURL to wxURLDataObject

Fixed the Mozilla problem by reversing the order of the component DOs
in the wxURLDataObject.  By checking the wxTextDataObject first then
it avoids the problem of how Mozilla sends the UniformResourceLocator
data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:11:23 +00:00
Gilles Depeyrot
ac00ac40ed added ranlib after installation for static library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-25 20:52:10 +00:00
Ron Lee
c1ea7b7bc3 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-25 15:26:54 +00:00
Mattia Barbon
458ee9e452 Regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 21:16:56 +00:00
Mattia Barbon
8b61ede4ab Removed makefile.g295, added src/msw/files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 21:02:02 +00:00
Mattia Barbon
0e44823110 Various cygwin compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00
Mattia Barbon
f676c7ffd5 * make install now installs OLE headers on cygwin
* cygwin now uses the same naming conventions for libraries as the
  rest of wxMSW
* updated filelist.txt
* added code to filelist.t fo parse OLE headers
* all platforms using configure now have
  --enable-no_rtti, --enable-no_exceptions on by default


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:41:34 +00:00
Vadim Zeitlin
3fe03e474d fixed CURSOR resource leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 19:12:54 +00:00
Robin Dunn
e26c0634d0 Changed CanPaste to just check IsSupported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 17:46:31 +00:00
Václav Slavík
91cddacfe0 fix for typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 23:21:31 +00:00
Robin Dunn
a29a241fd6 Added DnD related events to wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 22:12:50 +00:00
Gilles Depeyrot
4f14bcd874 implemented --with-<lib> options (yes, no, sys, and builtin) for libjpeg,
libtiff, libpng, freetype, regex and zlib
default is sys which falls back to builtin if the system library is not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 21:03:32 +00:00
Vadim Zeitlin
de85a884d7 applied patch 473558: fixes for CW compilation under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 20:43:23 +00:00
Vadim Zeitlin
2c37aade57 fixed nice bug in wxGTK which always draw the text with the same foreground colour as background one in wxSOLID mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 17:41:51 +00:00
Vadim Zeitlin
5d2878fb28 simplified WXDLLEXPORT/IMPORT defines, added WXEXPORT/IMPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 15:47:57 +00:00
Vadim Zeitlin
eead3ccb25 more incompatible changes listed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 00:26:04 +00:00
David Webster
0cce11b2fa New Module Definition file for VisualAge .dll builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:16:04 +00:00
David Webster
9e279f1462 Elimiante include of defs.h for VisualAge compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:13:51 +00:00
David Webster
42f2e3e9bb no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:12:59 +00:00
Robin Dunn
275c4ae474 It's better to scroll by a little too much than by just barely not enough...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:05:24 +00:00
David Webster
987da0d411 Some OS/2 Modifications for coordinate normalizations and code for some common controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 05:15:25 +00:00
David Webster
afa59b4e88 Some OS/2 Modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 05:11:09 +00:00
Robert Roebling
8766aa0948 Correction for wxFileConfig where UNIX was taken
instead of MAC where both aredfined in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 23:02:37 +00:00
Robert Roebling
6fa882bd0a Correction for make install and wxMac static libs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 23:01:11 +00:00
Robert Roebling
d15a8ad4ee Minor fix for make dist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 22:59:23 +00:00
Robert Roebling
2f53787caf A few files were missing in the wxMac package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 15:30:02 +00:00
Robert Roebling
b9eed05d91 Updated install.txt for Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 15:29:21 +00:00
Robert Roebling
9bfaa55f27 Updated Makefile to make "make dist" work right for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 14:03:25 +00:00
Robert Roebling
074ea1b777 Added missing changes.txt for wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 14:02:25 +00:00
Gilles Depeyrot
07d08a4dc4 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:49:22 +00:00
Stefan Neis
9829f27727 Added support for new style OS/2 autodetection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:38:31 +00:00
Gilles Depeyrot
0e03d1fac8 added missing type for static variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:33:10 +00:00
Gilles Depeyrot
bb378910f7 conditional compilation for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:32:39 +00:00
Gilles Depeyrot
ac0fa9eff8 corrected dynamic class implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:19:12 +00:00
Robin Dunn
d9207cc826 updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:58:51 +00:00
Robin Dunn
2aab8f16ac Added wxClientDataContainer to wxSizer, so sizers can now do OOR in
wxPython too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:56:07 +00:00
Robin Dunn
73c13bb93c #undef Yield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:52:09 +00:00
Robin Dunn
a4fbdd76c1 Updated for new library and DLL names on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:49:09 +00:00
Robin Dunn
dfef5d5165 Fixed some demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:44:47 +00:00
Robin Dunn
729f427637 Added wxRightTextCtrl from Josu Oyanguren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:58 +00:00
Robin Dunn
235573500c New PyCrust files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:12 +00:00
Vadim Zeitlin
33b12a3ab3 fixed "toolbar getting focus" bug for the (N+1)-th time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 00:25:34 +00:00
Vadim Zeitlin
f04a0744b0 blind fix for the initial dialog position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 00:08:03 +00:00
Václav Slavík
08c4a8a9dd wxRegion fixes (off by one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:09:24 +00:00
Václav Slavík
d9d59a587c reverted Kendall's commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:09:11 +00:00
Václav Slavík
21a700f3c8 fix for MGL bug when rendering text with solid background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:07:50 +00:00
Václav Slavík
e1218bd636 added wxApp::Yield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:07:13 +00:00
Mattia Barbon
4f9c7d92dd Cygwin does support 64 bit ints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 21:10:22 +00:00
Stefan Csomor
fe35d097d6 corrected file type pop up for only one liners, added parsing for different types on same line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 20:50:11 +00:00
Stefan Csomor
10207b728d corrected #ifdef TARGET_CARBON to #if TARGET_CARBON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 20:01:52 +00:00
Stefan Csomor
892e461e33 changed menu creation for choice and combobox (unique ids), control changed back to old selection code for non carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 19:57:27 +00:00
Robin Dunn
9af175d227 Put the vertical limit back in for the AutoCOmp list box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 17:49:06 +00:00
Stefan Csomor
f7efcd8144 added correct wchar include for metrowerks compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 08:07:47 +00:00
Stefan Csomor
551a6c64bb removed duplicated DYNCLASS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 08:02:15 +00:00
Gilles Depeyrot
be6468f3cc removed extra DECLARE_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 07:39:52 +00:00
Vadim Zeitlin
a63cbfa336 fixd creation of controls with default initial size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 01:15:53 +00:00
Vadim Zeitlin
86f1458257 don't use hidden windows as implicit dialog parents neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 00:40:32 +00:00
Vadim Zeitlin
e058b98d8a don't use windows about to be destroyed as implicit dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 00:10:51 +00:00
Gilles Depeyrot
5d6c436536 removed corrected detection of wchar_t under Mac OS X (added in revision 1.355)
since there only seem to be stub functions (no wcslen available)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 21:13:06 +00:00
Václav Slavík
0d53fc3442 we no longer need wxFrameNative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 20:35:05 +00:00
Vadim Zeitlin
af15babd51 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:08:13 +00:00
Vadim Zeitlin
9952adac06 use statvfs() if statfs() is not available (Solaris)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:03:52 +00:00
Vadim Zeitlin
8461e4c253 added wxApp::Yield()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Vadim Zeitlin
85ee61ac2e who forward declared wcslen() without using extern "C" around it?? and why was it needed at all? removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:54:49 +00:00
Vadim Zeitlin
d22ff69d2d use -I. for parser.c as it needs it to find lexer.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:37:07 +00:00
Vadim Zeitlin
8f17876f2b fix for BSD compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:31:04 +00:00
Vadim Zeitlin
d714471b30 don't include X11 path before our own -I because on some systems (FreeBSD) wx headers are installed under /usr/X11R6/include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:30:04 +00:00
Vadim Zeitlin
12232f37d1 fixed test for statfs() for BSD systems, not just MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:56:53 +00:00
Vadim Zeitlin
d20a079e3a oops, typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:30:46 +00:00
Vadim Zeitlin
d73e6791fc added wxStreamToTextRedirector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:27:15 +00:00
Stefan Csomor
b729ceb23d corrected default arguments, so that setting GetStdIcon works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:57:59 +00:00
Vadim Zeitlin
7da982c4ec simplified wxTextCtrl::Create() to use wxControl::MSWCreateControl() instead of duplicating its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:34:37 +00:00
Robin Dunn
0e7bd27a8d Use the black pen for the border on Windows now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:17:13 +00:00
George Tasker
4de853984d Added -DSTRICT to the WINFLAGS variable to match the new project settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 13:20:07 +00:00
George Tasker
0a0fc5b527 Removed a line of debug code that got left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 11:37:01 +00:00
Vadim Zeitlin
68f36a2ca1 fixed resource leak in wxBitmap::CopyFromIconOrCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 23:29:09 +00:00
Vadim Zeitlin
f0adbe0ffd fix for the initial size of the dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 23:18:34 +00:00
Václav Slavík
e6daf008d8 added screenshot capturing for debugging purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 22:51:05 +00:00
Gilles Depeyrot
7d12127f14 added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:51:18 +00:00
Gilles Depeyrot
cf248c80a3 use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:39:50 +00:00
Gilles Depeyrot
318f6d79a8 use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:34:12 +00:00
Vadim Zeitlin
84f68c21f4 fix for wxStatusBar linking problems under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:24:04 +00:00
Gilles Depeyrot
6616a36dbf use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:22:05 +00:00
Mattia Barbon
ec7cd4c478 #elif -> #else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:18:32 +00:00
Mattia Barbon
d1d2cd38c4 Added RTTI macros to wxSplashScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:09:21 +00:00
Mattia Barbon
2654a046d7 Check for wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:07:11 +00:00
Mattia Barbon
b3bd664a90 Updated makefile.g95/vc to behave similarly to wxWindows.dsp WRT library names
and setup.h .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:05:20 +00:00
Mattia Barbon
deb3ea6a34 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:58:12 +00:00
Robin Dunn
79f1bf32d7 Added a set of sophisticated Error Dialogs from Chris Fama.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:41:33 +00:00
Gilles Depeyrot
c9ce02acf8 added conditional compilation around wxGTK specific include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:20:40 +00:00
Robin Dunn
c20da25748 An incorrect patch to SWIG caused incorrect generated code. Fixed and regenerated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:34:15 +00:00
Robin Dunn
3bcd5e1c64 An incorrect patch to SWIG caused incorrect generated code. Fixed and regenerated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:26:06 +00:00
Robin Dunn
0e94700456 Some little tweaks...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:19:38 +00:00
Robin Dunn
54a816a683 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:12:47 +00:00
Gilles Depeyrot
db4192047f removed wxGetTranslation already defined in wx intl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:09:53 +00:00
Robin Dunn
a697845484 Expanded some release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:06:02 +00:00
Robin Dunn
b1e930a50d Added wxTE_NOHIDESEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 18:04:48 +00:00
Robin Dunn
75cada8e68 Removed wxLB_SORT flag. Users of the Autocomplete will now have to
sort their lists themselves, but this lets them sort it either case
sensitive or insensitive and use AutoComp the same way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 17:07:20 +00:00
Robin Dunn
f96b15a3c2 wxGTK's wxListBox now returns a meaningful value for DoGetBestSize
instead of just 100x110.  (Needed by wxSTC.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 16:56:01 +00:00
Stefan Csomor
f056ea60f3 corrected wxGetWorkingDirectory for mac (stripping last char off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 15:55:14 +00:00
Robin Dunn
fe0aca3712 wxPython updates for new wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:33:13 +00:00
Robin Dunn
76e280e796 reference count bugs in DrawXXXList fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:30:53 +00:00
Robin Dunn
30dbb45440 A fix for Scintilla's case insensitive sort routine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:27:16 +00:00
Robin Dunn
b8b0e4022e Updated to version 1.40 of Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:24:58 +00:00
Robin Dunn
2fe212b033 Updated to new PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:20:54 +00:00
Vadim Zeitlin
5a8f04e382 added and documented wxTE_NOHIDESEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 00:53:35 +00:00
Vadim Zeitlin
4fcf087dda create lib\...\setup.h from setup.h, not setup0.h which is not meant to be edited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 00:43:52 +00:00
Kendall Bennett
251b80c4b5 Added missing OS/2 files for wxUniversal on OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:31:57 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Guillermo Rodriguez Garcia
7361f176df Added comment explaining that it's not necessary to use LEX and YACC on
Windows since the files will be copied from doslex.c and dosyacc.c by
default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 16:18:56 +00:00
Vadim Zeitlin
8e0c305167 fixed linking problems related to wxStatusBar under wx!MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 14:30:29 +00:00
Vadim Zeitlin
b64a84736d fix for linking problem under !MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 13:44:16 +00:00
Julian Smart
2f67ae898e Applied patch sent to me for xpmdecod.cpp/VC++ compilation, and changed
VC++ project filenames in vc.rsp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 13:35:42 +00:00
Gilles Depeyrot
0c718eb7e0 added wxStatusBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 11:30:01 +00:00
Gilles Depeyrot
652d930d65 Use -h instead of -L to test for link
-h is documented as obsolete under Mac OS X but works
  -L is obsolete under Solaris8
Will need to fix this when -h no longer works under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 11:26:30 +00:00
Robin Dunn
8082483b70 tweaked some tests a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:57 +00:00
Robin Dunn
f3c2c22108 Another attempt to handle key events correctly for wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:09 +00:00
Robin Dunn
df9176ab71 Autodetect image type, some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:14:43 +00:00
Robin Dunn
9d37f96428 Added some optimization methods to wxPython's wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:06:09 +00:00
Mattia Barbon
9e0a12c958 Changed char* to wxChar* in wxColour constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:05:56 +00:00
Robin Dunn
de448406da regenerated from glcanvas.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:05:03 +00:00
Robin Dunn
de112a55a2 added AppendToPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:03:26 +00:00
Robin Dunn
99f7d3407f update for interface changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:02:44 +00:00
Mattia Barbon
1d341cf4f7 Some MinGW-related updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 18:59:58 +00:00
Robin Dunn
43edcf13ca fixed typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 18:49:35 +00:00
Stefan Csomor
49f992a5ff no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 13:32:05 +00:00
Vadim Zeitlin
874efd13e1 reverted my accidental changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 12:33:56 +00:00
Stefan Csomor
47834fab06 added statusbr from common, removed 68k targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 06:31:37 +00:00
Jouk Jansen
61e6020f90 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/distrib/msw/makefile.rsp
 	wxWindows/src/common/descrip.mms
 Added Files:
 	wxWindows/samples/richedit/descrip.mms

 Updated OpenVMS compile support

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 06:14:26 +00:00
Vadim Zeitlin
cece1d88c0 fixed status bar drawing broken by previous compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 00:35:06 +00:00
Vadim Zeitlin
bf69498afc show some text in the status bar panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 00:03:28 +00:00
Vadim Zeitlin
5039d7edc2 refresh wxStaticText after changing its label if we change its size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 23:00:25 +00:00
Vadim Zeitlin
85cdcb7a20 fixed wxListCtrl::DeleteAllColumns() in the generic listctrl (patch 470251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:55:21 +00:00
Václav Slavík
cdcb56fc96 fixes to mask creation by colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:55:17 +00:00
Václav Slavík
fa7cdd7f48 fixed off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:54:44 +00:00
Václav Slavík
a9a05059b9 oops, segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:53:37 +00:00
Václav Slavík
df02852424 added GetStdIcon support to wxRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:53:01 +00:00
Václav Slavík
6311b1e88c removed junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:52:27 +00:00
Václav Slavík
63f06c22b9 1. added GetStdIcon support to wxRenderer
2. wxMGL fix (stipples must be 8x8 pixels)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:50:50 +00:00
Vadim Zeitlin
48c1b6f937 made wxStaticBox transparent (patch 427936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:49:15 +00:00
Václav Slavík
7f664d9878 compilation fix for wxMGL (NotUniv directive doesn't work and I'm too much of perl illiterate to fix it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:47:34 +00:00
Václav Slavík
fe9fea7ec7 compilation fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:45:37 +00:00
Vadim Zeitlin
e1bdd5078c fix for the dialog controls font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:17:09 +00:00
Vadim Zeitlin
a93e536be0 reveretd change commenting out IMPLEMENT_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 21:28:46 +00:00
Vadim Zeitlin
498fd97d9e oops, forgot to commit yesterday changes related to wxStatusBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 21:20:18 +00:00
Vadim Zeitlin
bbed9595c1 added section about incompatibilities between 2.2 and 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 19:08:01 +00:00
Robert Roebling
e23081dec8 Further fixes for wx-config and MacOS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 15:40:44 +00:00
Robert Roebling
2277aeccc8 wxStatusBar doesn't link with double IMPLEMENT... macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 10:07:20 +00:00
Robert Roebling
2baaf735f4 Added Rez support to wx-config for MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 10:06:24 +00:00
Václav Slavík
c641b1d20d decouple wxTLW,Frame::ShowFullScreen in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:54:06 +00:00
Václav Slavík
065f27fe3a fixes to MSW LowLevel files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:53:48 +00:00
Václav Slavík
0a89ac9c27 wxWindow::Enable now correctly has recursive effect (and maybe other fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:24 +00:00
Václav Slavík
3902989824 added wxHtmlWindow::AppendToPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:05 +00:00
Václav Slavík
e3fc616c07 wxBusycursorSuspender used in wxMGL as well (we need it for other platforms as well, I'm afraid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:18:35 +00:00
Václav Slavík
5fd1ea325c fixed restoration of global cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:18:09 +00:00
Václav Slavík
c109254cc6 DC output fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:58 +00:00
Václav Slavík
493bdcc72a antialiasing now disabled for small fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:33 +00:00
Václav Slavík
0cba94f21a removed obsolete files from wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:02 +00:00
Václav Slavík
41e929e5cf decouple wxTLW,Frame::ShowFullScreen in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:16:16 +00:00
Václav Slavík
1ccd23f5c4 wxUSE_CHOICE ifdefs, so that the sample compiles with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:12:43 +00:00
Vadim Zeitlin
91f5c4d03b regenerated from the templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:50:15 +00:00
Vadim Zeitlin
71e030352d 1. added wxStatusBarUniv
2. several bug fixes to wxSpinButton/wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:38:58 +00:00
Julian Smart
5d9007815f Updated email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 14:08:20 +00:00
Gilles Depeyrot
7f6097f17d added conditional compilation test around wxGetDiskSpace for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 09:51:37 +00:00
Gilles Depeyrot
f4ac069301 use MoreFiles under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:25:45 +00:00
Gilles Depeyrot
24fcf68943 include wxWindows headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:23:04 +00:00
Gilles Depeyrot
d739313fc0 corrected comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:22:20 +00:00
Gilles Depeyrot
3369df870b corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:21:22 +00:00
Gilles Depeyrot
a29b6191ca use native dialogs instead of generic ones under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:19:39 +00:00
Ron Lee
54abcc91d0 Fixed clean target to really clean all the cruft that gets created
at build time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 01:48:14 +00:00
Ron Lee
7cf43d5ef9 Merged IA64 build fixes from 2.2 (this will undoubtably need to be tested
before we can claim 2.3 works on that platform)
Updated config{guess,sub}


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 00:20:37 +00:00
Václav Slavík
b8c0528db3 better windows painting in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 22:49:57 +00:00
Václav Slavík
a9f994d915 fixed mouse capture release code -- it previously released capture of window that didn't gain it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 22:49:09 +00:00
Vadim Zeitlin
4403ced6fc changed some Remove()s into RemoveAt()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:34:08 +00:00
Gilles Depeyrot
da2b4b7a57 use MoreFiles under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:12:44 +00:00
Gilles Depeyrot
b9b7804a43 removed useless files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:07:25 +00:00
Gilles Depeyrot
777db7a5bf updated wxMac file list (use MoreFiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:05:56 +00:00
Gilles Depeyrot
5271933eeb corrected typo in conditional compilation for Darwin/Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 19:29:41 +00:00
Gilles Depeyrot
ed12f1dd6d strcasecmp is in the system libraries under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 18:54:28 +00:00
Gilles Depeyrot
13c0541d3c Added flat Carbon and MoreFiles headers to compile flags
Added MoreFiles to wxMac toolkit VPATH
Removed check for strings.h for wxMac (conflict with flat Carbon headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 12:26:50 +00:00
Gilles Depeyrot
dd8914bc51 added wxMac distribution target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 12:22:46 +00:00
Gilles Depeyrot
293e425d0e added MoreFiles sources to wxMac under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 08:52:34 +00:00
Robin Dunn
0220cbc169 Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 00:41:21 +00:00
Robin Dunn
0122b7e3fc Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:26:38 +00:00
Vadim Zeitlin
8754feb848 don't define wxUSE_OWNER_DRAWN for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:21:58 +00:00
Vadim Zeitlin
4eb438cf7c added base parameter to wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 20:26:48 +00:00
Robin Dunn
758bce950b Added style parameter to wxPopupWindow ctors so they match the Create method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 18:11:46 +00:00
Vadim Zeitlin
337a001037 fix for Solaris realloc() which moves the memory block even when the block size is reduced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 17:29:19 +00:00
David Webster
8b530febd8 Added new cmdline parsing classes to wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:38:41 +00:00
David Webster
2d02117538 Cleaned up makedfile to handle setup.h better. Added command line parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:38:08 +00:00
Stefan Csomor
85f296a342 fixed memory leak and optimized GetSubBitmap (Kudos to Eric Lavigne)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:11:12 +00:00
David Webster
4cd411faee New wxUSE entries to support some new wx features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 15:25:39 +00:00
David Webster
956797563c Not really needed in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 15:24:39 +00:00
Vadim Zeitlin
c5b7bb59ec fix to avoid internal compiler error with gcc 2.95.2 on Alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:16:20 +00:00
Vadim Zeitlin
735d1db6cb made wxString::assign() more efficient (don't force buffer reallocation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:09:54 +00:00
David Webster
f5643147a4 Some updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:01:11 +00:00
Gilles Depeyrot
62b1c48cd7 updated with latest morefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:51:32 +00:00
Vadim Zeitlin
28efed0faa make the main dialog resizeable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:16:12 +00:00
Vadim Zeitlin
b889a3a24b do *NOT* make the window of the size of its parent initially, fixes missing EVT_SIZE problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:15:30 +00:00
Vadim Zeitlin
a69103348f create wxNotebook without any extended style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:14:47 +00:00
Robin Dunn
b88c44e735 Moved client data stuff directly into wxEvtHandler, #if'd out
wxClientDataContainer for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 03:18:35 +00:00
Robin Dunn
a6ee08e16a fixed leaking wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 16:15:51 +00:00
Robin Dunn
3fa826301b add a newline to the log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 16:15:19 +00:00
Ron Lee
1a40c31edf added DEFINE_LOCAL_EVENT_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 00:14:54 +00:00
Vadim Zeitlin
603fd22177 more missing WXDLLEXPORT(_DATA)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:58:18 +00:00
Stefan Csomor
5baa230d46 morefiles 1.5.2 adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:02:18 +00:00
Stefan Csomor
95e59663dc no precompiled MacHeaders anymore (guarantees synched headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:00:57 +00:00
Stefan Csomor
92622ef4c2 new version 1.5.2 for morefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:57:33 +00:00
Václav Slavík
a46935cb54 fixed menu navigation with mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:44:08 +00:00
Václav Slavík
1ac162ad06 FIXME so that I don't forget to implement this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:43:21 +00:00
Vadim Zeitlin
afadf3bc6a fix to allow code using EVT_END_PROCESS to compie with new wxEvtHandler declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:34:55 +00:00
Vadim Zeitlin
f417f1d53f added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:33:34 +00:00
Vadim Zeitlin
d2a533a059 added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:18:19 +00:00
Gilles Depeyrot
ad781c239e renamed global variable to avoid conflict with export from Mac OS X framework
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 21:55:40 +00:00
Gilles Depeyrot
683dccdaeb provide option to disable use of precompiled headers (Mac OS X)
this is useful for tinderboxes where the errors produced by the Apple
Developer Tools make it difficult to sort through the logs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 21:47:12 +00:00
Gilles Depeyrot
908381536e improved OpenGL related documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 18:48:59 +00:00
Vadim Zeitlin
8976cbbc48 don't add /MT to CFLAGS explicitely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:42:02 +00:00
Vadim Zeitlin
ec2995088d fixes for cube sample from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:37:33 +00:00
Robin Dunn
00b2a97f34 Removed client data stuff from wxMenuBase since it now gets it from wxEvtHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:04:41 +00:00
Vadim Zeitlin
750b113f76 updated templates and regenerated project files for OpenGL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 12:55:54 +00:00
Jouk Jansen
4878d85ccc Committing in .
Modified Files:
 	wxWindows/src/common/descrip.mms

 Updated OpenVMS makefiles.

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 12:18:45 +00:00
Vadim Zeitlin
654d905270 attempts to process non ASCII key strokes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 11:57:03 +00:00
Vadim Zeitlin
e111559956 [blind] fixes to the project file according to George's message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 09:36:55 +00:00
Jouk Jansen
0041d4b672 Committing in .
Added Files:
 	wxWindows/src/html/descrip.mms

 Compile support for OpenVMS
 (Thanks VZ for the help with removing my unsuccessfull checkin)

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 06:14:34 +00:00
Vadim Zeitlin
edb89f7e35 formatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 01:44:00 +00:00
Vadim Zeitlin
f85d862c23 ignore samples workspace files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 01:15:51 +00:00
Vadim Zeitlin
1944a74bb3 regenerated to include new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:44:48 +00:00
Vadim Zeitlin
c5627cd855 added wx*.dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:43:45 +00:00
Vadim Zeitlin
e0221ef7cb 1. new samples proejct files for VC++
2. a few fixes (mainly compilation warnings) to the code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:34:22 +00:00
Vadim Zeitlin
268766dd1f fixed crash in OnSize() handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:11:23 +00:00
Robin Dunn
16d38102e8 Fixed compile errors, warnings and other DSMs, and improved comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 23:09:41 +00:00
Vadim Zeitlin
e0d876d20c regenerated from .pro files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:59:06 +00:00
Vadim Zeitlin
ffc63dcae0 changed html and opengl project names to start with html/gl prefix to avoid conflicts inside samples.dsw workspace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:57:30 +00:00
Robin Dunn
88a9f974b8 Moved the [Set|Get]Client[Data|Object] and such out of wxWindowBase
and into a mixin class.  Mixed it with wxEvtHandler.  Regenerated
files lists and makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:50:33 +00:00
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +00:00
Václav Slavík
61bd618fe7 fixes to focus handling in menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:45 +00:00
Václav Slavík
4c7852186d a temporary hack to make testing wxTLW/Univ easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:30 +00:00
Václav Slavík
14dd645ee1 mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:14 +00:00
Vadim Zeitlin
31a06b07cc minor additions to wxCmdLineParser tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:07:34 +00:00
Ron Lee
aeb7499407 updated debian policy version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 20:44:00 +00:00
Václav Slavík
f001799009 fixed off by one error in wxXPMDecoder::ReadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 17:05:22 +00:00
Vadim Zeitlin
3baaf31317 mention wx[Flex]GridSizer too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:32:20 +00:00
Vadim Zeitlin
29d18d6945 fixed results of strange cvs code merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:11:22 +00:00
Gilles Depeyrot
56cfd0d766 recompiled header support
removed doubled definitions (already in wx headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:55:54 +00:00
Gilles Depeyrot
4040fe6eaf added missing close brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:49:28 +00:00
Gilles Depeyrot
594f0f5bf1 added wx/defs.h include to correct compilation issues under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:38:44 +00:00
Vadim Zeitlin
18a1f588e7 fix for wxFrame parent which somehow wasn't committed yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:25:46 +00:00
Václav Slavík
45eb524957 hopefully fixes focus assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:17:15 +00:00
Robin Dunn
a7ae8fea47 Removed call to SubclassWin since it is already done in
MSWCreateControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:12:44 +00:00
Gilles Depeyrot
4649b5eded added missing generic include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 21:08:16 +00:00
Robin Dunn
2431209ccd More changes for building the regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 18:05:58 +00:00
Vadim Zeitlin
b9989817f4 rearranged the samples alphabetically, please keep them this way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:46:04 +00:00
Vadim Zeitlin
f17393f199 normalized handling of Ctrl-x key presses and documented it clearly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:44:29 +00:00
Robin Dunn
9feee261c9 Fixed DLL linking. Was missing the regex lib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:39:20 +00:00
Vadim Zeitlin
1ce58dc6f3 allow disabling text events too; show Ctrl-x events correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:31:49 +00:00
Vadim Zeitlin
fb93b610c5 don't log mouse events by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:25:49 +00:00
Vadim Zeitlin
f783e7acf3 replaced C++ comments with C ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:24:32 +00:00
Vadim Zeitlin
e4b713a278 added and documented wxWS_EX_BLOCK_EVENTS flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 16:46:01 +00:00
Vadim Zeitlin
d11710cbb5 don't check for Meta key in wxKeyEvent::HasModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:58:52 +00:00
Vadim Zeitlin
a8d20c57ae another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:42:07 +00:00
Vadim Zeitlin
85da9c3e35 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:01:27 +00:00
Vadim Zeitlin
37fa909534 refresh the current item when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 12:43:52 +00:00
Vadim Zeitlin
02cbc27a34 fix menubar sizing (at least under windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 01:03:52 +00:00
Václav Slavík
ead60ec54b more active frame stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:58:34 +00:00
Vadim Zeitlin
b225f65995 changed/centralized window creation code to allow wxTLW work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +00:00
Vadim Zeitlin
f1e1ed3b77 added status bar to the sample because it uses wxLogStatus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 21:33:49 +00:00
Gilles Depeyrot
d497dca475 include wxWindows headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 18:45:17 +00:00
Gilles Depeyrot
9b86543d92 added automatic generation of files.lst for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 16:48:43 +00:00
Gilles Depeyrot
61e8948797 AppleScript that finds and rebuilds all the CodeWarrior projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 16:46:16 +00:00
Václav Slavík
553dce51e9 fix to wxMGL's wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:34:21 +00:00
Václav Slavík
31ae546e16 fixed yet another bug in wxActivateEvent handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:34:07 +00:00
Václav Slavík
bc6abe52a7 FloodFill not in MGL, either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:56 +00:00
Václav Slavík
bd73ba41f9 moved MGL initialization to earlier stage (crashes otherwise...) and implemented wxApp::Initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:44 +00:00
Václav Slavík
bd20dac196 use Arial if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:37 +00:00
Václav Slavík
917afc7b81 give focus to show top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:30 +00:00
Václav Slavík
15678bec37 fixed maximization handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:49 +00:00
Václav Slavík
d46330c586 active next window in Z-order when a frame is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:26 +00:00
Václav Slavík
a08afcce1c reverted my previous check in, it was nonsense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:07 +00:00
Václav Slavík
3bfba010c7 no, wxComboBox is really NOT a low-level class (neither is wxChoice, for that matter, but filelist.txt pretends it is so that wxUniv can in turn pretend in can do wxChoices...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:49:14 +00:00
Václav Slavík
7cdbf02cd4 more wxMGL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:46:30 +00:00
Václav Slavík
a26e0bc1fd wxUniv tries to release mouse capture from menu bar instead of menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:46:06 +00:00
Václav Slavík
6821401b1b modified wxFrame/Univ to send wxSizeEvent when adding/removing bars (because client area changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:45:51 +00:00
Václav Slavík
0aa236cddc fatal bug in wxMGL that caused hard to track crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:44:47 +00:00
Vadim Zeitlin
b7f4f35038 adding wxUniv project/workspace files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:12:10 +00:00
Vadim Zeitlin
c6b0ee9abd removed y_tab.c from wxUniv project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:02:43 +00:00
Václav Slavík
11d13ed03b you meant pragma interface, not pragma implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 13:39:51 +00:00
Vadim Zeitlin
ff18659103 fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 02:22:26 +00:00
Vadim Zeitlin
2aabc7da6a allow setting the wxWin directory explicitly using WXDIR option, ..\.. by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 01:53:02 +00:00
Václav Slavík
e07f9efa03 an (blind) attempt to fix wxGTK frame activation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:08:35 +00:00
Václav Slavík
f5e6ed7cc8 wxHTML now outputs unrecognized entities verbosely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:05:45 +00:00
Václav Slavík
470252df3c 1) wxHTML now outputs unrecognized entities verbosely
2) added string preallocation to the parser


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:03:58 +00:00
Vadim Zeitlin
a350a48841 fixed the problem with the ampersand [mis]handling in the generic wxMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 19:55:19 +00:00
Gilles Depeyrot
bf44306ebc correction for memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 19:01:13 +00:00
Robin Dunn
76bfdc7816 Added wxPyLog so log targets can be created in Python with the
appropriate callbacks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 18:29:29 +00:00
David Webster
72594e90b2 Some OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 16:30:20 +00:00
Jouk Jansen
13d068d93e Committing in .
Modified Files:
 	wxWindows/include/wx/thread.h wxWindows/src/unix/threadpsx.cpp

 Changed for OPenVMS only
 problem: The compiler complained about the fact that some pointer were
  assigned to a smaller integer. Maybe this problems also holds for
  other 64-bit OS's
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:10:29 +00:00
Jouk Jansen
3f38e38ba5 Modified Files:
wxWindows/descrip.mms
 Added Files:
 	wxWindows/src/html/DESCRIP.MMS

 Added html files to OpenVMS compilation

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:04:31 +00:00
Vadim Zeitlin
cdbe233029 fixed spurious assert failure in wxMenuBar::Insert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 23:05:53 +00:00
Václav Slavík
f7b2395841 fixed unimportant typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 22:58:47 +00:00
Gilles Depeyrot
ea48aa7c2d standard settings for wxMac compilation using CodeWarrior
theis file needs to be copied to setup.h in the appropriate directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:46:21 +00:00
Gilles Depeyrot
8cbc39e803 use wxWindows zlib.h instead of Mac OS X system zlib.h directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:39:06 +00:00
Gilles Depeyrot
bc297519b8 first automatic generation using tmake!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:34:34 +00:00
Gilles Depeyrot
2b03b51b8c added automatic generation of files.lst for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:33:22 +00:00
Robin Dunn
39178e3bdf Workaround for Ctrl-A giving a keycode of 1 in EVT_KEY_DOWN on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 20:46:47 +00:00
Robin Dunn
32c988a34d Fixed duplicate definition of wxWindow::SetAcceleratorTable, more swig
code regenerated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:19:56 +00:00
Robin Dunn
8366ae934a Fix for missing -g from wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:16:53 +00:00
Robin Dunn
2beb01db00 Don't create a bitmap with dimensions <= 0...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:15:17 +00:00
Gilles Depeyrot
1650623133 applied SourceForge patch #467884 (Paul Thiessen)
addes wxGLApp for wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 18:40:22 +00:00
Robin Dunn
65fe3842bf Regenerated some swig code, added some missing WXK_ constants, etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:13:28 +00:00
Robin Dunn
f32afe1c2c Fixed Ron's fix
Upped version number (beta)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:12:27 +00:00
George Tasker
c0881dc32e Spelling typos in comments fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:05:38 +00:00
George Tasker
32d77178d8 Added documentation for the wxDb::SQLColumnName() and wxDb::SQLTableName() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:02:56 +00:00
Robin Dunn
d6582821b6 Changed how EVT_CHAR and EVT_KEY_DOWN are sent to Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:00:26 +00:00
George Tasker
243d4b3603 Added code to handle SQLSERVER, ACCESS, and MSDE allowing spaces in table names and column names (ARRRRGH! -> MS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:44:08 +00:00
George Tasker
4f92cd25f1 Removed a bunch of unreachable BREAK statements that BCC compilation complains about.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:32:10 +00:00
George Tasker
ac2834ab04 Changed code in unzip.c/.h for #including zlib.h to use the same code as is found in zstream.cpp
#include <zlib.h> changed to #include "zlib.h"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:29:05 +00:00
Vadim Zeitlin
da63acebda renamed project files for 3rd party libs from FooVC.dsp to foo.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 13:27:15 +00:00
Vadim Zeitlin
a111f2b216 removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:39:10 +00:00
Vadim Zeitlin
8b6e6947fc new VC++ workspace file for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:37:09 +00:00
Vadim Zeitlin
e17978953a trying to add wxBase project file from Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:33:56 +00:00
Vadim Zeitlin
93d2bf4406 reverted the fix for Unicode compilation with VC++ as it breaks other ports (and shouldn't be necessary anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:32:24 +00:00
Vadim Zeitlin
9b985798bc ignore build directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 02:10:41 +00:00
Vadim Zeitlin
89fcec9514 overwrote with src\wxBase.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:51:24 +00:00
Vadim Zeitlin
d8ac90031d regenerated from the template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:50:49 +00:00
Vadim Zeitlin
80806624f8 fixes for compilation with wxUSE_PALETTE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:50:17 +00:00
Vadim Zeitlin
50563ef1bd Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:46:30 +00:00
Vadim Zeitlin
17d5cf65bd new project files for wxBase apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:46:06 +00:00
Vadim Zeitlin
5e46051f91 added Unicode configurations to the library project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:35:59 +00:00
Vadim Zeitlin
7c8253236f added Unicode configurations to the library project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 00:46:26 +00:00
Vadim Zeitlin
5f8dc32401 removed templates which are unneeded any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 00:30:38 +00:00
Vadim Zeitlin
9aee09a34b Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 23:36:47 +00:00
Vadim Zeitlin
124193837f warning in Unicode compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 23:34:25 +00:00
Vadim Zeitlin
477243897a fix for focus event sending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:44:56 +00:00
Julian Smart
25db1b74f1 Made mkdir more UNC path-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:12:33 +00:00
Vadim Zeitlin
bde9072f68 reduced flicker when switching focus to/from the report list ctrl under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:01:29 +00:00
Julian Smart
32bc74c034 Removed duplicate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 16:51:18 +00:00
Robin Dunn
bae170097e Minor tweaks and some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:52:20 +00:00
Vadim Zeitlin
b3ca11f706 fixed DLL naming scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:20:44 +00:00
Jouk Jansen
283e4f282a Committing in .
Modified Files:
 	wxWindows/setup.h_vms

 update VMS compile support

----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:08:56 +00:00
Ron Lee
1bc3fa0180 bump date on 'easter egg' dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 08:38:02 +00:00
Robin Dunn
3576334ead Checked wxConfig on Linux, added filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:14:25 +00:00
Robin Dunn
085f07e2c8 Fixed a potential python version problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:13:26 +00:00
Robin Dunn
65191ae8f2 Refactored Python shadows to use wxControlWithItems where appropriate.
Implememted SetClientData for wxControlWithItems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:12:49 +00:00
Robin Dunn
900d98862d Refactored Python shadows to use wxControlWithItems where appropriate.
Implememted SetClientData for wxControlWithItems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 03:32:37 +00:00
Ron Lee
a068364f32 removed obsolete samples/univ from SAMPLES_SUBDIRS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:33:24 +00:00
Vadim Zeitlin
17533c89d2 new VC++ templates and project files generated from them: now use only one
project file for wxWin itself and allow choosing the configurations to be
built from the sample projects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:22:10 +00:00
Ron Lee
fc26f4abde Diabled wxToggleButton for wxUNIVERSAL builds too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:19:29 +00:00
Ron Lee
1a4f0015e4 diable MDI for wxUNIV builds for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 23:52:10 +00:00
Václav Slavík
985520bc47 client<->screen coords conversion fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:22:41 +00:00
Václav Slavík
2ec3892d77 added at least some stderr support to wxMGL which suffers badly from MGL's hostile takeover of stdin and stderr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:21:05 +00:00
Václav Slavík
7995616276 removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:20:30 +00:00
Ron Lee
4fcd60c72f added missing -univ package control files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 21:37:12 +00:00
Ron Lee
7b7a763758 Added UNIV_DIST target.
Fixed hp-hpux lib build targets.
Enabled cygwin cross compilation for 2.3 too.
Fixed SONAME_FLAGS for solaris.
Fixed PIC_FLAG for mingw.
Added first draft of wxUNIV debs.
Removed obsolete src/makeenvs/*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 21:36:16 +00:00
Vadim Zeitlin
e8106239b2 missing extern "C" added to fix linking problems with some GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:28:23 +00:00
Vadim Zeitlin
447f908aff fixed the exit code detection for async processes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:22:24 +00:00
Gilles Depeyrot
334f0d2c11 corrected VPATH for wxMotif toolkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 17:03:50 +00:00
Vadim Zeitlin
85f7ec579e fix for using debug extra libs in release build and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 16:28:14 +00:00
Gilles Depeyrot
d9e4c43beb Added wxTopLevelWindow related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:59:59 +00:00
Gilles Depeyrot
8c03f242ce conditional include for Darwin related to statfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:57:20 +00:00
Gilles Depeyrot
cba5db5ff0 include wx headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:56:03 +00:00
Gilles Depeyrot
077c564202 reverted unwanted change to -MMD compilation option in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:54:21 +00:00
Gilles Depeyrot
d08b457ba8 corrected static library configuration for Darwin/Mac OS X
Mac OS X resource related corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:48:50 +00:00
Gilles Depeyrot
8eee02518d added Darwin related defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:45:26 +00:00
Gilles Depeyrot
fedad417ce added missing include file and conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 12:26:22 +00:00
Vadim Zeitlin
89d25d58c5 first new sample project file - comments welcome
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 02:22:18 +00:00
Václav Slavík
f8e3449ceb added wxSystemSettings::HasFrameDecorations (anybody knows a better name?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:11:56 +00:00
Václav Slavík
2343d81ba2 wxMGL update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:09:58 +00:00
Václav Slavík
544c782d76 wxPopupWindow for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:09:14 +00:00
Vadim Zeitlin
8c8fb2f6f6 fixes for RPM generation after Ron's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 17:39:31 +00:00
Robin Dunn
c19d0121f6 Updated the wxSTC makefile for Borland, and tweaked the sample a
little.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 17:19:36 +00:00
Vadim Zeitlin
018e2f1300 cleaned up the waitpid() result processing mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 12:39:42 +00:00
Vadim Zeitlin
dbd25330c5 fix for running csh scripts using wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 12:32:07 +00:00
Jouk Jansen
9e4e191af3 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms

 Update VMS-compile support
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 10:04:48 +00:00
Vadim Zeitlin
bb48ed2caa restored #include "chkconf.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 09:37:15 +00:00
Václav Slavík
b22d16ad20 implemented wxTLW::InteractiveMove and mostly finished wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:09:24 +00:00
Vadim Zeitlin
b11e8fb666 fixes for wxUSE_PALETTE=0 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:05:30 +00:00
Václav Slavík
bff995bf71 implemented wxTLW::InteractiveMove and mostly finished wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:01:15 +00:00
Václav Slavík
7cd955997c fixed wxDialog creation (created window wasn't transient)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:00:12 +00:00
Václav Slavík
b4819fcaea fixed wxColour bug that broken wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:59:34 +00:00
Vadim Zeitlin
660cc2a5f9 ignore directories created during MSW build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:32:51 +00:00
Vadim Zeitlin
7f9510b24e give (hopefully) more clear error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:30:59 +00:00
Vadim Zeitlin
2d1e89de65 template for VC++ dsp for building wxUniv static lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:30:26 +00:00
Vadim Zeitlin
edae85724d regenerated configure from latest configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:27:07 +00:00
Vadim Zeitlin
0406324575 project files update to use the same compilation options as the new project files for wxWin itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:26:43 +00:00
Vadim Zeitlin
7ee7c43f7e temp [non] fix for wxTLW [non] creation under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:25:32 +00:00
Vadim Zeitlin
be71e18af4 new VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:23:57 +00:00
Vadim Zeitlin
0797afee60 updated templates for creation of VC++ 6.0 project files for wxBase/wxMSW/wxUniv static and DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:22:58 +00:00
Vadim Zeitlin
56029a746e compilation fix for !wxUSE_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:20:35 +00:00
Vadim Zeitlin
c7b3563e24 compilation fixes for the compilers with old headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:20:03 +00:00
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Stefan Csomor
f1c1831fc5 toplevel fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 18:30:36 +00:00
Stefan Csomor
a15eb0a5c8 toplevel fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:34:51 +00:00
Vadim Zeitlin
752b40b1da moved WXUNUSED_UNLESS_DEBUG after wx/debug.h include to fix debug compilation with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:26:28 +00:00
Vadim Zeitlin
8b0bd21b3d handle _DEBUG/NDEBUG correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:15:14 +00:00
Vadim Zeitlin
b584b7d24a added GUI_LOWLEVEL_OBJS to src/msw/files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 14:53:57 +00:00
Vadim Zeitlin
4965c3d7f6 fix for wxCalendarCtrl::Create() (bug 458167)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 14:46:30 +00:00
Stefan Csomor
08b6f23906 mac toplevel window added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:54:17 +00:00
Stefan Csomor
fe08e59704 mac toplevel window added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:16:31 +00:00
Stefan Csomor
93b4dc4b14 mac added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:12:14 +00:00
Vadim Zeitlin
379ff23b1c DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 00:09:02 +00:00
Václav Slavík
3deeefebd7 fixed assertion failures with invalid icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:41 +00:00
Václav Slavík
9c3cc136fc removed superfluous backslash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:17 +00:00
Václav Slavík
bbb7a9314d reverted my previous commit to this file; was done by Ron in parallel with me
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:11 +00:00
Václav Slavík
ea5c1679ad added support for animated GIFs to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 16:23:09 +00:00
Václav Slavík
e4b7b2b052 oops, reverted wrong code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 10:46:25 +00:00
Vadim Zeitlin
8dc52d208e templates for VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 00:47:52 +00:00
Václav Slavík
813edf09b3 input handling in wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:39:55 +00:00
Václav Slavík
e8c12a53e8 implemented wxActivateEvent properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:37:52 +00:00
Václav Slavík
2545022c72 compilation fixes for MSW+Univ+Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:36:25 +00:00
Ron Lee
655b7383d2 Fixed new lintian warnings.
Removed .cvsignore files from cp -R 'd examples.
(Please don't use -R in install targets -- we don't need CVS cruft installed on
 peoples machines..)
Added extra contrib libs to contrib-dev package.
Removed 'shell' line from some non executable .py scripts.
Updated lintian overrides.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:16:03 +00:00
Václav Slavík
496beb3fc0 fixed client area origin handling in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:20:21 +00:00
Václav Slavík
cff7ef893d compilation fixes for MSW+Univ+Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:19:43 +00:00
Václav Slavík
ea1b0d6ccb proper fullscreen handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:18:46 +00:00
Václav Slavík
82f2d91978 fixed wxGTK fullscreen mode, broken by my previous change to gtk/toplevel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 17:54:31 +00:00
Julian Smart
4c97e02448 Now uses GetFileAttributes for wxPathExists and wxFileExists under Windows,
so it copes with network paths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 16:13:11 +00:00
Vadim Zeitlin
d13fd3e468 applied fix for 8 bit displays (already in the 2.2 branch since almost a year)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:41:07 +00:00
Vadim Zeitlin
bed118ca9e applied patch for regex building with BC++ (patch 463140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:35:17 +00:00
Vadim Zeitlin
6c5ac6e1f1 yet another fix for wxTextCtrl bg colour (patch 462838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:33:54 +00:00
Vadim Zeitlin
551adc4b47 allow multiple extensions in tge generic wxFileDialog (patch 457580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:26:55 +00:00
Vadim Zeitlin
afb74fdd76 removed .d files when doing make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:25:09 +00:00
Vadim Zeitlin
a308135449 applied (slightly modified) wxGLApp patch for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:01:34 +00:00
Vadim Zeitlin
a6f5aa49cf applied wxGLApp patch (#464500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:53:55 +00:00
Vadim Zeitlin
b3e8d00ab0 1. made description of some options in configure [hopefully] more readable
2. got rid of --enable-wcsrtombs option, configure can find it out itself


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:34:12 +00:00
Ron Lee
3a922bb4bd More build system polishing.. mostly. Some stuff ported over from
recent changes to the 2.2 branch.

Rationalised the autoconf scripts again, removed lots of stuff that
shouldn't be there anymore and pounded the rest into an even tighter
furball. (There's more work to be done here, but we're getting there..)

Implemented the library naming scheme outlined in tn0012.txt -- introduced
'toolchain' and 'widget set' into the autoconf scripts, obsoleted the
top level wx/setup.h and much of the mess associated with it.

More changes for cross compiling and 2.3 debs.

s/burnt_name/soname/g ; s/CC/CXX/g ; s/CCC/CC/g ;  Just because it's Right.
(Thanks Vadim for already doing *FLAGS..)

Fixed libfl Makefile to actually work.

Removed *_DEPS from tmake templates, in every case they can be determined
from the relevant *_OBJS

Added BASE_MSW_OBJS, a couple of missing #includes, some missing files to
the 'dist' targets, and fixed some compile warnings.

Changed setup.py to use wx-config --gl-libs instead of hard coded constants.

 Modified Files:
 	Makefile.in configure configure.in setup.h.in wx-config.in
 	wxBase.spec wxGTK.spec wxMotif.spec
 	contrib/include/wx/applet/window.h contrib/src/Makefile.in
 	contrib/src/applet/appletwindow.cpp contrib/src/fl/Makefile.in
 	debian/changelog debian/control.in debian/libwxbase-dbg.dirs
 	debian/libwxbase-dbg.links debian/libwxbase-dbg.postinst
 	debian/libwxbase-dbg.prerm debian/libwxbase-dev.dirs
 	debian/libwxbase-dev.files debian/libwxbase-dev.links
 	debian/libwxbase-dev.postinst debian/libwxbase-dev.prerm
 	debian/libwxgtk-dbg.dirs debian/libwxgtk-dbg.links
 	debian/libwxgtk-dbg.postinst debian/libwxgtk-dbg.prerm
 	debian/libwxgtk-dev.dirs debian/libwxgtk-dev.files
 	debian/libwxgtk-dev.links debian/libwxgtk-dev.postinst
 	debian/libwxgtk-dev.prerm debian/rules
 	distrib/msw/tmake/base.t distrib/msw/tmake/gtk.t
 	distrib/msw/tmake/mgl.t distrib/msw/tmake/motif.t
 	distrib/msw/tmake/msw.t distrib/msw/tmake/os2.t
 	distrib/msw/tmake/univ.t docs/motif/install.txt
 	include/wx/msw/private.h include/wx/os2/SETUP.H
 	include/wx/os2/SETUP0.H samples/ipc/Makefile.in
 	samples/sockets/Makefile.in src/files.lst src/make.env.in
 	src/makelib.env.in src/makeprog.env.in src/common/strconv.cpp
 	src/gtk/files.lst src/mgl/files.lst src/motif/files.lst
 	src/msw/files.lst src/msw/gsocket.c src/msw/gsockmsw.c
 	src/msw/toplevel.cpp src/msw/utils.cpp src/os2/files.lst
 	src/univ/files.lst wxPython/setup.py
 Added Files:
 	debian/libwxbase-msw-dev.dirs debian/libwxbase-msw-dev.links
 	debian/libwxbase-msw-dev.postinst
 	debian/libwxbase-msw-dev.prerm debian/libwxmsw-dev.dirs
 	debian/libwxmsw-dev.links debian/libwxmsw-dev.postinst
 	debian/libwxmsw-dev.prerm debian/wxwin-doc.doc-base
 	debian/wxwin-headers-msw.dirs
 Removed Files:
 	debian/wxwin-doc.doc-base.in include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 07:00:13 +00:00
Vadim Zeitlin
0e300ddd7d fix for wxExecute(subprocess which produces a lot of output) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 14:12:23 +00:00
Robin Dunn
74b1c2658a fixed compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 06:07:14 +00:00
Robin Dunn
ecc08ead91 Various updates, changes for wxTopLevelWindow, fixes for
wxPen.SetDashes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:11:47 +00:00
Robin Dunn
34a1d7328f Added MSW toplevel.cpp and regenerated makefiles and such.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:05:45 +00:00
Robin Dunn
c8bc33d5b5 If a shape has client data, it deletes it when the shape is deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:04:19 +00:00
Robin Dunn
5bf2abe348 Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:44 +00:00
Robin Dunn
361128cbf7 Added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:19 +00:00
Robin Dunn
edd971741e Fixed problem with wxPen::SetDashes. (An array of bytes was typcast
to an array of DWORDs.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:35:24 +00:00
Robin Dunn
217cb2fab8 Add some Pen dashes tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:27:46 +00:00
Václav Slavík
12bba77343 removed wxBusyCursorSuspender use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:21:42 +00:00
Václav Slavík
9b9cab370f temporary stubs for fullscreen functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:18:43 +00:00
Václav Slavík
134677bde9 Use wxGetInstallPrefix() instead of wxINSTALL_PREFIX (makes relocatable packages possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:17:05 +00:00
Václav Slavík
c8e8ae85c8 oops, forgot do add fullscreen stuff to wxTLWBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:10:42 +00:00
Vadim Zeitlin
bcbf288197 reverted last accidental commit, added comment about About item being special under Mac, use _T() around the literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 13:11:40 +00:00
Vadim Zeitlin
c50536396d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 12:56:38 +00:00
Vadim Zeitlin
2e9f62dafb compilation/build fixes for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 00:47:52 +00:00
Vadim Zeitlin
55fb2c6cc2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-25 14:34:29 +00:00
Vadim Zeitlin
f427e0d634 compilation fix for other (than GTK/MSW) ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-25 14:33:50 +00:00
Vadim Zeitlin
8191741f68 pass correct key code in TREE_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 22:52:18 +00:00
David Webster
75ad8febf6 patch fix for a constant definition under OS/2 VA V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 19:17:16 +00:00
Vadim Zeitlin
23d8bb2c66 fixed wxUniv menus under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:46:54 +00:00
Vadim Zeitlin
b231914f6a added workaround for GTK+ focus_out bug (and removed Vaclav's mouse capture stack - sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:46:13 +00:00
Václav Slavík
cc1e14d625 implemented captured windows stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:02:11 +00:00
Václav Slavík
d08e6e59ed statusbar handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:01:13 +00:00
Mattia Barbon
37d0bdff98 Fixed wxToolbar95::FindToolForPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 17:30:42 +00:00
Vadim Zeitlin
b09bda689c added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TREE_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 16:39:49 +00:00
Vadim Zeitlin
82c9f85ce5 added wxTLW for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:34:14 +00:00
Vadim Zeitlin
c2fd78b10f ~wxToolBar() checks if the frame is being deleted in a better/more clear way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:16:48 +00:00
Václav Slavík
24a23c3573 partial implementation of wxTLW's decorations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:42:57 +00:00
Václav Slavík
038072e2f1 better learn the operators...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:38:25 +00:00
Václav Slavík
e6adf05834 fixed serious bug in wxFont::operator== (ignored weight)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:37:42 +00:00
Václav Slavík
db0aec831d added wxBitmap::CopyFromIcon to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:36:17 +00:00
Vadim Zeitlin
fb1a41cd75 reverted change to the best checkbox size calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:04:05 +00:00
David Webster
9e9140114e Latest OS/2 build file updates to include the toplevel stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 18:36:45 +00:00
David Webster
d50d561a05 FALSE, not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 18:34:35 +00:00
Mattia Barbon
a8945eeff6 * Fixed wxToolbar95 and wxToolbarGTK to emit TOOL_ENTER event with id==-1 when the mouse
leaves a tool.
* Fixed wxToolbar95::FindToolForPosition to take into account dummy spacers inserted
  together with a control for comctl32.dll versions < 4.71


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:38:01 +00:00
Mattia Barbon
a8bf5281df Forgot to update the template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:28:07 +00:00
Vadim Zeitlin
79c3b7b216 fixed yet another bug in wxRegConfig::SetPath() - SetPath(../..) didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 23:23:04 +00:00
Václav Slavík
5b60dec5c1 oops, we definitely DON'T want to reset m_renderer here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:39:29 +00:00
Václav Slavík
21f4383ae7 wxTOPLEVEL_EX_DIALOG is a better name than wxTLW_EX_DIALOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:39:03 +00:00
Václav Slavík
f819b4a3ab evaluate window style in Create, not later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:38:02 +00:00
Václav Slavík
c981cbe951 configure now defines _WIN_IE if w32api is at least 1.1 (1.0 is not complete enough for wxWin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:17:09 +00:00
Václav Slavík
38189fd599 mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:15:45 +00:00
Václav Slavík
5145e34f09 w32api 1.1 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:15:28 +00:00
Václav Slavík
67e49a98bb wxInputConsumer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 12:04:47 +00:00
Václav Slavík
a9152a05f8 fixed client area handling for wxFrame/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:56:23 +00:00
Václav Slavík
23645bfa01 wxInputConsumer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:56:04 +00:00
Václav Slavík
d6eaea2845 (blind) fix for wxMotif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:52:48 +00:00
Václav Slavík
98ffddb1db added wxInputConsumer to wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 00:21:41 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Stefan Csomor
eb71219dd0 added wxSTD macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 05:43:21 +00:00
Mattia Barbon
e1b435afad wxTextDataObject now uses Unicode if compiled with wxUSE_UNICODE.
Fixed wxURLDataObject in MSW.
Added GetSizeFromBuffer, SetSizeInBuffer, GetBufferOffset to wxDataObject
 as per Vadim's suggestion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 00:58:32 +00:00
Mattia Barbon
e355628241 Make easier to compile with MSVC5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:10:00 +00:00
Mattia Barbon
b72a54d1a5 MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:08:10 +00:00
Mattia Barbon
f63e248ec1 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:07:21 +00:00
Mattia Barbon
b2a9ee3025 Re-enabled long long for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:05:28 +00:00
Vadim Zeitlin
dd4f7467b2 fix for shared library build under SGI with native compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 19:28:20 +00:00
Robin Dunn
6ee2116be1 bug #463146
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 16:32:33 +00:00
Václav Slavík
b9f2926155 fixes to client area origin handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:45:14 +00:00
Václav Slavík
0cecad314c fixed problems with HTML printing w/o using wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:44:17 +00:00
Vadim Zeitlin
297e4185cc better fix for MIPSpro warnings: removed unneeded calls to floor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 16:47:23 +00:00
Vadim Zeitlin
11e82c1ba3 compilation fixes for MIPSpro SGI compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 16:06:20 +00:00
Jouk Jansen
e752575a1f Committing in .
Modified Files:
 	wxWindows/src/common/descrip.mms wxWindows/src/gtk/descrip.mms

 Update of OpenVMS makefile.
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 08:51:31 +00:00
Václav Slavík
c5257cab15 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:50:22 +00:00
Václav Slavík
0f1bf77d3d partial implementation of wxTopLevelWindow for wXUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:37:08 +00:00
Václav Slavík
a200c35efa moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:36:18 +00:00
Václav Slavík
45eb404791 wxUniversal doesn't need wxDialog and wxFrame from base port anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:34:23 +00:00
Václav Slavík
19008b7bb8 made wxLocalFSHandler public and added Chroot to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:34:10 +00:00
Václav Slavík
d9d4df0e42 minor changes to wxFrame/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:54 +00:00
Václav Slavík
b85a6d855b wxFrame for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:48 +00:00
Václav Slavík
0e0de6b8aa wxDialog for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:38 +00:00
Gilles Depeyrot
563c260640 corrections related to wxDialog inheritance changes (wxTopLevelWindow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 21:00:05 +00:00
Vadim Zeitlin
1d8dd65e62 compilation warning fix for Intel C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:22:44 +00:00
Vadim Zeitlin
55e80573e2 changes to shared library options code and to allow building them with Intel compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:17:11 +00:00
Robin Dunn
d28516c7c4 version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 16:10:49 +00:00
Vadim Zeitlin
8db6ac55e6 test for long long directly instead of testing for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 15:03:00 +00:00
George Tasker
8a46f0a21d Fix for bug 462533, spelling typo in docs "wxAGJUST_MIN" should be "wxADJUST_MINSIZE"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 13:28:34 +00:00
Vadim Zeitlin
993cfa8757 fix for event processing in wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 12:39:18 +00:00
Ron Lee
85d4fc42e9 use 'local' quoting for wx headers in lib source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 23:30:57 +00:00
Ron Lee
ae332f7c0a fixed c++ style comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 23:12:47 +00:00
Robin Dunn
401d3cc731 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:42:20 +00:00
Robin Dunn
ce32af5d96 Regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:20:28 +00:00
Robin Dunn
cefd71d783 Fixed compile error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:08:35 +00:00
Robin Dunn
059a841c96 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 21:47:20 +00:00
Gilles Depeyrot
80823340ab added missing destructor for Darwin/Mac OS X (wxGtk, wxMotif, wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 20:37:33 +00:00
Stefan Csomor
bd2aeb7ab6 added carbonaccessors.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 19:53:32 +00:00
Stefan Csomor
6dbaf73491 added toplvlcmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 19:51:31 +00:00
Ron Lee
0cefee80e7 added tn0012.txt -- detailing library name conventions as discussed
on -dev


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 04:56:32 +00:00
Václav Slavík
97c70a028e added toplevel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 22:10:21 +00:00
Václav Slavík
faac85bf09 updated generated file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 22:09:49 +00:00
Robin Dunn
19a97bd6f9 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.

Some fixes for some of the contributed library modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 01:51:13 +00:00
Václav Slavík
72fa862b04 wxMGL update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13:20 +00:00
Václav Slavík
7d9f12f3b9 wxTopLevelWindow (only for wxGTK for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13:08 +00:00
Stefan Csomor
280df08533 changed FindControl to FindControlUnderMouse and use ControlRef != NULL instead of ControlPart = noPart , we had false ControlPart = 0 returned under Carbon in MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 20:39:46 +00:00
Václav Slavík
244531bc96 compilation (hot)fixes for Mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 10:39:22 +00:00
Václav Slavík
210e3a3a50 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 10:39:10 +00:00
Robin Dunn
ce68e8d061 Updates to contributed library stuff, a new version of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:15:46 +00:00
Robin Dunn
a3fbed81b2 A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:14:56 +00:00
Robin Dunn
b1cfebd9f4 some little demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:13:57 +00:00
Gilles Depeyrot
3f288b12cc added missing object files (sorted alphabetically for easier updating)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 19:38:04 +00:00
Gilles Depeyrot
ec8ecff48c added missing object files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 19:15:04 +00:00
Gilles Depeyrot
87445c2f5c corrected aggregate initializer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 18:56:23 +00:00
Gilles Depeyrot
1f603d3d9e removed inexistant object file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 18:41:36 +00:00
Vadim Zeitlin
a4a6984d5e don't try to translate the standard encoding names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-11 17:04:41 +00:00
Robin Dunn
9968ba85be Removed font point size adjustment since wxWindows already does it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 21:57:26 +00:00
Gilles Depeyrot
d11ec3df93 added missing defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 20:44:10 +00:00
Vadim Zeitlin
3ad252c96a VC++ compilation fix (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 10:43:50 +00:00
Gilles Depeyrot
610c6dedc1 added CodeWarrior 5 project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:26:44 +00:00
Gilles Depeyrot
89ce51d52e updated helper for changing types/creators of files based on the file extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:23:35 +00:00
Gilles Depeyrot
f36e7ad877 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:14:54 +00:00
Gilles Depeyrot
af2c734bc4 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 18:06:52 +00:00
Gilles Depeyrot
b57b228b84 getpid is in unistd.h under Solaris, Linux, FreeBSD and Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 18:06:25 +00:00
Gilles Depeyrot
faed65f610 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:58:35 +00:00
Gilles Depeyrot
0ad0dc5760 added virtual destructor (for Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:58:11 +00:00
Gilles Depeyrot
8252c9ca38 use wxBitmapType instead of int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:57:31 +00:00
Gilles Depeyrot
52b5ab7edc use wxBitmapType instead of int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:42:06 +00:00
Gilles Depeyrot
84553c516c corrected files.lst path which is in src dir and not in build dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:40:38 +00:00
Gilles Depeyrot
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Vadim Zeitlin
e72aa7f5ac wxUniv compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 11:56:33 +00:00
Václav Slavík
88dcf47c56 oops, HTML entities were parsed twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 22:39:06 +00:00
Gilles Depeyrot
7335c5a588 corrected creation of wxWizard (wxWizardBase::Create class function is
hidden by wxWizard::Create object method)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 19:15:26 +00:00
Gilles Depeyrot
70c1945c6a renamed CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 11:50:21 +00:00
Kendall Bennett
505710ca37 Merged in latest wxApplet code from SciTech Perforce tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 20:08:05 +00:00
Robin Dunn
cdf14688f5 Fixed an OOR related bug that happened when a class has been renamed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 16:28:24 +00:00
Robin Dunn
431f4c161d Added pySketch sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 21:19:48 +00:00
Vadim Zeitlin
651d7a1ff8 set mouse position for COL_CLICK event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 20:07:32 +00:00
Julian Smart
a23c00470e Added simple UNIX implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:27:52 +00:00
Gilles Depeyrot
977bf6ff42 removed copystring function already defined in common wx utilities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:14:46 +00:00
Gilles Depeyrot
58782f84f8 replaced CPPFLAGS with CXXFLAGS following corrections in auto-configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:07:57 +00:00
Vadim Zeitlin
59078e629d applied patch from Xavier Nodet implementing better handling of subexpressions array in wxRegEx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 17:21:00 +00:00
Julian Smart
567f21d2cd Doc edits to fix formatting problems in Word/PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 15:04:23 +00:00
Julian Smart
8d07927991 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 12:09:24 +00:00
Julian Smart
97f1fb1987 Cured a bug in wxSplashScreen whereby frame wasn't sized correctly,
because SetClientSize doesn't seem to work right unless you pass a reasonable
size to the frame constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-05 10:33:43 +00:00
Robin Dunn
fea018f801 A couple little fixes for wxSTC
Updated to 0.6 of PyCrust


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:44:17 +00:00
Robin Dunn
8de28db94f A couple little fixes for wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:42:13 +00:00
Jouk Jansen
33381c829b Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms

 Update of VMS compile support

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 09:38:11 +00:00
Robin Dunn
1edab6e3d8 more little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 06:35:05 +00:00
Robin Dunn
3ae53c3153 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 06:00:45 +00:00
Robin Dunn
6d8b4f8d2b Added wxNativeFontInfo and wxFontMapper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 05:00:15 +00:00
Robin Dunn
53fe40bac2 Added more contribs from Lorne White, and updated some of the existing ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 04:17:38 +00:00
Robin Dunn
ddcb3d8378 Added wxGenBitmapTextButton contrib from Lorne White.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:23:47 +00:00
Václav Slavík
93cd80d63c forgot to commit some XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:07:23 +00:00
Robin Dunn
4309759886 Updated wxColumnSorterMixin to also be able to place sort icons on the
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:47:34 +00:00
Robin Dunn
6d19860fe8 Updated wxColumnSorterMixin to also be able to place sort icons on the
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:41:18 +00:00
Vadim Zeitlin
0188c70233 added Set/ClearColumnImage() helpers to wxListView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 16:57:16 +00:00
Vadim Zeitlin
0a816d9581 implemented column images for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 15:09:56 +00:00
Vadim Zeitlin
6f806543a4 added support for column images under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 23:47:42 +00:00
Václav Slavík
5707316c9c applied utf-8 fix patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 22:44:00 +00:00
Václav Slavík
f3d6a60294 added id handling to html cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:45 +00:00
Václav Slavík
50da928bbd added id handling to image cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:35 +00:00
Václav Slavík
8938133dbc added wxHtmlCell::Get/SetId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:25 +00:00
Václav Slavík
d168485fcf comment clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:13 +00:00
Robin Dunn
949853a49c Added AssignImageList to wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 00:55:17 +00:00
Václav Slavík
dafa49256d fix for wxStatusBar wrongly reporting field rects inside EVT_SIZE handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:49 +00:00
Václav Slavík
0b52d3cf4d mingw compilation fix, added some defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:29 +00:00
Václav Slavík
dcbd7ce2d7 compilation fix for mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:13 +00:00
Václav Slavík
0beefa20dc fixed memory leaks when parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:41 +00:00
Václav Slavík
06069dda0d helpbest.patch - makefiles regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:33 +00:00
Václav Slavík
3d285623a7 finally applied the helpbest patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:08 +00:00
Robin Dunn
65ec6247df Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl
accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:06:33 +00:00
Robin Dunn
b8fbf1a035 Added classinfo macros for wxTreeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:00:17 +00:00
Robin Dunn
55c020cf64 Cleaned up some and started using path joins and normalization instead
of string concatenation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 02:35:31 +00:00
Vadim Zeitlin
11358d3976 added a bunch of new wxListCtrl messages: column right click and
start/continue/end dragging column divider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 01:01:51 +00:00
Robin Dunn
aa2a5b8696 Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky.

Added wrappers for the default ctor and the Create methods for most
window classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:51:07 +00:00
Robin Dunn
09f3d4e679 Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky.

Added wrappers for the default ctor and the Create methods for most
window classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:38:03 +00:00
Vadim Zeitlin
f6010d8fad implemented and documented wxHtmlWindow::OnCellMouseHover() and OnCellClick()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:19:23 +00:00
Vadim Zeitlin
e2f9212c00 applied a patch to remove spurious constrains unsatisifed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 19:07:59 +00:00
Julian Smart
7900c71c73 Remove _all_ borders if that's what we specify to ShowFullScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 10:29:40 +00:00
Václav Slavík
2049d9b54b helpbest docs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 23:26:28 +00:00
Václav Slavík
8c5b1f0faf minor fix that was part of helpbest.patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 23:25:56 +00:00
Julian Smart
619e52bf45 Fixed cache-related bug in DoBlit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 10:57:36 +00:00
Václav Slavík
a9a8c02ff3 oops, forgot to check in a wxMGL define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 21:14:01 +00:00
Gilles Depeyrot
4d5a0f67c6 commented help references to OnXXX functions that are not documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 19:39:14 +00:00
Gilles Depeyrot
619e0d43b1 conditional compilation corrections for Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:49:19 +00:00
Gilles Depeyrot
49e95e1d80 added missing include for compilation with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:47:47 +00:00
Gilles Depeyrot
ae13baff25 added common and generic files implementing wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:46:56 +00:00
Václav Slavík
2f0bac123b non-recursive destructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:31:51 +00:00
Václav Slavík
d7b1d73c92 fixed my favorite bug (delete foo; call foo->Something())
and non-recursive destructors as an add-on :)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:31:40 +00:00
Julian Smart
c556f19843 Isolated the 'error' case which I ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 12:20:36 +00:00
Vadim Zeitlin
cf30ae1309 fixed refreshing listctrl on focus change when it only has one item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 11:35:14 +00:00
Julian Smart
09d68ec1c3 Removed wxLogSysError call in wxHandleProcessTermination, and ensured
the cleanup always happens. I hope this is right... but if processes
are killed elsewhere, we don't want this function to generate an error
and not do the correct cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 11:24:50 +00:00
Stefan Csomor
e126b44d22 added error message in case older apple header files are used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 07:26:43 +00:00
Stefan Csomor
fb606749b3 corrected shutdown proc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 07:25:39 +00:00
Václav Slavík
135ace6d7b make it possible to open files from XRC in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:12:44 +00:00
Václav Slavík
150e58d8ae compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:11:54 +00:00
Václav Slavík
abe4a4f120 fixed a bug in wxListCtrl: SetColumnWidth didn't set wxListHeaderWindow::m_dirty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:11:11 +00:00
Gilles Depeyrot
c6d1e23287 replaced CPPFLAGS with CXXFLAGS following corrections in auto-configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:48:55 +00:00
Gilles Depeyrot
e33ef6614e generalized fix for clipboard code compilation configuration check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:45:52 +00:00
Robin Dunn
00b6c4e33b Added a new sample app that is a style editor for wxSTC.
Some other tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:21:45 +00:00
Gilles Depeyrot
555d502faf removed leftover testing code in patch for wxComboBox and wxListBox that
only compiles with configured with --enable-debug


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 18:50:12 +00:00
Vadim Zeitlin
f20f656963 another compilation fix for whitespace-averse compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 15:43:06 +00:00
Vadim Zeitlin
277d672a9d compilation fix: ifdef instead of if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 14:41:31 +00:00
Vadim Zeitlin
1357a7dd5c implemented wxDir::HasSubDirs() optimization for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 13:48:53 +00:00
Robert Roebling
7e410431f3 Probably fixed wxBeginBusyCursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 19:35:05 +00:00
Vadim Zeitlin
b0d3640289 attempt to optimize wxDirData::Read() - made absolutely no difference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 18:27:42 +00:00
Vadim Zeitlin
2a4dbd8197 fixed bug with directory expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 17:41:39 +00:00
Vadim Zeitlin
82008c2601 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 15:29:02 +00:00
Vadim Zeitlin
5549e9f76f added support for polygons to wxRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:56:55 +00:00
Vadim Zeitlin
673f4220ba fix for wxGTK clipboard code compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:29:34 +00:00
Vadim Zeitlin
0cb9cfb22f send right click events for the URLs too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 13:51:20 +00:00
Vadim Zeitlin
b3dc8a3e61 fixed y position of the drop point in HandleDropFiles() (patch 455658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 12:20:04 +00:00
Václav Slavík
026d1fac66 tables code fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-26 14:50:20 +00:00
Václav Slavík
af035b26c4 fixed HTML parsing in regard to spaces between tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-26 14:49:09 +00:00
Václav Slavík
79d6c01818 beginnings of HTML4 tables layouter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 23:14:21 +00:00
Vadim Zeitlin
bb0e27ee5a compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:51:58 +00:00
Stefan Csomor
46cdeb741e added quantize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:15:04 +00:00
Stefan Csomor
518af45bee added disk space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:57 +00:00
Vadim Zeitlin
2b9bdf7146 don't try compile wxClipboard without OLE support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:45 +00:00
Vadim Zeitlin
44d5b352ae warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:14 +00:00
Vadim Zeitlin
ebb0781f91 are there still versions of gcc around which require casting WndProc to long? I don't think so...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:12:58 +00:00
Vadim Zeitlin
b94e73ae6a no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:08:48 +00:00
Václav Slavík
a42aa5d7be fixed a canonical example of Stupid Bug(tm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 19:51:55 +00:00
Vadim Zeitlin
519dc37faf fixed return value of HandleEndSession to return true only if the message was really processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 17:56:34 +00:00
Vadim Zeitlin
52e8b69060 statfs() detection for wxGetDiskSpace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:55:06 +00:00
Vadim Zeitlin
eadd7bd2cb added wxGetDiskSpace for Win/Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:54:14 +00:00
Vadim Zeitlin
3a994742ab added wxLongLong::ToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:42:11 +00:00
Vadim Zeitlin
6dc34ebbd8 added test for HitTest(m_dragPoint) bug to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:46 +00:00
Vadim Zeitlin
8d1d22845a use raw (physical) coords in LIST_(R)DRAG events (patch 444912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:17 +00:00
Stefan Csomor
0baac61e4f corrected OWNER_DRAWN Remove to RemoveAt in Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:40:52 +00:00
Vadim Zeitlin
fc4f1d5f6b fixed crash in HitTest() with y position below the last line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:37:17 +00:00
Vadim Zeitlin
1971d23c57 applied patch 432814: saving BMP in 1, 4 and 8 bpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:30:49 +00:00
Vadim Zeitlin
6e711d5c09 applied patch 446836: removed qt headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:52:26 +00:00
Vadim Zeitlin
27b92ca4e2 added \#if wxUSE_GRID around the whole file (patch 455225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:43:43 +00:00
Vadim Zeitlin
0800a4ba40 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 12:07:45 +00:00
Vadim Zeitlin
7009f411aa refresh the tree ctrl when its back/foreground colour changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 12:06:53 +00:00
Vadim Zeitlin
de7f086027 fix for calling GetWindowLong(NULL hwnd)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 22:16:42 +00:00
Stefan Csomor
c638c3cd12 added new calling conventions for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:44:02 +00:00
Robert Roebling
6464f4cbe0 Patch (partially back) so that images work in wxHTML.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:12:18 +00:00
Stefan Csomor
62e83765c2 decremented timeout, we have to find a better algorithm for knowing when we don't have to wait further for data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:55:57 +00:00
Robert Roebling
51a229c65f Fixed apparent typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:55:38 +00:00
Stefan Csomor
ad8b849872 added connect sequence for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:42:13 +00:00
Stefan Csomor
79da309276 added late init and setup timeout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:27:17 +00:00
Vadim Zeitlin
70426fba08 fix for the short locale name construction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 18:19:54 +00:00
Vadim Zeitlin
a329180411 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 18:14:06 +00:00
Vadim Zeitlin
66dfed9b9d generate wxEVT_ACTIVATE_APP events for wxMSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 16:12:40 +00:00
Vadim Zeitlin
00b4a13e0c declared private wxString::operator=(int) to prevent code like "str = 17;" from compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 14:37:30 +00:00
David Webster
bcd3d8d9e2 New module definition file for the ever chaning treectrl class interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 14:18:00 +00:00
Vadim Zeitlin
adac097759 removed extra wxSTD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:21:50 +00:00
Vadim Zeitlin
2b004197c8 added missing wxSTDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:21:27 +00:00
Vadim Zeitlin
a90ec4ab31 added missing wxSTD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:20:07 +00:00
Julian Smart
7a4f484f1d Small correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 08:58:11 +00:00
Vadim Zeitlin
ad4297f34e always pass WM_DESTROY to DefWindowProc() - this fixes memory/resource leak for wxListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 23:27:06 +00:00
Vadim Zeitlin
4770df95a0 fixes for rotated text drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 22:08:58 +00:00
Vadim Zeitlin
56c4a88b3b added possibility to filter out some messages - there are too many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 21:55:43 +00:00
Václav Slavík
77b2f9b185 ProcessPlatformProperty should not be a member of wxXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 18:57:19 +00:00
Václav Slavík
2978621101 wxHtmlEasyPrinting indentation changes + CreatePrintout,DoPrint and DoPreview virtual and protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 18:56:41 +00:00
Stefan Csomor
b838cfc915 added conversion to mac native filenames from local filesystem handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 13:38:05 +00:00
Václav Slavík
ba0b7b3238 fixed yet another bug in wxStream classes
(This time, the braindead wannabe coder who wrote the original code created
wxStreamBase instance and then casted it to wxInputStream and hapilly used the stream,
which could of course never work. Anybody knows a cheap hitman?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 22:13:22 +00:00
Václav Slavík
a3e377a31f compilation fix for genericTreeCtrl-only stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 22:13:06 +00:00
Vadim Zeitlin
eacb91fc20 added wxDynamicSashWindow (patch 441518)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 15:02:40 +00:00
Vadim Zeitlin
9787a4b6ad added UnregisterWindowClasses() (patch 447443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 14:42:54 +00:00
Vadim Zeitlin
b6e5eaa597 minor clean up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 14:24:23 +00:00
Vadim Zeitlin
ebb987b77b double click handling is finally correct in the treectrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 15:17:48 +00:00
Vadim Zeitlin
15248e43a9 removed assert from wxColour::InitFromName() as there is no way to bypass it (see comment there)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 11:55:38 +00:00
Robert Roebling
c9c4b3a009 Fixed focus event problems with control derived
from wxScrolledWindow.
  If wxTreeCtrl has no +/. button, toggle branch,
    otherwise send activate event upon double-click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 11:12:42 +00:00
Julian Smart
decb3a6a16 Added Net library to contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 09:11:20 +00:00
Vadim Zeitlin
c48926e149 fixes for Raise() to work correctly with both top level and child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:02:27 +00:00
Vadim Zeitlin
5d987909a8 moved button handler into the modeless dialog itself - at least like this it works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:01:17 +00:00
Vadim Zeitlin
68eb5f6337 allow user code to override key handling in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 19:25:00 +00:00
Stefan Csomor
a0f8388258 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 18:56:11 +00:00
Vadim Zeitlin
ba7bd90150 fixed refresh problem after adding some items and calling Ensurevisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 16:08:11 +00:00
Vadim Zeitlin
49ecb02984 fix for refreshing the current item in the list ctrl when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:46:50 +00:00
Vadim Zeitlin
de57703a0c fixed text fg colour for selected but unfocused items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:22:15 +00:00
Vadim Zeitlin
dbcbe22962 made GetColourFromGTKWidget() more general, it is now used for all colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:19:37 +00:00
Vadim Zeitlin
3523b9cf8d fix for wxSYS_COLOUR_LISTBOX colour detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:46:09 +00:00
Vadim Zeitlin
b771aa29dd draw the selected items in another colour when the control doesn't have focus, a bit like MSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:34 +00:00
Vadim Zeitlin
643ccf6203 extracted 4 copies of identical code into a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:04 +00:00
Vadim Zeitlin
783d4c8931 fixed the wrong examples of CalcScrolled/UnscrolledPosition() usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:18:52 +00:00
Vadim Zeitlin
677a9f0c61 fixed bug with calling Destroy() on the NULL wxSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:10:17 +00:00
Vadim Zeitlin
06b781c7c6 fixed clipping of items with icons text in report mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:09:18 +00:00
Julian Smart
bcbe86e592 Fixed GetLongPath bug -- should use GetFullName and not GetName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 09:04:54 +00:00
Václav Slavík
7af284fda7 nicer version compilation fix for wxUSE_WCHAR_T=0 (why should we duplicate definitions in all #ifdef branches???)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 22:22:59 +00:00
Robert Roebling
76fcf0f239 Various changes for simplification of focus event
code in wxGTK. It will also work for wxComboBox
    now, but not for GTK's other composite controls
    such as wxListBox and wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Stefan Neis
73a89308a4 Fix for wxUSE_WCHAR_T == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 18:31:10 +00:00
Stefan Csomor
9cf99fc093 added carbonaccessors.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 17:18:03 +00:00
Robert Roebling
f72124dbe5 We use native paths now in wxWindows. On the Mac, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 16:39:14 +00:00
Václav Slavík
c48792de4a fix for bug in wxEditableListBox in connection with new wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:37 +00:00
Václav Slavík
80372768e4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:26 +00:00
Stefan Csomor
3d2791f12c added a few encoding convenience methods for pc-mac encoding and string handling, put message box buttons under translation, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 08:38:14 +00:00
Václav Slavík
211cc8dc90 better focus handling (blind fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 23:13:03 +00:00
Robert Roebling
eeca3a4697 The Scale() code in the 2.3 tree turned out to
be wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 18:17:23 +00:00
Robert Roebling
08a092f9f4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 17:17:13 +00:00
Robert Roebling
618a5e382a Applied Greg's patch to tree control and related.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 13:09:26 +00:00
Vadim Zeitlin
a8973b121d warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 17:52:02 +00:00
David Webster
bcb7cc7693 New module definition file to keep .dll build compilable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 14:26:45 +00:00
Julian Smart
213ba43b70 Added doc for 2-step initialisation and wxWIZARD_EX_HELPBUTTON style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:53 +00:00
Julian Smart
77436c4cba Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
Also added & to Cancel button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:19 +00:00
Vadim Zeitlin
444ad3a719 added wxURLDataObject which unfortunately doesn't seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 23:46:56 +00:00
Václav Slavík
2b260bc3e2 finished wxWindow for MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 22:53:43 +00:00
7914 changed files with 2564183 additions and 622 deletions

57
.cvsignore Normal file
View File

@@ -0,0 +1,57 @@
system.list
bin
.gdb_history
Test
config.cache
configarg.cache
config.status
system.list
linux.system.cache
wx-config
config.log
linux-gnu.system.cache
*.dsp
*.dsw
*.plg
*.opt
*.aps
*.ncb
*.pro
*.opt
*.d
*.swp
*.swo
Release
Debug
ReleaseDLL
DebugDLL
UnivRelease
UnivDebug
BaseRelease
BaseDebug
robert
stamp-h.in
Makefile
configure
setup.h
stamp-h
libtool
aclocal.m4
base
gtk
motif
win32
univ
univ-debug
univ-release
base-debug
gtk-debug
motif-debug
win32-debug
base-release
gtk-release
motif-release
win32-release
*tags
log
univtags.cmd

255
BuildCVS.txt Normal file
View File

@@ -0,0 +1,255 @@
------------------------------------------------------------------------
How to build the sources from CVS
------------------------------------------------------------------------
Please use the install.txt files in docs/gtk, docs/msw, docs/motif, docs/mac
etc. alongside these instructions.
I) Windows using plain makefiles
----------------------------------------
a) If using Microsoft Visual C++ 5.0 or 6.0
Ensure that the command-line compiler and tools (including
nmake) are installed and ready to run. Depending on your
installation there may be a batch file (named something like
VCVARS32.BAT) that needs to be run to set correct environment
varaibles and PATH entries.
Continue with item c) below.
b) If using the GNU Mingw32 or GNU Cygwin32 compilers
You can get Mingw32 from http://www.mingw.org
Cygwin32 is available at http://www.cygwin.com
The makefile might have small problems with Cygwin's tools
so it is recommended to use Mingw32 and its toolchain instead
if possible.
-> Set your path so that it includes the directory
where your compiler and tools reside
-> If your are using an old Mingw32 version (gcc-2.95 or older),
you might need to fix some headers with the patches contained
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
PATCHES BY HAND! There are apparently a few different versions
of the headers floating around. Note that these patches are
not needed if you are using Mingw32 gcc-2.95.2 or newer.
-> Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
the file to either 1 (you have Mingw32) or 0 (you have Cygwin32).
If using MINGW32, also set the MINGW32VERSION variable
appropiately.
c) Build instructions
-> Assumming that you installed the wxWindows sources
into c:\wxWin
-> Copy c:\wxWin\include\wx\msw\setup0.h
to c:\wxWin\include\wx\msw\setup.h
-> Edit c:\wxWin\include\wx\msw\setup.h so that
most features are enabled (i.e. defined to 1), for example:
#define wxUSE_ODBC 0
#define wxUSE_SOCKETS 1
#define wxUSE_HTML 1
#define wxUSE_THREADS 1
#define wxUSE_FS_INET 0
#define wxUSE_FS_ZIP 1
#define wxUSE_BUSYINFO 1
#define wxUSE_DYNLIB_CLASS 1
#define wxUSE_ZIPSTREAM 1
#define wxUSE_LIBJPEG 1
#define wxUSE_LIBPNG 1
and std iostreams are disabled with
#define wxUSE_STD_IOSTREAM 0
-> type: cd c:\wxWin\src\msw
-> type: make -f makefile.g95 (if using GNU tools)
or type: nmake -f makefile.vc (if using MS VC++)
II) Unix ports
--------------
Building wxGTK or wxMotif completely without configure
won't ever work, but there is now a new makefile system
that works without libtool and automake, using only
configure to create what is needed.
In order to create configure, you need to have the
GNU autoconf package (version 2.13 or 2.14) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf).
Set WXWIN environment variable to the base directory such
as ~/wxWindows (this is actually not really needed).
-> type: export WXWIN=~/wxWindows
-> type: md mybuild
-> type: cd mybuild
-> type: ../configure --with-motif
or type: ../configure --with-gtk
-> type: make
-> type: su <type root password>
-> type: make install
-> type: ldconfig
-> type: exit
Call configure with --disable-shared to create a static
library. Calling "make uninstall" will remove the installed
library and "make dist" will create a distribution (not
yet complete).
III) Windows using configure
----------------------------------------
Take a look at Unix->Windows cross compiling. With minor
modifications, this should work in Windows if you've got the cygnus
utilities (bash, GNU make, etc) and either mingw32 or cygwin32 installed.
See http://www.cygnus.com for these programs, or go straight to their
ftp server at ftp://sourceware.cygnus.com/pub/cygwin/.
Of course, you can also build the library using plain makefiles (see
section I).
IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
----------------------------------------
Refer to the readme.txt and install.txt files in docs/mac to build
wxWindows under Classic Mac OS using CodeWarrior.
If you are checking out the CVS sources using cvs under Mac OS X and
compiling under Classic Mac OS:
- make sure that all text files have a Mac OS type of 'TEXT' otherwise
CodeWarrior may ignore them. Checking out the CVS sources using cvs
under Mac OS X creates untyped files which can lead to compilation
errors under CodeWarrior which are hard to track down.
- convert the xml files to CodeWarrior binary projects using the supplied
AppleScript in docs/mac (M5xml2mcp.applescript for CodeWarrior 5.3)
V) MacOS X using configure and the Developer Tools
----------------------------------------
You need to have the Developer Tools installed. If this is not the case,
you will need to register at the Apple Developer web site (this is a free
registration) in order to download the Developer Tools installer.
In order to create configure, you need to have the
GNU autoconf package (version 2.13 or 2.14) installed
on your system and type run "autoconf" in the base
directory (or run the autogen.sh script in the same
directory, which just calls autoconf).
-> type: mkdir macbuild
-> type: cd macbuild
-> type: ../configure --with-mac
or type: ../configure
-> type: make
VI) OS/2
----------------------------------------
VII) Unix->Windows cross-compiling using configure
--------------------------------------------------
First you'll need a cross-compiler; linux glibc binaries of mingw32 and
cygwin32 (both based on egcs) can be found at
ftp://ftp.objsw.com/pub/crossgcc/linux-x-win32. Alternative binaries,
based on the latest MinGW release can be found at
http://members.telering.at/jessich/mingw/mingwcross/mingw_cross.html
Otherwise you can compile one yourself.
[ A Note about cygwin32 and mingw32: the main difference is that cygwin32
binaries are always linked against cygwin.dll. This dll encapsulates most
standard Unix C extensions, which is very handy if you're porting unix
software to windows. However, wxMSW doesn't need this, so mingw32 is
preferable if you write portable C(++). ]
You might want to build both Unix and Windows binaries in the same source
tree; to do this make subdirs for each e.g. unix and win32. If you've
already build wxWindows in the main dir, do a 'make distclean' there,
otherwise configure will get confused. (In any case, read the section 'Unix
using configure' and make sure you're able to build a native wxWindows
library; cross-compiling errors can be pretty obscure and you'll want to be
sure that your configure setup is basically sound.)
To cross compile the windows library, do
-> cd win32
(or whatever you called it)
Now run configure. There are two ways to do this
-> ../configure --host=i586-mingw32 --build=i586-linux --with-mingw
where --build= should read whatever platform you're building on. Configure
will notice that build and host platforms differ, and automatically prepend
i586-mingw32- to gcc, ar, ld, etc (make sure they're in the PATH!).
The other way to run configure is by specifying the names of the binaries
yourself:
-> CC=i586-mingw32-gcc CXX=i586-mingw32-g++ RANLIB=i586-mingw32-ranlib \
DLLTOOL=i586-mingw32-dlltool LD=i586-mingw32-ld NM=i586-mingw32-nm \
../configure --host=i586-mingw32 --with-mingw
(all assuming you're using mingw32)
By default this will compile a DLL, if you want a static library,
specify --disable-shared.
Type
-> make
and wait, wait, wait. Don't leave the room, because the minute you do there
will be a compile error :-)
NB: if you are using a very old compiler you risk to get quite a few warnings
about "ANSI C++ forbids implicit conversion from 'void *'" in all places
where va_arg macro is used. This is due to a bug in (some versions of)
mingw32 headers which may be corrected by upgrading your compier,
otherwise you might edit the file
${install_prefix}/lib/gcc-lib/i586-mingw32/egcs-2.91.57/include/stdarg.h
(instead of egcs-2.91.57 you may have something different), searching for
the lines
/* Define __gnuc_va_list. */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
#endif
#endif
and adding "|| defined(_WIN32)" to the list of platforms on which
__gnuc_va_list is char *.
If this is successful, you end up with a wx23_2.dll/libwx23_2.a in win32/lib
( or just libwx_msw.a if you opted for a static build ).
Now try building the minimal sample:
-> cd samples/minimal
-> make
and run it with wine, for example (or copy to a Windows box)
-> wine minimal.exe
If all is well, do an install; from win32
-> make install
Native and cross-compiled installations can co-exist peacefully
(as long as their widget sets differ), except for wx-config. You might
want to rename the cross-compiled one to i586-mingw32-wx-config, or something.
Cross-compiling TODO:
---------------------
- resource compiling must be done manually for now (should/can we link the
default wx resources into libwx_msw.a?) [ No we can't; the linker won't
link it in... you have to supply an object file ]
- static executables are HUGE -- there must be room for improvement.

1467
Makefile.in Normal file

File diff suppressed because it is too large Load Diff

169
Mingw32-gcc295.patches Normal file
View File

@@ -0,0 +1,169 @@
*** \gcc-inc\basetyps.h Sat Jul 31 16:48:36 1999
--- basetyps.h Fri Aug 06 11:14:36 1999
***************
*** 74,91 ****
--- 74,97 ----
STDMETHOD(Clone)(IENUM_THIS_(I) I**) PURE; \
}
#define DECLARE_ENUMERATOR(T) DECLARE_ENUMERATOR_(IEnum##T,T)
+ #ifndef GUID_DEFINED
+ #define GUID_DEFINED
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
+ #endif /* GUID_DEFINED */
typedef GUID *REFGUID;
typedef GUID *LPGUID;
+ #ifndef UUID_DEFINED
+ #define UUID_DEFINED
typedef GUID UUID;
+ #endif /* UUID_DEFINED */
typedef GUID IID;
typedef GUID CLSID;
typedef CLSID *LPCLSID;
typedef IID *LPIID;
*** \gcc-inc\oaidl.h Sat Jul 31 16:48:42 1999
--- oaidl.h Fri Aug 06 13:18:48 1999
***************
*** 39,44 ****
--- 39,53 ----
#define IMPLTYPEFLAG_FRESTRICTED 4
#define IMPLTYPEFLAG_FDEFAULTVTABLE 8
+ #define DISPID_UNKNOWN ( -1 )
+ #define DISPID_VALUE ( 0 )
+ #define DISPID_PROPERTYPUT ( -3 )
+ #define DISPID_NEWENUM ( -4 )
+ #define DISPID_EVALUATE ( -5 )
+ #define DISPID_CONSTRUCTOR ( -6 )
+ #define DISPID_DESTRUCTOR ( -7 )
+ #define DISPID_COLLECT ( -8 )
+
typedef interface ITypeLib *LPTYPELIB;
typedef interface ICreateTypeInfo *LPCREATETYPEINFO;
typedef interface ICreateTypeInfo2 *LPCREATETYPEINFO2;
***************
*** 49,54 ****
--- 58,73 ----
typedef interface IDispatch *LPDISPATCH;
typedef interface ICreateErrorInfo *LPCREATEERRORINFO;
+ extern "C" const IID IID_ITypeLib;
+ extern "C" const IID IID_ICreateTypeInfo;
+ extern "C" const IID IID_ICreateTypeInfo2;
+ extern "C" const IID IID_ICreateTypeLib;
+ extern "C" const IID IID_ICreateTypeLib2;
+ extern "C" const IID IID_ITypeInfo;
+ extern "C" const IID IID_IErrorInfo;
+ extern "C" const IID IID_IDispatch;
+ extern "C" const IID IID_ICreateErrorInfo;
+
typedef enum tagSYSKIND {
SYS_WIN16,SYS_WIN32,SYS_MAC
} SYSKIND;
***************
*** 375,382 ****
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID)
PURE;
! STDMETHOD(Invoked)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
#ifdef __cplusplus
--- 394,401 ----
STDMETHOD_(ULONG,Release)(THIS) PURE;
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*)
PURE;
! STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
};
#ifdef __cplusplus
*** \gcc-inc\objidl.h Sat Jul 31 16:48:42 1999
--- objidl.h Fri Aug 06 11:00:19 1999
***************
*** 627,633 ****
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC*) PURE;
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
--- 627,633 ----
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
--- i386-mingw32\include\stdio.h Sun Aug 1 06:18:20 1999
+++ stdio.h Sun Nov 7 03:41:40 1999
@@ -203,9 +203,12 @@
int fprintf (FILE* filePrintTo, const char* szFormat, ...);
int printf (const char* szFormat, ...);
int sprintf (char* caBuffer, const char* szFormat, ...);
+int _snprintf (char* caBuffer, size_t n, const char* szFormat, ...);
int vfprintf (FILE* filePrintTo, const char* szFormat, va_list varg);
int vprintf (const char* szFormat, va_list varg);
int vsprintf (char* caBuffer, const char* szFormat, va_list varg);
+int _vsnprintf (char* caBuffer, size_t n, const char* szFormat,
+ va_list varg);
/* Wide character versions */
int fwprintf (FILE* filePrintTo, const wchar_t* wsFormat, ...);
--- i386-mingw32\include\winbase.h Sat Jul 31 17:48:48 1999
+++ winbase.h Fri Feb 25 01:49:08 2000
@@ -989,7 +989,7 @@
BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
#define RtlMoveMemory memmove
#define RtlCopyMemory memcpy
-#define RtlFillMemory memset
+#define RtlFillMemory(d,l,f) memset ((d),(f),(l))
#define RtlZeroMemory(d,l) memset((d),0,(l))
#define MoveMemory RtlMoveMemory
#define CopyMemory RtlCopyMemory
--- i386-mingw32\include\winsock.h Sat Jul 31 17:48:50 1999
+++ winsock.h Mon Mar 20 13:47:12 2000
@@ -13,6 +13,10 @@
#define _GNU_H_WINDOWS32_SOCKETS
#include <windows.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef _SYS_TYPES_H
typedef unsigned char u_char;
typedef unsigned short u_short;
@@ -495,4 +499,9 @@
typedef struct timeval TIMEVAL;
typedef struct timeval *PTIMEVAL;
typedef struct timeval *LPTIMEVAL;
+
+#ifdef __cplusplus
+}
#endif
+#endif
+

289
aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,289 @@
dnl aclocal.m4 generated automatically by aclocal 1.4
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
dnl PARTICULAR PURPOSE.
# Configure paths for GTK+
# Owen Taylor 97-11-3
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS. Uses variables
dnl gtk_config_prefix and/or gtk_config_exec_prefix if defined.
AC_DEFUN(AM_PATH_GTK,
[
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" != "no" ; then
GTK_CFLAGS=`$GTK_CONFIG --cflags`
GTK_LIBS=`$GTK_CONFIG --libs gthread`
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent)
dnl
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <gtk/gtkfeatures.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((GTK_MAJOR_VERSION != gtk_major_version) ||
(GTK_MINOR_VERSION != gtk_minor_version) ||
(GTK_MICRO_VERSION != gtk_micro_version)) {
printf("Headers vs. library version mismatch!\n");
exit(1);
}
if (gtk_minor_version == 1) return FALSE;
return !((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
else
no_gtk=yes
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
])
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK_2_0,
[dnl
dnl Get the cflags and libraries from the gtk-config-2.0 script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
for module in . $4
do
case "$module" in
gthread)
gtk_config_args="$gtk_config_args gthread"
;;
esac
done
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG_2_0+set} != xset ; then
GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG_2_0+set} != xset ; then
GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
fi
fi
AC_PATH_PROG(GTK_CONFIG_2_0, gtk-config-2.0, no)
min_gtk_version=ifelse([$1], ,1.3.1,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG_2_0" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$GTK_LIBS $LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config-2.0 to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG_2_0" = "no" ; then
echo "*** The gtk-config-2.0 script installed by GTK could not be found"
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
echo "*** full path to gtk-config-2.0."
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

2
autogen.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
autoconf

1317
config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1411
config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

19344
configure vendored Executable file

File diff suppressed because it is too large Load Diff

4958
configure.in Normal file

File diff suppressed because it is too large Load Diff

15
contrib/Makefile.in Normal file
View File

@@ -0,0 +1,15 @@
#
# Makefile : Builds wxWindows utils for Unix.
#
all:
cd src; $(MAKE)
clean:
cd src; $(MAKE) clean
cd samples; $(MAKE) clean
cd utils; $(MAKE) clean
samples:
cd samples; $(MAKE)

1036
contrib/configure vendored Executable file

File diff suppressed because it is too large Load Diff

79
contrib/configure.in Normal file
View File

@@ -0,0 +1,79 @@
dnl Process this file with autoconf to produce a configure script.
AC_REVISION($Id$)dnl
AC_INIT(Makefile.in)
dnl ---------------
dnl MMedia specific
dnl ---------------
dnl Check for ESD
ESD_LINK=
AC_CHECK_HEADER(esd.h, [
AC_CHECK_LIB(esd, esd_close, [
ESD_LINK="-lesd"
])
])
if test "$ESD_LINK" != "" ; then
echo "ESound detected"
fi
dnl -----------
dnl Final subst
PATH_IFS=$wx_cv_path_ifs
WX_TARGET_LIBRARY=$wx_cv_target_library
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
AC_SUBST(PATH_IFS)
AC_SUBST(ESD_LINK)
AC_SUBST(WX_TARGET_LIBRARY)
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
dnl -----------
dnl File output
AC_OUTPUT([
src/Makefile
src/ogl/Makefile
src/mmedia/Makefile
src/stc/Makefile
src/xrc/Makefile
src/canvas/Makefile
src/gizmos/Makefile
src/plot/Makefile
src/applet/Makefile
src/fl/Makefile
src/net/Makefile
samples/Makefile
samples/mmedia/Makefile
samples/ogl/Makefile
samples/ogl/ogledit/Makefile
samples/ogl/studio/Makefile
samples/stc/Makefile
samples/canvas/Makefile
samples/canvas/test/Makefile
samples/canvas/simple/Makefile
samples/gizmos/Makefile
samples/gizmos/multicell/Makefile
samples/gizmos/splittree/Makefile
samples/gizmos/editlbox/Makefile
samples/gizmos/dynsash/Makefile
samples/gizmos/dynsash_switch/Makefile
samples/xrc/Makefile
samples/plot/Makefile
samples/applet/Makefile
samples/fl/Makefile
samples/fl/fl_demo1/Makefile
samples/fl/fl_demo2/Makefile
samples/fl/fl_sample1/Makefile
samples/fl/fl_sample2/Makefile
samples/fl/fl_sample3/Makefile
utils/Makefile
utils/wxrc/Makefile
utils/wxrcedit/Makefile
utils/convertrc/Makefile
])

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

View File

@@ -0,0 +1,9 @@
\chapter{Bugs}\label{bugs}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
These are the known bugs.
\begin{itemize}\itemsep=0pt
\item No bugs
\end{itemize}

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

View File

@@ -0,0 +1,24 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
%
\section{\class{wxCDAudio}}\label{wxcdaudio}
\wxheading{Derived from}
wxObject
\wxheading{Data structures}
{\small
\begin{verbatim}
typedef struct wxCDtime {
wxUint8 track
};
\end{verbatim}
}
{\small \begin{verbatim}
typedef enum { PLAYING, PAUSED, STOPPED } CDstatus
\end{verbatim}}

View File

@@ -0,0 +1,66 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdunix.h at 26/Feb/00 14:52:10
%
\section{\class{wxCDAudioLinux}}\label{wxcdaudiolinux}
\wxheading{Derived from}
\helpref{wxCDAudio}{wxcdaudio}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCDAudioLinux::wxCDAudioLinux}\label{wxcdaudiolinuxwxcdaudiolinux}
\func{}{wxCDAudioLinux}{\void}
\func{}{wxCDAudioLinux}{\param{const char* }{dev\_name}}
\membersection{wxCDAudioLinux::\destruct{wxCDAudioLinux}}\label{wxcdaudiolinuxdtor}
\func{}{\destruct{wxCDAudioLinux}}{\void}
\membersection{wxCDAudioLinux::Play}\label{wxcdaudiolinuxplay}
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_time}, \param{const wxCDtime\& }{end\_time}}
\membersection{wxCDAudioLinux::Pause}\label{wxcdaudiolinuxpause}
\func{bool}{Pause}{\void}
\membersection{wxCDAudioLinux::Resume}\label{wxcdaudiolinuxresume}
\func{bool}{Resume}{\void}
\membersection{wxCDAudioLinux::GetStatus}\label{wxcdaudiolinuxgetstatus}
\func{CDstatus}{GetStatus}{\void}
\membersection{wxCDAudioLinux::GetTime}\label{wxcdaudiolinuxgettime}
\func{wxCDtime}{GetTime}{\void}
\membersection{wxCDAudioLinux::GetToc}\label{wxcdaudiolinuxgettoc}
\func{CDtoc\&}{GetToc}{\void}
\membersection{wxCDAudioLinux::Ok}\label{wxcdaudiolinuxok}
\constfunc{bool}{Ok}{\void}
\membersection{wxCDAudioLinux::OpenDevice}\label{wxcdaudiolinuxopendevice}
\func{void}{OpenDevice}{\param{const char* }{dev\_name}}

View File

@@ -0,0 +1,78 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdwin.h at 26/Feb/00 14:52:15
%
\section{\class{wxCDAudioWin}}\label{wxcdaudiowin}
\wxheading{Derived from}
\helpref{wxCDAudio}{wxcdaudio}
\wxheading{Data structures}
{\small
\begin{verbatim}
typedef struct CDAW\_Internal {
MCIDEVICEID dev\_id
};
\end{verbatim}
}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxCDAudioWin::wxCDAudioWin}\label{wxcdaudiowinwxcdaudiowin}
\func{}{wxCDAudioWin}{\void}
\func{}{wxCDAudioWin}{\param{const char* }{dev\_name}}
\membersection{wxCDAudioWin::\destruct{wxCDAudioWin}}\label{wxcdaudiowindtor}
\func{}{\destruct{wxCDAudioWin}}{\void}
\membersection{wxCDAudioWin::Play}\label{wxcdaudiowinplay}
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_time}, \param{const wxCDtime\& }{end\_time}}
\membersection{wxCDAudioWin::Pause}\label{wxcdaudiowinpause}
\func{bool}{Pause}{\void}
\membersection{wxCDAudioWin::Resume}\label{wxcdaudiowinresume}
\func{bool}{Resume}{\void}
\membersection{wxCDAudioWin::GetStatus}\label{wxcdaudiowingetstatus}
\func{CDstatus}{GetStatus}{\void}
\membersection{wxCDAudioWin::GetTime}\label{wxcdaudiowingettime}
\func{wxCDtime}{GetTime}{\void}
\membersection{wxCDAudioWin::GetToc}\label{wxcdaudiowingettoc}
\func{const CDtoc\&}{GetToc}{\void}
\membersection{wxCDAudioWin::Ok}\label{wxcdaudiowinok}
\constfunc{bool}{Ok}{\void}
\membersection{wxCDAudioWin::PrepareToc}\label{wxcdaudiowinpreparetoc}
\func{void}{PrepareToc}{\void}

View File

@@ -0,0 +1,111 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/cdbase.h at 26/Feb/00 14:52:12
%
\section{\class{CDtoc}}\label{cdtoc}
Table of contents manager
\wxheading{Derived from}
No base class
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{CDtoc::CDtoc}\label{cdtoccdtoc}
\func{}{CDtoc}{\param{wxCDtime\& }{tot\_tm}, \param{wxCDtime* }{trks\_tm}, \param{wxCDtime* }{trks\_pos}}
\membersection{CDtoc::GetTrackTime}\label{cdtocgettracktime}
\constfunc{wxCDtime}{GetTrackTime}{\param{wxUint8 }{track}}
Returns the length of the specified track
track: track to get length
\membersection{CDtoc::GetTrackPos}\label{cdtocgettrackpos}
\constfunc{wxCDtime}{GetTrackPos}{\param{wxUint8 }{track}}
Returns the position of the specified track
track: track to get position
\membersection{CDtoc::GetTotalTime}\label{cdtocgettotaltime}
\constfunc{wxCDtime}{GetTotalTime}{\void}
Returns the total time
\membersection{wxCDAudio::wxCDAudio}\label{wxcdaudiowxcdaudio}
\func{}{wxCDAudio}{\void}
\membersection{wxCDAudio::\destruct{wxCDAudio}}\label{wxcdaudiodtor}
\func{}{\destruct{wxCDAudio}}{\void}
\membersection{wxCDAudio::Play}\label{wxcdaudioplay}
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}, \param{const wxCDtime\& }{end\_play}}
Play audio at the specified position
\func{bool}{Play}{\param{const wxCDtime\& }{beg\_play}}
Play audio from the specified to the end of the CD audio
\func{bool}{Play}{\param{wxUint8 }{beg\_track}, \param{wxUint8 }{end\_track = 0}}
\membersection{wxCDAudio::Pause}\label{wxcdaudiopause}
\func{bool}{Pause}{\void}
Pause the audio playing
\membersection{wxCDAudio::Resume}\label{wxcdaudioresume}
\func{bool}{Resume}{\void}
Resume a paused audio playing
\membersection{wxCDAudio::GetStatus}\label{wxcdaudiogetstatus}
\func{CDstatus}{GetStatus}{\void}
Get the current CD status
\membersection{wxCDAudio::GetTime}\label{wxcdaudiogettime}
\func{wxCDtime}{GetTime}{\void}
Get the current playing time
\membersection{wxCDAudio::GetToc}\label{wxcdaudiogettoc}
\func{const CDtoc\&}{GetToc}{\void}
Returns the table of contents
\membersection{wxCDAudio::Ok}\label{wxcdaudiook}
\constfunc{bool}{Ok}{\void}
CD ok

View File

@@ -0,0 +1,3 @@
\chapter{Change log}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}

View File

@@ -0,0 +1,13 @@
\chapter{Class reference}\label{classref}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
These are the main Mmedia classes.
\input cdaudio.tex
\input cdaudlnx.tex
\input cdaudwin.tex
\input cdtoc.tex
\input sndbase.tex
\input sndfile.tex
\input sndfrmt.tex

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

View File

@@ -0,0 +1,47 @@
\chapter{Introduction}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
The MMedia wxWindows extension is a wxWindows library which provides you
a full set of multimedia classes including sound recording/playing,
cd audio playing and video playing. The API is portable and can be used
on any supported systems with the insurance the behaviour will be the
same.
\section{File structure}
These are the files that comprise the mmedia library.
\begin{description}\itemsep=0pt
\item[sndbase.h] Header for wxSoundStream base class and wxSoundFormat base class.
\item[sndbase.cpp] Basic objects implementation.
\item[sndfile.h] wxSoundFileStream base class header.
\item[sndfile.cpp] wxSoundFileStream base class implementation.
\item[sndpcm.h] wxSoundFormatPcm class header.
\item[sndpcm.cpp] wxSoundFormatPcm class implementation.
\item[sndcpcm.h] wxSoundCodecPcm class header (PCM converter).
\item[sndcpcm.cpp] wxSoundCodecPcm class implementation (PCM converter).
\item[sndulaw.h]
\item[sndulaw.cpp]
\item[sndg72x.h]
\item[sndg72x.cpp]
\item[sndoss.h]
\item[sndoss.cpp]
\item[sndesd.h]
\item[sndesd.cpp]
\item[sndwin.h]
\item[sndwin.cpp]
\item[cdbase.h]
\item[cdbase.cpp]
\item[cdunix.h]
\item[cdunix.cpp]
\item[cdwin.h]
\item[cdwin.cpp]
\item[vidbase.h]
\item[vidbase.cpp]
\item[vidxanm.h]
\item[vidxanm.cpp]
\item[vidwin.h]
\item[vidwin.cpp]
\end{description}

View File

@@ -0,0 +1,45 @@
\documentstyle[a4,makeidx,verbatim,texhelp,fancyheadings]{report}
\definecolour{black}{0}{0}{0}%
\definecolour{cyan}{0}{255}{255}%
\definecolour{green}{0}{255}{0}%
\definecolour{magenta}{255}{0}{255}%
\definecolour{red}{255}{0}{0}%
\definecolour{blue}{0}{0}{200}%
\definecolour{yellow}{255}{255}{0}%
\definecolour{white}{255}{255}{255}%
\input psbox.tex
\parindent 0pt
\parskip 11pt
\title{MMedia for wxWindows}
\author{Guilhem Lavaux}
\date{March 2000}
\makeindex
\begin{document}
\maketitle
\pagestyle{fancyplain}
\bibliographystyle{plain}
\pagenumbering{roman}
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
\setfooter{\thepage}{}{}{}{}{\thepage}
\tableofcontents%
\input{intro.tex}
%
\input{sample.tex}
%
\input{classes.tex}
%
\input{topics.tex}
%
\input{bugs.tex}
%
\input{changes.tex}
%
\addcontentsline{toc}{chapter}{Index}
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}
\setfooter{\thepage}{}{}{}{}{\thepage}%
\printindex
\end{document}

View File

@@ -0,0 +1,520 @@
%
% %%%%%%% %%%%% %%%%%% %%%%% % %
% % % % % % % % % %
% % % % % % % % % %
% %%%%%%% %%%%% %%%%%% % % %
% % % % % % % % %
% % % % % % % % %
% % %%%%%% %%%%%% %%%%% % %
%
% By Jean Orloff
% Comments & suggestions by e-mail: ORLOFF@surya11.cern.ch
% No modification of this file allowed if not e-sent to me.
%
% A simple way to measure the size of encapsulated postscript figures
% from inside TeX, and to use it for automatically formatting texts
% with inserted figures. Works both under Plain TeX-based macros
% (Phyzzx, Harvmac, Psizzl, ...) and LaTeX environment.
% Provides exactly the same result on any PostScript printer provided
% the single instruction \psfor... is changed to fit the needs of the
% particular dvi->ps translator used.
% History:
% 1.31: adds \psforDVIALW(?)
% 1.30: adds \splitfile & \joinfiles for multi-file management
% 1.24: fix error handling & add \psonlyboxes
% 1.23: adds \putsp@ce for OzTeX fix
% 1.22: makes \drawingBox \global for use in Phyzzx
% 1.21: accepts %%BoundingBox: (atend)
% 1.20: tries to add \psfordvitps for the TeXPS package.
% 1.10: adds \psforoztex, error handling...
%2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 2345678 7 23456789
%
\def\temp{1.31}
\let\tempp=\relax
\expandafter\ifx\csname psboxversion\endcsname\relax
\message{version: \temp}
\else
\ifdim\temp cm>\psboxversion cm
\message{version: \temp}
\else
\message{psbox(\psboxversion) is already loaded: I won't load
psbox(\temp)!}
\let\temp=\psboxversion
\let\tempp=\endinput
\fi
\fi
\tempp
\let\psboxversion=\temp
\catcode`\@=11
% Every macro likes a little privacy...
%
% Some common defs
%
\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution
\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex
\def\executeinspecs#1{%
\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}}
%
%Trying to tame the variety of \special commands for Postscript: the
% universal internal command \PSspeci@l##1##2 takes ##1 to be the
% filename and ##2 to be the integer scale factor*1000 (as for usual
% TeX \scale commands)
%
\def\psfortextures{% For TeXtures on the Macintosh
%-----------------
\def\PSspeci@l##1##2{%
\special{illustration ##1\space scaled ##2}%
}}
%
\def\psfordvitops{% For the DVItoPS converter on IBM mainframes
%----------------
\def\PSspeci@l##1##2{%
\special{dvitops: import ##1\space \the\drawingwd \the\drawinght}%
}}
%
\def\psfordvips{% For DVIPS converter on VAX, UNIX and PC's
%--------------
\def\PSspeci@l##1##2{%
% \special{/@scaleunit 1000 def}% never read dox without trying!
\d@my=0.1bp \d@mx=\drawingwd \divide\d@mx by\d@my%
\special{PSfile=##1\space llx=\psllx\space lly=\pslly\space%
urx=\psurx\space ury=\psury\space rwi=\number\d@mx}%
}}
%
\def\psforoztex{% For the OzTeX shareware on the Macintosh
%--------------
\def\PSspeci@l##1##2{%
\special{##1 \space
##2 1000 div dup scale
\putsp@ce{\number-\psllx} \putsp@ce{\number-\pslly} translate
}%
}}
\def\putsp@ce#1{#1 }
%
\def\psfordvitps{% From the UNIX TeXPS package, vers.>3.12
%---------------
% Convert a dimension into the number \psn@sp (in scaled points)
\def\psdimt@n@sp##1{\d@mx=##1\relax\edef\psn@sp{\number\d@mx}}
\def\PSspeci@l##1##2{%
% psfig.psr contains the def of "startTexFig": if you can locate it
% and include the correct pathname, it should work
\special{dvitps: Include0 "psfig.psr"}% contains def of "startTexFig"
\psdimt@n@sp{\drawingwd}
\special{dvitps: Literal "\psn@sp\space"}
\psdimt@n@sp{\drawinght}
\special{dvitps: Literal "\psn@sp\space"}
\psdimt@n@sp{\psllx bp}
\special{dvitps: Literal "\psn@sp\space"}
\psdimt@n@sp{\pslly bp}
\special{dvitps: Literal "\psn@sp\space"}
\psdimt@n@sp{\psurx bp}
\special{dvitps: Literal "\psn@sp\space"}
\psdimt@n@sp{\psury bp}
\special{dvitps: Literal "\psn@sp\space startTexFig\space"}
\special{dvitps: Include1 "##1"}
\special{dvitps: Literal "endTexFig\space"}
}}
\def\psforDVIALW{% Try for dvialw, a UNIX public domain
%---------------
\def\PSspeci@l##1##2{
\special{language "PS"
literal "##2 1000 div dup scale"
include "##1"}}}
\def\psonlyboxes{% Draft-like behaviour if none of the others works
%---------------
\def\PSspeci@l##1##2{%
\at(0cm;0cm){\boxit{\vbox to\drawinght
{\vss
\hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1)}}\hss}
}}}
}%
}
%
\def\psloc@lerr#1{%
\let\savedPSspeci@l=\PSspeci@l%
\def\PSspeci@l##1##2{%
\at(0cm;0cm){\boxit{\vbox to\drawinght
{\vss
\hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1) #1}}\hss}
}}}
\let\PSspeci@l=\savedPSspeci@l% restore normal output for other figs!
}%
}
%
%\def\psfor... add your own!
%
% \ReadPSize{PSfilename} reads the dimensions of a PostScript drawing
% and stores it in \drawinght(wd)
\newread\pst@mpin
\newdimen\drawinght\newdimen\drawingwd
\newdimen\psxoffset\newdimen\psyoffset
\newbox\drawingBox
\newif\ifNotB@undingBox
\newhelp\PShelp{Proceed: you'll have a 5cm square blank box instead of
your graphics (Jean Orloff).}
\def\@mpty{}
\def\s@tsize#1 #2 #3 #4\@ndsize{
\def\psllx{#1}\def\pslly{#2}%
\def\psurx{#3}\def\psury{#4}% needed by a crazyness of dvips!
\ifx\psurx\@mpty\NotB@undingBoxtrue% this is not a valid one!
\else
\drawinght=#4bp\advance\drawinght by-#2bp
\drawingwd=#3bp\advance\drawingwd by-#1bp
% !Units related by crazy factors as bp/pt=72.27/72 should be BANNED!
\fi
}
\def\sc@nline#1:#2\@ndline{\edef\p@rameter{#1}\edef\v@lue{#2}}
\def\g@bblefirstblank#1#2:{\ifx#1 \else#1\fi#2}
\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex
\def\execute#1{#1}% Seems stupid, but cs are identified BEFORE execution
{\catcode`\%=12
\xdef\B@undingBox{%%BoundingBox}
} %% is not a true comment in PostScript, even if % is!
\def\ReadPSize#1{
\edef\PSfilename{#1}
\openin\pst@mpin=#1\relax
\ifeof\pst@mpin \errhelp=\PShelp
\errmessage{I haven't found your postscript file (\PSfilename)}
\psloc@lerr{was not found}
\s@tsize 0 0 142 142\@ndsize
\closein\pst@mpin
\else
\immediate\write\psbj@inaux{#1,}
\loop
\executeinspecs{\catcode`\ =10\global\read\pst@mpin to\n@xtline}
\ifeof\pst@mpin
\errhelp=\PShelp
\errmessage{(\PSfilename) is not an Encapsulated PostScript File:
I could not find any \B@undingBox: line.}
\edef\v@lue{0 0 142 142:}
\psloc@lerr{is not an EPSFile}
\NotB@undingBoxfalse
\else
\expandafter\sc@nline\n@xtline:\@ndline
\ifx\p@rameter\B@undingBox\NotB@undingBoxfalse
\edef\t@mp{%
\expandafter\g@bblefirstblank\v@lue\space\space\space}
\expandafter\s@tsize\t@mp\@ndsize
\else\NotB@undingBoxtrue
\fi
\fi
\ifNotB@undingBox\repeat
\closein\pst@mpin
\fi
\message{#1}
}
%
% \psboxto(xdim;ydim){psfilename}: you specify the dimensions and
% TeX uniformly scales to fit the largest one. If xdim=0pt, the
% scale is fully determined by ydim and vice versa.
% Notice: psboxes are a real vboxes; couldn't take hbox otherwise all
% indentation and all cr's would be interpreted as spaces (hugh!).
%
\newcount\xscale \newcount\yscale \newdimen\pscm\pscm=1cm
\newdimen\d@mx \newdimen\d@my
\let\ps@nnotation=\relax
\def\psboxto(#1;#2)#3{\vbox{
\ReadPSize{#3}
\divide\drawingwd by 1000
\divide\drawinght by 1000
\d@mx=#1
\ifdim\d@mx=0pt\xscale=1000
\else \xscale=\d@mx \divide \xscale by \drawingwd\fi
\d@my=#2
\ifdim\d@my=0pt\yscale=1000
\else \yscale=\d@my \divide \yscale by \drawinght\fi
\ifnum\yscale=1000
\else\ifnum\xscale=1000\xscale=\yscale
\else\ifnum\yscale<\xscale\xscale=\yscale\fi
\fi
\fi
\divide \psxoffset by 1000\multiply\psxoffset by \xscale
\divide \psyoffset by 1000\multiply\psyoffset by \xscale
\global\divide\pscm by 1000
\global\multiply\pscm by\xscale
\multiply\drawingwd by\xscale \multiply\drawinght by\xscale
\ifdim\d@mx=0pt\d@mx=\drawingwd\fi
\ifdim\d@my=0pt\d@my=\drawinght\fi
\message{scaled \the\xscale}
\hbox to\d@mx{\hss\vbox to\d@my{\vss
\global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{
\kern-\psyoffset
\PSspeci@l{\PSfilename}{\the\xscale}
\vss}\hss\ps@nnotation}
\global\ht\drawingBox=\the\drawinght
\global\wd\drawingBox=\the\drawingwd
\baselineskip=0pt
\copy\drawingBox
\vss}\hss}
\global\psxoffset=0pt
\global\psyoffset=0pt% These are local to one figure
\global\pscm=1cm
\global\drawingwd=\drawingwd
\global\drawinght=\drawinght
}}
%
% \psboxscaled{scalefactor*1000}{PSfilename} allows to bypass the
% rounding errors of TeX integer divisions for situations where the
% TeX box should fit the original BoundingBox with a precision better
% than 1/1000.
%
\def\psboxscaled#1#2{\vbox{
\ReadPSize{#2}
\xscale=#1
\message{scaled \the\xscale}
\divide\drawingwd by 1000\multiply\drawingwd by\xscale
\divide\drawinght by 1000\multiply\drawinght by\xscale
\divide \psxoffset by 1000\multiply\psxoffset by \xscale
\divide \psyoffset by 1000\multiply\psyoffset by \xscale
\global\divide\pscm by 1000
\global\multiply\pscm by\xscale
\global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{
\kern-\psyoffset
\PSspeci@l{\PSfilename}{\the\xscale}
\vss}\hss\ps@nnotation}
\global\ht\drawingBox=\the\drawinght
\global\wd\drawingBox=\the\drawingwd
\baselineskip=0pt
\copy\drawingBox
\global\psxoffset=0pt
\global\psyoffset=0pt% These are local to one figure
\global\pscm=1cm
\global\drawingwd=\drawingwd
\global\drawinght=\drawinght
}}
%
% \psbox{PSfilename} makes a TeX box having the minimal size to
% enclose the picture
\def\psbox#1{\psboxscaled{1000}{#1}}
%
%
% \joinfiles file1, file2, ...n \into joinedfilename .
% makes one file out of many
% \splitfile joinedfilename
% the opposite
%
%\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution
%\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex
%\def\executeinspecs#1{%
%\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}}
%\newread\pst@mpin
\newif\ifn@teof\n@teoftrue
\newif\ifc@ntrolline
\newif\ifmatch
\newread\j@insplitin
\newwrite\j@insplitout
\newwrite\psbj@inaux
\immediate\openout\psbj@inaux=psbjoin.aux
\immediate\write\psbj@inaux{\string\joinfiles}
\immediate\write\psbj@inaux{\jobname,}
%
% We redefine input to keep track of the various files inputted
%
\immediate\let\oldinput=\input
\def\input#1 {
\immediate\write\psbj@inaux{#1,}
\oldinput #1 }
\def\empty{}
\def\setmatchif#1\contains#2{
\def\match##1#2##2\endmatch{
\def\tmp{##2}
\ifx\empty\tmp
\matchfalse
\else
\matchtrue
\fi}
\match#1#2\endmatch}
\def\warnopenout#1#2{
\setmatchif{TrashMe,psbjoin.aux,psbjoin.all}\contains{#2}
\ifmatch
\else
\immediate\openin\pst@mpin=#2
\ifeof\pst@mpin
\else
\errhelp{If the content of this file is so precious to you, abort (ie
press x or e) and rename it before retrying.}
\errmessage{I'm just about to replace your file named #2}
\fi
\immediate\closein\pst@mpin
\fi
\message{#2}
\immediate\openout#1=#2}
% No comments allowed below: % will have an unusual catcode
{
\catcode`\%=12
\gdef\splitfile#1 {
\immediate\openin\j@insplitin=#1
\message{Splitting file #1 into:}
\warnopenout\j@insplitout{TrashMe}
\loop
\ifeof
\j@insplitin\immediate\closein\j@insplitin\n@teoffalse
\else
\n@teoftrue
\executeinspecs{\global\read\j@insplitin to\spl@tinline\expandafter
\ch@ckbeginnewfile\spl@tinline%Beginning-Of-File-Named:%\endcheck}
\ifc@ntrolline
\else
\toks0=\expandafter{\spl@tinline}
\immediate\write\j@insplitout{\the\toks0}
\fi
\fi
\ifn@teof\repeat
\immediate\closeout\j@insplitout}
\gdef\ch@ckbeginnewfile#1%Beginning-Of-File-Named:#2%#3\endcheck{
\def\t@mp{#1}
\ifx\empty\t@mp
\def\t@mp{#3}
\ifx\empty\t@mp
\global\c@ntrollinefalse
\else
\immediate\closeout\j@insplitout
\warnopenout\j@insplitout{#2}
\global\c@ntrollinetrue
\fi
\else
\global\c@ntrollinefalse
\fi}
\gdef\joinfiles#1\into#2 {
\message{Joining following files into}
\warnopenout\j@insplitout{#2}
\message{:}
{
\edef\w@##1{\immediate\write\j@insplitout{##1}}
\w@{% This text was produced with psbox's \string\joinfiles.}
\w@{% To decompose and tex it:}
\w@{%-save this with a filename CONTAINING ONLY LETTERS, and no extensions}
\w@{% (say, JOINTFIL), in some uncrowded directory;}
\w@{%-make sure you can \string\input\space psbox.tex (version>=1.3);}
\w@{%-tex JOINTFIL using Plain, or LaTeX, or whatever is needed by}
\w@{% the first part in the joining (after splitting JOINTFIL into}
\w@{% it's constituents, TeX will try to process it as it stands).}
\w@{\string\input\space psbox.tex}
\w@{\string\splitfile{\string\jobname}}
}
\tre@tfilelist#1, \endtre@t
\immediate\closeout\j@insplitout}
\gdef\tre@tfilelist#1, #2\endtre@t{
\def\t@mp{#1}
\ifx\empty\t@mp
\else
\llj@in{#1}
\tre@tfilelist#2, \endtre@t
\fi}
\gdef\llj@in#1{
\immediate\openin\j@insplitin=#1
\ifeof\j@insplitin
\errmessage{I couldn't find file #1.}
\else
\message{#1}
\toks0={%Beginning-Of-File-Named:#1}
\immediate\write\j@insplitout{\the\toks0}
\executeinspecs{\global\read\j@insplitin to\oldj@ininline}
\loop
\ifeof\j@insplitin\immediate\closein\j@insplitin\n@teoffalse
\else\n@teoftrue
\executeinspecs{\global\read\j@insplitin to\j@ininline}
\toks0=\expandafter{\oldj@ininline}
\let\oldj@ininline=\j@ininline
\immediate\write\j@insplitout{\the\toks0}
\fi
\ifn@teof
\repeat
\immediate\closein\j@insplitin
\fi}
}
% To be put at the end of a file, for making an tar-like file containing
% everything it used.
\def\autojoin{
\immediate\write\psbj@inaux{\string\into\space psbjoin.all}
\immediate\closeout\psbj@inaux
\input psbjoin.aux
}
%
% Annotations & Captions etc...
%
%
% \centinsert{anybox} is just a centered \midinsert, but is included as
% people barely use the original inserts from TeX.
%
\def\centinsert#1{\midinsert\line{\hss#1\hss}\endinsert}
\def\psannotate#1#2{\def\ps@nnotation{#2\global\let\ps@nnotation=\relax}#1}
\def\pscaption#1#2{\vbox{
\setbox\drawingBox=#1
\copy\drawingBox
\vskip\baselineskip
\vbox{\hsize=\wd\drawingBox\setbox0=\hbox{#2}
\ifdim\wd0>\hsize
\noindent\unhbox0\tolerance=5000
\else\centerline{\box0}
\fi
}}}
% for compatibility with older versions
\def\psfig#1#2#3{\pscaption{\psannotate{#1}{#2}}{#3}}
\def\psfigurebox#1#2#3{\pscaption{\psannotate{\psbox{#1}}{#2}}{#3}}
%
% \at(#1;#2)#3 puts #3 at #1-higher and #2-right of the current
% position without moving it (to be used in annotations).
\def\at(#1;#2)#3{\setbox0=\hbox{#3}\ht0=0pt\dp0=0pt
\rlap{\kern#1\vbox to0pt{\kern-#2\box0\vss}}}
%
% \gridfill(ht;wd) makes a 1cm*1cm grid of ht by wd whose lower-left
% corner is the current point
\newdimen\gridht \newdimen\gridwd
\def\gridfill(#1;#2){
\setbox0=\hbox to 1\pscm
{\vrule height1\pscm width.4pt\leaders\hrule\hfill}
\gridht=#1
\divide\gridht by \ht0
\multiply\gridht by \ht0
\gridwd=#2
\divide\gridwd by \wd0
\multiply\gridwd by \wd0
\advance \gridwd by \wd0
\vbox to \gridht{\leaders\hbox to\gridwd{\leaders\box0\hfill}\vfill}}
%
% Useful to measure where to put annotations
\def\fillinggrid{\at(0cm;0cm){\vbox{
\gridfill(\drawinght;\drawingwd)}}}
%
% \textleftof\anybox: Sample text\endtext
% inserts "Sample text" on the left of \anybox ie \vbox, \psbox.
% \textrightof is the symmetric (not documented, too uggly)
% Welcome any suggestion about clean wraparound macros from
% TeXhackers reading this
%
\def\textleftof#1:{
\setbox1=#1
\setbox0=\vbox\bgroup
\advance\hsize by -\wd1 \advance\hsize by -2em}
\def\textrightof#1:{
\setbox0=#1
\setbox1=\vbox\bgroup
\advance\hsize by -\wd0 \advance\hsize by -2em}
\def\endtext{
\egroup
\hbox to \hsize{\valign{\vfil##\vfil\cr%
\box0\cr%
\noalign{\hss}\box1\cr}}}
%
% \frameit{\thick}{\skip}{\anybox}
% draws with thickness \thick a box around \anybox, leaving \skip of
% blank around it. eg \frameit{0.5pt}{1pt}{\hbox{hello}}
% \boxit{\anybox} is a shortcut.
\def\frameit#1#2#3{\hbox{\vrule width#1\vbox{
\hrule height#1\vskip#2\hbox{\hskip#2\vbox{#3}\hskip#2}%
\vskip#2\hrule height#1}\vrule width#1}}
\def\boxit#1{\frameit{0.4pt}{0pt}{#1}}
%
%
\catcode`\@=12 % cs containing @ are unreachable
%
% CUSTOMIZE YOUR DEFAULT DRIVER:
% Uncomment the line corresponding to your TeX system:
%\psfortextures% For TeXtures on the Macintosh
%\psforoztex % For OzTeX shareware on the Macintosh
%\psfordvitops % For the DVItoPS converter for TeX on IBM mainframes
\psfordvips % For DVIPS converter on VAX and UNIX
%\psfordvitps % For dvitps from TeXPS package under UNIX
%\psforDVIALW % For DVIALW, UNIX public domain
%\psonlyboxes % Blank Boxes (when all else fails).

View File

@@ -0,0 +1,6 @@
\chapter{MMboard: a sample MMedia application}\label{mmboard}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
To be written.

View File

@@ -0,0 +1,68 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndaiff.h at 26/Feb/00 14:52:29
%
\section{\class{wxSoundAiff}}\label{wxsoundaiff}
AIFF codec
\wxheading{Derived from}
\helpref{wxSoundFileStream}{wxsoundfilestream}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundAiff::wxSoundAiff}\label{wxsoundaiffwxsoundaiff}
\func{}{wxSoundAiff}{\param{wxInputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
\func{}{wxSoundAiff}{\param{wxOutputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
\membersection{wxSoundAiff::\destruct{wxSoundAiff}}\label{wxsoundaiffdtor}
\func{}{\destruct{wxSoundAiff}}{\void}
\membersection{wxSoundAiff::CanRead}\label{wxsoundaiffcanread}
\func{bool}{CanRead}{\void}
\membersection{wxSoundAiff::GetCodecName}\label{wxsoundaiffgetcodecname}
\constfunc{wxString}{GetCodecName}{\void}
\membersection{wxSoundAiff::PrepareToPlay}\label{wxsoundaiffpreparetoplay}
\func{bool}{PrepareToPlay}{\void}
\membersection{wxSoundAiff::PrepareToRecord}\label{wxsoundaiffpreparetorecord}
\func{bool}{PrepareToRecord}{\param{wxUint32 }{time}}
\membersection{wxSoundAiff::FinishRecording}\label{wxsoundaifffinishrecording}
\func{bool}{FinishRecording}{\void}
\membersection{wxSoundAiff::RepositionStream}\label{wxsoundaiffrepositionstream}
\func{bool}{RepositionStream}{\param{wxUint32 }{position}}
\membersection{wxSoundAiff::GetData}\label{wxsoundaiffgetdata}
\func{wxUint32}{GetData}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundAiff::PutData}\label{wxsoundaiffputdata}
\func{wxUint32}{PutData}{\param{const void* }{buffer}, \param{wxUint32 }{len}}

View File

@@ -0,0 +1,294 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: sndbase.tex
%% Purpose: wxMMedia docs
%% Author: Guilhem Lavaux <lavaux@easynet.fr>
%% Modified by:
%% Created: 2000
%% RCS-ID: $Id$
%% Copyright: (c) wxWindows team
%% Licence: wxWindows licence
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxSoundStream}}\label{wxsoundstream}
Base class for sound streams
\wxheading{Derived from}
No base class
\wxheading{Include files}
<wx/mmedia/sndbase.h>
\wxheading{Data structures}
%%
%% wxSoundStream errors
%%
\wxheading{wxSoundStream errors}
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxSOUND\_NOERR}}{No error occured}
\twocolitem{{\bf wxSOUND\_IOERR}}{An input/output error occured, it may concern
either a driver or a file}
\twocolitem{{\bf wxSOUND\_INVFRMT}}{The sound format passed to the function is
invalid. Generally, it means that you passed out of range values to the codec
stream or you don't pass the right sound format object to the right sound codec
stream.}
\twocolitem{{\bf wxSOUND\_INVDEV}}{Invalid device. Generally, it means that the
sound stream didn't manage to open the device driver due to an invalid parameter
or to the fact that sound is not supported on this computer.}
\twocolitem{{\bf wxSOUND\_NOEXACT}}{No exact matching sound codec has been found for
this sound format. It means that the sound driver didn't manage to setup the sound
card with the specified values.}
\twocolitem{{\bf wxSOUND\_NOCODEC}}{No matching codec has been found. Generally, it
may happen when you call wxSoundRouterStream::SetSoundFormat().}
\twocolitem{{\bf wxSOUND\_MEMERR}}{Not enough memory.}
\end{twocollist}
%%
%% C callback
%%
\wxheading{C callback for wxSound event}
When a sound event is generated, it may either call the internal sound event
processor (which can be inherited) or call a C function. Its definition is:
\begin{verbatim}
typedef void (*wxSoundCallback)(wxSoundStream *stream, int evt,
void *cdata);
\end{verbatim}
The {\bf stream} parameter represents the current wxSoundStream.
The {\bf evt} parameter represents the sound event which is the cause of the calling. (See \helpref{wxSound events}{wxsoundstream}).
The {\bf cdata} parameter represents the user callback data which were specified
when the user called \helpref{wxSoundStream::Register}{wxsoundstreamregister}.
{\it Note:} There are two other ways to catch sound events: you can inherit the
sound stream and redefine \helpref{wxSoundStream::OnSoundEvent}{wxsoundstreamonsoundevent}, or you can reroute the events to another sound stream using \helpref{wxSoundStream::SetEventHandler}{wxsoundstreamseteventhandler}.
%%
%% wxSoundStream streaming mode
%%
\wxheading{wxSound streaming mode}
The wxSoundStream object can work in three different modes. These modes are specified
at the call to \helpref{wxSoundStream::StartProduction}{wxsoundstreamstartproduction}
and cannot be changed until you call
\helpref{wxSoundStream::StopProduction}{wxsoundstreamstopproduction}.
The {\bf wxSOUND\_INPUT} mode is the recording mode. It generates {\bf wxSOUND\_INPUT}
events and you cannot use wxSoundStream::Write().
The {\bf wxSOUND\_OUTPUT} mode is the playing mode. It generates {\bf wxSOUND\_OUTPUT}
events and you cannot use wxSoundStream::Read().
The {\bf wxSOUND\_DUPLEX} mode activates the full duplex mode. The full duplex requires
you to make synchronous call to \helpref{wxSoundStream::Read}{wxsoundstreamread} and
\helpref{wxSoundStream::Write}{wxsoundstreamwrite}. This means that you must be
careful with realtime problems. Each time you call Read you must call Write.
%%
%% wxSoundStream events
%%
\wxheading{wxSoundStream events}
The sound events are generated when the sound driver (or the sound stream) completes
a previous sound buffer. There are two possible sound events and two meanings.
The {\bf wxSOUND\_INPUT} event is generated when the sound stream has a new input
buffer ready to be read. You know that you can read a buffer of the size
\helpref{GetBestSize()}{wxsoundstreamgetbestsize} without blocking.
The {\bf wxSOUND\_OUTPUT} event is generated when the sound stream has completed a
previous buffer. This buffer has been sent to the sound driver and it is ready to
process a new buffer. Consequently, \helpref{Write}{wxsoundstreamwrite} will not
block too.
\latexignore{\rtfignore{\wxheading{Members}}}
%% Ctor && Dtor
\membersection{wxSoundStream::wxSoundStream}\label{wxsoundstreamwxsoundstream}
\func{}{wxSoundStream}{\void}
Default constructor.
\membersection{wxSoundStream::\destruct{wxSoundStream}}\label{wxsoundstreamdtor}
\func{}{\destruct{wxSoundStream}}{\void}
Destructor. The destructor stops automatically all started production and destroys
any temporary buffer.
%%
%% Read
%%
\membersection{wxSoundStream::Read}\label{wxsoundstreamread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
Reads {\it len} bytes from the sound stream. This call may block the user so
use it carefully when you need to intensively refresh the GUI. You may be
interested by sound events: see \helpref{wxSoundStream::OnSoundEvent}{wxsoundstreamonsoundevent}.
It is better to use the size returned by \helpref{wxSoundStream::GetBestSize}{wxsoundstreamgetbestsize}: this may improve performance or accuracy of the
sound event system.
\wxheading{Parameters}
\docparam{len}{{\it len} is expressed in bytes. If you need to do conversions between bytes
and seconds use wxSoundFormat.
See \helpref{wxSoundFormatBase}{wxsoundformatbase}, \helpref{wxSoundStream::GetSoundFormat}{wxsoundstreamgetsoundformat}.}
\docparam{data}{Data in \it{buffer} are coded using the sound format attached to this sound
stream. The format is specified with
\helpref{SetSoundFormat}{wxsoundstreamsetsoundformat}.}
%%
%% Write
%%
\membersection{wxSoundStream::Write}\label{wxsoundstreamwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
Writes \it{len} bytes to the sound stream. This call may block the user so
use it carefully. You may be interested by sound events: see
\helpref{wxSoundStream::OnSoundEvent}{wxsoundstreamonsoundevent}.
It is better to use the size returned by \helpref{wxSoundStream::GetBestSize}{wxsoundstreamgetbestsize}: this may improve performance or accuracy of the
sound event system.
\wxheading{Parameters}
\docparam{len}{This is expressed in bytes. If you need to do conversions between bytes
and seconds use wxSoundFormat.
See \helpref{wxSoundFormatBase}{wxsoundformatbase}, \helpref{wxSoundStream::GetSoundFormat}{wxsoundstreamgetsoundformat}.}
\docparam{buffer}{Data in \it{buffer} are coded using the sound format attached to this sound
stream. The format is specified with
\helpref{SetSoundFormat}{wxsoundstreamsetsoundformat}.}
%%
%% GetBestSize
%%
\membersection{wxSoundStream::GetBestSize}\label{wxsoundstreamgetbestsize}
\constfunc{wxUint32}{GetBestSize}{\void}
This function returns the best size for IO calls. The best size provides you
a good alignment for data to be written (or read) to (or from) the sound stream.
So, when, for example, a sound event is sent, you are sure the sound stream
will not block for this buffer size.
%%
%% wxSoundStream:SetSoundFormat
%%
\membersection{wxSoundStream::SetSoundFormat}\label{wxsoundstreamsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
SetSoundFormat is one of the key function of the wxSoundStream object.
It specifies the sound format the user needs. SetSoundFormat tries to
apply the format to the current sound stream (it can be a sound file or a
sound driver). Then, either it manages to apply it and it returns {\bf TRUE},
or it could not and it returns {\bf FALSE}. In this case, you must check
the error with
\helpref{wxSoundStream::GetError}{wxsoundstreamgeterror}. See
\helpref{wxSoundStream errors section}{wxsoundstream} for more details.
\wxheading{Note}
The {\bf format} object can be destroyed after the call. The object does not need it.
\wxheading{Note}
If the error is {\bf wxSOUND\_NOTEXACT}, the stream tries to find the best
approaching format and setups it. You can check the format which it applied
with \helpref{wxSoundStream::GetSoundFormat}{wxsoundstreamgetsoundformat}.
%%
%% GetSoundFormat
%%
\membersection{wxSoundStream::GetSoundFormat}\label{wxsoundstreamgetsoundformat}
\constfunc{wxSoundFormatBase\&}{GetSoundFormat}{\void}
It returns a reference to the current sound format of the stream represented by a
wxSoundFormatBase object. This object {\it must not} be destroyed by anyone except
the stream itself.
%%
%% SetCallback
%%
\membersection{wxSoundStream::SetCallback}\label{wxsoundstreamregister}
\func{void}{Register}{\param{int }{evt}, \param{wxSoundCallback }{cbk}, \param{void* }{cdata}}
It installs a C callback for wxSoundStream events. The C callbacks are still
useful to avoid hard inheritance. You can install only one callback per event.
Each callback has its callback data.
%%
%% StartProduction
%%
\membersection{wxSoundStream::StartProduction}\label{wxsoundstreamstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
StartProduction starts the sound streaming. {\it evt} may be one of
{\bf wxSOUND\_INPUT}, {\bf wxSOUND\_OUTPUT} or {\bf wxSOUND\_DUPLEX}.
You cannot specify several flags at the same time. Starting the production
may automaticaly in position of buffer underrun (only in the case you activated
recording). Actually this may happen the sound IO queue is too short.
It is also advised that you fill quickly enough the sound IO queue when the
driver requests it (through a wxSoundEvent).
\membersection{wxSoundStream::StopProduction}\label{wxsoundstreamstopproduction}
\func{bool}{StopProduction}{\void}
I stops the async notifier and the sound streaming straightly.
\membersection{wxSoundStream::SetEventHandler}\label{wxsoundstreamseteventhandler}
\func{void}{SetEventHandler}{\param{wxSoundStream* }{handler}}
Sets the event handler: if it is non-null, all events are routed to it.
\membersection{wxSoundStream::GetError}\label{wxsoundstreamgeterror}
\constfunc{wxSoundError}{GetError}{\void}
It returns the last error which occured.
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
\constfunc{wxUint32}{GetLastAccess}{\void}
It returns the number of bytes which were effectively written to/read from the sound stream.
\membersection{wxSoundStream::QueueFilled}\label{wxsoundstreamqueuefilled}
\constfunc{bool}{QueueFilled}{\void}
It returns whether the sound IO queue is full. When it is full, the next IO call will block
until the IO queue has at least one empty entry.
\membersection{wxSoundStream::OnSoundEvent}\label{wxsoundstreamonsoundevent}
\func{void}{OnSoundEvent}{\param{int }{evt}}
It is called by the wxSoundStream when a new sound event occured.

View File

@@ -0,0 +1,39 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndcodec.h at 26/Feb/00 14:26:29
%
\section{\class{wxSoundStreamCodec}}\label{wxsoundstreamcodec}
\wxheading{Derived from}
\helpref{wxSoundStream}{wxsoundstream}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamCodec::wxSoundStreamCodec}\label{wxsoundstreamcodecwxsoundstreamcodec}
\func{}{wxSoundStreamCodec}{\param{wxSoundStream\& }{snd\_io}}
\membersection{wxSoundStreamCodec::\destruct{wxSoundStreamCodec}}\label{wxsoundstreamcodecdtor}
\func{}{\destruct{wxSoundStreamCodec}}{\void}
\membersection{wxSoundStreamCodec::StartProduction}\label{wxsoundstreamcodecstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
\membersection{wxSoundStreamCodec::StopProduction}\label{wxsoundstreamcodecstopproduction}
\func{bool}{StopProduction}{\void}
\membersection{wxSoundStreamCodec::GetBestSize}\label{wxsoundstreamcodecgetbestsize}
\constfunc{wxUint32}{GetBestSize}{\void}

View File

@@ -0,0 +1,64 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndesd.h at 26/Feb/00 14:26:56
%
\section{\class{wxSoundStreamESD}}\label{wxsoundstreamesd}
ESD output class
\wxheading{Derived from}
\helpref{wxSoundStream}{wxsoundstream}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamESD::wxSoundStreamESD}\label{wxsoundstreamesdwxsoundstreamesd}
\func{}{wxSoundStreamESD}{\param{const wxString\& }{hostname = "localhost"}}
\membersection{wxSoundStreamESD::\destruct{wxSoundStreamESD}}\label{wxsoundstreamesddtor}
\func{}{\destruct{wxSoundStreamESD}}{\void}
\membersection{wxSoundStreamESD::Read}\label{wxsoundstreamesdread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamESD::Write}\label{wxsoundstreamesdwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamESD::SetSoundFormat}\label{wxsoundstreamesdsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
\membersection{wxSoundStreamESD::StartProduction}\label{wxsoundstreamesdstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
\membersection{wxSoundStreamESD::StopProduction}\label{wxsoundstreamesdstopproduction}
\func{bool}{StopProduction}{\void}
\membersection{wxSoundStreamESD::WakeUpEvt}\label{wxsoundstreamesdwakeupevt}
\func{void}{WakeUpEvt}{\param{int }{evt}}
You should not call this.
\membersection{wxSoundStreamESD::QueueFilled}\label{wxsoundstreamesdqueuefilled}
\constfunc{bool}{QueueFilled}{\void}

View File

@@ -0,0 +1,87 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndg72x.h at 26/Feb/00 14:52:19
%
\section{\class{wxSoundFormatG72X}}\label{wxsoundformatg72x}
G72X format
\wxheading{Derived from}
\helpref{wxSoundFormatBase}{wxsoundformatbase}
\wxheading{Data structures}
{\small \begin{verbatim}
typedef enum {
wxSOUND\_G721,
wxSOUND\_G723\_24,
wxSOUND\_G723\_40
} wxSoundG72XType
\end{verbatim}}
{\small \begin{verbatim}
typedef struct g72x\_state g72state
\end{verbatim}}
This fixes a bug in Mingw95
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundFormatG72X::wxSoundFormatG72X}\label{wxsoundformatg72xwxsoundformatg72x}
\func{}{wxSoundFormatG72X}{\void}
\membersection{wxSoundFormatG72X::\destruct{wxSoundFormatG72X}}\label{wxsoundformatg72xdtor}
\func{}{\destruct{wxSoundFormatG72X}}{\void}
\membersection{wxSoundFormatG72X::SetG72XType}\label{wxsoundformatg72xsetg72xtype}
\func{void}{SetG72XType}{\param{wxSoundG72XType }{type}}
\membersection{wxSoundFormatG72X::GetG72XType}\label{wxsoundformatg72xgetg72xtype}
\constfunc{wxSoundG72XType}{GetG72XType}{\void}
\membersection{wxSoundFormatG72X::SetSampleRate}\label{wxsoundformatg72xsetsamplerate}
\func{void}{SetSampleRate}{\param{wxUint32 }{srate}}
\membersection{wxSoundFormatG72X::GetSampleRate}\label{wxsoundformatg72xgetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
\membersection{wxSoundFormatG72X::GetType}\label{wxsoundformatg72xgettype}
\constfunc{wxSoundFormatType}{GetType}{\void}
\membersection{wxSoundFormatG72X::Clone}\label{wxsoundformatg72xclone}
\constfunc{wxSoundFormatBase*}{Clone}{\void}
\membersection{wxSoundFormatG72X::GetTimeFromBytes}\label{wxsoundformatg72xgettimefrombytes}
\constfunc{wxUint32}{GetTimeFromBytes}{\param{wxUint32 }{bytes}}
\membersection{wxSoundFormatG72X::GetBytesFromTime}\label{wxsoundformatg72xgetbytesfromtime}
\constfunc{wxUint32}{GetBytesFromTime}{\param{wxUint32 }{time}}
\membersection{wxSoundFormatG72X::operator!=}\label{wxsoundformatg72xoperatorneq}
\constfunc{bool}{operator!=}{\param{const wxSoundFormatBase\& }{frmt2}}

View File

@@ -0,0 +1,243 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: sndfile.tex
%% Purpose: wxMMedia docs
%% Author: Guilhem Lavaux <lavaux@easynet.fr>
%% Modified by:
%% Created: 2000
%% RCS-ID: $Id$
%% Copyright: (c) wxWindows team
%% Licence: wxWindows licence
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxSoundFileStream}}\label{wxsoundfilestream}
Base class for file coders/decoders. This class is not constructor (it is an abstract
class).
\wxheading{Derived from}
\helpref{wxSoundStream}{wxsoundstream}
\wxheading{Include file}
wx/sndfile.h
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundFileStream::wxSoundFileStream}\label{wxsoundfilestreamwxsoundfilestream}
\func{}{wxSoundFileStream}{\param{wxInputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
It constructs a new file decoder object which will send
audio data to the specified sound stream.
The {\it stream} is the input stream to be decoded. The
{\it io\_sound} is the destination sound stream.
Once it has been constructed, you cannot change any of
the specified streams nor the direction of the stream.
You will have access to the playback functions.
\func{}{wxSoundFileStream}{\param{wxOutputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
It constructs a new file coder object which will get
data to be recorded from the specified sound stream.
The {\it stream} is the output wxStream. The {\it io\_sound}
is the source sound stream of the audio data. Once
it has been constructed, you cannot change any of
the specified streams nor the direction of the stream.
\membersection{wxSoundFileStream::\destruct{wxSoundFileStream}}\label{wxsoundfilestreamdtor}
\func{}{\destruct{wxSoundFileStream}}{\void}
It destroys the current sound file codec.
\membersection{wxSoundFileStream::Play}\label{wxsoundfilestreamplay}
\func{bool}{Play}{\void}
It starts playing the file. The playing begins, in background
in nearly all cases, after the return of the function. The
codec returns to a {\bf stopped} state when it reaches the
end of the file.
On success, it returns TRUE.
\membersection{wxSoundFileStream::Record}\label{wxsoundfilestreamrecord}
\func{bool}{Record}{\param{wxUint32 }{time}}
It starts recording data from the sound stream and writing them
to the output stream. You have to precise the recording length in
parameter. This length is expressed in seconds. If you want to
control the record length (using \helpref{Stop}{wxsoundfilestreamstop}),
you can set it to wxSOUND\_INFINITE\_TIME.
On success, it returns TRUE.
\membersection{wxSoundFileStream::Stop}\label{wxsoundfilestreamstop}
\func{bool}{Stop}{\void}
It stops either recording or playing. Whatever happens (even unexpected
errors), the stream is stopped when the function returns. When you are
in recording mode, the file headers are updated and flushed if possible
(ie: if the output stream is seekable).
On success, it returns TRUE.
\membersection{wxSoundFileStream::Pause}\label{wxsoundfilestreampause}
\func{bool}{Pause}{\void}
The file codec tries to pause the stream: it means that it stops audio
production but keep the file pointer at the place.
If the file codec is already paused, it returns FALSE.
On success, it returns TREE.
\membersection{wxSoundFileStream::Resume}\label{wxsoundfilestreamresume}
\func{bool}{Resume}{\void}
When the file codec has been paused using
\helpref{Pause}{wxsoundfilestreampause}, you could be interrested in
resuming it. This is the goal of this function.
\membersection{wxSoundFileStream::IsStopped}\label{wxsoundfilestreamisstopped}
\constfunc{bool}{IsStopped}{\void}
It returns TRUE when the stream is stopped, in another case it returns
FALSE.
\membersection{wxSoundFileStream::IsPaused}\label{wxsoundfilestreamispaused}
\constfunc{bool}{IsPaused}{\void}
It returns TRUE when the stream is paused, in another case it returns
FALSE.
\membersection{wxSoundFileStream::StartProduction}\label{wxsoundfilestreamstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
It is really not advised you call this function. From the wxSoundFileStream
point of view it is an internal function. Internally, it is called after
the file stream has been prepared to be played or to receive audio data and
when it wants to start processing audio data.
\membersection{wxSoundFileStream::StopProduction}\label{wxsoundfilestreamstopproduction}
\func{bool}{StopProduction}{\void}
As for \helpref{StartProduction}{wxsoundfilestreamstopproduction}, it is not
advised for you to call this function. It is called by
\helpref{Stop}{wxsoundfilestreamstop} when it needs to stop the audio data
processing.
\membersection{wxSoundFileStream::GetLength}\label{wxsoundfilestreamgetlength}
\func{wxUint32}{GetLength}{\void}
It returns the audio data length of the file stream. This length is expressed
in bytes. If you need the length in seconds, you will need to use
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
\membersection{wxSoundFileStream::GetPosition}\label{wxsoundfilestreamgetposition}
\func{wxUint32}{GetPosition}{\void}
It returns the current position in the soundfile stream. The position
is expressed in bytes. If you need the length in seconds, you will need to use
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
\membersection{wxSoundFileStream::SetPosition}\label{wxsoundfilestreamsetposition}
\func{wxUint32}{SetPosition}{\param{wxUint32 }{new\_position}}
It sets the current in the soundfile stream. The position
{\it new\_position} must be expressed in bytes. You can get
a length/position in bytes from a time value using
\helpref{GetSoundFormat}{wxsoundstreamgetsoundformat} and
\helpref{GetTimeFromBytes}{wxsoundformatbasegettimefrombytes}.
On success, it returns TRUE.
\wxheading{Warning}
Some wxStream may not be capable to support this function as
it may not support the seekable functionnality. If this happens,
it returns FALSE and leave the stream at the same position.
\membersection{wxSoundFileStream::Read}\label{wxsoundfilestreamread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
You can obtain the audio data encoded in the file using this function.
But it must be considered as an internal function. Used carelessly, it
may corrupt the current state of the stream.
Data are returned using in the original file coding (You must use a sound
format object to decode it).
\membersection{wxSoundFileStream::Write}\label{wxsoundfilestreamwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
You can put encoded audio data to the file using this function.
But it must be considered as an internal function. Used carelessly, it
may corrupt the current state of the stream.
Data must be coded with the specified file coding (You must use a sound
format object to do this).
\membersection{wxSoundFileStream::SetSoundFormat}\label{wxsoundfilestreamsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
\membersection{wxSoundFileStream::GetCodecName}\label{wxsoundfilestreamgetcodecname}
\constfunc{wxString}{GetCodecName}{\void}
This function returns the Codec name. This is useful for those who
want to build a player (But also in some other case).
\membersection{wxSoundFileStream::CanRead}\label{wxsoundfilestreamcanread}
\func{bool}{CanRead}{\void}
You should use this function to test whether this file codec can read
the stream you passed to it.
\membersection{wxSoundFileStream::PrepareToPlay}\label{wxsoundfilestreampreparetoplay}
\func{bool}{PrepareToPlay}{\void}
It is called by wxSoundFileStream to prepare the specific file loader
to prepare itself to play the file. Actually, this includes reading
headers and setting the various parameters of the sound format.
This should not be called by an external user but it should be
implemented when you inherit wxSoundFileStream to build a new codec.
It must return when the file is identified and the parameters have
been set. In all other cases, you must return FALSE.
\membersection{wxSoundFileStream::PrepareToRecord}\label{wxsoundfilestreampreparetorecord}
\func{bool}{PrepareToRecord}{\param{wxUint32 }{time}}
\membersection{wxSoundFileStream::FinishRecording}\label{wxsoundfilestreamfinishrecording}
\func{bool}{FinishRecording}{\void}
\membersection{wxSoundFileStream::RepositionStream}\label{wxsoundfilestreamrepositionstream}
\func{bool}{RepositionStream}{\param{wxUint32 }{position}}
This is called by wxSoundFileStream::SetPosition to seek the input stream
to the right position. This must be overidden by the file codec class.
The position is relative to the beginning of the samples.
If it is impossible (as for a piped input stream), you must return FALSE.
\membersection{wxSoundFileStream::FinishPreparation}\label{wxsoundfilestreamfinishpreparation}
\func{void}{FinishPreparation}{\param{wxUint32 }{len}}
This is an internal function but it must called by the file codec class when
the "playing" preparation is finished and you know the size of the stream.
If it is an {\it infinite} stream, you should set this to wxSOUND\_INFINITE\_TIME.
\membersection{wxSoundFileStream::GetData}\label{wxsoundfilestreamgetdata}
\func{wxUint32}{GetData}{\param{void* }{buffer}, \param{wxUint32 }{len}}
This is called by wxSoundFileStream when it needs to get new sound data to
send to the device driver (or to a conversion codec). This must be eventually
overidden by the file codec class. The default behaviour is simply to read from
the input stream.
\membersection{wxSoundFileStream::PutData}\label{wxsoundfilestreamputdata}
\func{wxUint32}{PutData}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
This is called by wxSoundFileStream when it needs to put new sound data received
from the device driver (or from a conversion codec). This must be eventually
overidden by the file codec class. The default behaviour is simply to write to
the input stream.

View File

@@ -0,0 +1,104 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndpcm.h at 26/Feb/00 14:26:33
%
\section{\class{wxSoundFormatPcm}}\label{wxsoundformatpcm}
PCM specification class
\wxheading{Derived from}
\helpref{wxSoundFormatBase}{wxsoundformatbase}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundFormatPcm::wxSoundFormatPcm}\label{wxsoundformatpcmwxsoundformatpcm}
\func{}{wxSoundFormatPcm}{\param{wxUint32 }{srate = 22500}, \param{wxUint8 }{bps = 8}, \param{wxUint16 }{channels = 2}, \param{bool }{sign = TRUE}, \param{int }{order = wxLITTLE\_ENDIAN}}
\membersection{wxSoundFormatPcm::\destruct{wxSoundFormatPcm}}\label{wxsoundformatpcmdtor}
\func{}{\destruct{wxSoundFormatPcm}}{\void}
\membersection{wxSoundFormatPcm::SetSampleRate}\label{wxsoundformatpcmsetsamplerate}
\func{void}{SetSampleRate}{\param{wxUint32 }{srate}}
\membersection{wxSoundFormatPcm::SetBPS}\label{wxsoundformatpcmsetbps}
\func{void}{SetBPS}{\param{wxUint8 }{bps}}
\membersection{wxSoundFormatPcm::SetChannels}\label{wxsoundformatpcmsetchannels}
\func{void}{SetChannels}{\param{wxUint16 }{nchannels}}
\membersection{wxSoundFormatPcm::SetOrder}\label{wxsoundformatpcmsetorder}
\func{void}{SetOrder}{\param{int }{order}}
\membersection{wxSoundFormatPcm::Signed}\label{wxsoundformatpcmsigned}
\func{void}{Signed}{\param{bool }{sign}}
\membersection{wxSoundFormatPcm::GetSampleRate}\label{wxsoundformatpcmgetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
\membersection{wxSoundFormatPcm::GetBPS}\label{wxsoundformatpcmgetbps}
\constfunc{wxUint8}{GetBPS}{\void}
\membersection{wxSoundFormatPcm::GetChannels}\label{wxsoundformatpcmgetchannels}
\constfunc{wxUint16}{GetChannels}{\void}
\membersection{wxSoundFormatPcm::GetOrder}\label{wxsoundformatpcmgetorder}
\constfunc{int}{GetOrder}{\void}
\membersection{wxSoundFormatPcm::Signed}\label{wxsoundformatpcmgetsigned}
\constfunc{bool}{Signed}{\void}
\membersection{wxSoundFormatPcm::GetType}\label{wxsoundformatpcmgettype}
\constfunc{wxSoundFormatType}{GetType}{\void}
\membersection{wxSoundFormatPcm::Clone}\label{wxsoundformatpcmclone}
\constfunc{wxSoundFormatBase*}{Clone}{\void}
\membersection{wxSoundFormatPcm::GetTimeFromBytes}\label{wxsoundformatpcmgettimefrombytes}
\constfunc{wxUint32}{GetTimeFromBytes}{\param{wxUint32 }{bytes}}
\membersection{wxSoundFormatPcm::GetBytesFromTime}\label{wxsoundformatpcmgetbytesfromtime}
\constfunc{wxUint32}{GetBytesFromTime}{\param{wxUint32 }{time}}
\membersection{wxSoundFormatPcm::operator!}\label{wxsoundformatpcmoperatornot}
\constfunc{bool}{operator!}{\param{const wxSoundFormatBase\& }{frmt2}}

View File

@@ -0,0 +1,69 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndbase.h at 26/Feb/00 14:23:29
%
\section{\class{wxSoundFormatBase}}\label{wxsoundformatbase}
Base class for sound format specification
\wxheading{Derived from}
No base class
\wxheading{Data structures}
{\small \begin{verbatim}
typedef enum {
wxSOUND\_NOFORMAT,
wxSOUND\_PCM,
wxSOUND\_ULAW,
wxSOUND\_G72X,
wxSOUND\_MSADPCM
} wxSoundFormatType
\end{verbatim}}
wxSoundFormatType: it specifies the format family of the sound data
which will be passed to the stream.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundFormatBase::wxSoundFormatBase}\label{wxsoundformatbasewxsoundformatbase}
\func{}{wxSoundFormatBase}{\void}
\membersection{wxSoundFormatBase::\destruct{wxSoundFormatBase}}\label{wxsoundformatbasedtor}
\func{}{\destruct{wxSoundFormatBase}}{\void}
\membersection{wxSoundFormatBase::GetType}\label{wxsoundformatbasegettype}
\constfunc{wxSoundFormatType}{GetType}{\void}
It returns a "standard" format type.
\membersection{wxSoundFormatBase::Clone}\label{wxsoundformatbaseclone}
\constfunc{wxSoundFormatBase*}{Clone}{\void}
It clones the current format.
\membersection{wxSoundFormatBase::GetTimeFromBytes}\label{wxsoundformatbasegettimefrombytes}
\constfunc{wxUint32}{GetTimeFromBytes}{\param{wxUint32 }{bytes}}
\membersection{wxSoundFormatBase::GetBytesFromTime}\label{wxsoundformatbasegetbytesfromtime}
\constfunc{wxUint32}{GetBytesFromTime}{\param{wxUint32 }{time}}
\membersection{wxSoundFormatBase::operator!=}\label{wxsoundformatbaseoperatorneq}
\constfunc{bool}{operator!=}{\param{const wxSoundFormatBase\& }{frmt2}}

View File

@@ -0,0 +1,74 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndulaw.h at 26/Feb/00 14:52:25
%
\section{\class{wxSoundFormatUlaw}}\label{wxsoundformatulaw}
ULAW format
\wxheading{Derived from}
\helpref{wxSoundFormatBase}{wxsoundformatbase}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundFormatUlaw::wxSoundFormatUlaw}\label{wxsoundformatulawwxsoundformatulaw}
\func{}{wxSoundFormatUlaw}{\void}
\membersection{wxSoundFormatUlaw::\destruct{wxSoundFormatUlaw}}\label{wxsoundformatulawdtor}
\func{}{\destruct{wxSoundFormatUlaw}}{\void}
\membersection{wxSoundFormatUlaw::SetSampleRate}\label{wxsoundformatulawsetsamplerate}
\func{void}{SetSampleRate}{\param{wxUint32 }{srate}}
\membersection{wxSoundFormatUlaw::GetSampleRate}\label{wxsoundformatulawgetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
\membersection{wxSoundFormatUlaw::SetChannels}\label{wxsoundformatulawsetchannels}
\func{void}{SetChannels}{\param{wxUint8 }{channels}}
\membersection{wxSoundFormatUlaw::GetChannels}\label{wxsoundformatulawgetchannels}
\constfunc{wxUint8}{GetChannels}{\void}
\membersection{wxSoundFormatUlaw::GetType}\label{wxsoundformatulawgettype}
\constfunc{wxSoundFormatType}{GetType}{\void}
\membersection{wxSoundFormatUlaw::Clone}\label{wxsoundformatulawclone}
\constfunc{wxSoundFormatBase*}{Clone}{\void}
\membersection{wxSoundFormatUlaw::GetTimeFromBytes}\label{wxsoundformatulawgettimefrombytes}
\constfunc{wxUint32}{GetTimeFromBytes}{\param{wxUint32 }{bytes}}
\membersection{wxSoundFormatUlaw::GetBytesFromTime}\label{wxsoundformatulawgetbytesfromtime}
\constfunc{wxUint32}{GetBytesFromTime}{\param{wxUint32 }{time}}
\membersection{wxSoundFormatUlaw::operator!=}\label{wxsoundformatulawoperatorneq}
\constfunc{bool}{operator!=}{\param{const wxSoundFormatBase\& }{frmt2}}

View File

@@ -0,0 +1,54 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndg72x.h at 26/Feb/00 14:52:19
%
\section{\class{wxSoundStreamG72X}}\label{wxsoundstreamg72x}
ULAW converter class
\wxheading{Derived from}
\helpref{wxSoundStreamCodec}{wxsoundstreamcodec}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamG72X::wxSoundStreamG72X}\label{wxsoundstreamg72xwxsoundstreamg72x}
\func{}{wxSoundStreamG72X}{\param{wxSoundStream\& }{sndio}}
\membersection{wxSoundStreamG72X::\destruct{wxSoundStreamG72X}}\label{wxsoundstreamg72xdtor}
\func{}{\destruct{wxSoundStreamG72X}}{\void}
\membersection{wxSoundStreamG72X::Read}\label{wxsoundstreamg72xread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamG72X::Write}\label{wxsoundstreamg72xwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamG72X::SetSoundFormat}\label{wxsoundstreamg72xsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
\membersection{wxSoundStreamG72X::PutBits}\label{wxsoundstreamg72xputbits}
\func{void}{PutBits}{\param{wxUint8 }{bits}}
\membersection{wxSoundStreamG72X::GetBits}\label{wxsoundstreamg72xgetbits}
\func{wxUint8}{GetBits}{\void}

View File

@@ -0,0 +1,71 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndoss.h at 26/Feb/00 14:26:53
%
\section{\class{wxSoundStreamOSS}}\label{wxsoundstreamoss}
OSS output class
\wxheading{Derived from}
\helpref{wxSoundStream}{wxsoundstream}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamOSS::wxSoundStreamOSS}\label{wxsoundstreamosswxsoundstreamoss}
\func{}{wxSoundStreamOSS}{\param{const wxString\& }{dev\_name = \_T("/dev/dsp")}}
\membersection{wxSoundStreamOSS::\destruct{wxSoundStreamOSS}}\label{wxsoundstreamossdtor}
\func{}{\destruct{wxSoundStreamOSS}}{\void}
\membersection{wxSoundStreamOSS::Read}\label{wxsoundstreamossread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamOSS::Write}\label{wxsoundstreamosswrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamOSS::GetBestSize}\label{wxsoundstreamossgetbestsize}
\constfunc{wxUint32}{GetBestSize}{\void}
\membersection{wxSoundStreamOSS::SetSoundFormat}\label{wxsoundstreamosssetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
\membersection{wxSoundStreamOSS::StartProduction}\label{wxsoundstreamossstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
\membersection{wxSoundStreamOSS::StopProduction}\label{wxsoundstreamossstopproduction}
\func{bool}{StopProduction}{\void}
\membersection{wxSoundStreamOSS::QueueFilled}\label{wxsoundstreamossqueuefilled}
\constfunc{bool}{QueueFilled}{\void}
\membersection{wxSoundStreamOSS::WakeUpEvt}\label{wxsoundstreamosswakeupevt}
\func{void}{WakeUpEvt}{\param{int }{evt}}
You should not call this.

View File

@@ -0,0 +1,48 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndcpcm.h at 26/Feb/00 14:26:35
%
\section{\class{wxSoundStreamPcm}}\label{wxsoundstreampcm}
PCM converter class
\wxheading{Derived from}
\helpref{wxSoundStreamCodec}{wxsoundstreamcodec}
\wxheading{Data structures}
{\small \begin{verbatim}
typedef void (*ConverterType)(const char *buf\_in, char *buf\_out, wxUint32 len) ConverterType
\end{verbatim}}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamPcm::wxSoundStreamPcm}\label{wxsoundstreampcmwxsoundstreampcm}
\func{}{wxSoundStreamPcm}{\param{wxSoundStream\& }{sndio}}
\membersection{wxSoundStreamPcm::\destruct{wxSoundStreamPcm}}\label{wxsoundstreampcmdtor}
\func{}{\destruct{wxSoundStreamPcm}}{\void}
\membersection{wxSoundStreamPcm::Read}\label{wxsoundstreampcmread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamPcm::Write}\label{wxsoundstreampcmwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamPcm::SetSoundFormat}\label{wxsoundstreampcmsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}

View File

@@ -0,0 +1,37 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndfile.h at 26/Feb/00 14:26:42
%
\section{\class{wxSoundRouterStream}}\label{wxsoundrouterstream}
This is the router "codec" class. It should do codec routing when the device
driver does not deal with a format.
\wxheading{Derived from}
\helpref{wxSoundStreamCodec}{wxsoundstreamcodec}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundRouterStream::wxSoundRouterStream}\label{wxsoundrouterstreamwxsoundrouterstream}
\func{}{wxSoundRouterStream}{\param{wxSoundStream\& }{sndio}}
\helpref{wxSoundCodec}{wxsoundcodec}
\membersection{wxSoundRouterStream::\destruct{wxSoundRouterStream}}\label{wxsoundrouterstreamdtor}
\func{}{\destruct{wxSoundRouterStream}}{\void}
Destructor.
\membersection{wxSoundRouterStream::SetSoundFormat}\label{wxsoundrouterstreamsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
SetSoundFormat will first try to setup the device driver with the specified
format. If this fails, it will try to find a codec which will convert the
input format to a valid format for the device driver. It uses an internal
codec database.

View File

@@ -0,0 +1,49 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndulaw.h at 26/Feb/00 14:52:25
%
\section{\class{wxSoundStreamUlaw}}\label{wxsoundstreamulaw}
ULAW converter class
\wxheading{Derived from}
\helpref{wxSoundStreamCodec}{wxsoundstreamcodec}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamUlaw::wxSoundStreamUlaw}\label{wxsoundstreamulawwxsoundstreamulaw}
\func{}{wxSoundStreamUlaw}{\param{wxSoundStream\& }{sndio}}
\membersection{wxSoundStreamUlaw::\destruct{wxSoundStreamUlaw}}\label{wxsoundstreamulawdtor}
\func{}{\destruct{wxSoundStreamUlaw}}{\void}
\membersection{wxSoundStreamUlaw::Read}\label{wxsoundstreamulawread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamUlaw::Write}\label{wxsoundstreamulawwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamUlaw::SetSoundFormat}\label{wxsoundstreamulawsetsoundformat}
\func{bool}{SetSoundFormat}{\param{const wxSoundFormatBase\& }{format}}
\membersection{wxSoundStreamUlaw::GetBestSize}\label{wxsoundstreamulawgetbestsize}
\constfunc{wxUint32}{GetBestSize}{\void}

View File

@@ -0,0 +1,91 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndwav.h at 26/Feb/00 14:26:40
%
\section{\class{wxSoundWave}}\label{wxsoundwave}
WAVE codec
\wxheading{Derived from}
\helpref{wxSoundFileStream}{wxsoundfilestream}
\wxheading{Data structures}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundWave::wxSoundWave}\label{wxsoundwavewxsoundwave}
\func{}{wxSoundWave}{\param{wxInputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
\func{}{wxSoundWave}{\param{wxOutputStream\& }{stream}, \param{wxSoundStream\& }{io\_sound}}
\membersection{wxSoundWave::\destruct{wxSoundWave}}\label{wxsoundwavedtor}
\func{}{\destruct{wxSoundWave}}{\void}
\membersection{wxSoundWave::CanRead}\label{wxsoundwavecanread}
\func{bool}{CanRead}{\void}
\membersection{wxSoundWave::GetCodecName}\label{wxsoundwavegetcodecname}
\constfunc{wxString}{GetCodecName}{\void}
\membersection{wxSoundWave::PrepareToPlay}\label{wxsoundwavepreparetoplay}
\func{bool}{PrepareToPlay}{\void}
\membersection{wxSoundWave::PrepareToRecord}\label{wxsoundwavepreparetorecord}
\func{bool}{PrepareToRecord}{\param{wxUint32 }{time}}
\membersection{wxSoundWave::FinishRecording}\label{wxsoundwavefinishrecording}
\func{bool}{FinishRecording}{\void}
\membersection{wxSoundWave::RepositionStream}\label{wxsoundwaverepositionstream}
\func{bool}{RepositionStream}{\param{wxUint32 }{position}}
\membersection{wxSoundWave::GetData}\label{wxsoundwavegetdata}
\func{wxUint32}{GetData}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundWave::PutData}\label{wxsoundwaveputdata}
\func{wxUint32}{PutData}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundWave::HandleOutputPCM}\label{wxsoundwavehandleoutputpcm}
\func{bool}{HandleOutputPCM}{\param{wxDataInputStream\& }{data}, \param{wxUint16 }{channels}, \param{wxUint32 }{sample\_fq}, \param{wxUint32 }{byte\_p\_sec}, \param{wxUint16 }{byte\_p\_spl}, \param{wxUint16 }{bits\_p\_spl}}
\membersection{wxSoundWave::HandleOutputG721}\label{wxsoundwavehandleoutputg721}
\func{bool}{HandleOutputG721}{\param{wxDataInputStream\& }{data}, \param{wxUint16 }{channels}, \param{wxUint32 }{sample\_fq}, \param{wxUint32 }{byte\_p\_sec}, \param{wxUint16 }{byte\_p\_spl}, \param{wxUint16 }{bits\_p\_spl}}
\membersection{wxSoundWave::HandleInputPCM}\label{wxsoundwavehandleinputpcm}
\func{wxSoundFormatBase*}{HandleInputPCM}{\param{wxDataOutputStream\& }{data}}
\membersection{wxSoundWave::HandleInputG72X}\label{wxsoundwavehandleinputg72x}
\func{wxSoundFormatBase*}{HandleInputG72X}{\param{wxDataOutputStream\& }{data}}

View File

@@ -0,0 +1,140 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/sndwin.h at 26/Feb/00 14:26:51
%
\section{\class{wxSoundStreamWin}}\label{wxsoundstreamwin}
\wxheading{Derived from}
\helpref{wxSoundStream}{wxsoundstream}
\wxheading{Data structures}
{\small \begin{verbatim}
typedef struct \_wxSoundInternal wxSoundInternal
\end{verbatim}}
{\small \begin{verbatim}
typedef struct \_wxSoundInfoHeader wxSoundInfoHeader
\end{verbatim}}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxSoundStreamWin::wxSoundStreamWin}\label{wxsoundstreamwinwxsoundstreamwin}
\func{}{wxSoundStreamWin}{\void}
\membersection{wxSoundStreamWin::\destruct{wxSoundStreamWin}}\label{wxsoundstreamwindtor}
\func{}{\destruct{wxSoundStreamWin}}{\void}
\membersection{wxSoundStreamWin::Write}\label{wxsoundstreamwinwrite}
\func{wxSoundStream\&}{Write}{\param{const void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamWin::Read}\label{wxsoundstreamwinread}
\func{wxSoundStream\&}{Read}{\param{void* }{buffer}, \param{wxUint32 }{len}}
\membersection{wxSoundStreamWin::SetSoundFormat}\label{wxsoundstreamwinsetsoundformat}
\func{bool}{SetSoundFormat}{\param{wxSoundFormatBase\& }{base}}
\membersection{wxSoundStreamWin::StartProduction}\label{wxsoundstreamwinstartproduction}
\func{bool}{StartProduction}{\param{int }{evt}}
\membersection{wxSoundStreamWin::StopProduction}\label{wxsoundstreamwinstopproduction}
\func{bool}{StopProduction}{\void}
\membersection{wxSoundStreamWin::QueueFilled}\label{wxsoundstreamwinqueuefilled}
\constfunc{bool}{QueueFilled}{\void}
\membersection{wxSoundStreamWin::NotifyDoneBuffer}\label{wxsoundstreamwinnotifydonebuffer}
\func{void}{NotifyDoneBuffer}{\param{wxUint32 }{dev\_handle}, \param{int }{flag}}
Internal but defined as public
\membersection{wxSoundStreamWin::GetBestSize}\label{wxsoundstreamwingetbestsize}
\constfunc{wxUint32}{GetBestSize}{\void}
\membersection{wxSoundStreamWin::CreateSndWindow}\label{wxsoundstreamwincreatesndwindow}
\func{void}{CreateSndWindow}{\void}
\membersection{wxSoundStreamWin::DestroySndWindow}\label{wxsoundstreamwindestroysndwindow}
\func{void}{DestroySndWindow}{\void}
\membersection{wxSoundStreamWin::OpenDevice}\label{wxsoundstreamwinopendevice}
\func{bool}{OpenDevice}{\param{int }{mode}}
\membersection{wxSoundStreamWin::CloseDevice}\label{wxsoundstreamwinclosedevice}
\func{void}{CloseDevice}{\void}
\membersection{wxSoundStreamWin::AllocHeader}\label{wxsoundstreamwinallocheader}
\func{wxSoundInfoHeader*}{AllocHeader}{\param{int }{mode}}
\membersection{wxSoundStreamWin::FreeHeader}\label{wxsoundstreamwinfreeheader}
\func{void}{FreeHeader}{\param{wxSoundInfoHeader* }{header}, \param{int }{mode}}
\membersection{wxSoundStreamWin::AllocHeaders}\label{wxsoundstreamwinallocheaders}
\func{bool}{AllocHeaders}{\param{int }{mode}}
\membersection{wxSoundStreamWin::FreeHeaders}\label{wxsoundstreamwinfreeheaders}
\func{void}{FreeHeaders}{\param{int }{mode}}
\membersection{wxSoundStreamWin::WaitFor}\label{wxsoundstreamwinwaitfor}
\func{void}{WaitFor}{\param{wxSoundInfoHeader* }{info}}
\membersection{wxSoundStreamWin::AddToQueue}\label{wxsoundstreamwinaddtoqueue}
\func{bool}{AddToQueue}{\param{wxSoundInfoHeader* }{info}}
\membersection{wxSoundStreamWin::ClearHeader}\label{wxsoundstreamwinclearheader}
\func{void}{ClearHeader}{\param{wxSoundInfoHeader* }{info}}
\membersection{wxSoundStreamWin::NextFragmentOutput}\label{wxsoundstreamwinnextfragmentoutput}
\func{wxSoundInfoHeader*}{NextFragmentOutput}{\void}
\membersection{wxSoundStreamWin::NextFragmentInput}\label{wxsoundstreamwinnextfragmentinput}
\func{wxSoundInfoHeader*}{NextFragmentInput}{\void}

View File

@@ -0,0 +1,35 @@
; Last change: JAC 13 Oct 100 5:16 pm
runTwice = yes
titleFontSize = 12
authorFontSize = 10
chapterFontSize = 12
sectionFontSize = 12
subsectionFontSize = 12
headerRule = yes
footerRule = yes
useHeadingStyles = yes
listItemIndent=40
generateHPJ = yes
htmlBrowseButtons = bitmap
winHelpVersion = 3
winHelpContents = yes
winHelpTitle = "MMedia Manual"
truncateFilenames = no
combineSubSections = yes
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
\htmlonly{\image{}{books.gif}}\helpref{#1}{#2}
\sethotspotcolour{on}\sethotspotunderline{on}}
\docparam [2]{\parskip{0}{\it #1}\htmlignore{\par}\parskip{10}\indented{1cm}{#2}}
\wxheading [1]{{\bf \htmlignore{\fcol{blue}{#1}}\htmlonly{\fcol{red}{#1}}}}
\const [0] {{\bf const}}
\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\windowstyle [1] {{\bf #1}\index{#1}}
;;
;; These two are for generating MS HTML Help project, contents and index files.
;;
htmlWorkshopFiles = true
htmlIndex = true
\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
%\pythonnote [1] {}

View File

@@ -0,0 +1,298 @@
% LaTeX style file
% Name: texhelp.sty
% Author: Julian Smart
%
% Purpose
% -------
% Style file to enable the simultaneous preparation of printed LaTeX and on-line
% hypertext manuals.
% Use in conjunction with Tex2RTF (see Tex2RTF documentation).
%
% Note that if a non-ASCII character starts a newline and there should be a space
% between the last word on the previous line and the first word on this line,
% you need to use \rtfsp to generate a space in Windows Help. \rtfsp is ignored
% in all other formats.
%
% Julian Smart
% Artificial Intelligence Applications Institute
%
%
% ============== C++/CLIPS Documentation Facilities ==============
%
% Each class definition should be typeset with e.g.
%
% \section{\class{Name}: Parent}
%
% followed by a description of the class.
% Each member should follow:
%
% \membersection{wxName::Member}
%
% with a description of what this member does.
% Then, one (or more if overloaded) member (function) in detail:
%
% \func{return type}{name}{args}
% or
% \member{type}{name}
%
% where args is a list of \param{type}{name}, ...
% Function, e.g.
% e.g. to typeset
%
% void DoIt(char *string);
%
% write:
%
% \func{void}{DoIt}{\param{char *}{string}}
%
\newcommand{\func}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} {\bf #2}\index{#2}}(#3)}
% For function/type definition where the name is a pointer,
% e.g. to typeset
%
% typedef void (*wxFunction)(wxObject&)
%
% write:
%
% \pfunc{typedef void}{wxFunction}{param{wxObject&}}
\newcommand{\pfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} ({\bf *#2})\index{#2}}(#3)}
% Use an ordinary \section command for class name definitions.
% This is used for a member, such as wxBitmap: GetDepth
\newcommand{\membersection}[1]{\subsection*{#1}\index{#1}}
% CLIPS function
\newcommand{\clipsfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\bf #1} ({\bf #2}\index{#2}}#3)}
\newcommand{\clipssection}[1]{\chapter{#1}}
% This is used for a CLIPS function name
\newcommand{\functionsection}[1]{\subsection*{#1}}
% Member: a type and a name
\newcommand{\member}[2]{{\bf #1 \it #2}}
% C++ Parameter: a type and a name (no intervening space)
\newcommand{\param}[2]{{\it #1}{\bf #2}}
% CLIPS Parameter: a type and a name (one intervening space)
\newcommand{\cparam}[2]{{\bf #1} {\it #2}}
% Class: puts in index
\newcommand{\class}[1]{#1\index{#1}}
%\newcommand{\docparam}[2]{\parskip=0pt {\it #1}\par\parskip=10pt\begin{indented}{1cm}{#2}\end{indented}}
% Void type
\newcommand{\void}{{\it void}}
% Typeset destructor
\newcommand{\destruct}[1]{{$\sim$}#1}
% Typeset insert/extract operators
\newcommand{\cinsert}{$<<$}
\newcommand{\cextract}{$>>$}
% =================== Hypertext facilities ===================
%
% To insert hyperlinks (or references, in Latex), \label the sections
% or membersections \label{ref-label} immediately after the section, on the same line,
% and use \helpref{text-to-show}{ref-label} to make a reference.
%
% Type text with section reference
\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) }
% Type text with URL in verbatim mode
\newcommand{\urlref}[2]{#1 (\verb$#2$)}
% Don't typeset section number in LaTeX
\newcommand{\helprefn}[2]{{\it #1}}
% Like helpref, but popup text in WinHelp instead of hyperlinked
\newcommand{\popref}[2]{{\it #1}}
% Like footnote, but popup text.
\newcommand{\footnotepopup}[2]{{\it #1}\footnote{#2}}
% =================== On-line help specific macros ===================
%
% Global document font size/family, help only.
\newcommand{\helpfontsize}[1]{}
\newcommand{\helpfontfamily}[1]{}
% Ignore in all on-line help
\newcommand{\helpignore}[1]{#1}
% Only print in all on-line help
\newcommand{\helponly}[1]{}
% Ignore in LaTeX
\newcommand{\latexignore}[1]{}
% Only print in LaTeX
\newcommand{\latexonly}[1]{#1}
% Ignore in linear RTF
\newcommand{\rtfignore}[1]{#1}
% Only print in linear RTF
\newcommand{\rtfonly}[1]{}
% Ignore in WinHelp RTF
\newcommand{\winhelpignore}[1]{#1}
% Only print in WinHelp RTF
\newcommand{\winhelponly}[1]{}
% Ignore in wxHelp
\newcommand{\xlpignore}[1]{#1}
% Only print in wxHelp
\newcommand{\xlponly}[1]{}
% Ignore in HTML
\newcommand{\htmlignore}[1]{#1}
% Only print in HTML
\newcommand{\htmlonly}[1]{}
% Input a file only for help system (binder thickness is not a limitation
% in help systems!)
\newcommand{\helpinput}[1]{}
\newcommand{\rtfsp}{ } % Force a space in RTF, ignore in Latex
% =================== Miscellaneous macros ===================
%
% Headings consistent with generated ones
\newcommand{\myheading}[1]{\vspace*{25pt}
\begin{flushleft}
{\LARGE \bf #1}
\end{flushleft}
\vskip 20pt
}
% Heading with entry in contents page.
\newcommand{\chapterheading}[1]{\myheading{#1}
\addcontentsline{toc}{chapter}{#1}}
\newcommand{\sectionheading}[1]{\myheading{#1}
\addcontentsline{toc}{section}{#1}}
% Glossary environment
\newenvironment{helpglossary}{\newpage\chapterheading{Glossary}\begin{description}}{\end{description}}
% Glossary entry
\newcommand{\gloss}[1]{\item[#1]\index{#1}}
% Image: EPS in Latex, BMP or MF (whatever's available) in RTF. Requires psbox.
\newcommand{\image}[2]{\psboxto(#1){#2}}
% Image, left aligned (HTML)
\newcommand{\imager}[2]{\psboxto(#1){#2}}
% Image, right aligned (HTML)
\newcommand{\imagel}[2]{\psboxto(#1){#2}}
% Imagemap: principally for HTML only. In Latex,
% acts like \image.
\newcommand{\imagemap}[3]{\psboxto(#1){#2}}
% Headers and footers
% \setheader{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setheader}[6]{
\lhead[\fancyplain{}{#1}]{\fancyplain{}{#4}}
\chead[\fancyplain{}{#2}]{\fancyplain{}{#5}}
\rhead[\fancyplain{}{#3}]{\fancyplain{}{#6}}
}
% \setfooter{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setfooter}[6]{
\lfoot[\fancyplain{#1}{#1}]{\fancyplain{#4}{#4}}
\cfoot[\fancyplain{#2}{#2}]{\fancyplain{#5}{#5}}
\rfoot[\fancyplain{#3}{#3}]{\fancyplain{#6}{#6}}
}
% Needed for telling RTF where margin paragraph should go
% in mirrored margins mode.
\newcommand{\marginpareven}[1]{\hspace*{0pt}\marginpar{#1}}
\newcommand{\marginparodd}[1]{\hspace*{0pt}\marginpar{#1}}
% Environment for two-column table popular in WinHelp and manuals.
\newcommand{\twocolwidtha}[1]{\def\twocolwidthaval{#1}}
\newcommand{\twocolwidthb}[1]{\def\twocolwidthbval{#1}}
\newcommand{\twocolspacing}[1]{\def\twocolspacingval{#1}}
\twocolwidtha{3cm}
\twocolwidthb{8.5cm}
\twocolspacing{2}
\newcommand{\twocolitem}[2]{#1 & #2\\}
\newcommand{\twocolitemruled}[2]{#1 & #2\\\hline}
\newenvironment{twocollist}{\renewcommand{\arraystretch}{\twocolspacingval}\begin{tabular}{lp{\twocolwidthbval}}}%
{\end{tabular}\renewcommand{\arraystretch}{1}}
% Specifying table rows for RTF compatibility
\newcommand{\row}[1]{#1\\}
% Use for the last ruled row for correct RTF generation.
\newcommand{\ruledrow}[1]{#1\\\hline}
% Indentation environment. Arg1 is left margin size
\newenvironment{indented}[1]{\begin{list}{}{\leftmargin=#1}\item[]}%
{\end{list}}
% Framed box of text, normal formatting.
\newcommand{\normalbox}[1]{\fbox{\vbox{#1}}}
% Double-framed box of text.
\newcommand{\normalboxd}[1]{\fbox{\fbox{\vbox{#1}}}}
% WITHDRAWN -- can't do in RTF, easily.
% Framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredbox}[2]{\begin{center}\fbox{\parbox{#1}{\raggedright#2}}\end{center}}
% Double-framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredboxd}[2]{\begin{center}\fbox{\fbox{\parbox{#1}{\raggedright#2}}}\end{center}}
% toocomplex environment: simply prints the argument in LaTeX,
% comes out verbatim in all generated formats.
\newenvironment{toocomplex}{}{}
% Colour: dummy commands since LaTeX doesn't support colour.
% \definecolour{name}{red}{blue}{green}
% \fcol{name}{text} ; Foreground
% \bcol{name}{text} ; Background
\newcommand{\definecolour}[4]{}
\newcommand{\definecolor}[4]{}
\newcommand{\fcol}[2]{#2}
\newcommand{\bcol}[2]{#2}
\newcommand{\sethotspotcolour}[1]{}
\newcommand{\sethotspotunderline}[1]{}
\newcommand{\settransparency}[1]{}
\newcommand{\backslashraw}[0]{}
\newcommand{\lbraceraw}[0]{}
\newcommand{\rbraceraw}[0]{}
\newcommand{\registered}[0]{(r)}
\newcommand{\background}[1]{}
\newcommand{\textcolour}[1]{}
\newcommand{\overview}[2]{See \helpref{#1}{#2}.}
\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[]
#2%
\end{list}}
\newcommand{\wxheading}[1]{{\bf #1}}
\newcommand{\const}[0]{{\bf const}}
\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\newcommand{\windowstyle}[1]{{\bf #1}\index{#1}}
\addtolength{\textwidth}{1in}
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1in}
\sloppy

View File

@@ -0,0 +1,10 @@
\chapter{Topic overviews}\label{overviews}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
The following sections describe particular topics.
\section{MMedia extension overview}\label{mmedoverview}
To be written.

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

View File

@@ -0,0 +1,173 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/vidbase.h at 26/Feb/00 14:51:56
%
\section{\class{wxVideoBaseDriver}}\label{wxvideobasedriver}
Classes definition
\wxheading{Derived from}
wxObject
\wxheading{Data structures}
{\small \begin{verbatim}
typedef enum {
wxVIDEO\_MSAVI,
wxVIDEO\_MPEG,
wxVIDEO\_QT,
wxVIDEO\_GIF,
wxVIDEO\_JMOV,
wxVIDEO\_FLI,
wxVIDEO\_IFF,
wxVIDEO\_SGI,
wxVIDEO\_MPEG2
} wxVideoType
\end{verbatim}}
wxMMedia2 (video) types
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxVideoBaseDriver::wxVideoBaseDriver}\label{wxvideobasedriverwxvideobasedriver}
\func{}{wxVideoBaseDriver}{\void}
Ctors
\membersection{wxVideoBaseDriver::wxVideoBaseDriver}\label{wxvideobasedriverwxvideobasedriver}
\func{}{wxVideoBaseDriver}{\param{wxInputStream\& }{str}}
\membersection{wxVideoBaseDriver::wxVideoBaseDriver}\label{wxvideobasedriverwxvideobasedriver}
\func{}{wxVideoBaseDriver}{\param{const wxString\& }{filename}}
\membersection{wxVideoBaseDriver::\destruct{wxVideoBaseDriver}}\label{wxvideobasedriverdtor}
\func{}{\destruct{wxVideoBaseDriver}}{\void}
Dtor
\membersection{wxVideoBaseDriver::Play}\label{wxvideobasedriverplay}
\func{bool}{Play}{\void}
Usual functions ... They all return FALSE in case of errors.
\membersection{wxVideoBaseDriver::Stop}\label{wxvideobasedriverstop}
\func{bool}{Stop}{\void}
\membersection{wxVideoBaseDriver::Pause}\label{wxvideobasedriverpause}
\func{bool}{Pause}{\void}
\membersection{wxVideoBaseDriver::Resume}\label{wxvideobasedriverresume}
\func{bool}{Resume}{\void}
\membersection{wxVideoBaseDriver::SetSize}\label{wxvideobasedriversetsize}
\func{bool}{SetSize}{\param{wxSize }{size}}
Size management
\membersection{wxVideoBaseDriver::GetSize}\label{wxvideobasedrivergetsize}
\constfunc{bool}{GetSize}{\param{wxSize\& }{size}}
\membersection{wxVideoBaseDriver::IsCapable}\label{wxvideobasedriveriscapable}
\constfunc{bool}{IsCapable}{\param{wxVideoType }{WXUNUSED(v\_type)}}
Test the capability of the driver to handle the specified type
\membersection{wxVideoBaseDriver::GetMovieCodec}\label{wxvideobasedrivergetmoviecodec}
\constfunc{wxString}{GetMovieCodec}{\void}
Return the video codec name
\membersection{wxVideoBaseDriver::GetAudioCodec}\label{wxvideobasedrivergetaudiocodec}
\constfunc{wxString}{GetAudioCodec}{\void}
Return the audio codec name
\membersection{wxVideoBaseDriver::GetSampleRate}\label{wxvideobasedrivergetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
Return misc info about audio
\membersection{wxVideoBaseDriver::GetChannels}\label{wxvideobasedrivergetchannels}
\constfunc{wxUint8}{GetChannels}{\void}
\membersection{wxVideoBaseDriver::GetBPS}\label{wxvideobasedrivergetbps}
\constfunc{wxUint8}{GetBPS}{\void}
\membersection{wxVideoBaseDriver::GetFrameRate}\label{wxvideobasedrivergetframerate}
\constfunc{double}{GetFrameRate}{\void}
Return frame rate
\membersection{wxVideoBaseDriver::GetNbFrames}\label{wxvideobasedrivergetnbframes}
\constfunc{wxUint32}{GetNbFrames}{\void}
Return number of frames
\membersection{wxVideoBaseDriver::OnFinished}\label{wxvideobasedriveronfinished}
\func{void}{OnFinished}{\void}
Called when the movie finished
\membersection{wxVideoBaseDriver::AttachOutput}\label{wxvideobasedriverattachoutput}
\func{bool}{AttachOutput}{\param{wxWindow\& }{output}}
Attaches the video output to a window. The video will be shown in that window.
\membersection{wxVideoBaseDriver::DetachOutput}\label{wxvideobasedriverdetachoutput}
\func{void}{DetachOutput}{\void}
\membersection{wxVideoBaseDriver::IsPaused}\label{wxvideobasedriverispaused}
\constfunc{bool}{IsPaused}{\void}
They return the state of the movie.
\membersection{wxVideoBaseDriver::IsStopped}\label{wxvideobasedriverisstopped}
\constfunc{bool}{IsStopped}{\void}

View File

@@ -0,0 +1,148 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/vidwin.h at 26/Feb/00 14:52:03
%
\section{\class{wxVideoWindows}}\label{wxvideowindows}
Class definition
\wxheading{Derived from}
\helpref{wxVideoBaseDriver}{wxvideobasedriver}
\wxheading{Data structures}
{\small \begin{verbatim}
typedef struct VIDW\_Internal {
MCIDEVICEID m\_dev\_id
};
\end{verbatim}}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxVideoWindows::OpenFile}\label{wxvideowindowsopenfile}
\func{void}{OpenFile}{\void}
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
\func{}{wxVideoWindows}{\void}
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
\func{}{wxVideoWindows}{\param{wxInputStream\& }{str}}
\membersection{wxVideoWindows::wxVideoWindows}\label{wxvideowindowswxvideowindows}
\func{}{wxVideoWindows}{\param{const wxString\& }{fname}}
\membersection{wxVideoWindows::\destruct{wxVideoWindows}}\label{wxvideowindowsdtor}
\func{}{\destruct{wxVideoWindows}}{\void}
\membersection{wxVideoWindows::Play}\label{wxvideowindowsplay}
\func{bool}{Play}{\void}
\membersection{wxVideoWindows::Stop}\label{wxvideowindowsstop}
\func{bool}{Stop}{\void}
\membersection{wxVideoWindows::Pause}\label{wxvideowindowspause}
\func{bool}{Pause}{\void}
\membersection{wxVideoWindows::Resume}\label{wxvideowindowsresume}
\func{bool}{Resume}{\void}
\membersection{wxVideoWindows::GetSize}\label{wxvideowindowsgetsize}
\constfunc{bool}{GetSize}{\param{wxSize\& }{size}}
\membersection{wxVideoWindows::SetSize}\label{wxvideowindowssetsize}
\func{bool}{SetSize}{\param{wxSize }{size}}
\membersection{wxVideoWindows::GetMovieCodec}\label{wxvideowindowsgetmoviecodec}
\constfunc{wxString}{GetMovieCodec}{\void}
Return codec name for each stream.
\membersection{wxVideoWindows::GetAudioCodec}\label{wxvideowindowsgetaudiocodec}
\constfunc{wxString}{GetAudioCodec}{\void}
\membersection{wxVideoWindows::GetSampleRate}\label{wxvideowindowsgetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
Return misc. info about audio
\membersection{wxVideoWindows::GetChannels}\label{wxvideowindowsgetchannels}
\constfunc{wxUint8}{GetChannels}{\void}
\membersection{wxVideoWindows::GetBPS}\label{wxvideowindowsgetbps}
\constfunc{wxUint8}{GetBPS}{\void}
\membersection{wxVideoWindows::GetFrameRate}\label{wxvideowindowsgetframerate}
\constfunc{double}{GetFrameRate}{\void}
Return the frame rate of the video (in frames/second)
\membersection{wxVideoWindows::GetNbFrames}\label{wxvideowindowsgetnbframes}
\constfunc{wxUint32}{GetNbFrames}{\void}
Return the total number of frames in the movie
\membersection{wxVideoWindows::IsCapable}\label{wxvideowindowsiscapable}
\func{bool}{IsCapable}{\param{wxVideoType }{v\_type}}
\membersection{wxVideoWindows::AttachOutput}\label{wxvideowindowsattachoutput}
\func{bool}{AttachOutput}{\param{wxWindow\& }{output}}
\membersection{wxVideoWindows::DetachOutput}\label{wxvideowindowsdetachoutput}
\func{void}{DetachOutput}{\void}
\membersection{wxVideoWindows::IsPaused}\label{wxvideowindowsispaused}
\constfunc{bool}{IsPaused}{\void}
\membersection{wxVideoWindows::IsStopped}\label{wxvideowindowsisstopped}
\constfunc{bool}{IsStopped}{\void}

View File

@@ -0,0 +1,170 @@
%
% automatically generated by HelpGen from
% /home/guilhem/PROJECTS/wxWindows/utils/wxMMedia2/lib/vidxanm.h at 26/Feb/00 14:52:06
%
\section{\class{wxVideoXANIM}}\label{wxvideoxanim}
Class definition
\wxheading{Derived from}
\helpref{wxVideoBaseDriver}{wxvideobasedriver}
\wxheading{Data structures}
{\small \begin{verbatim}
typedef struct wxXANIMinternal {
Display *xanim\_dpy
\end{verbatim}}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxVideoXANIM::wxVideoXANIM}\label{wxvideoxanimwxvideoxanim}
\func{}{wxVideoXANIM}{\void}
\membersection{wxVideoXANIM::wxVideoXANIM}\label{wxvideoxanimwxvideoxanim}
\func{}{wxVideoXANIM}{\param{wxInputStream\& }{str}}
\membersection{wxVideoXANIM::wxVideoXANIM}\label{wxvideoxanimwxvideoxanim}
\func{}{wxVideoXANIM}{\param{const wxString\& }{filename}}
\membersection{wxVideoXANIM::\destruct{wxVideoXANIM}}\label{wxvideoxanimdtor}
\func{}{\destruct{wxVideoXANIM}}{\void}
\membersection{wxVideoXANIM::Play}\label{wxvideoxanimplay}
\func{bool}{Play}{\void}
\membersection{wxVideoXANIM::Pause}\label{wxvideoxanimpause}
\func{bool}{Pause}{\void}
\membersection{wxVideoXANIM::Resume}\label{wxvideoxanimresume}
\func{bool}{Resume}{\void}
\membersection{wxVideoXANIM::Stop}\label{wxvideoxanimstop}
\func{bool}{Stop}{\void}
\membersection{wxVideoXANIM::SetVolume}\label{wxvideoxanimsetvolume}
\func{bool}{SetVolume}{\param{wxUint8 }{vol}}
\membersection{wxVideoXANIM::SetSize}\label{wxvideoxanimsetsize}
\func{bool}{SetSize}{\param{wxSize }{size}}
\membersection{wxVideoXANIM::GetSize}\label{wxvideoxanimgetsize}
\constfunc{bool}{GetSize}{\param{wxSize\& }{size}}
\membersection{wxVideoXANIM::GetMovieCodec}\label{wxvideoxanimgetmoviecodec}
\constfunc{wxString}{GetMovieCodec}{\void}
Return the video codec name
\membersection{wxVideoXANIM::GetAudioCodec}\label{wxvideoxanimgetaudiocodec}
\constfunc{wxString}{GetAudioCodec}{\void}
Return the audio codec name
\membersection{wxVideoXANIM::GetSampleRate}\label{wxvideoxanimgetsamplerate}
\constfunc{wxUint32}{GetSampleRate}{\void}
Return misc info about audio
\membersection{wxVideoXANIM::GetChannels}\label{wxvideoxanimgetchannels}
\constfunc{wxUint8}{GetChannels}{\void}
\membersection{wxVideoXANIM::GetBPS}\label{wxvideoxanimgetbps}
\constfunc{wxUint8}{GetBPS}{\void}
\membersection{wxVideoXANIM::GetFrameRate}\label{wxvideoxanimgetframerate}
\constfunc{double}{GetFrameRate}{\void}
Return frame rate
\membersection{wxVideoXANIM::GetNbFrames}\label{wxvideoxanimgetnbframes}
\constfunc{wxUint32}{GetNbFrames}{\void}
Return number of frames in the movie
\membersection{wxVideoXANIM::IsCapable}\label{wxvideoxanimiscapable}
\constfunc{bool}{IsCapable}{\param{wxVideoType }{v\_type}}
\membersection{wxVideoXANIM::AttachOutput}\label{wxvideoxanimattachoutput}
\func{bool}{AttachOutput}{\param{wxWindow\& }{output}}
\membersection{wxVideoXANIM::DetachOutput}\label{wxvideoxanimdetachoutput}
\func{void}{DetachOutput}{\void}
\membersection{wxVideoXANIM::IsPaused}\label{wxvideoxanimispaused}
\constfunc{bool}{IsPaused}{\void}
\membersection{wxVideoXANIM::IsStopped}\label{wxvideoxanimisstopped}
\constfunc{bool}{IsStopped}{\void}
\membersection{wxVideoXANIM::RestartXANIM}\label{wxvideoxanimrestartxanim}
\func{bool}{RestartXANIM}{\void}
Start the subprocess with the right parameters
\membersection{wxVideoXANIM::SendCommand}\label{wxvideoxanimsendcommand}
\func{bool}{SendCommand}{\param{const char* }{command}, \param{char** }{ret = NULL}, \param{wxUint32* }{size = NULL}}
Send a command to the subprocess
\membersection{wxVideoXANIM::CollectInfo}\label{wxvideoxanimcollectinfo}
\func{bool}{CollectInfo}{\void}
Collect informations from XAnim

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

View File

@@ -0,0 +1,11 @@
\chapter{Bugs}\label{bugs}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
These are the known bugs.
\begin{itemize}\itemsep=0pt
\item In the OGLEdit sample, .dia files are output double-spaced
due to an unidentified bug in the way a stream is converted to a file.
\end{itemize}

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

View File

@@ -0,0 +1,19 @@
\chapter{Change log}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
Version 3.0, September 8th 1998
\begin{itemize}\itemsep=0pt
\item Version for wxWindows 2.0.
\item Various enhancements especially to wxDrawnShape
(multiple metafiles, for different orientations).
\item More ability to override functions e.g. OnSizeDragLeft, so events can be
intercepted for Do/Undo.
\end{itemize}
Version 2.0, June 1st 1996
\begin{itemize}\itemsep=0pt
\item First publicly released version.
\end{itemize}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

View File

@@ -0,0 +1,47 @@
\chapter{Introduction}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
Object Graphics Library (\ogl) is a C++ library supporting the creation and
manipulation of simple and complex graphic images on a canvas.
It can be found in the directory {\tt utils/ogl/src} in the
wxWindows distribution. The file {\tt ogl.h} must be included to make use
of the library.
Please see \helpref{OGL overview}{ogloverview} for a general description how the object library works. For details,
please see the \helpref{class reference}{classref}.
\section{File structure}
These are the files that comprise the \ogl\ library.
\begin{description}\itemsep=0pt
\item[basic.h] Header for basic objects such as wxShape and wxRectangleShape.
\item[basic.cpp] Basic objects implementation (1).
\item[basic2.cpp] Basic objects implementation (2).
\item[bmpshape.h] wxBitmapShape class header.
\item[bmpshape.cpp] wxBitmapShape implementation.
\item[canvas.h] wxShapeCanvas class header.
\item[canvas.cpp] wxShapeCanvas class implementation.
\item[composit.h] Composite object class header.
\item[composit.cpp] Composite object class implementation.
\item[constrnt.h] Constraint classes header.
\item[constrnt.cpp] Constraint classes implementation.
\item[divided.h] Divided object class header.
\item[divided.cpp] Divided object class implementation.
\item[drawn.h] Drawn (metafile) object class header.
\item[drawn.cpp] Drawn (metafile) object class implementation.
\item[graphics.h] Main include file.
\item[lines.h] wxLineShape class header.
\item[lines.cpp] wxLineShape class implementation.
\item[misc.h] Miscellaneous graphics functions header.
\item[misc.cpp] Miscellaneous graphics functions implementation.
\item[ogldiag.h] wxDiagram class header.
\item[ogldiag.cpp] wxDiagram implementation.
\item[mfutils.h] Metafile utilities header.
\item[mfutils.cpp] Metafile utilities implementation.
\end{description}

View File

@@ -0,0 +1,17 @@
[OPTIONS]
BMROOT=d:\wx2\wxwind~1\contrib\docs\latex\ogl ; Assume that bitmaps are where the source is
TITLE=OGL Manual
CONTENTS=Contents
COMPRESS=HIGH
[FILES]
ogl.rtf
[CONFIG]
CreateButton("Up", "&Up", "JumpId(`ogl.hlp', `Contents')")
BrowseButtons()
[MAP]
[BITMAPS]

View File

@@ -0,0 +1,46 @@
\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}
\newcommand{\ogl}[0]{{OGL}}%
\definecolour{black}{0}{0}{0}%
\definecolour{cyan}{0}{255}{255}%
\definecolour{green}{0}{255}{0}%
\definecolour{magenta}{255}{0}{255}%
\definecolour{red}{255}{0}{0}%
\definecolour{blue}{0}{0}{200}%
\definecolour{yellow}{255}{255}{0}%
\definecolour{white}{255}{255}{255}%
\input psbox.tex
\parindent 0pt
\parskip 11pt
\title{Object Graphics Library 3.0}
\author{Julian Smart}
\date{September 1998}
\makeindex
\begin{document}
\maketitle
\pagestyle{fancyplain}
\bibliographystyle{plain}
\pagenumbering{roman}
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
\setfooter{\thepage}{}{}{}{}{\thepage}
\tableofcontents%
\input{intro.tex}
%
\input{sample.tex}
%
\input{classes.tex}
%
\input{topics.tex}
%
\input{bugs.tex}
%
\input{changes.tex}
%
\addcontentsline{toc}{chapter}{Index}
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}
\setfooter{\thepage}{}{}{}{}{\thepage}%
\printindex
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -0,0 +1,87 @@
\chapter{OGLEdit: a sample OGL application}\label{ogledit}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
OGLEdit is a sample OGL application that allows the user to draw, edit,
save and load a few shapes. It should clarify aspects of OGL usage, and
can act as a template for similar applications. OGLEdit can be found in\rtfsp
{\tt samples/ogledit} in the OGL distribution.
$$\image{10cm;0cm}{ogledit.eps}$$\par
The wxWindows document/view model has been used in OGL, to reduce the amount of
housekeeping logic required to get it up and running. OGLEdit also provides
a demonstration of the Undo/Redo capability supported by the document/view classes,
and how a typical application might implement this feature.
\section{OGLEdit files}
OGLEdit comprises the following source files.
\begin{itemize}\itemsep=0pt
\item doc.h, doc.cpp: MyDiagram, DiagramDocument, DiagramCommand, MyEvtHandler
classes related to diagram functionality and documents.
\item view.h, view.cpp: MyCanvas, DiagramView classes related to visualisation of
the diagram.
\item ogledit.h, ogledit.cpp: MyFrame, MyApp classes related to the overall application.
\item palette.h, palette.cpp: EditorToolPalette implementing the shape palette.
\end{itemize}
\section{How OGLEdit works}
OGLEdit defines a DiagramDocument class, each of instance of which holds a MyDiagram
member which itself contains the shapes.
In order to implement specific mouse behaviour for shapes, a class MyEvtHandler is
defined which is `plugged into' each shape when it is created, instead of overriding each shape class
individually. This event handler class also holds a label string.
The DiagramCommand class is the key to implementing Undo/Redo. Each instance of DiagramCommand
stores enough information about an operation (create, delete, change colour etc.) to allow
it to carry out (or undo) its command. In DiagramView::OnMenuCommand, when the user initiates the
command, a new DiagramCommand instance is created which is then sent to the document's
command processor (see wxWindows manual for more information about doc/view and command
processing).
Apart from menu commands, another way commands are initiated is by the user left-clicking on
the canvas or right-dragging on a node. MyCanvas::OnLeftClick in view.cpp shows how
the appropriate wxClassInfo is passed to a DiagramCommand, to allow DiagramCommand::Do
to create a new shape given the wxClassInfo.
The MyEvtHandler right-drag methods in doc.cpp implement drawing a line between
two shapes, detecting where the right mouse button was released and looking for a second
shape. Again, a new DiagramCommand instance is created and passed to the command
processor to carry out the command.
DiagramCommand::Do and DiagramCommand::Undo embody much of the
interesting interaction with the OGL library. A complication of note
when implementing undo is the problem of deleting a node shape which has
one or more arcs attached to it. If you delete the node, the arc(s)
should be deleted too. But multiple arc deletion represents more information
that can be incorporated in the existing DiagramCommand scheme. OGLEdit
copes with this by treating each arc deletion as a separate command, and
sending Cut commands recursively, providing an undo path. Undoing such a
Cut will only undo one command at a time - not a one to one
correspondence with the original command - but it's a reasonable
compromise and preserves Do/Undo whilst keeping our DiagramCommand class
simple.
\section{Possible enhancements}
OGLEdit is very simplistic and does not employ the more advanced features
of OGL, such as:
\begin{itemize}\itemsep=0pt
\item attachment points (arcs are drawn to particular points on a shape)
\item metafile and bitmaps shapes
\item divided rectangles
\item composite shapes, and constraints
\item creating labels in shape regions
\item arc labels (OGL has support for three movable labels per arc)
\item spline and multiple-segment line arcs
\item adding annotations to node and arc shapes
\item line-straightening (supported by OGL) and alignment (not supported directly by OGL)
\end{itemize}
These could be added to OGLEdit, at the risk of making it a less
useful example for beginners.

View File

@@ -0,0 +1,35 @@
; Last change: JAC 13 Oct 100 5:11 pm
runTwice = yes
titleFontSize = 12
authorFontSize = 10
chapterFontSize = 12
sectionFontSize = 12
subsectionFontSize = 12
headerRule = yes
footerRule = yes
useHeadingStyles = yes
listItemIndent=40
generateHPJ = no
htmlBrowseButtons = bitmap
winHelpVersion = 3
winHelpContents = yes
winHelpTitle = "OGL Manual"
truncateFilenames = yes
combineSubSections = yes
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
\htmlonly{\image{}{books.gif}}\helpref{#1}{#2}
\sethotspotcolour{on}\sethotspotunderline{on}}
\docparam [2]{\parskip{0}{\it #1}\htmlignore{\par}\parskip{10}\indented{1cm}{#2}}
\wxheading [1]{{\bf \htmlignore{\fcol{blue}{#1}}\htmlonly{\fcol{red}{#1}}}}
\const [0] {{\bf const}}
\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\windowstyle [1] {{\bf #1}\index{#1}}
;;
;; These two are for generating MS HTML Help project, contents and index files.
;;
htmlWorkshopFiles = true
htmlIndex = true
\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
%\pythonnote [1] {}

View File

@@ -0,0 +1,298 @@
% LaTeX style file
% Name: texhelp.sty
% Author: Julian Smart
%
% Purpose
% -------
% Style file to enable the simultaneous preparation of printed LaTeX and on-line
% hypertext manuals.
% Use in conjunction with Tex2RTF (see Tex2RTF documentation).
%
% Note that if a non-ASCII character starts a newline and there should be a space
% between the last word on the previous line and the first word on this line,
% you need to use \rtfsp to generate a space in Windows Help. \rtfsp is ignored
% in all other formats.
%
% Julian Smart
% Artificial Intelligence Applications Institute
%
%
% ============== C++/CLIPS Documentation Facilities ==============
%
% Each class definition should be typeset with e.g.
%
% \section{\class{Name}: Parent}
%
% followed by a description of the class.
% Each member should follow:
%
% \membersection{wxName::Member}
%
% with a description of what this member does.
% Then, one (or more if overloaded) member (function) in detail:
%
% \func{return type}{name}{args}
% or
% \member{type}{name}
%
% where args is a list of \param{type}{name}, ...
% Function, e.g.
% e.g. to typeset
%
% void DoIt(char *string);
%
% write:
%
% \func{void}{DoIt}{\param{char *}{string}}
%
\newcommand{\func}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} {\bf #2}\index{#2}}(#3)}
% For function/type definition where the name is a pointer,
% e.g. to typeset
%
% typedef void (*wxFunction)(wxObject&)
%
% write:
%
% \pfunc{typedef void}{wxFunction}{param{wxObject&}}
\newcommand{\pfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} ({\bf *#2})\index{#2}}(#3)}
% Use an ordinary \section command for class name definitions.
% This is used for a member, such as wxBitmap: GetDepth
\newcommand{\membersection}[1]{\subsection*{#1}\index{#1}}
% CLIPS function
\newcommand{\clipsfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\bf #1} ({\bf #2}\index{#2}}#3)}
\newcommand{\clipssection}[1]{\chapter{#1}}
% This is used for a CLIPS function name
\newcommand{\functionsection}[1]{\subsection*{#1}}
% Member: a type and a name
\newcommand{\member}[2]{{\bf #1 \it #2}}
% C++ Parameter: a type and a name (no intervening space)
\newcommand{\param}[2]{{\it #1}{\bf #2}}
% CLIPS Parameter: a type and a name (one intervening space)
\newcommand{\cparam}[2]{{\bf #1} {\it #2}}
% Class: puts in index
\newcommand{\class}[1]{#1\index{#1}}
%\newcommand{\docparam}[2]{\parskip=0pt {\it #1}\par\parskip=10pt\begin{indented}{1cm}{#2}\end{indented}}
% Void type
\newcommand{\void}{{\it void}}
% Typeset destructor
\newcommand{\destruct}[1]{{$\sim$}#1}
% Typeset insert/extract operators
\newcommand{\cinsert}{$<<$}
\newcommand{\cextract}{$>>$}
% =================== Hypertext facilities ===================
%
% To insert hyperlinks (or references, in Latex), \label the sections
% or membersections \label{ref-label} immediately after the section, on the same line,
% and use \helpref{text-to-show}{ref-label} to make a reference.
%
% Type text with section reference
\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) }
% Type text with URL in verbatim mode
\newcommand{\urlref}[2]{#1 (\verb$#2$)}
% Don't typeset section number in LaTeX
\newcommand{\helprefn}[2]{{\it #1}}
% Like helpref, but popup text in WinHelp instead of hyperlinked
\newcommand{\popref}[2]{{\it #1}}
% Like footnote, but popup text.
\newcommand{\footnotepopup}[2]{{\it #1}\footnote{#2}}
% =================== On-line help specific macros ===================
%
% Global document font size/family, help only.
\newcommand{\helpfontsize}[1]{}
\newcommand{\helpfontfamily}[1]{}
% Ignore in all on-line help
\newcommand{\helpignore}[1]{#1}
% Only print in all on-line help
\newcommand{\helponly}[1]{}
% Ignore in LaTeX
\newcommand{\latexignore}[1]{}
% Only print in LaTeX
\newcommand{\latexonly}[1]{#1}
% Ignore in linear RTF
\newcommand{\rtfignore}[1]{#1}
% Only print in linear RTF
\newcommand{\rtfonly}[1]{}
% Ignore in WinHelp RTF
\newcommand{\winhelpignore}[1]{#1}
% Only print in WinHelp RTF
\newcommand{\winhelponly}[1]{}
% Ignore in wxHelp
\newcommand{\xlpignore}[1]{#1}
% Only print in wxHelp
\newcommand{\xlponly}[1]{}
% Ignore in HTML
\newcommand{\htmlignore}[1]{#1}
% Only print in HTML
\newcommand{\htmlonly}[1]{}
% Input a file only for help system (binder thickness is not a limitation
% in help systems!)
\newcommand{\helpinput}[1]{}
\newcommand{\rtfsp}{ } % Force a space in RTF, ignore in Latex
% =================== Miscellaneous macros ===================
%
% Headings consistent with generated ones
\newcommand{\myheading}[1]{\vspace*{25pt}
\begin{flushleft}
{\LARGE \bf #1}
\end{flushleft}
\vskip 20pt
}
% Heading with entry in contents page.
\newcommand{\chapterheading}[1]{\myheading{#1}
\addcontentsline{toc}{chapter}{#1}}
\newcommand{\sectionheading}[1]{\myheading{#1}
\addcontentsline{toc}{section}{#1}}
% Glossary environment
\newenvironment{helpglossary}{\newpage\chapterheading{Glossary}\begin{description}}{\end{description}}
% Glossary entry
\newcommand{\gloss}[1]{\item[#1]\index{#1}}
% Image: EPS in Latex, BMP or MF (whatever's available) in RTF. Requires psbox.
\newcommand{\image}[2]{\psboxto(#1){#2}}
% Image, left aligned (HTML)
\newcommand{\imager}[2]{\psboxto(#1){#2}}
% Image, right aligned (HTML)
\newcommand{\imagel}[2]{\psboxto(#1){#2}}
% Imagemap: principally for HTML only. In Latex,
% acts like \image.
\newcommand{\imagemap}[3]{\psboxto(#1){#2}}
% Headers and footers
% \setheader{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setheader}[6]{
\lhead[\fancyplain{}{#1}]{\fancyplain{}{#4}}
\chead[\fancyplain{}{#2}]{\fancyplain{}{#5}}
\rhead[\fancyplain{}{#3}]{\fancyplain{}{#6}}
}
% \setfooter{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setfooter}[6]{
\lfoot[\fancyplain{#1}{#1}]{\fancyplain{#4}{#4}}
\cfoot[\fancyplain{#2}{#2}]{\fancyplain{#5}{#5}}
\rfoot[\fancyplain{#3}{#3}]{\fancyplain{#6}{#6}}
}
% Needed for telling RTF where margin paragraph should go
% in mirrored margins mode.
\newcommand{\marginpareven}[1]{\hspace*{0pt}\marginpar{#1}}
\newcommand{\marginparodd}[1]{\hspace*{0pt}\marginpar{#1}}
% Environment for two-column table popular in WinHelp and manuals.
\newcommand{\twocolwidtha}[1]{\def\twocolwidthaval{#1}}
\newcommand{\twocolwidthb}[1]{\def\twocolwidthbval{#1}}
\newcommand{\twocolspacing}[1]{\def\twocolspacingval{#1}}
\twocolwidtha{3cm}
\twocolwidthb{8.5cm}
\twocolspacing{2}
\newcommand{\twocolitem}[2]{#1 & #2\\}
\newcommand{\twocolitemruled}[2]{#1 & #2\\\hline}
\newenvironment{twocollist}{\renewcommand{\arraystretch}{\twocolspacingval}\begin{tabular}{lp{\twocolwidthbval}}}%
{\end{tabular}\renewcommand{\arraystretch}{1}}
% Specifying table rows for RTF compatibility
\newcommand{\row}[1]{#1\\}
% Use for the last ruled row for correct RTF generation.
\newcommand{\ruledrow}[1]{#1\\\hline}
% Indentation environment. Arg1 is left margin size
\newenvironment{indented}[1]{\begin{list}{}{\leftmargin=#1}\item[]}%
{\end{list}}
% Framed box of text, normal formatting.
\newcommand{\normalbox}[1]{\fbox{\vbox{#1}}}
% Double-framed box of text.
\newcommand{\normalboxd}[1]{\fbox{\fbox{\vbox{#1}}}}
% WITHDRAWN -- can't do in RTF, easily.
% Framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredbox}[2]{\begin{center}\fbox{\parbox{#1}{\raggedright#2}}\end{center}}
% Double-framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredboxd}[2]{\begin{center}\fbox{\fbox{\parbox{#1}{\raggedright#2}}}\end{center}}
% toocomplex environment: simply prints the argument in LaTeX,
% comes out verbatim in all generated formats.
\newenvironment{toocomplex}{}{}
% Colour: dummy commands since LaTeX doesn't support colour.
% \definecolour{name}{red}{blue}{green}
% \fcol{name}{text} ; Foreground
% \bcol{name}{text} ; Background
\newcommand{\definecolour}[4]{}
\newcommand{\definecolor}[4]{}
\newcommand{\fcol}[2]{#2}
\newcommand{\bcol}[2]{#2}
\newcommand{\sethotspotcolour}[1]{}
\newcommand{\sethotspotunderline}[1]{}
\newcommand{\settransparency}[1]{}
\newcommand{\backslashraw}[0]{}
\newcommand{\lbraceraw}[0]{}
\newcommand{\rbraceraw}[0]{}
\newcommand{\registered}[0]{(r)}
\newcommand{\background}[1]{}
\newcommand{\textcolour}[1]{}
\newcommand{\overview}[2]{See \helpref{#1}{#2}.}
\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[]
#2%
\end{list}}
\newcommand{\wxheading}[1]{{\bf #1}}
\newcommand{\const}[0]{{\bf const}}
\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\newcommand{\windowstyle}[1]{{\bf #1}\index{#1}}
\addtolength{\textwidth}{1in}
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1in}
\sloppy

View File

@@ -0,0 +1,161 @@
\chapter{Topic overviews}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
The following sections describe particular topics.
\section{OGL overview}\label{ogloverview}
\helpref{wxShapeCanvas}{wxshapecanvas}, derived from {\bf wxCanvas}, is the drawing area
for a number of \helpref{wxShape}{wxshape} instances. Everything drawn on a
wxShapeCanvas is derived from wxShape, which provides virtual
member functions for redrawing, creating and destroying
resize/selection `handles', movement and erasing behaviour, mouse
click behaviour, calculating the bounding box of the shape, linking
nodes with arcs, and so on.
The way a client application copes with `damage' to the canvas is to
erase (white out) anything should no longer be displayed, redraw the shape,
and then redraw everything on the canvas to repair any damage. If quick edit
mode is on for the canvas, the complete should be omitted by OGL and the
application.
Selection handles (called control points in the code) are implemented as
wxRectangleShapes.
Events are passed to shapes by the canvas in a high-level form, for example {\bf OnLeftClick},
{\bf OnBeginDragLeft}, {\bf OnDragLeft}, {\bf OnEndDragLeft}. The canvas decides
what is a click and what is a drag, whether it is on a shape or the canvas itself,
and (by interrogating the shape) which attachment point the click is associated with.
In order to provide event-handling flexibility, each shapes has an `event handler' associated with it,
which by default is the shape itself (all shapes derive from wxShapeEvtHandler).
An application can modify the event-handling behaviour simply by plugging a new
event handler into the shape. This can avoid the need for multiple inheritance when
new properties and behaviour are required for a number of different shape classes: instead
of overriding each class, one new event handler class can be defined and used for all
existing shape classes.
A range of shapes have been predefined in the library, including rectangles, ellipses,
polygons. A client application can derive from these shapes and/or derive entirely
new shapes from wxShape.
Instances of a class called \helpref{wxDiagram}{wxdiagram} organise collections of
shapes, providing default file input and output behaviour.
\section{wxDividedShape overview}\label{dividedshapeoverview}
Classes: \helpref{wxDividedShape}{wxdividedshape}
A wxDividedShape is a rectangle with a number of vertical divisions. Each
division may have its text formatted with independent characteristics, and
the size of each division relative to the whole image may be specified.
Once a wxDividedShape has been created, the user may move the divisions with the
mouse. By pressing Ctrl while right-clicking, the region attributes can be edited.
Here are examples of creating wxDividedShape objects:
{\small
\begin{verbatim}
/*
* Divided rectangle with 3 regions
*
*/
wxDividedShape *dividedRect = new wxDividedShape(50, 60);
wxShapeRegion *region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.5);
dividedRect->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect->AddRegion(region);
dividedRect->SetSize(50, 60); // Allow it to calculate region sizes
dividedRect->SetPen(wxBLACK_PEN);
dividedRect->SetBrush(wxWHITE_BRUSH);
dividedRect->Show(TRUE);
dividedRect->NameRegions();
/*
* Divided rectangle with 3 regions, rounded
*
*/
wxDividedShape *dividedRect3 = new wxDividedShape(50, 60);
dividedRect3->SetCornerRadius(-0.4);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect3->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.5);
dividedRect3->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect3->AddRegion(region);
dividedRect3->SetSize(50, 60); // Allow it to calculate region sizes
dividedRect3->SetPen(wxBLACK_PEN);
dividedRect3->SetBrush(wxWHITE_BRUSH);
dividedRect3->Show(TRUE);
dividedRect3->NameRegions();
\end{verbatim}
}
\section{wxCompositeShape overview}\label{compositeshapeoverview}
Classes: \helpref{wxCompositeShape}{wxcompositeshape}, \helpref{wxOGLConstraint}{wxoglconstraint}
The wxCompositeShape allows fairly complex shapes to be created, and maintains
a set of constraints which specify the layout and proportions of child shapes.
Add child shapes to a wxCompositeShape using \helpref{AddChild}{wxcompositeshapeaddchild}, and
add constraints using \helpref{AddConstraint}{wxcompositeshapeaddconstraint}.
After children and shapes have been added, call \helpref{Recompute}{wxcompositeshaperecompute} which
will return TRUE is the constraints could be satisfied, FALSE otherwise. If
constraints have been correctly and consistently specified, this call will succeed.
If there is more than one child, constraints must be specified: OGL cannot calculate
the size and position of children otherwise. Don't assume that children will simply
move relative to the parent without the use of constraints.
To specify a constraint, you need three things:
\begin{enumerate}\itemsep=0pt
\item a constraint type, such as gyCONSTRAINT\_CENTRED\_VERTICALLY;
\item a reference shape, with respect to which other shapes are going to be positioned - the\rtfsp
{\it constraining} shape;
\item a list of one or more shapes to be constrained: the {\it constrained} shapes.
\end{enumerate}
The constraining shape can be either the parent of the constrained shapes, or a sibling. The
constrained shapes must all be siblings of each other.
For an exhaustive list and description of the available constraint types, see the \helpref{wxOGLConstraint constructor}{wxoglconstraintconstr}.
Note that most constraints operate in one dimension only (vertically or horizontally), so you will
usually need to specify constraints in pairs.
You can set the spacing between constraining and constrained shapes by
calling \helpref{wxOGLConstraint::SetSpacing}{wxoglconstraintsetspacing}.
Finally, a wxCompositeShape can have {\it divisions}, which are special child shapes of class
wxDivisionShape (not to be confused with wxDividedShape). The purpose of this is to allow
the composite to be divided into user-adjustable regions (divisions) into which other shapes
can be dropped dynamically, given suitable application code. Divisons allow the child
shapes to have an identity of their own - they can be manipulated independently of their container -
but to behave as if they are contained with the division, moving with the parent shape.
Divisions boundaries can themselves be moved using the mouse.
To create an initial division, call \helpref{wxCompositeShape::MakeContainer}{wxcompositeshapemakecontainer}.
Make further divisions by calling \helpref{wxDivisionShape::Divide}{wxdivisionshapedivide}.

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 B

View File

@@ -0,0 +1,335 @@
/////////////////////////////////////////////////////////////////////////////
// Name: animate.h
// Purpose: Animation classes
// Author: Julian Smart and Guillermo Rodriguez Garcia
// Modified by:
// Created: 13/8/99
// RCS-ID: $Id$
// Copyright: (c) Julian Smart and Guillermo Rodriguez Garcia
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_ANIMATEH__
#define _WX_ANIMATEH__
#ifdef __GNUG__
#pragma interface "animate.h"
#endif
#include <wx/defs.h>
#include <wx/string.h>
#include <wx/gdicmn.h>
#include <wx/list.h>
#include <wx/timer.h>
//#define ANIMDLLEXPORT WXDLLEXPORT
#define ANIMDLLEXPORT
class ANIMDLLEXPORT wxAnimationBase;
class ANIMDLLEXPORT wxAnimationPlayer;
class WXDLLEXPORT wxImage;
enum wxAnimationDisposal
{
wxANIM_UNSPECIFIED = -1,
wxANIM_DONOTREMOVE = 0,
wxANIM_TOBACKGROUND = 1,
wxANIM_TOPREVIOUS = 2
} ;
class ANIMDLLEXPORT wxAnimationTimer: public wxTimer
{
public:
wxAnimationTimer() { m_player = (wxAnimationPlayer*) NULL; }
virtual void Notify();
void SetPlayer(wxAnimationPlayer* player) { m_player = player; }
protected:
wxAnimationPlayer* m_player;
};
/* wxAnimationPlayer
* Create an object of this class, and either pass an wxXXXAnimation object in the constructor,
* or call SetAnimation. Then call Play().
* The wxAnimation object is only destroyed in the destructor if destroyAnimation is TRUE
* in the constructor.
*/
class ANIMDLLEXPORT wxAnimationPlayer : public wxObject
{
DECLARE_CLASS(wxAnimationPlayer)
public:
wxAnimationPlayer(wxAnimationBase *animation = (wxAnimationBase *) NULL, bool destroyAnimation = FALSE);
~wxAnimationPlayer();
//// Accessors
void SetAnimation(wxAnimationBase* animation, bool destroyAnimation = FALSE);
wxAnimationBase* GetAnimation() const { return m_animation; }
void SetDestroyAnimation(bool destroyAnimation) { m_destroyAnimation = destroyAnimation; };
bool GetDestroyAnimation() const { return m_destroyAnimation; }
void SetCurrentFrame(int currentFrame) { m_currentFrame = currentFrame; };
int GetCurrentFrame() const { return m_currentFrame; }
void SetWindow(wxWindow* window) { m_window = window; };
wxWindow* GetWindow() const { return m_window; }
void SetPosition(const wxPoint& pos) { m_position = pos; };
wxPoint GetPosition() const { return m_position; }
void SetLooped(bool looped) { m_looped = looped; };
bool GetLooped() const { return m_looped; }
bool HasAnimation() const { return (m_animation != (wxAnimationBase*) NULL); }
bool IsPlaying() const { return m_isPlaying; }
// Specify whether the GIF's background colour is to be shown,
// or whether the window background should show through (the default)
void UseBackgroundColour(bool useBackground) { m_useBackgroundColour = useBackground; }
bool UsingBackgroundColour() const { return m_useBackgroundColour; }
// Set and use a user-specified background colour (valid for transparent
// animations only)
void SetCustomBackgroundColour(const wxColour& col, bool useCustomBackgroundColour = TRUE)
{ m_customBackgroundColour = col; m_useCustomBackgroundColour = useCustomBackgroundColour; }
bool UsingCustomBackgroundColour() const { return m_useCustomBackgroundColour; }
const wxColour& GetCustomBackgroundColour() const { return m_customBackgroundColour; }
// Another refinement - suppose we're drawing the animation in a separate
// control or window. We may wish to use the background of the parent
// window as the background of our animation. This allows us to specify
// whether to grab from the parent or from this window.
void UseParentBackground(bool useParent) { m_useParentBackground = useParent; }
bool UsingParentBackground() const { return m_useParentBackground; }
//// Operations
// Play
virtual bool Play(wxWindow& window, const wxPoint& pos = wxPoint(0, 0), bool looped = TRUE);
// Build animation (list of wxImages). If not called before Play
// is called, Play will call this automatically.
virtual bool Build();
// Stop the animation
virtual void Stop();
// Draw the current view of the animation into this DC.
// Call this from your OnPaint, for example.
virtual void Draw(wxDC& dc);
//// Accessing the current animation
virtual int GetFrameCount() const;
virtual wxImage* GetFrame(int i) const; // Creates a new wxImage
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
virtual int GetDelay(int i) const; // Delay for this frame
virtual wxSize GetLogicalScreenSize() const;
virtual bool GetBackgroundColour(wxColour& col) const ;
virtual bool GetTransparentColour(wxColour& col) const ;
//// Implementation
// Play the frame
virtual bool PlayFrame(int frame, wxWindow& window, wxPoint& pos);
virtual bool PlayFrame();
virtual void DrawFrame(int frame, wxDC& dc, const wxPoint& pos);
virtual void DrawBackground(wxDC& dc, const wxPoint& pos, const wxColour& colour);
// Clear the wxImage cache
virtual void ClearCache();
// Save the pertinent area of the window so we can restore
// it if drawing transparently
void SaveBackground(const wxRect& rect);
wxBitmap& GetBackingStore() { return m_backingStore; }
//// Data members
protected:
wxAnimationBase* m_animation;
bool m_destroyAnimation; // Destroy m_animation on deletion of this object
wxList m_frames; // List of cached wxBitmap frames.
int m_currentFrame; // Current frame
wxWindow* m_window; // Window to draw into
wxPoint m_position; // Position to draw at
bool m_looped; // Looped, or not
wxAnimationTimer m_timer; // The timer
bool m_isPlaying; // Is the animation playing?
wxBitmap m_savedBackground; // Saved background of window portion
wxBitmap m_backingStore; // The player draws into this
bool m_useBackgroundColour; // Use colour or background
wxColour m_customBackgroundColour; // Override animation background
bool m_useCustomBackgroundColour;
bool m_useParentBackground; // Grab background from parent?
};
/* wxAnimationBase
* Base class for animations.
* A wxXXXAnimation only stores the animation, providing accessors to wxAnimationPlayer.
* Currently an animation is read-only, but we could extend the API for adding frames
* programmatically, and perhaps have a wxMemoryAnimation class that stores its frames
* in memory, and is able to save all files with suitable filenames. You could then use
* e.g. Ulead GIF Animator to load the image files into a GIF animation.
*/
class ANIMDLLEXPORT wxAnimationBase : public wxObject
{
DECLARE_ABSTRACT_CLASS(wxAnimationBase)
public:
wxAnimationBase() {};
~wxAnimationBase() {};
//// Accessors. Should be overridden by each derived class.
virtual int GetFrameCount() const = 0;
virtual wxImage* GetFrame(int i) const = 0; // Creates a new wxImage
virtual wxAnimationDisposal GetDisposalMethod(int i) const = 0;
virtual wxRect GetFrameRect(int i) const = 0; // Position and size of frame
virtual int GetDelay(int i) const = 0; // Delay for this frame
virtual wxSize GetLogicalScreenSize() const = 0;
virtual bool GetBackgroundColour(wxColour& col) const = 0;
virtual bool GetTransparentColour(wxColour& col) const = 0;
// Is the animation OK?
virtual bool IsValid() const = 0;
//// Operations
virtual bool LoadFile(const wxString& filename) { return FALSE; }
};
/* wxGIFAnimation
* This will be moved to a separate file in due course.
*/
class ANIMDLLEXPORT wxGIFDecoder;
class ANIMDLLEXPORT wxGIFAnimation : public wxAnimationBase
{
DECLARE_CLASS(wxGIFAnimation)
public:
wxGIFAnimation() ;
~wxGIFAnimation() ;
//// Accessors
virtual int GetFrameCount() const;
virtual wxImage* GetFrame(int i) const;
virtual wxAnimationDisposal GetDisposalMethod(int i) const;
virtual wxRect GetFrameRect(int i) const; // Position and size of frame
virtual int GetDelay(int i) const; // Delay for this frame
virtual wxSize GetLogicalScreenSize() const ;
virtual bool GetBackgroundColour(wxColour& col) const ;
virtual bool GetTransparentColour(wxColour& col) const ;
virtual bool IsValid() const;
//// Operations
virtual bool LoadFile(const wxString& filename);
protected:
wxGIFDecoder* m_decoder;
};
/*
* wxAnimationCtrlBase
* Abstract base class for format-specific animation controls.
* This class implements most of the functionality; all a derived
* class has to do is create the appropriate animation class on demand.
*/
// Resize to animation size if this is set
#define wxAN_FIT_ANIMATION 0x0010
class ANIMDLLEXPORT wxAnimationCtrlBase: public wxControl
{
public:
wxAnimationCtrlBase() { }
wxAnimationCtrlBase(wxWindow *parent, wxWindowID id,
const wxString& filename = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxAN_FIT_ANIMATION|wxNO_BORDER,
const wxString& name = wxT("animationControl"))
{
Create(parent, id, filename, pos, size, style, name);
}
~wxAnimationCtrlBase();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& filename = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxAN_FIT_ANIMATION|wxNO_BORDER,
const wxString& name = wxT("animationControl"));
//// Operations
virtual bool LoadFile(const wxString& filename = wxEmptyString);
virtual bool Play(bool looped = TRUE) ;
virtual void Stop() { m_animationPlayer.Stop(); }
virtual void FitToAnimation();
//// Accessors
virtual bool IsPlaying() const { return m_animationPlayer.IsPlaying(); }
virtual wxAnimationPlayer& GetPlayer() { return m_animationPlayer; }
virtual wxAnimationBase* GetAnimation() { return m_animation; }
const wxString& GetFilename() const { return m_filename; }
void SetFilename(const wxString& filename) { m_filename = filename; }
//// Event handlers
void OnPaint(wxPaintEvent& event);
protected:
virtual wxSize DoGetBestSize() const;
// Override this in derived classes
virtual wxAnimationBase* DoCreateAnimation(const wxString& filename) = 0;
wxAnimationPlayer m_animationPlayer;
wxAnimationBase* m_animation;
wxString m_filename;
private:
DECLARE_ABSTRACT_CLASS(wxAnimationCtrlBase)
DECLARE_EVENT_TABLE()
};
/*
* wxGIFAnimationCtrl
* Provides a GIF animation class when required.
*/
class ANIMDLLEXPORT wxGIFAnimationCtrl: public wxAnimationCtrlBase
{
public:
wxGIFAnimationCtrl() { }
wxGIFAnimationCtrl(wxWindow *parent, wxWindowID id,
const wxString& filename = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxAN_FIT_ANIMATION|wxNO_BORDER,
const wxString& name = wxT("animationControl"))
{
Create(parent, id, filename, pos, size, style, name);
}
protected:
virtual wxAnimationBase* DoCreateAnimation(const wxString& filename) ;
private:
DECLARE_DYNAMIC_CLASS(wxGIFAnimationCtrl)
};
#endif // _WX_ANIMATEH__

View File

@@ -0,0 +1,85 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the wxApplet class
*
****************************************************************************/
#ifndef __WX_APPLET_H
#define __WX_APPLET_H
#include "wx/panel.h"
#include "wx/html/htmlwin.h"
// Forward declaration
class wxHtmlAppletWindow;
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
Defines the abstract base class for wxApplet objects.
****************************************************************************/
class wxApplet : public wxPanel {
private:
DECLARE_ABSTRACT_CLASS(wxApplet);
DECLARE_EVENT_TABLE();
protected:
//wxHtmlAppletWindow *m_parent;
// Special handler for background erase messages
void OnEraseBackground(wxEraseEvent&);
public:
// Constructor (called during dynamic creation)
wxApplet() { m_parent = NULL; };
// Psuedo virtual constructor
virtual bool Create(
wxHtmlAppletWindow *parent,
const wxHtmlTag& params,
const wxSize& size,
long style = wxTAB_TRAVERSAL | wxNO_BORDER);
// Virtual destructor
virtual ~wxApplet();
// Handle HTML navigation to a new URL
virtual void OnLinkClicked(const wxHtmlLinkInfo& link) = 0;
// Handle HTML navigation forward command in applet
virtual void OnHistoryForward() = 0;
// Handle HTML navigation back command in applet
virtual void OnHistoryBack() = 0;
// Handle messages from the wxAppletManager and other applets
virtual void OnMessage(wxEvent& msg) = 0;
};
#endif // __WX_APPLET_H

View File

@@ -0,0 +1,95 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for wxEchoVariable Class, Dynamically constructed
* objects representing variables in SSI #echo directive
*
****************************************************************************/
#ifndef __WX_ECHOVAR_H
#define __WX_ECHOVAR_H
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
wxEchoVariable class Definition
****************************************************************************/
class wxEchoVariable : public wxObject {
private:
DECLARE_ABSTRACT_CLASS(wxEchoVariable);
public:
wxEchoVariable() : wxObject() {}
~wxEchoVariable() {}
/****************************************************************************
RETURNS:
The boolean value of the variable
PARAMETERS:
parms - Optional parameter string passed from parm= field in HTML
REMARKS:
To create new variables for the #echo HTML preprocessing directives
you need to derive classes from wxEchoVariable and override the
pure virtual GetValue function. However this should not be done directly
but by using the BEGIN_ECHO_VARIABLE and END_ECHO_VARIABLE macros
SEE ALSO:
wxEchoPrep, BEGIN_ECHO_VARIABLE, END_ECHO_VARIABLE
****************************************************************************/
virtual wxString GetValue(const char *parms = NULL) const = 0;
public:
// static function to retrieve any variable avaliable
static wxString FindValue(const wxString &cls, const char *parms = NULL);
};
/*--------------------------------- MACROS --------------------------------*/
#define ECHO_PARM (_BEV_parm)
#define BEGIN_ECHO_VARIABLE(name) \
class wxEchoVariable##name : public wxEchoVariable { \
private: \
DECLARE_DYNAMIC_CLASS(wxEchoVariable##name##); \
public: \
wxEchoVariable##name##() : wxEchoVariable() {} \
virtual wxString GetValue(const char *parms = NULL) const; \
}; \
IMPLEMENT_DYNAMIC_CLASS(wxEchoVariable##name##, wxEchoVariable); \
wxString wxEchoVariable##name :: GetValue(const char *parms) const { \
wxString _BEV_parm = wxString(parms);
#define END_ECHO_VARIABLE(returnval) \
return returnval; \
}
#define STRING_ECHO_VARIABLE(name, string) \
BEGIN_ECHO_VARIABLE(##name##); \
END_ECHO_VARIABLE(wxString(##string##))
#endif // __WX_ECHOVAR_H

View File

@@ -0,0 +1,94 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for wxIfElseVariable Class, Dynamically constructed
* objects representing variables in SSI #if, #else and #endif directives
*
****************************************************************************/
#ifndef __WX_IFELSEVAR_H
#define __WX_IFELSEVAR_H
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
This class is used to create variables for the HTML preprocessor #if, #else,
and #endif directives.
SEE ALSO:
wxIfElsePrep
****************************************************************************/
class wxIfElseVariable : public wxObject {
private:
DECLARE_ABSTRACT_CLASS(wxIfElseVariable);
public:
wxIfElseVariable() : wxObject() {}
~wxIfElseVariable() {}
/****************************************************************************
RETURNS:
The boolean value of the variable
REMARKS:
To create new variables for the #if, #else and #endif HTML preprocessing
blocks you need to derive classes from wxIfElseVariable and override the
pure virtual GetValue function. However this should not be done directly
but by using the BEGIN_IFELSE_VARIABLE and END_IFELSE_VARIABLE macros
SEE ALSO:
wxIfElsePrep, BEGIN_IFELSE_VARIABLE, END_IFELSE_VARIABLE
****************************************************************************/
virtual bool GetValue() const = 0;
public:
// static function to retrieve any variable avaliable
static bool FindValue(const wxString &cls);
};
/*--------------------------------- MACROS --------------------------------*/
#define BEGIN_IFELSE_VARIABLE(name) \
class wxIfElseVariable##name : public wxIfElseVariable { \
private: \
DECLARE_DYNAMIC_CLASS(wxIfElseVariable##name##); \
public: \
wxIfElseVariable##name##() : wxIfElseVariable() {} \
virtual bool GetValue() const; \
}; \
IMPLEMENT_DYNAMIC_CLASS(wxIfElseVariable##name##, wxIfElseVariable); \
bool wxIfElseVariable##name :: GetValue() const {
#define END_IFELSE_VARIABLE(returnval) \
return returnval; \
}
#define IFELSE_VARIABLE(name, state) \
BEGIN_IFELSE_VARIABLE(##name##); \
END_IFELSE_VARIABLE(bool (state))
#endif // __WX_IFELSEVAR_H

View File

@@ -0,0 +1,109 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the wxLoadPage Event class
*
****************************************************************************/
#ifndef __WX_LOAD_PAGE_H
#define __WX_LOAD_PAGE_H
#include "wx/html/htmlwin.h"
// Forward declaration
class wxHtmlAppletWindow;
// If we are compiling this code into a library that links against
// the DLL, we need to remove all the __declspec(dllimports) that
// would declare our classes below incorrectly.
#ifndef WXMAKINGDLL
#undef WXDLLEXPORT
#define WXDLLEXPORT
#endif
// Declare our local load page event type
BEGIN_DECLARE_EVENT_TYPES()
DECLARE_EVENT_TYPE(wxEVT_LOAD_PAGE, wxEVT_USER_FIRST+1)
DECLARE_EVENT_TYPE(wxEVT_PAGE_LOADED, wxEVT_USER_FIRST+2)
END_DECLARE_EVENT_TYPES()
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
Defines the class for load page events.
****************************************************************************/
class wxLoadPageEvent : public wxEvent {
DECLARE_DYNAMIC_CLASS(wxLoadPageEvent);
protected:
wxString m_hRef;
wxHtmlAppletWindow *m_htmlWindow;
public:
// Constructor
wxLoadPageEvent(const wxString &hRef = "",wxHtmlAppletWindow *htmlWindow = NULL);
// Destructor
~wxLoadPageEvent() {}
// Return the hmtl window for the load page operation
wxHtmlAppletWindow *GetHtmlWindow() { return m_htmlWindow; };
// Get the hRef string for the load page operation
const wxString & GetHRef() { return m_hRef; };
// Copy constructor for the object
void CopyObject(wxObject& obj) const;
};
// Define the macro to create our event type
typedef void (wxEvtHandler::*wxLoadPageEventFunction)(wxLoadPageEvent&);
#define EVT_LOAD_PAGE(fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_LOAD_PAGE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(wxLoadPageEventFunction) & fn, (wxObject *) NULL ),
/****************************************************************************
REMARKS:
Defines the class for pageloaded events.
****************************************************************************/
class wxPageLoadedEvent : public wxEvent {
DECLARE_DYNAMIC_CLASS(wxPageLoadedEvent);
public:
// Constructor
wxPageLoadedEvent();
// Destructor
~wxPageLoadedEvent() {}
// Copy constructor for the object
void CopyObject(wxObject& obj) const;
};
// Define the macro to create our event type
typedef void (wxEvtHandler::*wxPageLoadedEventFunction)(wxPageLoadedEvent&);
#define EVT_PAGE_LOADED(fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_PAGE_LOADED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(wxPageLoadedEventFunction) & fn, (wxObject *) NULL ),
#endif // __WX_LOAD_PAGE_H

View File

@@ -0,0 +1,57 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the wxQlet class
*
****************************************************************************/
#ifndef __WX_PLUGIN_H
#define __WX_PLUGIN_H
// Forward declaration
class wxHtmlAppletWindow;
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
Defines the abstract base class for wxQlet objects.
****************************************************************************/
class wxPlugIn : public wxObject {
private:
DECLARE_ABSTRACT_CLASS(wxPlugIn);
wxHtmlAppletWindow *m_parent;
public:
// Constructor (called during dynamic creation)
wxPlugIn() { m_parent = NULL; };
// Psuedo virtual constructor
virtual bool Create(wxHtmlAppletWindow *parent);
// Virtual destructor
virtual ~wxPlugIn();
};
#endif // __WX_PLUGIN_H

View File

@@ -0,0 +1,59 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the Preprocessor of the #echo directive
* in wxHTML.
*
****************************************************************************/
#ifndef __WX_PREPECHO_H
#define __WX_PREPECHO_H
#include "wx/html/htmlproc.h"
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
Echo Preprocessor class Definition
****************************************************************************/
class wxEchoPrep : public wxHtmlProcessor {
private:
//DECLARE_DYNAMIC_CLASS(wxEchoPrep);
public:
wxEchoPrep() : wxHtmlProcessor() {}
~wxEchoPrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
// Return priority value of this processor. The higher, the sooner
// is the processor applied to the text.
int GetPriority() const { return wxHTML_PRIORITY_SYSTEM-2; }
};
#endif // __WX_PREPECHO_H

View File

@@ -0,0 +1,59 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the Preprocessor of the #if SSI directive
* in wxHTML.
*
****************************************************************************/
#ifndef __WX_PREPIFELSE_H
#define __WX_PREPIFELSE_H
#include "wx/html/htmlproc.h"
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
If Else Preprocessor class Definition
****************************************************************************/
class wxIfElsePrep : public wxHtmlProcessor {
private:
//DECLARE_DYNAMIC_CLASS(wxIfElsePrep);
public:
wxIfElsePrep() : wxHtmlProcessor() {}
~wxIfElsePrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
// Return priority value of this processor. The higher, the sooner
// is the processor applied to the text.
int GetPriority() const { return wxHTML_PRIORITY_SYSTEM-2; }
};
#endif // __WX_PREPECHO_H

View File

@@ -0,0 +1,61 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the Preprocessor of the #include directive
* in wxHTML.
*
****************************************************************************/
#ifndef __WX_PREPINCLUDE_H
#define __WX_PREPINCLUDE_H
#include "wx/html/htmlproc.h"
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
wxIncludePrep class Definition
****************************************************************************/
class wxIncludePrep : public wxHtmlProcessor {
private:
//DECLARE_DYNAMIC_CLASS(wxIncludePrep);
wxFileSystem *m_FS;
public:
wxIncludePrep() : wxHtmlProcessor() {}
~wxIncludePrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
// Return priority value of this processor. The higher, the sooner
// is the processor applied to the text.
int GetPriority() const { return wxHTML_PRIORITY_SYSTEM; }
void ChangeDirectory(wxFileSystem *);
};
#endif // __WX_PREPINCLUDE_H

View File

@@ -0,0 +1,226 @@
/****************************************************************************
*
* wxWindows HTML Applet Package
*
* Copyright (C) 1991-2001 SciTech Software, Inc.
* All rights reserved.
*
* ========================================================================
*
* The contents of this file are subject to the wxWindows License
* Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.wxwindows.org/licence3.txt
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* ========================================================================
*
* Language: ANSI C++
* Environment: Any
*
* Description: Header file for the wxHtmlAppletWindow class
*
****************************************************************************/
#ifndef __WX_APPLET_WINDOW_H
#define __WX_APPLET_WINDOW_H
#include "wx/html/htmlwin.h"
#include "wx/process.h"
// Forward declare
class wxApplet;
class wxQlet;
class wxLoadPageEvent;
class wxPageLoadedEvent;
class wxIncludePrep;
class wxToolBarBase;
// Declare a linked list of wxApplet pointers
WX_DECLARE_LIST(wxApplet, wxAppletList);
/*--------------------------- Class Definitions ---------------------------*/
/****************************************************************************
REMARKS:
Defines the class for virtual-link data types
****************************************************************************/
class VirtualData : public wxObject {
private:
wxString m_name;
wxString m_group;
wxString m_href;
public:
// Ctors
VirtualData(
wxString& name,
wxString& group,
wxString& href );
VirtualData();
// Gets
wxString GetName(){ return m_name;};
wxString GetGroup(){ return m_group;};
wxString GetHref(){ return m_href;};
// Sets
void SetName (wxString& s){ m_name = s; };
void SetGroup(wxString& s){ m_group = s; };
void SetHref (wxString& s){ m_href = s; };
};
/****************************************************************************
REMARKS:
Defines the class for wxAppletWindow. This class is derived from the
wxHtmlWindow class and extends it with functionality to handle embedded
wxApplet's on the HTML pages.
****************************************************************************/
class wxHtmlAppletWindow : public wxHtmlWindow {
private:
DECLARE_CLASS(wxHtmlAppletWindow);
DECLARE_EVENT_TABLE();
bool m_mutexLock;
wxIncludePrep *incPreprocessor; // deleted by list it is added too in constructor
protected:
wxAppletList m_AppletList;
static wxHashTable m_Cookies;
bool m_NavBarEnabled;
wxToolBarBase *m_NavBar;
int m_NavBackId;
int m_NavForwardId;
wxPalette m_globalPalette;
// Override this so we can do proper palette management!!
virtual void OnDraw(wxDC& dc);
public:
// Constructor
wxHtmlAppletWindow(
wxWindow *parent,
wxWindowID id = -1,
wxToolBarBase *navBar = NULL,
int navBackId = -1,
int navForwardId = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxHW_SCROLLBAR_AUTO,
const wxString& name = "htmlAppletWindow",
const wxPalette& globalPalette = wxNullPalette);
// Destructor
~wxHtmlAppletWindow();
// Create an instance of an applet based on it's class name
wxApplet *CreateApplet(
const wxString& classId,
const wxString& iName,
const wxHtmlTag &params,
const wxSize& size);
// Create an instance of an Qlet based on it's class name
bool CreatePlugIn(const wxString& classId );
// Find an instance of an applet based on it's class name
wxApplet *FindApplet(const wxString& className);
// Remove an applet from the window. Called during applet destruction
bool RemoveApplet(const wxApplet *applet);
// Load a new URL page
virtual bool LoadPage(const wxString& location);
// Called when users clicked on hypertext link.
virtual void OnLinkClicked(const wxHtmlLinkInfo& link);
// Handles forward navigation within the HTML stack
bool HistoryForward();
// Handles backwards navigation within the HTML stack
bool HistoryBack();
// Disables Nav bars
void DisableNavBar();
// Enables Nav bars
void EnableNavBar();
void SetNavBar(wxToolBarBase *navBar);
// Broadcast a message to all applets on the page
void SendMessage(wxEvent& msg);
// Register a cookie of data in the applet manager
static bool RegisterCookie(const wxString& name,wxObject *cookie);
// UnRegister a cookie of data in the applet manager
static bool UnRegisterCookie(const wxString& name);
// Find a cookie of data given it's public name
static wxObject *FindCookie(const wxString& name);
// Event handlers to load a new page
void OnLoadPage(wxLoadPageEvent &event);
// Event handlers to load a new page
void OnPageLoaded(wxPageLoadedEvent &event);
// LoadPage mutex locks
void Lock(){ m_mutexLock = true;};
void UnLock(){ m_mutexLock = false;};
// Returns TRUE if the mutex is locked, FALSE otherwise.
bool IsLocked(){ return m_mutexLock;};
// Tries to lock the mutex. If it can't, returns immediately with false.
bool TryLock();
};
/****************************************************************************
REMARKS:
Defines the class for AppetProcess
***************************************************************************/
class AppletProcess : public wxProcess {
public:
AppletProcess(
wxWindow *parent)
: wxProcess(parent)
{
}
// instead of overriding this virtual function we might as well process the
// event from it in the frame class - this might be more convenient in some
// cases
virtual void OnTerminate(int pid, int status);
};
/****************************************************************************
REMARKS:
Defines the class for wxHtmlAppletCell
***************************************************************************/
class wxHtmlAppletCell : public wxHtmlCell
{
public:
wxHtmlAppletCell(wxWindow *wnd, int w = 0);
~wxHtmlAppletCell() { m_Wnd->Destroy(); }
virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2);
virtual void DrawInvisible(wxDC& dc, int x, int y);
virtual void Layout(int w);
protected:
wxWindow* m_Wnd;
// width float is used in adjustWidth (it is in percents)
};
#endif // __WX_APPLET_WINDOW_H

View File

@@ -0,0 +1,76 @@
#ifndef __WXBOUNDINGBOX_H__
#define __WXBOUNDINGBOX_H__
#ifdef __GNUG__
#pragma interface "bbox.cpp"
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/matrix.h"
#include "wx/geometry.h"
enum OVERLAP {_IN,_ON,_OUT};
//Purpose The wxBoundingBox class stores one wxBoundingBox.
//The wxBoundingBox is defined by two coordiates,
//a upperleft coordinate and a lowerright coordinate.
class wxBoundingBox
{
public:
wxBoundingBox();
wxBoundingBox(wxBoundingBox&);
wxBoundingBox(const wxPoint2DDouble&);
wxBoundingBox(double xmin, double ymin, double xmax, double ymax);
bool And(wxBoundingBox*, double Marge = 0);
void EnLarge(const double Marge);
void Shrink(const double Marge);
void Expand(const wxPoint2DDouble& , const wxPoint2DDouble&);
void Expand(const wxPoint2DDouble&);
void Expand(double x,double y);
void Expand(const wxBoundingBox& bbox);
OVERLAP Intersect( wxBoundingBox &, double Marge = 0);
bool LineIntersect(const wxPoint2DDouble& begin, const wxPoint2DDouble& end );
bool PointInBox( const wxPoint2DDouble&, double Marge = 0);
bool PointInBox( double, double, double Marge = 0);
void Reset();
void Translate( wxPoint2DDouble& );
void MapBbox( const wxTransformMatrix& matrix);
double GetWidth() {return m_maxx-m_minx;};
double GetHeight(){return m_maxy-m_miny;};
bool GetValid() const;
void SetValid(bool);
void SetBoundingBox(const wxPoint2DDouble& a_point);
void SetMin(double, double);
void SetMax(double, double);
inline wxPoint2DDouble GetMin();
inline wxPoint2DDouble GetMax();
inline double GetMinX(){return m_minx;};
inline double GetMinY(){return m_miny;};
inline double GetMaxX(){return m_maxx;};
inline double GetMaxY(){return m_maxy;};
wxBoundingBox& operator+( wxBoundingBox& );
wxBoundingBox& operator=( const wxBoundingBox& );
protected:
//bounding box in world
double m_minx;
double m_miny;
double m_maxx;
double m_maxy;
bool m_validbbox;
};
#endif

View File

@@ -0,0 +1,859 @@
/////////////////////////////////////////////////////////////////////////////
// Name: canvas.h
// Author: Robert Roebling
// Created: XX/XX/XX
// Copyright: 2000 (c) Robert Roebling
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXCANVAS_H__
#define __WXCANVAS_H__
#ifdef __GNUG__
#pragma interface "canvas.cpp"
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/image.h"
#include "wx/txtstrm.h"
#include "wx/geometry.h"
#include "wx/matrix.h"
#include "bbox.h"
//----------------------------------------------------------------------------
// decls
//----------------------------------------------------------------------------
class wxCanvas;
class wxCanvasAdmin;
//----------------------------------------------------------------------------
// wxCanvasObject
//----------------------------------------------------------------------------
enum wxDRAG_MODE
{
wxDRAG_RECTANGLE,
wxDRAG_ONTOP,
wxDRAG_REDRAW
};
//:defenition
// wxCanvasObject is the base class for Canvas Objects.
// All Objects for drawing one the canvas are derived from this class.
// It supports dragging and moving methods that can be used in derived
// classes for defining several ways of dragging.
// Also it is possible to plug in events handlers to do this for all derived classes at once.
//
// wxCanvasObjects have themselves as their event handlers by default,
// but their event handlers could be set to another object entirely. This
// separation can reduce the amount of derivation required, and allow
// alteration of a wxCanvasObject functionality
class wxCanvasObject: public wxEvtHandler
{
public:
wxCanvasObject();
//If the position (x,y) is within the object this return a pointer to the object
//Normally this function needs to be defined for each derived wxCanvasObject.
//The default is a simple bounding box test.
virtual wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
//render this object to the canvas (either on its buffer or directly on the canvas)
//this depends on the wxDC that is set for the active canvas.
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
//x position in world coordinates of the object
virtual double GetPosX()=0;
//y position in world coordinates of the object
virtual double GetPosY()=0;
//set position in world coordinates for the object
virtual void SetPosXY( double x, double y)=0;
//absolute moving the object to position x,y in world coordinates
//also does an update of the old and new area
virtual void MoveAbsolute( double x, double y );
//relative moving the object to position x,y in world coordinates
//also does an update of the old and new area
virtual void MoveRelative( double x, double y );
//relative translate the object to position x,y in world coordinates
//does NOT update the old and new area
//this function must be defined for each derived object,
//it is used internally for dragging and moving objects.
virtual void TransLate( double x, double y )=0;
//choose one of the three diffrenet drag methods |
//DRAG_RECTANGLE = as a rectangle when drag is in progress |
//DRAG_ONTOP = only redraw the object when dragging |
//DRAG_REDRAW = redraw the damaged areas when dragging
void SetDragMode(wxDRAG_MODE mode) { m_dragmode=mode; };
//return the dragmode
wxDRAG_MODE GetDragMode() { return m_dragmode; };
//called when starting a drag
virtual void DragStart();
//called when dragging is in progress
virtual void DragRelative( double x, double y);
//called when dragging is ended
virtual void DragEnd();
//return the object if it is part of the given object or
//if the given object is part of a group within this object.
//For group objects this means recursively search for it.
virtual wxCanvasObject* Contains( wxCanvasObject* obj );
//calculate the boundingbox in world coordinates
virtual void CalcBoundingBox()=0;
//write the object as SVG (scalable vector grafhics
virtual void WriteSVG( wxTextOutputStream &stream );
//get the administrator for the object,
//this will give access to the canvas's where it is displayed upon.
//It is used to render the object to the active canvas.
//Conversion from world to Device coordinates and visa versa is
//done using the Active canvas at that moment.
wxCanvasAdmin *GetAdmin() { return m_admin; }
//set the administrator
virtual void SetAdmin( wxCanvasAdmin *admin ) { m_admin = admin; }
//is this a control type of canvas object
bool IsControl() { return m_isControl; }
//is this a vector type of canvas object
bool IsVector() { return m_isVector; }
//is this an Image type of canvas object
bool IsImage() { return m_isImage; }
//get minimum X of the boundingbox in world coordinates
inline double GetXMin() { return m_bbox.GetMinX(); }
//get minimum Y of the boundingbox in world coordinates
inline double GetYMin() { return m_bbox.GetMinY(); }
//get maximum X of the boundingbox in world coordinates
inline double GetXMax() { return m_bbox.GetMaxX(); }
//get maximum Y of the boundingbox in world coordinates
inline double GetYMax() { return m_bbox.GetMaxY(); }
//get boundingbox
inline wxBoundingBox GetBbox() { return m_bbox; }
//redirect all mouse events for the canvas to this object
void CaptureMouse();
//release the mouse capture for this object
void ReleaseMouse();
//is the mouse captured for this object
bool IsCapturedMouse();
//set if this object will visible (be rendered or not)
inline void SetVisible(bool visible) { m_visible=visible; }
//get visibility
inline bool GetVisible() {return m_visible; }
//can the object be dragged
inline void SetDraggable(bool drag) { m_dragable=drag; }
//get if the object can be dragged
inline bool GetDraggable() {return m_dragable; }
//get absolute area in the device coordinates where the object
//its boundingbox in world coordinates is first translated using the matrix.
wxRect GetAbsoluteArea(const wxTransformMatrix& cworld);
//get currently used eventhandler (always the first in the list)
wxEvtHandler *GetEventHandler() const { return m_eventHandler; }
//process an event for the object, starting with the first eventhandler
// in the list.
bool ProcessCanvasObjectEvent(wxEvent& event);
// push/pop event handler: allows to chain a custom event handler to
// already existing ones
void PushEventHandler( wxEvtHandler *handler );
//remove first eventhandler in the list (one will be always stay in)
wxEvtHandler *PopEventHandler( bool deleteHandler = FALSE );
//append an eventhandler to the list, this event handler will be called
//if the other skipped the event to process.
void AppendEventHandler(wxEvtHandler *handler);
//remove last event handler in the list (one will always stay in)
wxEvtHandler *RemoveLastEventHandler(bool deleteHandler);
protected:
//administator for rendering and accessing the canvas's
wxCanvasAdmin* m_admin;
//active event handler, default the object itself
wxEvtHandler* m_eventHandler;
bool m_isControl:1;
bool m_isVector:1;
bool m_isImage:1;
bool m_visible:1;
bool m_dragable:1;
wxDRAG_MODE m_dragmode:3;
//boundingbox in world coordinates
wxBoundingBox m_bbox;
//used for dragging
wxBitmap m_atnewpos;
};
//:defenition
// wxCanvasObjectGroup is a container for wxCanvas derived Objects.
// It renders itself by calling the render methods of the wxCanvasObjects it contains.
// It can have nested groups also, in the same way as the other wxCanvasObjects it already contains.
// The group has a matrix to position/rotate/scale the group.
class wxCanvasObjectGroup: public wxCanvasObject
{
public:
wxCanvasObjectGroup(double x, double y);
virtual ~wxCanvasObjectGroup();
void SetAdmin(wxCanvasAdmin* admin);
//prepend a wxCanvasObject to this group
virtual void Prepend( wxCanvasObject* obj );
//append a wxCanvasObject to this group
virtual void Append( wxCanvasObject* obj );
//insert a wxCanvasObject to this group
virtual void Insert( size_t before, wxCanvasObject* obj );
//remove the given object from the group
virtual void Remove( wxCanvasObject* obj );
//those this group contain the given object.
//in case of nested groups also search in there to the lowwest level.
virtual wxCanvasObject* Contains( wxCanvasObject* obj );
//returns index of the given wxCanvasObject in this group
virtual int IndexOf( wxCanvasObject* obj );
double GetPosX() { return lworld.GetValue(2,0); }
double GetPosY() { return lworld.GetValue(2,1); }
void SetPosXY( double x, double y) {lworld.SetValue(2,0,x);lworld.SetValue(2,1,y);CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
//remove all wxCanvasObjects from the group (flag for deletion of the objectsalso)
void DeleteContents( bool );
virtual void Render(wxTransformMatrix* cworld,int x, int y, int width, int height );
virtual void WriteSVG( wxTextOutputStream &stream );
//recursive call the IsHitWorld on all contained objects, the first
//one that is hit will be returned
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
void PushEventHandler( wxEvtHandler *handler );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
wxEvtHandler *PopEventHandler( bool deleteHandler = FALSE );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
void AppendEventHandler(wxEvtHandler *handler);
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
wxEvtHandler *RemoveLastEventHandler(bool deleteHandler);
protected:
//to position the object
wxTransformMatrix lworld;
wxList m_objects;
friend class wxCanvas;
};
//:defenition
// wxCanvasObjectRef is a reference to any wxCanvasObject derived class.
// It does not duplicate the referenced object.
// It has a matrix to reposition/rotate/scale the object it references.
// The position/matrix of the referenced Object is accumulated with the one here.
class wxCanvasObjectRef: public wxCanvasObject
{
public:
wxCanvasObjectRef(double x, double y,wxCanvasObject* obj);
//set rotation for the reference
void SetRotation(double rotation);
//set scale in x and y ( > zero)
void SetScale( double scalex, double scaley );
void SetAdmin(wxCanvasAdmin* admin);
double GetPosX() { return lworld.GetValue(2,0); }
double GetPosY() { return lworld.GetValue(2,1); }
void SetPosXY( double x, double y) {lworld.SetValue(2,0,x);lworld.SetValue(2,1,y);CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld,int x, int y, int width, int height );
virtual void WriteSVG( wxTextOutputStream &stream );
//return this object if one of the objects it references is hit
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
virtual wxCanvasObject* Contains( wxCanvasObject* obj );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
void PushEventHandler( wxEvtHandler *handler );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
wxEvtHandler *PopEventHandler( bool deleteHandler = FALSE );
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
void AppendEventHandler(wxEvtHandler *handler);
//recursive calls for contained objects to set eventhandlers,
//and also sets its own eventhandler
wxEvtHandler *RemoveLastEventHandler(bool deleteHandler);
protected:
//to position the object
wxTransformMatrix lworld;
//reference to another wxCanvasObject
wxCanvasObject* m_obj;
};
//:defenition
// wxCanvasRect
class wxCanvasRect: public wxCanvasObject
{
public:
wxCanvasRect( double x, double y, double w, double h , double radius=0 );
void SetBrush( const wxBrush& brush) { m_brush = brush; };
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); };
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y) {m_x=x; m_y=y; CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
private:
wxPen m_pen;
wxBrush m_brush;
double m_x;
double m_y;
double m_width;
double m_height;
double m_radius;
};
//----------------------------------------------------------------------------
// wxCanvasCircle
//----------------------------------------------------------------------------
class wxCanvasCircle: public wxCanvasObject
{
public:
wxCanvasCircle( double x, double y, double radius );
void SetBrush( const wxBrush& brush) { m_brush = brush; };
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); };
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y) {m_x=x; m_y=y;CalcBoundingBox(); };
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
private:
wxPen m_pen;
wxBrush m_brush;
double m_x;
double m_y;
double m_radius;
};
//:defenition
// wxCanvasEllipse
class wxCanvasEllipse: public wxCanvasObject
{
public:
wxCanvasEllipse( double x, double y, double width, double height );
void SetBrush( const wxBrush& brush) { m_brush = brush; };
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); };
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y) {m_x=x; m_y=y; CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
private:
wxPen m_pen;
wxBrush m_brush;
double m_x;
double m_y;
double m_width;
double m_height;
};
//:defenition
// wxCanvasEllipticArc
class wxCanvasEllipticArc: public wxCanvasObject
{
public:
wxCanvasEllipticArc( double x, double y, double width, double height, double start, double end );
void SetBrush( const wxBrush& brush) { m_brush = brush; };
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); };
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y) {m_x=x; m_y=y; CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
private:
wxPen m_pen;
wxBrush m_brush;
double m_x;
double m_y;
double m_width;
double m_height;
double m_start;
double m_end;
};
//:defenition
// wxCanvasLine
class wxCanvasLine: public wxCanvasObject
{
public:
wxCanvasLine( double x1, double y1, double x2, double y2 );
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); };
double GetPosX() { return m_x1; }
double GetPosY() { return m_y1; }
void SetPosXY( double x, double y) {m_x1=x; m_y1=y; CalcBoundingBox();};
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
private:
wxPen m_pen;
double m_x1;
double m_y1;
double m_x2;
double m_y2;
};
//:defenition
// wxCanvasImage
class wxCanvasImage: public wxCanvasObject
{
public:
wxCanvasImage( const wxImage &image, double x, double y, double w, double h );
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
private:
double m_x;
double m_y;
double m_width;
double m_height;
wxImage m_image;
int m_orgw,m_orgh;
// cache
wxBitmap m_cBitmap;
wxImage m_cImage;
int m_cW;
int m_cH;
double m_cR;
};
//----------------------------------------------------------------------------
// wxCanvasControl
//----------------------------------------------------------------------------
class wxCanvasControl: public wxCanvasObject
{
public:
wxCanvasControl( wxWindow *control );
~wxCanvasControl();
double GetPosX();
double GetPosY();
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void MoveRelative( double x, double y );
void CalcBoundingBox();
private:
wxWindow *m_control;
};
//:defenition
// wxCanvasText
class wxCanvasText: public wxCanvasObject
{
public:
wxCanvasText( const wxString &text, double x, double y, const wxString &foneFile, int size );
~wxCanvasText();
double GetPosX() { return m_x; }
double GetPosY() { return m_y; }
void SetPosXY( double x, double y) {m_x=x; m_y=y;CalcBoundingBox(); };
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
void SetRGB( unsigned char red, unsigned char green, unsigned char blue );
void SetFlag( int flag );
int GetFlag() { return m_flag; }
private:
wxString m_text;
double m_x;
double m_y;
unsigned char *m_alpha;
void *m_faceData;
int m_flag;
int m_red;
int m_green;
int m_blue;
wxString m_fontFileName;
int m_size;
};
//:defenition
// wxCanvas is used to display a wxCanvasGroupObject, which contains wxCanvasObject derived
// drawable objects. The group to draw is called the root.
// All objects are defined in world coordinates, relative to its parent (e.g. nested groups)
// There are methods to convert from world to device coordinates and visa versa.
// Rendering a draw is normally started on the root, it to a buffer, afterwords
// an update of the damaged parts will blitted from the buffer to the screen.
// This is done in Idle time, but can also be forced.
// World coordinates can be with the Y axis going up are down.
// The area of the drawing in world coordinates that is visible on the canvas
// can be set. Parts of this area can be zoomed into resulting in scroll bars
// to be displayed.
class wxCanvas: public wxScrolledWindow
{
public:
// constructors and destructors
wxCanvas( wxCanvasAdmin* admin ,wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle );
virtual ~wxCanvas();
//background colour for the canvas
virtual void SetColour( const wxColour& background );
//update the area given in device coordinates
virtual void Update( int x, int y, int width, int height, bool blit = TRUE );
//blit all updated areas now to the screen, else it will happen in idle time.
//Use this to support dragging for instance, becuase in such cases idle time
//will take to long.
virtual void UpdateNow();
//prevent canvas activety
virtual void Freeze();
//allow canvas activety
virtual void Thaw();
//get the buffer that is used for rendering in general
inline wxBitmap *GetBuffer() { return &m_buffer; }
//get the DC that is used for rendering
inline wxDC *GetDC() { return m_renderDC; }
//set the DC that is used for rendering
inline void SetDC(wxDC* dc) { m_renderDC=dc; }
inline int GetBufferWidth() { return m_buffer.GetWidth(); }
inline int GetBufferHeight() { return m_buffer.GetHeight(); }
//updating is needed for the canvas if the buffer did change
bool NeedUpdate() { return m_needUpdate; }
bool IsFrozen() { return m_frozen; }
//blit damaged areas in the buffer to the screen
void BlitBuffer( wxDC &dc );
//redirect events to this canvas object
void SetCaptureMouse( wxCanvasObject *obj );
//are events redirected, if so return the object else NULL
inline wxCanvasObject* GetCaptured() { return m_captureMouse;}
//set the root group where the objects for this canvas are stored
void SetRoot(wxCanvasObjectGroup* aroot){m_root=aroot;}
//get root group that is displayed on the canvas
wxCanvasObjectGroup* GetRoot(){return m_root;}
//scroll the window in device coordinates
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
//get y axis orientation
virtual bool GetYaxis() { return FALSE; }
//get the visible part in world coordinates
virtual double GetMinX() const;
virtual double GetMinY() const;
virtual double GetMaxX() const;
virtual double GetMaxY() const;
//convert from window to virtual coordinates
virtual double DeviceToLogicalX(int x) const;
virtual double DeviceToLogicalY(int y) const;
virtual double DeviceToLogicalXRel(int x) const;
virtual double DeviceToLogicalYRel(int y) const;
virtual int LogicalToDeviceX(double x) const;
virtual int LogicalToDeviceY(double y) const;
virtual int LogicalToDeviceXRel(double x) const;
virtual int LogicalToDeviceYRel(double y) const;
protected:
wxBitmap m_buffer;
//always available and m_buffer selected
wxDC* m_renderDC;
bool m_needUpdate;
wxList m_updateRects;
wxCanvasObjectGroup* m_root;
wxColour m_background;
bool m_frozen;
wxCanvasObject *m_lastMouse;
wxCanvasObject *m_captureMouse;
int m_oldDeviceX,m_oldDeviceY;
wxCanvasAdmin* m_admin;
private:
int m_bufferX,m_bufferY;
protected:
void OnMouse( wxMouseEvent &event );
void OnPaint( wxPaintEvent &event );
void OnSize( wxSizeEvent &event );
void OnIdle( wxIdleEvent &event );
void OnSetFocus( wxFocusEvent &event );
void OnKillFocus( wxFocusEvent &event );
void OnEraseBackground( wxEraseEvent &event );
private:
DECLARE_CLASS(wxCanvas)
DECLARE_EVENT_TABLE()
};
class wxVectorCanvas: public wxCanvas
{
public:
// constructors and destructors
wxVectorCanvas( wxCanvasAdmin* admin ,wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle );
//scroll the window in device coordinates
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
//set if the Yaxis goes up or down
void SetYaxis(bool up) { m_yaxis=up; }
//get currently used Yaxis setting
virtual bool GetYaxis() { return m_yaxis; }
//to set the total area in world coordinates that can be scrolled.
// when totaly zoomed out (SetMappingScroll same size as given here),
// this will be the area displayed.
// To display all of a drawing, set this here to the boundingbox of the root group
// of the canvas.
void SetScroll(double vx1,double vy1,double vx2,double vy2);
//given the virtual size to be displayed, the mappingmatrix will be calculated
//in such a manner that it fits (same ratio in width and height) to the window size.
//The window size is used to intitialize the mapping.
//The virtual size is just an indication, it will be ajusted to fit in the client window ratio.
//When border is set an extra margin is added so that the drawing will fit nicely.
// To display all of a drawing, set this here to the boundingbox of the root group
// of the canvas.
void SetMappingScroll(double vx1,double vy1,double vx2,double vy2,bool border);
//matrix for calculating the virtual coordinate given a screen coordinate
wxTransformMatrix GetInverseMappingMatrix();
//matrix for calculating the screen coordinate given a virtual coordinate
wxTransformMatrix GetMappingMatrix();
//get minimum X of the visible part in world coordinates
virtual double GetMinX() const;
virtual double GetMinY() const;
virtual double GetMaxX() const;
virtual double GetMaxY() const;
//convert from window to virtual coordinates and back
virtual double DeviceToLogicalX(int x) const;
virtual double DeviceToLogicalY(int y) const;
virtual double DeviceToLogicalXRel(int x) const;
virtual double DeviceToLogicalYRel(int y) const;
virtual int LogicalToDeviceX(double x) const;
virtual int LogicalToDeviceY(double y) const;
virtual int LogicalToDeviceXRel(double x) const;
virtual int LogicalToDeviceYRel(double y) const;
protected:
// up or down
bool m_yaxis;
// holds the matrix for mapping from virtual to screen coordinates
wxTransformMatrix m_mapping_matrix;
// holds the inverse of the mapping matrix
wxTransformMatrix m_inverse_mapping;
//virtual coordinates of total drawing
double m_virtm_minX, m_virtm_minY, m_virtm_maxX, m_virtm_maxY;
// virtual coordinates box
double m_virt_minX, m_virt_minY, m_virt_maxX, m_virt_maxY;
// bounding box
double m_minX, m_minY, m_maxX, m_maxY;
//are scroll bars active?
bool m_scrolled;
private:
void OnScroll(wxScrollWinEvent& event);
void OnChar( wxKeyEvent &event );
void OnSize( wxSizeEvent &event );
private:
DECLARE_CLASS(wxVectorCanvas)
DECLARE_EVENT_TABLE()
};
//:defenition
//Contains a list of wxCanvas Objects that will be maintained through this class.
//Each wxCanvasObject can be displayed on several wxCanvas Objects at the same time.
//The active wxCanvas is used to render and convert coordinates from world to device.
//So it is important to set the active wxCanvas based on the wxCanvas that has the focus
//or is scrolled etc. This is normally done within wxCanvas when appropriate.
class wxCanvasAdmin
{
public:
// constructors and destructors
wxCanvasAdmin();
virtual ~wxCanvasAdmin();
//convert from window to virtual coordinates
double DeviceToLogicalX(int x) const;
//convert from window to virtual coordinates
double DeviceToLogicalY(int y) const;
//convert from window to virtual coordinates relatif
double DeviceToLogicalXRel(int x) const;
//convert from window to virtual coordinates relatif
double DeviceToLogicalYRel(int y) const;
//convert from virtual to window coordinates
int LogicalToDeviceX(double x) const;
//convert from virtual to window coordinates
int LogicalToDeviceY(double y) const;
//convert from virtual to window coordinates relatif
int LogicalToDeviceXRel(double x) const;
//convert from virtual to window coordinates relatif
int LogicalToDeviceYRel(double y) const;
//update in the buffer off all canvases, the area given in world coordinates
virtual void Update(wxCanvasObject* obj, double x, double y, double width, double height);
//blit all updated areas now to the screen, else it will happen in idle time.
//Use this to support dragging for instance, becuase in such cases idle time
//will take to long.
virtual void UpdateNow();
//append another canvas
virtual void Append( wxCanvas* canvas );
//remove a canvas
virtual void Remove( wxCanvas* canvas );
//set the given canvas as active (for rendering, coordinate conversion etc.)
void SetActive(wxCanvas* activate);
//get active canvas
inline wxCanvas* GetActive() {return m_active;};
private:
wxList m_canvaslist;
wxCanvas* m_active;
};
#endif
// WXCANVAS

View File

@@ -0,0 +1,58 @@
/////////////////////////////////////////////////////////////////////////////
// Name: liner.h
// Author: Klaas Holwerda
// Created: 1/10/2000
// Copyright: 2000 (c) Klaas Holwerda
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXLINER_H
#define __WXLINER_H
#ifdef __GNUG__
#pragma interface "liner.cpp"
#endif
#include "wx/geometry.h"
enum OUTPRODUCT {R_IS_LEFT,R_IS_ON,R_IS_RIGHT};
// Status of a point to a wxLine
enum R_PointStatus {R_LEFT_SIDE, R_RIGHT_SIDE, R_ON_AREA, R_IN_AREA};
class wxLine
{
public:
// constructors and destructor
wxLine( double x1, double y1, double x2, double y2 );
wxLine( const wxPoint2DDouble& a, const wxPoint2DDouble& b);
~wxLine();
wxPoint2DDouble GetBeginPoint(); // Get the beginpoint from a wxLine
wxPoint2DDouble GetEndPoint(); // Get the endpoint from a wxLine
bool CheckIntersect( wxLine&, double Marge); // Check if two wxLines intersects
int Intersect( wxLine&, wxPoint2DDouble& bp ,wxPoint2DDouble& ep ,double Marge) ; // Intersects two wxLines
bool Intersect( wxLine& lijn, wxPoint2DDouble& crossing); //intersect two (infinit) lines
R_PointStatus PointOnLine( const wxPoint2DDouble& a_Point, double& Distance, double Marge ); //For an infinite wxLine
R_PointStatus PointInLine( const wxPoint2DDouble& a_Point, double& Distance, double Marge ); //For a non-infinite wxLine
OUTPRODUCT OutProduct( const wxLine& two, double accur); // outproduct of two wxLines
double Calculate_Y( double X); // Caclulate Y if X is known
void Virtual_Point( wxPoint2DDouble& a_point, double distance) const;
wxLine& operator=( const wxLine&); // assignment operator
void CalculateLineParameters(); // Calculate the parameters if nessecary
void OffsetContour( const wxLine& nextline, double factor,wxPoint2DDouble& offsetpoint) const;
private:
int ActionOnTable1(R_PointStatus,R_PointStatus); // Function needed for Intersect
int ActionOnTable2(R_PointStatus,R_PointStatus); // Function needed for Intersect
double m_AA;
double m_BB;
double m_CC;
wxPoint2DDouble m_a;
wxPoint2DDouble m_b;
bool m_valid_parameters;
};
#endif

View File

@@ -0,0 +1,220 @@
/////////////////////////////////////////////////////////////////////////////
// Name: polygon.h
// Author: Klaas Holwerda
// Created: XX/XX/XX
// Copyright: 2000 (c) Klaas Holwerda
// Licence: wxWindows Licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXPOLYGON_H__
#define __WXPOLYGON_H__
#ifdef __GNUG__
#pragma interface "polygon.cpp"
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/matrix.h"
#include "wx/geometry.h"
#include "bbox.h"
#include "canvas.h"
enum INOUTPOLY {OUTSIDE_POLY,INSIDE_POLY,ON_POLY};
//----------------------------------------------------------------------------
// wxCanvasPolygon
//----------------------------------------------------------------------------
class wxCanvasPolygon: public wxCanvasObject
{
public:
wxCanvasPolygon( int n, wxPoint2DDouble points[], bool spline = FALSE );
~wxCanvasPolygon();
void SetBrush( const wxBrush& brush) { m_brush = brush; }
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); }
//set colour 1
//being the background color if filling with a monochrome bitmap
//or in case of gradient filling the starting colour for the fill
void SetColour1( const wxColour& fg) { m_textfg=fg;}
//set colour 1
//being the foreground color if filling with a monochrome bitmap
//or in case of gradient filling the ending colour for the fill
void SetColour2( const wxColour& bg) { m_textbg=bg;}
//transparent filling when bitmapbrush is monochrome
void SetTransParent(bool transp) { m_transp=transp;}
//gradient filling using lines chnging in colour from colour1 to colour2
void SetGradient(bool gradient, const wxPen& gpen, double distance)
{ m_gradient=gradient;
m_gpen=gpen;
m_gdistance=distance;
}
double GetPosX() { return m_points[0].m_x; }
double GetPosY() { return m_points[0].m_y; }
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
INOUTPOLY PointInPolygon(const wxPoint2DDouble& P, double marge);
private:
bool MoveUp(double horline, int& index, int direction);
void DetectCriticalPoints();
void FillPolygon(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
wxList m_CRlist;
wxList m_AETlist;
wxBrush m_brush;
wxPen m_pen;
wxColour m_textbg;
wxColour m_textfg;
//if brush is of type bitmap with a mask fill with mask transparent
bool m_transp;
bool m_gradient;
wxPen m_gpen;
double m_gdistance;
bool m_spline;
int m_n;
wxPoint2DDouble* m_points;
};
//----------------------------------------------------------------------------
// wxCanvasPolyline
//----------------------------------------------------------------------------
class wxCanvasPolyline: public wxCanvasObject
{
public:
wxCanvasPolyline(int n, wxPoint2DDouble points[]);
~wxCanvasPolyline();
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); }
double GetPosX() { return m_points[0].m_x; }
double GetPosY() { return m_points[0].m_y; }
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
bool PointOnPolyline(const wxPoint2DDouble& P, double marge);
private:
wxPen m_pen;
int m_n;
wxPoint2DDouble* m_points;
};
//----------------------------------------------------------------------------
// wxCanvasPolygon
//----------------------------------------------------------------------------
class wxCanvasPolygonL: public wxCanvasObject
{
public:
wxCanvasPolygonL(wxList* points, bool spline = FALSE);
~wxCanvasPolygonL();
void SetBrush( const wxBrush& brush) { m_brush = brush; }
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); }
void SetColour1( const wxColour& fg) { m_textfg=fg;}
void SetColour2( const wxColour& bg) { m_textbg=bg;}
void SetTransParent(bool transp) { m_transp=transp;}
double GetPosX();
double GetPosY();
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
INOUTPOLY PointInPolygon(const wxPoint2DDouble& P, double marge);
private:
wxBrush m_brush;
wxPen m_pen;
bool m_spline;
wxColour m_textbg;
wxColour m_textfg;
//if brush is of type bitmap with a mask fill with mask transparent
bool m_transp;
wxList* m_lpoints;
};
//----------------------------------------------------------------------------
// wxCanvasPolyline
//----------------------------------------------------------------------------
class wxCanvasPolylineL: public wxCanvasObject
{
public:
wxCanvasPolylineL(wxList* points, bool spline );
~wxCanvasPolylineL();
void SetPen( const wxPen& pen) { m_pen = pen; CalcBoundingBox(); }
double GetPosX();
double GetPosY();
void SetPosXY( double x, double y);
void TransLate( double x, double y );
void CalcBoundingBox();
virtual void Render(wxTransformMatrix* cworld, int clip_x, int clip_y, int clip_width, int clip_height );
virtual void WriteSVG( wxTextOutputStream &stream );
wxCanvasObject* IsHitWorld( double x, double y, double margin = 0 );
bool PointOnPolyline(const wxPoint2DDouble& P, double marge);
private:
wxPen m_pen;
bool m_spline;
wxList* m_lpoints;
};
//active edge table
class wxAET
{
public:
inline void CalculateLineParameters( const wxPoint2DDouble& p1 , const wxPoint2DDouble& p2 );
inline void CalculateXs( double y );
//line paramters
bool m_horizontal;
double m_BdivA;
double m_CdivA;
int m_index;
int m_direction;
//intersection point with scanline;
double m_xs;
};
#endif

View File

@@ -0,0 +1,64 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas (@Lithuania)
// Modified by:
// Created: 23/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __ANTIFLICKPL_G__
#define __ANTIFLICKPL_G__
#ifdef __GNUG__
#pragma interface "antiflickpl.h"
#endif
#include "wx/fl/controlbar.h"
class cbAntiflickerPlugin : public cbPluginBase
{
DECLARE_DYNAMIC_CLASS( cbAntiflickerPlugin )
protected:
// double-buffers are shared "resource" among all instances of
// antiflicker plugin within the application
//
// TODO:: locking should be implemented, for multithreaded GUIs
static wxBitmap* mpVertBuf;
static wxBitmap* mpHorizBuf;
static wxMemoryDC* mpVertBufDc;
static wxMemoryDC* mpHorizBufDc;
static int mRefCount;
wxDC* mpLRUBufDc; // last-reacently-used buffer
wxRect mLRUArea; // last-reacently-used area
protected:
// returns NULL, if sutable buffer is not present
wxDC* FindSuitableBuffer( const wxRect& forArea );
wxDC* AllocNewBuffer( const wxRect& forArea );
wxDC& GetWindowDC();
wxDC& GetClientDC();
public:
cbAntiflickerPlugin(void);
cbAntiflickerPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
virtual ~cbAntiflickerPlugin();
// handlers for plugin events
void OnStartDrawInArea ( cbStartDrawInAreaEvent& event );
void OnFinishDrawInArea( cbFinishDrawInAreaEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __ANTIFLICKPL_G__ */

View File

@@ -0,0 +1,122 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 23/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __BARDRAGPL_G__
#define __BARDRAGPL_G__
#ifdef __GNUG__
#pragma interface "bardragpl.h"
#endif
#include "wx/fl/controlbar.h"
#include "wx/fl/toolwnd.h"
class cbBarDragPlugin : public cbPluginBase
{
DECLARE_DYNAMIC_CLASS( cbBarDragPlugin )
protected:
// plugin is active only in bar-dragging state
bool mBarDragStarted;
bool mCanStick; // flag used to prevent "bouncing" of hint-rectangle
wxScreenDC* mpScrDc; // created while tracking hint-rect
wxCursor* mpCurCursor;
// rectnagle shows the position/dimensions of the bar,
// if it would be docked now
wxRect mPrevHintRect;
wxRect mHintRect;
int mMouseInRectX;
int mMouseInRectY;
cbDockPane* mpSrcPane; // pane, from which the bar was originally taken
int mBarWidthInSrcPane;
cbDockPane* mpCurPane;
cbBarInfo* mpDraggedBar; // bar, which is being dragged
bool mBarWasFloating;
wxRect mFloatedBarBounds;
public: /*** public properties ***/
int mInClientHintBorder; // when hint-rect moves within client window area,
// the thicker rectangle is drawn using hatched brush,
// the default border width for this rectangle is 8 pix.
protected:
void AdjustHintRect( wxPoint& mousePos );
void ClipRectInFrame( wxRect& rect );
void ClipPosInFrame( wxPoint& pos );
cbDockPane* HitTestPanes( wxRect& rect );
cbDockPane* HitTestPanes( wxPoint& pos );
bool HitsPane( cbDockPane* pPane, wxRect& rect );
void CalcOnScreenDims( wxRect& rect );
int GetDistanceToPane( cbDockPane* pPane, wxPoint& mousePos );
bool IsInOtherPane ( wxPoint& mousePos );
bool IsInClientArea( wxPoint& mousePos );
bool IsInClientArea( wxRect& rect );
void StickToPane( cbDockPane* pPane, wxPoint& mousePos );
void UnstickFromPane( cbDockPane* pPane, wxPoint& mousePos );
int GetBarWidthInPane( cbDockPane* pPane );
int GetBarHeightInPane( cbDockPane* pPane );
// on-screen hint-tracking related methods
void StartTracking();
void DrawHintRect ( wxRect& rect, bool isInClientRect);
void EraseHintRect( wxRect& rect, bool isInClientRect);
void FinishTracking();
void DoDrawHintRect( wxRect& rect, bool isInClientRect);
void RectToScr( wxRect& frameRect, wxRect& scrRect );
void ShowHint( bool prevWasInClient );
public:
cbBarDragPlugin(void);
cbBarDragPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
virtual ~cbBarDragPlugin();
// handlers for plugin events
void OnMouseMove( cbMotionEvent& event );
void OnLButtonUp( cbLeftUpEvent& event );
void OnLButtonDown( cbLeftDownEvent& event );
void OnLDblClick( cbLeftDClickEvent& event );
// handles event, which oriniates from itself
void OnDrawHintRect( cbDrawHintRectEvent& event );
void OnStartBarDragging( cbStartBarDraggingEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __BARDRAGPL_G__ */

View File

@@ -0,0 +1,96 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 30/11/98 (my 22th birthday :-)
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __DRAGHINTSPL_G__
#define __DRAGHINTSPL_G__
#ifdef __GNUG__
#pragma interface "barhintspl.h"
#endif
#include "wx/fl/controlbar.h"
#include "wx/fl/toolwnd.h"
/*
* Intercepts bar-decoration and sizing events, draws 3d-hints
* around fixed and flexible bars, similar to those in Microsoft DevStudio 6.x
*/
class cbBarHintsPlugin : public cbPluginBase
{
DECLARE_DYNAMIC_CLASS( cbBarHintsPlugin )
protected:
cbDockPane* mpPane; // is set up temorarely, while handling event
cbMiniButton* mBoxes[2];
bool mBtnPressed;
bool mClosePressed;
cbBarInfo* mpClickedBar;
bool mDepressed;
protected:
// drawing helpers
void Draw3DBox ( wxDC& dc, const wxPoint& pos, bool pressed );
void DrawCloseBox ( wxDC& dc, const wxPoint& pos, bool pressed );
void DrawCollapseBox( wxDC& dc, const wxPoint& pos,
bool atLeft, bool disabled, bool pressed );
void DrawGrooves ( wxDC& dc, const wxPoint& pos, int length );
void DoDrawHint( wxDC& dc, wxRect& rect, int pos, int boxOfs, int grooveOfs, bool isFixed );
void GetHintsLayout( wxRect& rect, cbBarInfo& info,
int& boxOfs, int& grooveOfs, int& pos );
int HitTestHints( cbBarInfo& info, const wxPoint& pos );
void ExcludeHints( wxRect& rect, cbBarInfo& info );
void CreateBoxes();
public:
/* public properties */
bool mCloseBoxOn; // default: ON
bool mCollapseBoxOn; // default: ON
int mGrooveCount; // default: 2 (two shaded bars)
int mHintGap; // default: 5 (pixels from above, below, right and left)
int mXWeight; // default: 2 (width in pixels of lines which used for drawing cross)
public:
cbBarHintsPlugin(void);
cbBarHintsPlugin( wxFrameLayout* pLayout, int paneMask = wxALL_PANES );
~cbBarHintsPlugin();
void SetGrooveCount( int nGrooves );
void OnInitPlugin();
// handlers of plugin-events
void OnSizeBarWindow( cbSizeBarWndEvent& event );
void OnDrawBarDecorations( cbDrawBarDecorEvent& event );
void OnLeftDown( cbLeftDownEvent& event );
void OnLeftUp ( cbLeftUpEvent& event );
void OnMotion ( cbMotionEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __DRAGHINTSPL_G__ */

View File

@@ -0,0 +1,47 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 28/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __CBCUSTOM_G__
#define __CBCUSTOM_G__
#ifdef __GNUG__
#pragma interface "cbcustom.h"
#endif
#include "wx/fl/controlbar.h"
class cbSimpleCustomizationPlugin : public cbPluginBase
{
public:
DECLARE_DYNAMIC_CLASS( cbSimpleCustomizationPlugin )
int mCustMenuItemId;
public:
cbSimpleCustomizationPlugin(void);
cbSimpleCustomizationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
// plugin-event handlers
void OnCustomizeBar( cbCustomizeBarEvent& event );
void OnCustomizeLayout( cbCustomizeLayoutEvent& event );
// menu-event handler
void OnMenuItemSelected( wxCommandEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __CBCUSTOM_G__ */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 23/01/99
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __DYNBARHND_G__
#define __DYNBARHND_G__
#ifdef __GNUG__
#pragma interface "dynbarhnd.h"
#endif
#include "wx/fl/controlbar.h"
#endif /* __DYNBARHND_G__ */

View File

@@ -0,0 +1,204 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: ??/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __DYNTBAR_G__
#define __DYNTBAR_G__
#ifdef __GNUG__
#pragma interface "dyntbar.h"
#endif
#include "wx/tbarbase.h"
#include "wx/dynarray.h"
// layout item
class wxToolLayoutItem : public wxObject
{
public:
wxRect mRect;
bool mIsSeparator;
};
class wxDynToolInfo;
typedef wxToolLayoutItem* wxToolLayoutItemPtrT;
typedef wxDynToolInfo* wxDynToolInfoPtrT;
WX_DEFINE_ARRAY( wxToolLayoutItemPtrT, wxLayoutItemArrayT );
WX_DEFINE_ARRAY( wxDynToolInfoPtrT, wxDynToolInfoArrayT );
// base class for layouting algorithm implementations
class LayoutManagerBase
{
public:
virtual void Layout( const wxSize& parentDim,
wxSize& resultingDim,
wxLayoutItemArrayT& items,
int horizGap,
int vertGap ) = 0;
virtual ~LayoutManagerBase() {}
};
// layouts items in left-to-right order from
// top towards bottom
class BagLayout : public LayoutManagerBase
{
public:
virtual void Layout( const wxSize& parentDim,
wxSize& resultingDim,
wxLayoutItemArrayT& items,
int horizGap,
int vertGap );
};
class wxDynToolInfo : public wxToolLayoutItem
{
DECLARE_DYNAMIC_CLASS(wxDynToolInfo)
public:
wxWindow* mpToolWnd;
int mIndex;
wxSize mRealSize;
};
// layouting orientations for tools
#define LO_HORIZONTAL 0
#define LO_VERTICAL 1
#define LO_FIT_TO_WINDOW 2
// class manages containment and layouting of tool-windows
class wxDynamicToolBar : public wxToolBarBase
{
DECLARE_DYNAMIC_CLASS(wxDynamicToolBar)
protected:
friend class wxDynamicToolBarSerializer;
wxDynToolInfoArrayT mTools;
LayoutManagerBase* mpLayoutMan;
protected:
virtual void SizeToolWindows();
public: /* public properties */
int mSepartorSize; // default: 8
int mVertGap; // default: 0
int mHorizGap; // default: 0
public:
wxDynamicToolBar();
wxDynamicToolBar(wxWindow *parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
const long style = wxNO_BORDER, const int orientation = wxVERTICAL,
const int RowsOrColumns = 1, const wxString& name = wxToolBarNameStr);
~wxDynamicToolBar(void);
bool Create(wxWindow *parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
const long style = wxNO_BORDER, const int orientation = wxVERTICAL, const int RowsOrColumns = 1, const wxString& name = wxToolBarNameStr);
// overridables
virtual void AddTool( int toolIndex,
wxWindow* pToolWindow,
const wxSize& size = wxDefaultSize );
virtual void AddTool( int toolIndex,
const wxString& imageFileName,
wxBitmapType imageFileType = wxBITMAP_TYPE_BMP,
const wxString& labelText = "", bool alignTextRight = FALSE,
bool isFlat = TRUE );
virtual void AddTool( int toolIndex, wxBitmap labelBmp,
const wxString& labelText = "", bool alignTextRight = FALSE,
bool isFlat = TRUE );
// method from wxToolBarBase (for compatibility), only
// first two arguments are valid
virtual wxToolBarToolBase *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,
const bool toggle = FALSE, const long xPos = -1, const long yPos = -1, wxObject *clientData = NULL,
const wxString& helpString1 = "", const wxString& helpString2 = "");
virtual void AddSeparator( wxWindow* pSepartorWnd = NULL );
wxDynToolInfo* GetToolInfo( int toolIndex );
void RemveTool( int toolIndex );
// the default implementation draws shaded line
virtual void DrawSeparator( wxDynToolInfo& info, wxDC& dc );
// see definitions of orientation types
virtual bool Layout();
virtual void GetPreferredDim( const wxSize& givenDim, wxSize& prefDim );
virtual LayoutManagerBase* CreateDefaulLayout() { return new BagLayout(); }
virtual void SetLayout( LayoutManagerBase* pLayout );
virtual void EnableTool(const int toolIndex, const bool enable = TRUE);
// event handlers
void OnSize( wxSizeEvent& event );
void OnPaint( wxPaintEvent& event );
void OnEraseBackground( wxEraseEvent& event );
// overriden from wxToolBarBase
virtual bool Realize(void);
// stuff from the 2.1.15
virtual wxToolBarToolBase *FindToolForPosition(wxCoord x,
wxCoord y) const;
virtual bool DoInsertTool(size_t pos, wxToolBarToolBase *tool);
// the tool is still in m_tools list when this function is called, it will
// only be deleted from it if it succeeds
virtual bool DoDeleteTool(size_t pos, wxToolBarToolBase *tool);
// called when the tools enabled flag changes
virtual void DoEnableTool(wxToolBarToolBase *tool, bool enable);
// called when the tool is toggled
virtual void DoToggleTool(wxToolBarToolBase *tool, bool toggle);
// called when the tools "can be toggled" flag changes
virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
// the functions to create toolbar tools
virtual wxToolBarToolBase *CreateTool(int id,
const wxBitmap& bitmap1,
const wxBitmap& bitmap2,
bool toggle,
wxObject *clientData,
const wxString& shortHelpString,
const wxString& longHelpString);
virtual wxToolBarToolBase *CreateTool(wxControl *control);
DECLARE_EVENT_TABLE()
};
#endif /* __DYNTBAR_G__ */

View File

@@ -0,0 +1,31 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 23/01/99
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __DYNTBARHND_G__
#define __DYNTBARHND_G__
#ifdef __GNUG__
#pragma interface "dyntbarhnd.h"
#endif
#include "wx/fl/controlbar.h"
#include "wx/fl/dyntbar.h"
class cbDynToolBarDimHandler : public cbBarDimHandlerBase
{
DECLARE_DYNAMIC_CLASS( cbDynToolBarDimHandler )
public:
void OnChangeBarState(cbBarInfo* pBar, int newState );
void OnResizeBar( cbBarInfo* pBar, const wxSize& given, wxSize& preferred );
};
#endif /* __DYNTBARHND_G__ */

View File

@@ -0,0 +1,140 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 02/01/99
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __FRMVIEW_G__
#define __FRMVIEW_G__
#ifdef __GNUG__
#pragma interface "frmview.h"
#endif
#include "wx/module.h"
#if 0
#include "wx/fl/objstore.h"
#endif
class wxObjectStorage;
#include "wx/fl/controlbar.h"
class wxFrameManager;
class wxFrameView : public wxEvtHandler
{
protected:
wxStringList mTopMenus;
wxFrameLayout* mpLayout;
wxFrameManager* mpFrameMgr;
bool mDoToolUpdates;
friend class wxFrameManager;
friend class wxFrameViewSerializer;
protected:
void OnIdle( wxIdleEvent& event);
public:
wxFrameView();
~wxFrameView();
virtual void Activate();
virtual void Deactivate();
wxFrame* GetParentFrame();
wxWindow* GetClientWindow();
wxFrameManager& GetFrameManager();
void RegisterMenu( const wxString& topMenuName );
void CreateLayout();
wxFrameLayout* GetLayout();
void SetLayout( wxFrameLayout* pLayout );
void SetToolUpdates( bool doToolUpdates = TRUE );
// hooks for specific frame-views
virtual void OnInit() {}
virtual void OnSerialize( wxObjectStorage& store ) {}
virtual void OnActiveate() {}
virtual void OnDeactivate() {}
// imp. is mandatory
virtual void OnRecreate() {}
virtual void OnInitMenus() {}
DECLARE_EVENT_TABLE()
};
class wxFrame;
class wxFrameManager : wxObject
{
protected:
wxList mViews;
wxWindow* mpFrameWnd;
int mActiveViewNo;
wxWindow* mpClientWnd;
#if 0
wxObjectStorage mStore;
#endif
wxString mSettingsFile;
protected:
void DoSerialize( wxObjectStorage& store );
void DestroyViews();
int GetViewNo( wxFrameView* pView );
void EnableMenusForView( wxFrameView* pView, bool enable );
void SyncAllMenus();
public:
wxFrameManager();
~wxFrameManager();
// if file name is empty, views are are not saved/loaded
virtual void Init( wxWindow* pMainFrame, const wxString& settingsFile = "" );
// synonyms
wxFrame* GetParentFrame();
wxWindow* GetParentWindow();
int GetActiveViewNo();
wxFrameView* GetActiveView();
wxNode* GetActiveViewNode();
wxFrameView* GetView( int viewNo );
void SetClinetWindow( wxWindow* pFrameClient );
wxWindow* GetClientWindow();
void AddView( wxFrameView* pFrmView );
void RemoveView( wxFrameView* pFrmView );
void ActivateView( int viewNo );
void ActivateView( wxFrameView* pFrmView );
void DeactivateCurrentView();
wxObjectStorage& GetObjectStore();
void SaveViewsNow();
bool ReloadViews();
bool ViewsAreLoaded();
};
#endif /* __FRMVIEW_G__ */

View File

@@ -0,0 +1,74 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas (@Lithuania)
// Modified by:
// Created: ??/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __GARBAGEC_G__
#define __GARBAGEC_G__
#ifdef __GNUG__
#pragma interface "garbagec.h"
#endif
#include "wx/list.h"
struct GCItem
{
void* mpObj;
wxList mRefs; // references to other nodes
};
inline void* gc_node_to_obj( wxNode* pGCNode )
{
return ( (GCItem*) (pGCNode->Data()) )->mpObj;
}
// class implements extremely slow, but probably one of the most simple GC algorithms
class GarbageCollector
{
protected:
wxList mAllNodes;
wxList mRegularLst;
wxList mCycledLst;
wxNode* FindItemNode( void* pForObj );
void ResolveReferences();
wxNode* FindReferenceFreeItemNode();
void RemoveReferencesToNode( wxNode* pItemNode );
void DestroyItemList( wxList& lst );
public:
GarbageCollector() {}
virtual ~GarbageCollector();
// prepare data for GC alg.
virtual void AddObject( void* pObj, int refCnt = 1 );
virtual void AddDependency( void* pObj, void* pDependsOnObj );
// executes GC alg.
virtual void ArrangeCollection();
// access results of the alg.
wxList& GetRegularObjects();
wxList& GetCycledObjects();
// removes all data from GC
void Reset();
};
#endif /* __GARBAGEC_G__ */

View File

@@ -0,0 +1,123 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 19/10/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __GCUPDATESMGR_G__
#define __GCUPDATESMGR_G__
#ifdef __GNUG__
#pragma interface "gcupdatesmgr.h"
#endif
#include "wx/fl/controlbar.h"
#include "wx/fl/updatesmgr.h"
#include "wx/fl/garbagec.h"
/*
* class implements optimized logic for refreshing
* areas of frame layout - which actually need to be updated.
* Is used as default updates-manager by wxFrameLayout.
*
* it is called "Garbage Collecting" u.mgr for it's implementation
* tries to find out dependencies between bars, and to order
* them ito "hierarchy", this hierarchical sorting resembles
* implemenation of heap-garbage collectors, which resolve
* dependencies between references.
*
* Example: there are situations where the order of moving
* the windows does matter:
*
* case 1)
* ------ ---
* | A | |B|
* ------ ---> | |
* --- --- ------
* |B| | A |
* | | ------
* ---
* (future)
* (past)
*
* past/future positions of A and B windows completely overlapp, i.e.
* depend on each other, and there is not solution for
* moving the windows witout refreshing both of them,
* -- we have cyclic dependency here. The gc. alg will
* find this cyclic dependecy and will force "refresh"
* after movement.
*
* case 2)
*
* ------
* | A |
* ------ --->
* ---
* |B| ------
* | | | A |
* --- ------
* ---
* |B|
* | |
* ---
*
* (future)
* (past)
*
* in this case past/future positions do not overlapp, thus
* it's enough only to move windows, without refreshing them.
* GC will "notice" it.
*
* there is also third case, when overlapping is partial
* in this case the refershing can be also avoided by
* moving windows in the order of "most-dependant" towards the
* "least-dependent". GC handles this automatically, by
* sorting windows by their dependency-level (or "hierarchy")
*
* See garbagec.h for more details of this method, garbagec.h/cpp
* implement sorting of generic-dependencies (does not deal
* with graphical objects directly)
*
* Summary: improves performance when complex/large windows are
* moved around, by reducing number of repaints. Also helps
* to avoid dirty non-client areas of moved windows
* in some special cases of "overlapping anomalies"
*/
class cbGCUpdatesMgr : public cbSimpleUpdatesMgr
{
DECLARE_DYNAMIC_CLASS( cbGCUpdatesMgr )
protected:
GarbageCollector mGC;
void DoRepositionItems( wxList& items );
void AddItem( wxList& itemList,
cbBarInfo* pBar,
cbDockPane* pPane,
wxRect& curBounds,
wxRect& prevBounds );
public:
cbGCUpdatesMgr(void) {}
cbGCUpdatesMgr( wxFrameLayout* pPanel );
// notificiactions received from Frame Layout :
virtual void OnStartChanges();
// refreshes parts of the frame layout, which need an update
virtual void UpdateNow();
};
#endif /* __GCUPDATESMGR_G__ */

View File

@@ -0,0 +1,120 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 9/11/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __HINTANIMPL_G__
#define __HINTANIMPL_G__
#ifdef __GNUG__
#pragma interface "hintanimpl.h"
#endif
#include "wx/fl/controlbar.h"
#include "wx/timer.h"
class cbHintAnimTimer;
class cbHintAnimationPlugin : public cbPluginBase
{
DECLARE_DYNAMIC_CLASS( cbHintAnimationPlugin )
protected:
friend class cbHintAnimTimer;
wxScreenDC* mpScrDc; // created while tracking hint-rect
cbHintAnimTimer* mpAnimTimer;
// FOR NOW:: try it without mutually exculisve locks
volatile wxRect mCurRect;
// state variables
bool mAnimStarted;
bool mStopPending;
bool mPrevInClient;
bool mCurInClient;
wxRect mPrevRect;
public:
int mMorphDelay; // delay between frames in miliseconds, default: 20
int mMaxFrames; // number of iterations for hint morphing, default: 30
// (morph duration = mMorphDelay * mMaxFrames msec)
int mInClientHintBorder; // default: 4 pixels
bool mAccelerationOn; // TRUE, if morph accelerates, otherwise morph
// speed is constant. Default: TRUE
// TBD:: get/set methods for above members
protected:
void StartTracking();
void DrawHintRect ( wxRect& rect, bool isInClientRect);
void EraseHintRect( wxRect& rect, bool isInClientRect);
void FinishTracking();
void DoDrawHintRect( wxRect& rect, bool isInClientRect);
void RectToScr( wxRect& frameRect, wxRect& scrRect );
public:
cbHintAnimationPlugin(void);
~cbHintAnimationPlugin();
cbHintAnimationPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
void OnDrawHintRect( cbDrawHintRectEvent& event );
DECLARE_EVENT_TABLE()
};
// helper classes
struct MorphInfoT
{
wxPoint mFrom;
wxPoint mTill;
};
class cbHintAnimTimer : public wxTimer
{
protected:
friend class cbHintAnimationPlugin;
wxRect mPrevMorphed;
MorphInfoT mUpperLeft;
MorphInfoT mLowerRight;
int mCurIter;
long mLock;
cbHintAnimationPlugin* mpPl;
void MorphPoint( wxPoint& origin, MorphInfoT& info, wxPoint& point );
public:
cbHintAnimTimer(void);
virtual void Notify(void);
virtual bool Init( cbHintAnimationPlugin* pAnimPl, bool reinit );
};
#endif /* __HINTANIMPL_G__ */

View File

@@ -0,0 +1,165 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: ??/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __NEWBMPBTN_G__
#define __NEWBMPBTN_G__
#ifdef __GNUG__
#pragma interface "newbmpbtn.h"
#endif
#include "wx/button.h"
#include "wx/string.h"
// button lable-text alignment types
#define NB_ALIGN_TEXT_RIGHT 0
#define NB_ALIGN_TEXT_BOTTOM 1
#define NB_NO_TEXT 2
#define NB_NO_IMAGE 3
// classes declared in this header file
class wxNewBitmapButton;
class wxBorderLessBitmapButton;
// alternative class for wxBmpButton
class wxNewBitmapButton: public wxPanel
{
DECLARE_DYNAMIC_CLASS(wxNewBitmapButton)
protected:
friend class wxNewBitmapButtonSerializer;
int mTextToLabelGap;
int mMarginX;
int mMarginY;
int mTextAlignment;
bool mIsSticky;
bool mIsFlat;
wxString mLabelText;
wxString mImageFileName;
wxBitmapType mImageFileType;
wxBitmap mDepressedBmp; // source image for rendering
// labels for particular state
wxBitmap mFocusedBmp; // may not be always present -
// only if mHasFocusedBmp is TRUE
wxBitmap* mpDepressedImg;
wxBitmap* mpPressedImg;
wxBitmap* mpDisabledImg;
wxBitmap* mpFocusedImg;
// button state variables;
bool mDragStarted;
bool mIsPressed;
bool mIsInFocus;
bool mPrevPressedState;
bool mPrevInFocusState;
bool mHasFocusedBmp;
// type of event which is fired upon depression of this button
int mFiredEventType;
// pens for drawing decorations (borders)
wxPen mBlackPen;
wxPen mDarkPen;
wxPen mGrayPen;
wxPen mLightPen;
bool mIsCreated;
int mSizeIsSet;
protected:
void DestroyLabels();
// returns the label which match the current button state
virtual wxBitmap* GetStateLabel();
virtual void DrawShade( int outerLevel,
wxDC& dc,
wxPen& upperLeftSidePen,
wxPen& lowerRightSidePen );
bool IsInWindow( int x,int y );
public:
wxNewBitmapButton( const wxBitmap& labelBitmap = wxNullBitmap,
const wxString& labelText = "",
int alignText = NB_ALIGN_TEXT_BOTTOM,
bool isFlat = TRUE,
// this is the default type of fired events
int firedEventType = wxEVT_COMMAND_MENU_SELECTED,
int marginX = 2,
int marginY = 2,
int textToLabelGap = 2,
bool isSticky = FALSE
);
// use this constructor if buttons have to be persistant
wxNewBitmapButton( const wxString& bitmapFileName,
const wxBitmapType bitmapFileType = wxBITMAP_TYPE_BMP,
const wxString& labelText = "",
int alignText = NB_ALIGN_TEXT_BOTTOM,
bool isFlat = TRUE,
// this is the default type of fired events
int firedEventType = wxEVT_COMMAND_MENU_SELECTED,
int marginX = 2,
int marginY = 2,
int textToLabelGap = 2,
bool isSticky = FALSE
);
~wxNewBitmapButton();
// should be called after Create();
virtual void Reshape();
// overridables
virtual void SetLabel(const wxBitmap& labelBitmap, const wxString& labelText = "" );
virtual void SetAlignments( int alignText = NB_ALIGN_TEXT_BOTTOM,
int marginX = 2,
int marginY = 2,
int textToLabelGap = 2);
virtual void DrawDecorations( wxDC& dc );
virtual void DrawLabel( wxDC& dc );
virtual void RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
bool isEnabled = TRUE,
bool isPressed = FALSE);
virtual void RenderLabelImages();
virtual void RenderAllLabelImages();
// event handlers
void OnLButtonDown( wxMouseEvent& event );
void OnLButtonUp( wxMouseEvent& event );
void OnMouseMove( wxMouseEvent& event );
void OnSize( wxSizeEvent& event );
void OnPaint( wxPaintEvent& event );
void OnEraseBackground( wxEraseEvent& event );
void OnKillFocus( wxFocusEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __NEWBMPBTN_G__ */

View File

@@ -0,0 +1,119 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Central header file for control-bar related classes
//
// Author: Aleksandras Gluchovas <mailto:alex@soften.ktu.lt>
// Modified by:
// Created: 06/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __PANEDRAWPL_G__
#define __PANEDRAWPL_G__
#ifdef __GNUG__
#pragma interface "panedrawpl.h"
#endif
#include "wx/fl/controlbar.h"
/*
* Simple, but all-in-one plugin implementation. Resembles look & feel of
* to MFC control-bars. Handles painting of pane and items in it.
* Fires bar/layout customization event, when user right-clicks bar/pane.
* Hooking an instance of this and row-layouting plugins per each pane,
* would be enough for the frame layout to function properly.
* (they are plugged in autimatically by wxFrameLayout class)
*/
class cbPaneDrawPlugin : public cbPluginBase
{
public:
DECLARE_DYNAMIC_CLASS( cbPaneDrawPlugin )
protected:
// resizing bars/rows state variables
bool mResizeStarted;
bool mResizeCursorOn;
wxPoint mDragOrigin;
cbBarInfo* mpDraggedBar; // also used when in bar-drag action
cbRowInfo* mpResizedRow;
bool mRowHandleHitted;
bool mIsUpperHandle;
bool mBarHandleHitted;
bool mIsLeftHandle;
bool mBarContentHitted;
// contstraints for dragging the handle
wxRect mHandleDragArea;
bool mHandleIsVertical;
int mHandleOfs;
int mDraggedDelta;
wxPoint mPrevPos;
// used for handling, start-draw-in-area events
wxClientDC* mpClntDc;
cbDockPane* mpPane; // is set up temorary short-cut, while handling event
protected:
// helpers
void DrawDraggedHandle( const wxPoint& pos, cbDockPane& pane );
virtual void DrawPaneShade( wxDC& dc, int alignment );
virtual void DrawPaneShadeForRow( cbRowInfo* pRow, wxDC& dc );
virtual void DrawUpperRowHandle( cbRowInfo* pRow, wxDC& dc );
virtual void DrawLowerRowHandle( cbRowInfo* pRow, wxDC& dc );
virtual void DrawUpperRowShades( cbRowInfo* pRow, wxDC& dc, int level );
virtual void DrawLowerRowShades( cbRowInfo* pRow, wxDC& dc, int level );
virtual void DrawBarInnerShadeRect( cbBarInfo* pBar, wxDC& dc );
virtual void DrawShade( int level, wxRect& rect, int alignment, wxDC& dc );
virtual void DrawShade1( int level, wxRect& rect, int alignment, wxDC& dc );
inline void SetLightPixel( int x, int y, wxDC& dc );
inline void SetDarkPixel ( int x, int y, wxDC& dc );
public:
cbPaneDrawPlugin(void);
cbPaneDrawPlugin( wxFrameLayout* pPanel, int paneMask = wxALL_PANES );
virtual ~cbPaneDrawPlugin();
virtual cbPluginBase* Clone() { return new cbPaneDrawPlugin(0,0); }
// handlers for plugin-events
void OnLButtonDown( cbLeftDownEvent& event );
void OnLDblClick ( cbLeftDClickEvent& event );
void OnLButtonUp ( cbLeftUpEvent& event );
void OnRButtonUp ( cbRightUpEvent& event );
void OnMouseMove ( cbMotionEvent& event );
void OnDrawPaneBackground ( cbDrawPaneBkGroundEvent& event );
void OnDrawPaneDecorations( cbDrawPaneDecorEvent& event );
void OnDrawRowDecorations ( cbDrawRowDecorEvent& event );
void OnDrawRowHandles ( cbDrawRowHandlesEvent& event );
void OnDrawRowBackground ( cbDrawRowBkGroundEvent& event );
void OnSizeBarWindow ( cbSizeBarWndEvent& event );
void OnDrawBarDecorations ( cbDrawBarDecorEvent& event );
void OnDrawBarHandles ( cbDrawBarHandlesEvent& event );
void OnStartDrawInArea ( cbStartDrawInAreaEvent& event );
void OnFinishDrawInArea ( cbFinishDrawInAreaEvent& event );
DECLARE_EVENT_TABLE()
};
#endif /* __PANEDRAWPL_G__ */

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