Compare commits

..

4129 Commits

Author SHA1 Message Date
Bryan Petty
6048f1c1cc This commit was manufactured by cvs2svn to create tag 'wxPy_2_2_0'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_2_0@7758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-18 04:50:43 +00:00
Robin Dunn
90678ba2ea minor changes to the build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-18 04:50:43 +00:00
Robin Dunn
ab5df9e686 changed version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-18 04:11:11 +00:00
Robin Dunn
5ba9fb0691 one last little tweeak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-18 04:08:09 +00:00
Vadim Zeitlin
27c89aeac2 more comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-17 22:01:41 +00:00
Robert Roebling
8b6d09851d Made checkable menu items use wxCommantEvent::Checked
Made wxComboBox case sensitive.
  Updates CHANGES.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-17 17:07:07 +00:00
Robin Dunn
028de29b9d some minor changes and distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-17 14:44:20 +00:00
Robert Roebling
f9e9953e80 Added supprot for INSERT and DELETE in wxGTK menus,
Applied Dima's correction for DrawRoundedRectangle,
  Corrected indentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-17 11:50:35 +00:00
Ron Lee
afe121c935 updated version for 2.2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 13:52:23 +00:00
Robert Roebling
949f446dfc Corrected wrong lib.so name for 2.0.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 09:20:07 +00:00
Julian Smart
f2e0f93a0f Fix to docview to find the right frame for dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 05:28:52 +00:00
Robin Dunn
29963001d3 some fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-14 05:17:27 +00:00
Robin Dunn
c18da485ed colouriser is almost working...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-14 05:16:40 +00:00
Robin Dunn
2e07b29dd9 Quick fix...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-14 04:01:48 +00:00
Robin Dunn
a75b761a1d Added PyShellWindow and a demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-14 03:43:23 +00:00
Julian Smart
f656067f27 Initialized variable in wxDocument constructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-13 17:43:52 +00:00
Robert Roebling
5016f35584 Undid the bin-incompatible change to wxSize.
Corrected the Mask() creation on 16-bit visuals.
 Applied the cool patch for gtk_pizza() to reduce
   unnecessarry paint events.
 Added bzip-dist to create better compressed archives.
 Added files.lst to source distribution.
 Bumped version to 2.2.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-13 16:27:59 +00:00
Guillermo Rodriguez Garcia
c3a6e88593 Error in reset.xpm (it read new_xpm instead of reset_xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-11 05:27:57 +00:00
Robin Dunn
e1e0d52884 small updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-11 04:49:31 +00:00
Robin Dunn
262804532c small updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-11 04:49:30 +00:00
Julian Smart
e44fed2cb2 Added missing consts to wxSize operators.
Corrected #ifdef for BC++/OLE automation class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-10 19:02:24 +00:00
Guillermo Rodriguez Garcia
8598648fd1 Changed version number to 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-10 06:08:05 +00:00
Guillermo Rodriguez Garcia
efcc189ef2 New files to add .lif pattern reading capabilities to Life
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-10 05:58:08 +00:00
Julian Smart
6b5f146a2b Resource sample reflects recent font correction; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-10 05:47:45 +00:00
Julian Smart
d19e79247c Fix for BC++/16-bit and wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-09 14:08:28 +00:00
Julian Smart
723c762269 Corrections for 16-bit compilers, doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-09 13:40:05 +00:00
Julian Smart
6bf87dad49 Fixed release number in version.h, turned off WCHAR_T for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-09 12:59:44 +00:00
Karsten Ballüder
c55f0098d5 fixed compilation - please check for correctness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-09 12:22:48 +00:00
Julian Smart
906b7d74a9 Removed 'inline' that crashed Mingw32 2.95.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-09 08:50:47 +00:00
Vadim Zeitlin
cf9c8f73a9 apply the previous bug fix only under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:52:09 +00:00
Vadim Zeitlin
fca5322810 clearing the cvs mess..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:49:58 +00:00
Bryan Petty
59acb9f291 This commit was manufactured by cvs2svn to create branch
'WX_2_2_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:49:58 +00:00
Vadim Zeitlin
d4a0c23fcd clearing the cvs mess...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:46:00 +00:00
Vadim Zeitlin
05b8c7b93c version info for DLL build (unused)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:32:11 +00:00
Vadim Zeitlin
2e5b3a4634 fixed bug with directories with trailing (back)slashes in wxPathExists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 23:18:09 +00:00
Vadim Zeitlin
a49123d60d test for wxListEvent::GetText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 19:13:17 +00:00
Vadim Zeitlin
ad17bd33cf added colour tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 19:11:51 +00:00
Julian Smart
838ab8a108 SCF_ALL defined (Watcom C++ doesn't recognise it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 17:01:14 +00:00
Julian Smart
0f82c38d0c Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 16:58:47 +00:00
Julian Smart
a3d1c18e7b Turn off wxUSE_WCHAR_T for Watcom C++.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 16:43:09 +00:00
Julian Smart
3a035fb95f Doc typos corrected, added wxDIALOG_UNIT_COMPATIBILITY test, made file open
error result in a message box (docview.cpp)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 10:29:17 +00:00
Julian Smart
92eaf25bd0 Added wxDIALOG_UNIT_COMPATIBILITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 10:27:09 +00:00
Robert Roebling
4c10583a28 Updated changes.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 10:13:00 +00:00
Julian Smart
0d3c36e208 Updated gettext link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 07:52:58 +00:00
Julian Smart
c04727830b Updated gettext documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-08 07:52:34 +00:00
Vadim Zeitlin
df5361af0f compilation fix for S_ISDIR and VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-07 19:45:13 +00:00
Vadim Zeitlin
765814e38e use (POSIX) S_ISDIR instead of (not POSIX) S_IFDIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-07 10:07:10 +00:00
Vadim Zeitlin
78067d6c40 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-07 09:58:42 +00:00
Ron Lee
678ddc9aa9 made GetSelection return insertion point if no selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 23:47:47 +00:00
Vadim Zeitlin
717562e490 set item text in LIST_ITEM_ACTIVATED events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 21:43:48 +00:00
Vadim Zeitlin
0119459c53 1. wColour now accepts both grey and gray under MSW
2. implemented setting colours for rich edit controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 21:34:07 +00:00
Robert Roebling
97b0241cf2 Fix for BadMatch problems on SGI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 13:40:49 +00:00
Vadim Zeitlin
faf08d09e2 added wxArrayString::operator==() and !=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 13:13:27 +00:00
Vadim Zeitlin
a3e99a54fb added dummy Set/GetMargin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-06 11:23:34 +00:00
Vadim Zeitlin
3450f21ccf fixed wxColourDialog crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 19:27:30 +00:00
Vadim Zeitlin
05c7d17691 controls with wxTE_PROCESS_TAB may still generate navigation events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 16:22:28 +00:00
Guillermo Rodriguez Garcia
0d14df868d #pragma message, and not #pragma warning, for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 14:08:20 +00:00
David Webster
1fc97740b8 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 12:23:44 +00:00
Guillermo Rodriguez Garcia
268934d26f New cygwins seem to have commctrl.h as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 05:45:25 +00:00
Guillermo Rodriguez Garcia
1dcb6a4e5d Replaced a complex MINGW / GCC version check with a #if wxUSE_NORLANDER_HEADERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 05:44:57 +00:00
Guillermo Rodriguez Garcia
b814f3aa5c Re-added a few warnings. Please don't just shut them off,
drop me a line instead (guille@iies.es)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 05:43:28 +00:00
Guillermo Rodriguez Garcia
b18568fe30 set WX????DLL to 1 when making a DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-05 05:42:44 +00:00
Julian Smart
29285225da Removed WXDLLEXPORT from typedef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 17:14:26 +00:00
Vadim Zeitlin
48a4aaa207 documented wxTextFile::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 12:27:10 +00:00
Václav Slavík
70e5dd6b56 oops, previous commit was incomplete, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 09:14:58 +00:00
Julian Smart
5623e844b6 brace matching removed from Tex2RTF (didn't work for \verb), doc
fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 06:54:56 +00:00
Guillermo Rodriguez Garcia
a1d19f87a3 Another patch from Christoph Schulz for the Borland
makefiles. See the comments in any of the following
files: src\makeprog.b32, src\make32.env, src\msw\makefile.b32
or distrib\msw\tmake\b32.t


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 06:07:53 +00:00
Guillermo Rodriguez Garcia
73c6e8505e Changes to the BC makefiles as proposed by Christoph Schulz.
The problem was:
=== Cut ===
Unfortunately, now you cannot build a wxWin program using both static
wxWin library and static RTL (because _RTLDLL is now always defined).
=== Cut ===

This is fixed now:
=== Cut ===
Now, if you build/use wxWin as a DLL (WXMAKINGDLL=1/WXUSINGDLL=1)
the dynamic RTL (c?mt32??.dll) is used, otherwise the static
library.
=== Cut ===


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-04 06:03:13 +00:00
Robin Dunn
a8f9e1f310 fixed bug for garbage text in NotifyParent
Added method to set modification event mask


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 21:59:29 +00:00
Václav Slavík
068407ed84 documented wxPrinter::GetLastError & changed signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:23:51 +00:00
Václav Slavík
7eec402f36 documented wxPrinter::GetLastError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:23:41 +00:00
Václav Slavík
d506e640af changed return value of some wxHtmlEasyPrinting methods from void to bool (related to wxPrinter change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:23:29 +00:00
Václav Slavík
8a7ec928f5 replaced wxMessageBox by wxLogError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:23:02 +00:00
Václav Slavík
18747d0f9d added dome of wxPrinter::GetLastError usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:22:45 +00:00
Václav Slavík
3c10c250ff added wxPrinter::GetLastError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:22:33 +00:00
Robin Dunn
62786fc3be Some missing methods and etc. added
Some minor tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 20:09:59 +00:00
Robin Dunn
e21e241714 Some missing methods and etc. added
Some minor tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 19:23:45 +00:00
Vadim Zeitlin
8dbef32aaf removed unnecessary code from wxResourceCache dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 17:02:29 +00:00
Václav Slavík
122e8c139e changed wxListMainWindow::m_lines from wxList to wxObjArray --> performance gain
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 16:16:40 +00:00
Vadim Zeitlin
a7798d1ce7 fixed facename comparison inwxFontList::FindOrCreateFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 11:03:51 +00:00
Vadim Zeitlin
71462b226d use 3 digits for milliseconds by default in Format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:56:26 +00:00
Vadim Zeitlin
1362e5d0a0 wxUSE_ZLIB_H_IN_PATH added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:29:12 +00:00
Vadim Zeitlin
3dd8eab441 some mingw32 warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 07:12:20 +00:00
Vadim Zeitlin
792a17440e fixed ToDouble/Long desc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-03 06:54:15 +00:00
Vadim Zeitlin
2e18172773 minor changes here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 22:04:57 +00:00
Vadim Zeitlin
41c3173dde tests for dclick on button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 22:00:20 +00:00
Vadim Zeitlin
0955d39bd0 ms resolution wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:57:37 +00:00
Vadim Zeitlin
06ca83c4ee some explanation text in thel ines screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:56:53 +00:00
Vadim Zeitlin
948f1f2b77 1. fixed bug with the accels in sub menus not working
2. fixed minor bugs in wxCmdLineParser, underscores and digits are now allows
   in the option names
3. made wxGetLocalTimeMillis() public, documented it and other time functions,
   added wxDateTime::UNow(), also "%l" format specificator in
   wxDateTime::Format()
4. fixed fatal bug in wxTimeSpan::Format()
5. fixed nice bug in wxDateTime::Subtract(wxDateTime) which returned the result
   with the wrong sign


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 21:48:22 +00:00
Václav Slavík
888b22c897 modified status of Czech translation to DONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-02 18:25:24 +00:00
Václav Slavík
ae519b8df7 fixed problems with translating titles for wxLogGui/wxLogDialog (no reentrancy danger)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-01 12:01:50 +00:00
Julian Smart
b024dc9b26 Oops, test for parent being NULL in DoModalShow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 15:42:15 +00:00
Vadim Zeitlin
057327a687 fix for the previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 13:42:17 +00:00
Vadim Zeitlin
0e86e26936 unset the dialog as top level window in Destroy(), not in dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 13:38:08 +00:00
Jouk Jansen
c17d222122 Committing in .
VMS/GTK update

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-30 12:40:57 +00:00
Julian Smart
741ca84241 Fixed DoShowModal again, to check that the oldFocus object isn't dead.
Added integer handling for wxTextCtrls in wxGenericValidator.
Added virtual function to wxGenericDragImage so it can do _really_ smooth
dragging under app control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-29 20:28:53 +00:00
Václav Slavík
97d80a31a7 updated Czech catalogue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:27:07 +00:00
Václav Slavík
177903e236 wxPrintPaperType::GetName now uses wxGetTranslation to obtain correct paper name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:26:54 +00:00
Václav Slavík
94aaac5f83 list of papers now uses wxTRANSLATE() instead of _()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 18:26:46 +00:00
Stefan Neis
2ebbd666d9 Fix for hiding cell edit control that actually is smaller than a cell.
Use CellToRect in to more places instead of doing the same thing by hand.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 16:47:06 +00:00
Václav Slavík
0e591a96d8 wxHtmlWindow: fixed passing flags to wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 15:56:38 +00:00
Vadim Zeitlin
e1ce4782d4 added some extra comparison operators to fix Sun CC 5.0 compilation to wxLongLongWx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 15:49:53 +00:00
Vadim Zeitlin
e554697812 added missing parameters to some GetPageXXX()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 12:19:35 +00:00
Vadim Zeitlin
2bde25b093 fixed (and documented) wxColourDialog::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 11:12:40 +00:00
Julian Smart
0c3e16933d Altered default wxTextCtrl height; removed wx_msw from cube.cpp;
widened a couple of controls in resource sample; changed a BC++ test
in longlong.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 07:37:27 +00:00
Ron Lee
09d7c0f79e fix for (re)setting a control to the system default colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-28 03:50:18 +00:00
Julian Smart
8064dd594d Fixed C++ comments, sorry about that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 19:54:58 +00:00
Ron Lee
b0f0a3bd19 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 15:53:09 +00:00
Vadim Zeitlin
b6ab93c400 fixed wxColour::operator!=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 10:27:09 +00:00
Vadim Zeitlin
a750cce7a5 1. added wxFont::GetHFONT() const (GetResourceHandle() is not const...)
2. added GetHfont[Of] convenience macros to msw/private.h
3. wxWindow::GetCharWidth/Height() now use correct font


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-27 10:22:06 +00:00
Julian Smart
9e677ba35c What I predicted has come to pass :-) wxMSW wxDialog::DoShowModal crashes
when m_oldFocus has been destroyed, so we check the HWND with ::IsWindow.
Also some setup.h, makefile and TIFF library changes for Watcom compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-26 12:02:55 +00:00
Robert Roebling
4d32dae4fe Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 14:46:14 +00:00
Robert Roebling
551490e542 Updated changes.txt,
Removed use of Build Root Dir in wxGTK.spec,
  Small correction to tiff code,
  Added more tests (for Peek()) to stream tests
    in typetest sample,
  Fixed bug in wxTextInputStream::ReadWord()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 14:25:00 +00:00
Julian Smart
7aed63fdb7 Fixed docview crash bug when On... functions return FALSE.
Fixed valgen.cpp to cope with strings in wxChoice/wxComboBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 08:05:21 +00:00
Robin Dunn
1ac341e016 Added wxLog and friends to wxPython
Various odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-24 00:28:54 +00:00
Vadim Zeitlin
46f2e76b49 corrected Baltic encoding handling (patch from Nerijus <nerijus@sat.lt>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 15:10:04 +00:00
Robert Roebling
ed55d1091b Added new TIFF code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:38:24 +00:00
Vadim Zeitlin
6b59747c47 added a note about new C++ logical operators keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:37:54 +00:00
Vadim Zeitlin
c446668e29 fixes for compilers with weird isprint()/isdigit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:10:57 +00:00
Vadim Zeitlin
9393e156ef fix for branch 'auto-collapse'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 08:04:54 +00:00
Vadim Zeitlin
00ce683fb0 Sun CC 5.0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 07:57:43 +00:00
Vadim Zeitlin
da872f02a5 undef inline before redefining it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-22 07:50:54 +00:00
Vadim Zeitlin
26eb0ba5b8 fixed "missing" initial resize of wxMDIChildFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 21:10:38 +00:00
Václav Slavík
2ed1896868 added comment about setlocale() behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 18:53:23 +00:00
Julian Smart
1008a84515 Fixed missing hotspot code; fixed misspelling in setup0.h; added missing
consts to wxPoint operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 14:09:18 +00:00
Vadim Zeitlin
d1016f9826 HP-UX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 12:12:44 +00:00
Vadim Zeitlin
7669ba3c67 1. wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
2. wxGridCellEditor::IsAcceptedKey() added and implemented
3. no changes in other files (but cvs wants to commit them)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:15:59 +00:00
Michael Bedward
3ffdc4cfeb Stupid error in my last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:13:29 +00:00
Vadim Zeitlin
0c25b1bc0a reentrancy fix (extremely ugly, will have to do better soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:12:42 +00:00
Michael Bedward
8034c36f53 TAB key press at left or right of grid now saves editor value and
hides editor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:06:27 +00:00
Vadim Zeitlin
271c9d0c5b added 'show columns info' menu command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 09:03:53 +00:00
Michael Bedward
0a856f043d If grid cursor is at the bottom of a column a return key press will
now save the editor value and hide the editor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 07:47:41 +00:00
Vadim Zeitlin
00f4f2918f add -D_REENTRANT for Alpha compilation as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 07:24:22 +00:00
Vadim Zeitlin
5d7899a2aa file I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 07:16:42 +00:00
Julian Smart
7e5510c0ad Further BC++ patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 07:07:36 +00:00
Robin Dunn
86d60447c3 Added gtk-config to build.cfg
some minor tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-21 03:48:31 +00:00
Vadim Zeitlin
ec66f52340 added a note about SetBlinkTime under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 21:09:36 +00:00
Julian Smart
3a3377d7bf Fix to wxGenericDragImage inefficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 19:35:11 +00:00
Vadim Zeitlin
f7585687b2 don't start label editing when double clicking the item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 12:45:33 +00:00
Vadim Zeitlin
43bc2aae58 oops, forgot to add
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 11:36:32 +00:00
Vadim Zeitlin
3d66a009ac 1. generic wxCaret fixes
2. wxGTK focus fix
3. wxCaret docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 11:35:39 +00:00
Robert Roebling
ddbed9f4d0 Corrected wxWindow::SetCursor().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 10:02:18 +00:00
Vadim Zeitlin
c68a7f32c4 fix for IRIX compilation with gcc (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 07:30:55 +00:00
Vadim Zeitlin
5c5978df98 documented Left[Is]Down behaviour and changed the obsolete test in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-20 07:14:39 +00:00
Václav Slavík
c10d06a2bb documented connection with wxFileSystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 21:55:24 +00:00
Julian Smart
3e47e5afcf BC++ updates, propery form fix, dialog fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 14:23:14 +00:00
Vadim Zeitlin
b4e9e877bd 1. it is now possible to say ParseFormat("%4Y%2d%2m")
2. hard-coded a rollover date into ParseFormat("%y") - bad, but can't do
   anything better right now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 11:59:53 +00:00
Vadim Zeitlin
0890fc3629 some HP-UX compiler warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 11:25:02 +00:00
Robert Roebling
8494b2036a Added empty line at the end.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 11:10:17 +00:00
Robert Roebling
f4cabb889c Added more missing "class"s to friend decl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 11:09:06 +00:00
Robert Roebling
bdbb707f0c Added missing "class" to friend decl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 11:08:29 +00:00
Vadim Zeitlin
c1e56e2c29 allow dragging the divider line outside the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 10:21:17 +00:00
Vadim Zeitlin
b09e1f2987 may be resizing finally works now (I am not even sure any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 08:52:55 +00:00
Vadim Zeitlin
e797f13aca fixed GetMonth/YearStart/End off by 1 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 08:38:43 +00:00
Vadim Zeitlin
b270f6e30e fixes to wxZipInputStream EOF (not) handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 08:10:21 +00:00
Vadim Zeitlin
4145aa5c05 forgotten fix for write_append and non existing file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 08:09:51 +00:00
Julian Smart
b7bcf0138c BC++/Mingw32 patches applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 08:00:27 +00:00
Vadim Zeitlin
3591a31424 compilation error fixed (see Sun build log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 07:50:53 +00:00
Vadim Zeitlin
8dad40e19b made GetSize() public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 07:48:55 +00:00
Vadim Zeitlin
6ceff2c99a fixed problem with PushEventHandler() and OnIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-19 07:44:35 +00:00
Vadim Zeitlin
f35ae7efb5 1. fixed wxDC::DrawArc() problem with full circles
2. replaced about a dozen occurences of some wxSTIPPLE_MASK_OPAQUE related
   code with a helper class (talk about code bloat...)
3. wxColourDialog parent is set correctly now, other minor fixes there


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 21:31:32 +00:00
Robert Roebling
0cf4561f43 Getting rid of CVS conflicts.
Fixed forgotten idle priority value in wxYield().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 15:58:47 +00:00
Julian Smart
5b22c8f89e Added VC++ IDE tech note. Sorry, I'm not going to dumb it down to plain text...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 14:48:08 +00:00
Bart A.M. Jourquin
74cb08107a missing button.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 12:19:49 +00:00
Robert Roebling
3e00a662d6 Compile fix (missing include).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 09:20:18 +00:00
Robert Roebling
5cc9ffe646 No GTK includes reported by wx-config. I left wxMotif
unchanged.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 08:57:40 +00:00
Robert Roebling
5f53644cbb Fix for ASSERT complaining about a call to SetColumnWidth
in list mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-18 08:55:47 +00:00
Vadim Zeitlin
ac82c949d0 1. wxFrame restores focus better
2. fixed _2_ memory leaks in wxGrid::IsCellEditControlShown
3. modified wxGridCellEditor::StartingKey() to accept several more keys
4. fixed (but why is this needed?) bug in wxCalCtrl appearance
5. made it possible to close the log dialog with <Esc> under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 22:44:45 +00:00
Vadim Zeitlin
afa7da4a16 fixed problem with set angle dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 22:39:47 +00:00
Václav Slavík
8ebc8d5d7d updated Czech translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 16:31:53 +00:00
Václav Slavík
f333c6e7bb updated wxstd.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 16:31:40 +00:00
Václav Slavík
37dc9a7012 made paper names translatable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 16:31:28 +00:00
Václav Slavík
5208c1aa1e added new platform-independent BMP writing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-17 16:31:10 +00:00
Vadim Zeitlin
12675983a2 column resizing is still broken :-((
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-16 15:34:21 +00:00
Vadim Zeitlin
aa54dcf52c fixed column resizing when the ctrl is horz scrolled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-16 13:56:08 +00:00
Vadim Zeitlin
f5f1197540 added a note about IRIX, another entry for Solaris/wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-16 13:08:04 +00:00
Stefan Neis
c51147cf23 Avoid invalid update rectangles in wxGrid::BlockToDeviceRect(...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-15 15:16:15 +00:00
Julian Smart
9be9d2f53d Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-15 14:10:18 +00:00
Vadim Zeitlin
c3e5348ff8 added dynamic sample to the AC_OUTPUT (bug #79)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-14 13:09:45 +00:00
Vadim Zeitlin
5f3c23cb12 fixes for erros from bug #78
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-14 13:07:28 +00:00
Julian Smart
b1f22e19ef Ignore wxTHICK_FRAME in wxWindow constructor: only relevant to frames and
dialogs, interferes with other window styles otherwise.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-14 09:47:19 +00:00
Vadim Zeitlin
21be423168 oops, fatal MDI bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-13 19:07:26 +00:00
Vadim Zeitlin
089ec5295e note about logical ops and DrawText under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-13 19:06:47 +00:00
Vadim Zeitlin
845b598c7a caret API do something again even in non Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-13 14:58:15 +00:00
Robin Dunn
cc2a0b0170 some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-13 03:44:42 +00:00
Robin Dunn
27e4c09614 more build and distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-13 03:34:27 +00:00
Robin Dunn
1dea0a08fe SWIGged code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 20:19:03 +00:00
Robin Dunn
a0c0d1c333 Added wxSpinCtrl
Added some missing methods and constants
Fixed wxTreeCtrl.HitTest bug
new SWIGged code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 19:07:29 +00:00
Guillermo Rodriguez Garcia
b3dc3e89a6 When calling SetValue(), the insertion point is set to the beginning,
rather that to the end of the text. wx2.2 will have flags to customize
this behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 17:14:03 +00:00
Robert Roebling
8e8d1fee57 Corrected wxFFileInputStream as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 16:49:55 +00:00
Robert Roebling
a8452a5005 Corrected wxFFileStream to use binary mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 16:49:12 +00:00
Robin Dunn
492dc50b67 Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 16:34:01 +00:00
Robert Roebling
be1018ee90 Implemented Set/GetTopLabel() in wxMenuBar,
Set int field to new position in slider event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-12 11:53:09 +00:00
Robin Dunn
d76f2a46dd some updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-11 01:52:57 +00:00
Robin Dunn
4320a952c6 gen code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-10 20:30:52 +00:00
Robin Dunn
04ae894cf4 distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-10 20:30:27 +00:00
Robin Dunn
c63e4e6898 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-10 20:30:01 +00:00
Robert Roebling
f76a45441a Oops. Some uninitialized variables messed up the
colours on various systems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-10 16:08:10 +00:00
Ron Lee
04e158348e fix for wxBusyCursorSuspender messing with wxIsBusy() state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 21:15:49 +00:00
Robert Roebling
0f9a3aaea8 Increased version to 2.2.0,
Fixed minor waste in wxSizerItem,
  Changed wxGTK internal timer settings so that
    idle time is really after GTK finished.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 18:46:33 +00:00
Vadim Zeitlin
59277cb364 wxFile::Open(write_append) will create file if it doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 15:49:59 +00:00
Vadim Zeitlin
d26a990438 added tests for circles/ellipses/arcs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 15:08:27 +00:00
Vadim Zeitlin
174345b445 added test for inverted text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 14:41:34 +00:00
Vadim Zeitlin
adb176e718 fixed crash on exit in the drawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-09 14:35:23 +00:00
Julian Smart
551a706062 Adjusts struct size if there's an error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-08 12:06:08 +00:00
Julian Smart
eb5ad261fd Correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-08 11:16:18 +00:00
Julian Smart
fec5a2a4b1 Added new tech note for icon creation/conversion, corrected config.cpp
to include <ctype.h> (necessary if not including windows.h),
corrected comment in mfctest.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-08 11:13:56 +00:00
Vadim Zeitlin
a38940ab11 apparently explicit operator=() is needed by Solaris C++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-07 13:12:01 +00:00
Vadim Zeitlin
ab88076643 wxImageList::GetSize() documented and added to wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-07 12:55:38 +00:00
Vadim Zeitlin
f880e232cc small fixes to MIME mailcap test command handling, more MIME tests in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-07 12:54:32 +00:00
Vadim Zeitlin
fd094b9d81 comment made more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-07 12:53:33 +00:00
Vadim Zeitlin
8beb7b3288 1. fixed default dialog style to make them non resizeable again
2. fixed wxFrame::IsShown() which always returned TRUE before
3. wxWizard now calls TransferDataFromWindow() before calling
   wxWizardPage::GetNext() fixing an obvious bug
4. half-fixed fatal bug in wxDialog::ShowModal() which would crash if the
   top level app window was deleted while the modal dialog was shown


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-06 22:00:40 +00:00
Julian Smart
e6f3a43816 Changed the code that disabled __WXDEBUG__ to only disable global debug new.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-06 15:42:51 +00:00
Vadim Zeitlin
29f3b96f83 serious bug in wxListBase::DoCopy() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-06 13:22:51 +00:00
Stefan Neis
f75f6530b0 More changes to SetCurrentCell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-06 10:35:28 +00:00
Vadim Zeitlin
2bcb5cfd6a added 'Save...' button to the log dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-06 08:51:21 +00:00
Robert Roebling
758ac86c09 Corrected gdk_draw_bitmap thing.
Corrected wrong libGL.so dependence of libwx_gtk.so.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-05 16:13:53 +00:00
Julian Smart
09efdbdbdd Added tech note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-05 13:15:42 +00:00
Vadim Zeitlin
7e446e11e0 added and documented trivial wxDC::GetBackgroundMode(), documented several other missing wxDC functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-05 10:24:55 +00:00
Vadim Zeitlin
62e6b49c33 crash in OnChar() for empty list control fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-05 10:16:14 +00:00
Michael Bedward
d9ca264808 Modified wxGrid::SetCurrentCell() to fix problem under wxMSW where
the grid was spending time drawing cells outside the visible area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-05 10:04:55 +00:00
Julian Smart
5902841d30 Fixed doc error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-03 13:03:13 +00:00
Julian Smart
3639911da7 Replaced C++Builder IDE tech note with up-to-date HTML file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-03 10:26:42 +00:00
Julian Smart
8a6be78d08 Docs mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-03 10:22:27 +00:00
Robert Roebling
9f92fb287b Changed release date to 4th June,
Made border around notebook sizer a bit bigger,
    you never know what people do with tabs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-03 08:56:33 +00:00
Vadim Zeitlin
d9a54596d5 fixed some compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 21:12:56 +00:00
Vadim Zeitlin
9aa0f3f84e some warnings fixed for compilation of lib/dll with VC++ 6 in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 20:59:49 +00:00
Robin Dunn
9604ea8a1f SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 17:01:26 +00:00
Robin Dunn
9f27c30f49 updates to match C++ grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 16:52:25 +00:00
Guillermo Rodriguez Garcia
2b8df44d57 SIF_TRACKPOS didn't appear in mingw until 2.95.2,
so I just #define it if it's missing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 12:46:52 +00:00
Robin Dunn
8731dddafd fix bug where tooltip notifications could generate spin events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 12:41:04 +00:00
Robin Dunn
a95ee79d9c Removed automatic "Magic Event Methods" bindings
Added explicit bindings where needed
other assorted odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-02 01:50:43 +00:00
Julian Smart
c1af1ea6b5 Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-01 08:21:37 +00:00
Vadim Zeitlin
089337645a added possibility to view arbitrary images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-31 22:27:23 +00:00
Bart A.M. Jourquin
ee4ddd9f0b initialize insertable to TRUE in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-31 14:28:11 +00:00
Vadim Zeitlin
1f15195e08 translate window menu title in MDI parent frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-30 20:44:06 +00:00
Vadim Zeitlin
ff05c6bb11 wxStaticLine should now generate mouse messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-30 19:41:59 +00:00
Stefan Neis
5681482475 Changed wxGrid::Refresh to not do anything,
modified EndBatch accordingly to still update the grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-30 13:08:38 +00:00
Ron Lee
3c6bc198d9 added debug versions of wxBase and wxGtk packages.
made -contrib packages gtk-contrib since they, well.. are
and it will make it simpler to add other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-29 19:09:55 +00:00
Vadim Zeitlin
04fc6c1725 wxTHICK_FRAME the same as wxRESIZE_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-29 10:04:31 +00:00
Julian Smart
70db8eec06 Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-29 07:37:24 +00:00
Vadim Zeitlin
74008a4cd4 corrected wxFile::Write() return type desc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 22:09:19 +00:00
Vadim Zeitlin
b6276d5829 wxImageList::Create(width, height) added, as in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 22:01:21 +00:00
Vadim Zeitlin
eff56bb979 1. added missing const's to wxGrid::CalcXXX(wxRegion& r) fixing compilation
2. put frames with parent into wxTopLevelWindows too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 21:45:00 +00:00
Ove Kaaven
540ad1b39d Save registry string keys correctly in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 20:51:42 +00:00
Stefan Neis
d270402a9f Fixed SetCurrentCell for Motif, removed SelectionToDEviceRect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 14:16:10 +00:00
Stefan Neis
e54334e7f1 Fix for not using precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 12:42:18 +00:00
Robert Roebling
d6ce5a908c Made docs about wxTextCtrl::SetValue() precise wrt to modified state.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 08:35:48 +00:00
Robert Roebling
b8ad056e8d wxTextCtrl::SetValue() sets the controls state to unmodified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-28 08:35:07 +00:00
Vadim Zeitlin
aa680ee1e8 fix for stdin redirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 21:54:22 +00:00
Vadim Zeitlin
3d0b89c1ca no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 15:19:43 +00:00
Vadim Zeitlin
5fff5f8a27 added and documented (and using in the sample) wxProcess::CloseOutput()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 15:18:07 +00:00
Vadim Zeitlin
bbc7adbd09 added wxDC::ResetBoundingBox(), documented it and CalcBoundingBox() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 12:15:38 +00:00
Bart A.M. Jourquin
45c09d1e66 Improved new GetColumns, based on the old one + smoother database-type conversion and proper field order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 11:18:44 +00:00
Bart A.M. Jourquin
9879663237 Improved new GetColumns, based on the old one + smoother database-type conversion and proper field order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 11:13:28 +00:00
Vadim Zeitlin
af899cb15b fix warning about virtual function hiding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 10:35:44 +00:00
Vadim Zeitlin
d168273d36 remove Sun CC warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-26 10:30:08 +00:00
Vadim Zeitlin
31fb9a5779 1. stderr redirection seems to work under Windows too (documented new
wxProcess method too)
2. don't show the window of the (console) process in wxExecute if IO is
   redirected
3. implemented wxColourDialog::SetTitle
4. implemented wxGauge95::SetForeground/BackgroundColour()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 21:54:23 +00:00
Vadim Zeitlin
54d5ffd6c3 stdout redirection for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 18:35:52 +00:00
Vadim Zeitlin
b912a066c2 added APPEXTRA{C|CPP|CXX}FLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 18:35:32 +00:00
Vadim Zeitlin
7b235d47c0 fix for wxObjectArray::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 18:34:49 +00:00
Vadim Zeitlin
b0d2cd55b4 patch for bounding box initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 18:29:26 +00:00
Vadim Zeitlin
92963bc943 added missing wxDateSpan methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-25 14:50:14 +00:00
Unknown (MT)
fbdcfa4c82 Remove frame on a SetMenuBar(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 23:10:47 +00:00
Robin Dunn
5272b7f059 SciLexer.h from Scintilla is used to get the constants used for all
the lexical states, for setting styles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:39:04 +00:00
Robin Dunn
8c43f741f4 note to specify the version of Scintilla in use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:37:20 +00:00
Václav Slavík
ac27286674 added wxToolTip documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:35:46 +00:00
Václav Slavík
029bc77adc documented Set/GetToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:35:34 +00:00
Václav Slavík
29afd50360 updated wxListEvent documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:35:22 +00:00
Robin Dunn
0212a4c2aa workaround a bug in SWIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 20:35:06 +00:00
Robin Dunn
9be0381b20 Some PythonNotes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 17:30:38 +00:00
Robin Dunn
37bb827fa9 Added wxDateTime, wxTimeSpan, and wxDateSpan to wxPython.utils.
Added wxCalendarCtrl.

Other tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 14:57:52 +00:00
Julian Smart
c777c58b76 Some doc tidying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 09:08:03 +00:00
Robin Dunn
133d8d0745 Added DYNAMIC_CLASS macros for wxCalendarEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 04:25:41 +00:00
David Webster
ef854828f2 Update module definition for wxOS2 VA 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 03:34:14 +00:00
Robin Dunn
96901a6f4c added some missing Scintilla constants for events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-24 00:56:14 +00:00
Vadim Zeitlin
f998c383d4 minor changes to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 22:54:08 +00:00
Vadim Zeitlin
a1777c3e92 fixes for wxExecute with redirection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 22:50:45 +00:00
Václav Slavík
b91a42d6d9 fixed parsing of HTML tags of the form <tagname\nproperties> + \t parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 21:09:59 +00:00
David Webster
a61421124a More accelerator work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 21:00:52 +00:00
Julian Smart
d30143f3cb Misc small mods for WIN16 and making HTB files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 18:55:07 +00:00
Julian Smart
77a93d3eb4 defs.h had been altered so only 3 MSW compilers were allowed for WXDLLEXPORT :-)
false removed from dbtable.cpp. WS_CLIPCHILDREN/SIBLINGS added to glcanvas.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 13:14:29 +00:00
Julian Smart
fcd984f8a1 Motif fixes, distribution script fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 12:16:31 +00:00
Robin Dunn
4c25e5b0ba Fixed "Substract" typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 06:31:50 +00:00
Robin Dunn
0126cabac6 Fixed "Substract" typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 06:23:59 +00:00
Vadim Zeitlin
9047a3c139 fix for crash in wxTreeCtrl::GetSelections() when the tree is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-23 06:01:58 +00:00
David Webster
3844b70dd8 Some more accelerator fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 21:23:58 +00:00
Robert Roebling
04652a15c8 dnd event blocking switched off now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 18:05:24 +00:00
David Webster
77bc12b08f removal of VA #ifdefs aournd delete operators and some additional support for accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 14:04:14 +00:00
David Webster
fd4afea729 removal of VA #ifdefs aournd delete operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 14:03:03 +00:00
Julian Smart
7a702aa804 Doc debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 13:43:32 +00:00
Vadim Zeitlin
0acd3d9a08 another buglet in ParseDate() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 13:10:15 +00:00
Vadim Zeitlin
da14645955 better ParseDate() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 12:53:56 +00:00
Vadim Zeitlin
9bcefc38f1 several bug fixes in ParseDate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 12:35:02 +00:00
Vadim Zeitlin
5469ae1795 add -isystem for gcc on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 11:14:56 +00:00
Julian Smart
7c777c5c15 Added bc_ide.txt as a tech note; updated readme; added CHM targets for makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 11:13:10 +00:00
Julian Smart
72ef08c782 Fixed OnSize corruption problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 08:28:58 +00:00
Ron Lee
d683b85f75 totally rehashed the build system to be much less monolithic, it's now
possible to build subsets of the available packages and easier to add
new packages in a much more modular fashion.
updated for changes to wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 02:43:31 +00:00
Ron Lee
fc5e41a7ba made Robert's fix for wxBase too, and cleaned a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-22 02:34:17 +00:00
Robert Roebling
1c09143020 setup.h now tests if wx-config is being used and
changes the search path from wx/gtk/.. to
     wx/gtkd/.. when __WXDEBUG__ is defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 16:17:21 +00:00
Robert Roebling
b9464e8d4e wx-config now defines __USE_WXCONFIG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 16:15:27 +00:00
Robert Roebling
b4e0cd2a78 Tried to fix problem with events being blocked in the
drop *target* by the global block from the drop
    source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 13:20:33 +00:00
George Tasker
cf5d275eb8 Fixed problem where if a table had no insertable columns, construction of the insertion statemtent would fail, which then would cause unstable behavior at a later time. Now if Insert() is called and there are no insertable columns, insert will return a failure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 10:49:22 +00:00
George Tasker
c160361dcf Cleaned up some unix compilation problems due to for loops declaring a variable in the for statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 10:45:29 +00:00
Ron Lee
8ba2c5be88 don't bug out if no .mo files exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-21 03:43:59 +00:00
Ron Lee
aaa42385ce updated PYTHON_DIST for new wxPython location.
added INTL_DIST target for i18n files when --enable-intl is used.
make install now installs any .mo files it finds in locale.
bugfix for make install being a no op with static wxBase.
libs built with __WXDEBUG__ can now be installed alongside libs built without.
locale/Makefile now autodetects which languages are supported when make allpo
is used and added allmo target.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 22:17:32 +00:00
Robin Dunn
99f792deea More build/distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 19:25:37 +00:00
Robin Dunn
eb7d6db675 forgot this file in yesterday's STC checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 18:56:04 +00:00
Robin Dunn
fec9970c39 New code from Scintilla and supporting code in STC.
Styles can now have underlines, new indicator types, zoom-in and
zoom-out methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 03:25:18 +00:00
Robin Dunn
e1cac7c231 New code from Scintilla and supporting code in STC.
Styles can now have underlines, new indicator types, zoom-in and
zoom-out methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 03:24:11 +00:00
Robin Dunn
1f5e577084 gave wxTheApp->argv a real set of values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-20 00:13:02 +00:00
Ron Lee
9c54b21732 updated for dk -> da too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 23:54:47 +00:00
Ron Lee
569de831ba renamed dk.po -> da.po
dk is the internet tld, but da is the correct
iso639 country code for the locale data


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 23:41:41 +00:00
Vadim Zeitlin
8ab9b79aa1 bug fix for some weird combobox behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 22:27:46 +00:00
David Webster
70b6f373b0 coded wxFont!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 18:16:39 +00:00
Robert Roebling
7b271e861b Bumped up version to 2.1.16.
Semi-fixed list ctrl's header again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 18:08:59 +00:00
Vadim Zeitlin
1fd26975c8 SetModal() deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 14:55:55 +00:00
Vadim Zeitlin
9ced6db5a5 compilation fixes for compilers without PCHs (Julian, what about looking at the daily rebuild pages?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 14:03:38 +00:00
Vadim Zeitlin
398637f576 fix for the new headers which define _WIN32_WINNT == 0x0500
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 13:59:40 +00:00
Robin Dunn
99d564be95 Removed wxPython from the old location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 06:12:58 +00:00
Robin Dunn
a61639123c more build and distrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-19 02:48:17 +00:00
Vadim Zeitlin
e36ee5f7aa 1. fixed toolbar deletion problem (don't leave hole any longer)
2. tried to fix modal dialog handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 23:02:49 +00:00
Robin Dunn
42413911cc distrib tools updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 20:07:54 +00:00
Robin Dunn
cc63ae0fcc changed DLL version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 19:53:58 +00:00
Robin Dunn
6d9092202d more SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 19:46:31 +00:00
Robin Dunn
14f5789360 fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 19:45:48 +00:00
Robin Dunn
e2f3066a9c fixed some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 19:45:04 +00:00
Ron Lee
c74f7c1383 matched param defaults to .h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 16:46:04 +00:00
Julian Smart
1a3cfaf5a6 Various wxMotif fixes. Changed rotate sample to use a wxScrolledWindow
instead of the frame, so it works on wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 15:01:52 +00:00
Vadim Zeitlin
0bd879bad6 (re?)added support for params to wxGridCellFloatEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 12:29:02 +00:00
Julian Smart
7a5a0c9f34 Use hwndOwner in Print/page setup dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-18 10:05:40 +00:00
Robin Dunn
cabc28c46e Added wxDragImage and demo, (used wxGenericDragImage for both
platforms)

Added demo of changing keyboard handling in wxGrid

SWIGged sources update


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 20:45:27 +00:00
Robin Dunn
a1e181ef4d Added wxDragImage and demo, (used wxGenericDragImage for both
platforms)

Added demo of changing keyboard handling in wxGrid

SWIGged sources update


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 20:39:47 +00:00
Robert Roebling
1b51ff0849 Added a couple of const to == and != operators.
Removed no-flicker hack which seems to be a
   problem on Sun.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 20:07:24 +00:00
Vadim Zeitlin
a5fc62d05d regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 17:24:20 +00:00
Vadim Zeitlin
efcd017c71 attempt for a Solaris compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 17:22:21 +00:00
Vadim Zeitlin
c449ac8125 don't overwrite the initial part of config.log when checking for VPATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 17:19:16 +00:00
Julian Smart
797aa4038f wxMSW & wxMotif: added const to GDI object ==, != operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 12:11:17 +00:00
Julian Smart
10b371fa0e Typos corrected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 11:02:53 +00:00
Vadim Zeitlin
902153ef4a wxGridSizer demo added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-16 15:10:24 +00:00
Jouk Jansen
3ce78ed297 Committing in .
Small problems/warnings solved:
  grid.cpp contained non-reachable code
  parser.y contained definitions for Alpha/True64 which should not be included
     for Alpha/VMS.

 Modified Files:
  Tag: WX_2_2_BRANCH
 	wxWindows/src/common/parser.y wxWindows/src/generic/grid.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-16 11:30:25 +00:00
Robin Dunn
adf72aeaf7 more updates for new directory structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-16 05:20:58 +00:00
Michael Bedward
5b0d059b3e Added Auto-size cols option to the View menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-16 03:25:16 +00:00
Robin Dunn
015e85cdf7 Moved and reorganized wxPython directories
Now builds into an intermediate wxPython package directory before
installing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-16 02:07:32 +00:00
Václav Slavík
e0c1bcc8f4 fixed rendering of underlined text (the line may be bolder than 0 now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-15 20:31:27 +00:00
Vadim Zeitlin
c866dfa40c vCard writing tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-15 16:05:32 +00:00
Vadim Zeitlin
53b3fe94d5 DEC OSF/1 entry added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-15 14:02:51 +00:00
Vadim Zeitlin
be8e2100c1 fix for yacc compilation on Alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-15 12:26:13 +00:00
Václav Slavík
34de32c717 modified HHP/HHC parser so that page names may contain &entities;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-14 20:02:34 +00:00
Václav Slavík
5e22259222 removed wxDC::m_scaleFactor (never used, had random value)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-14 17:32:36 +00:00
Václav Slavík
d3c3c062d9 removed m_scaleFactor from PS printing (had random value)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-14 17:31:34 +00:00
Václav Slavík
f6f9b93b17 replaced deprecated use of wxPostScript ctor by the version that uses wxPrintData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-14 17:31:18 +00:00
Vadim Zeitlin
f5ea644170 some vCard test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-14 14:46:09 +00:00
Ron Lee
5d301221bc more proofreading touchups :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-13 17:45:38 +00:00
Stefan Neis
fbbfc840a4 Removed #pragma interface/implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-12 22:18:37 +00:00
Michael Bedward
d66093c7b6 Check for multiple calls to wxGrid::CreateGrid
Changed number format for wxGridCellFloatEditor from f to g


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-12 11:05:30 +00:00
Vadim Zeitlin
aa59afd1ea wxFTP uploading tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-12 10:37:49 +00:00
Robin Dunn
029713d7e1 removed wxPython module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 21:15:02 +00:00
Stefan Neis
fc3e2a3a66 Changed selection behaviour: Current selection will not be removed
_only_ if Ctrl is down when clicking.
Untabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 19:56:51 +00:00
Robin Dunn
44faee407c added grid sizers
changed some build configurations


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 19:30:19 +00:00
Vadim Zeitlin
08392f16cc bug in ~wxOutputFTPStream which prevented multiple uploads fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 13:03:59 +00:00
Vadim Zeitlin
1f5e4b9004 fix for the fix for Centre()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 11:17:42 +00:00
Vadim Zeitlin
7162312f78 a fix for Centre() to always use the top level parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 11:05:04 +00:00
Vadim Zeitlin
9b9d5355c8 some more tbar tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 23:28:03 +00:00
Vadim Zeitlin
364de90c91 fix for the stat bar positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 23:27:33 +00:00
Karsten Ballüder
548812d9af Updated from Mahogany source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 20:00:53 +00:00
Robert Roebling
bf49fbcff9 Added wxImage:Copy()
Added first 30% of wxImage::Paste()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 18:17:53 +00:00
Julian Smart
804a3434d6 Dialog Editor corrections, wxListBox::GetSelections correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 17:39:35 +00:00
Julian Smart
5a6d3ec3b1 DrawIcon correction for WIN16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 13:21:24 +00:00
Julian Smart
dde04b1546 Corrected DrawIcon to take into account different icon sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 12:11:39 +00:00
Vadim Zeitlin
5c06d1b014 make -> nmake for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-10 12:02:24 +00:00
Vadim Zeitlin
c17cc4a96f owner drawn buttons change appearance when double clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-09 21:18:19 +00:00
Vadim Zeitlin
a58b3aa909 1. fixed thumb track/release events for positions > 65536
2. fixed (untested) wxSpinCtrl::GetPosition()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-09 21:11:30 +00:00
Vadim Zeitlin
8dbbdfd06f serious bug in KeyExists() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-08 22:49:40 +00:00
Robert Roebling
fb5ac85a06 Made a few helper functions public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-08 11:39:05 +00:00
Bart A.M. Jourquin
ed62f512c0 include dcscreen.h and settings.h for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-08 08:12:37 +00:00
Vadim Zeitlin
cdde63f535 1. buttons now generate double click events
2. double clicking in the tree ctrl generates an activate event
3. bug with hidden listbox mysteriously being shown fixed
4. tried to adjust the checkbox size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-07 20:35:00 +00:00
Ron Lee
6b958cfc0b update for changes to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-07 19:29:15 +00:00
Robert Roebling
8e1a0be217 Added and documented wxImage::Mirror() and wxImage::Rotate90().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-06 17:30:50 +00:00
Robert Roebling
4a18b95556 Added docs for new wxImage constructor.
Began docs for grid sizers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 20:17:41 +00:00
Robert Roebling
76dfc86313 Add possibility to create a wxImage from
static data (or data on the stack) without
    using the heap.
  Tried to fix the crash-all-apps problem
    reported in the list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 19:21:55 +00:00
David Webster
5c89255496 Some DC and Statusbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 19:07:28 +00:00
Ron Lee
76727e0cbf typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 15:55:11 +00:00
Robin Dunn
366e627490 Added wxTipProfider and friends
Tweaked wxGrid a bit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 15:06:55 +00:00
Robin Dunn
61471de76f Methods to change the cell highlight colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 15:00:00 +00:00
Julian Smart
10c16e31a6 Fixed sash window colour (highlight wasn't showing up); Dialog Editor fix
for space distribution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 10:01:19 +00:00
Stefan Neis
64561c3308 Fixed cell highlighting for disabled grid lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 09:43:29 +00:00
Ron Lee
42ab7508e8 workaround for one gtk Combo horror
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 08:10:50 +00:00
Robin Dunn
ddc0b275b3 fix for when gridlines are disabled. something still needs to be done
to crrectly redraw after the cell highlight moves.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 19:22:55 +00:00
Robin Dunn
36ce8f44db added ability to disable gridlines in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 19:09:30 +00:00
Bart A.M. Jourquin
fa3a64d1ad more info fetched in GetColumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 15:44:39 +00:00
Bart A.M. Jourquin
af9bf0bc25 typedef struct error fixed for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 12:42:58 +00:00
Bart A.M. Jourquin
d55da698a8 new GetColumns() members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 12:19:28 +00:00
Vadim Zeitlin
d70b1ce4d2 test for array sorting added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 11:52:32 +00:00
Vadim Zeitlin
5fe87ba09f assert when sorting wxArrayString twice fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-04 11:42:51 +00:00
Ron Lee
758a4bb5a6 added comment about validators and SetValue(FALSE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-03 17:01:47 +00:00
Ron Lee
806b8a2301 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-03 17:00:29 +00:00
Vadim Zeitlin
f96ed10a83 trying to fix a (spurious) memory leak report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-03 11:06:56 +00:00
Robert Roebling
da131498e8 Fixed colour buglet in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-02 16:19:05 +00:00
Robert Roebling
c518860f60 Test for wxST_NO_AUTORESIZE in controls sample.
Add lots of code to change the (German) comma in
    floating point number string in Postscript
    code to ".".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-02 15:34:14 +00:00
Vadim Zeitlin
066b2a4c3e 1. fixed fatal bug in SetImageList()
2. tried to make header resizing work with horz scrolling - it still doesn't


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-02 14:47:03 +00:00
Vadim Zeitlin
69400134a8 added wxLogWindow::OnFrameClose()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-02 07:52:35 +00:00
David Webster
5eabe5bbbf Statusbar updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-02 03:51:51 +00:00
Robert Roebling
dc3f2c920f Fixed wxNotebook::RemovePage(),
Made modal dialogs children of wxApp->GetTopWindow() if
    no parent is given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 20:20:16 +00:00
David Webster
3d3cbc05f6 Changes to DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 19:36:32 +00:00
Robert Roebling
076e41016d Tried to fix problem with wrong fonts in tool tips.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 19:04:30 +00:00
Ron Lee
cd73d539f6 fixed combo.h -> combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 18:55:23 +00:00
Vadim Zeitlin
421da573e5 added wxFileConfig::SetUmask()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 13:40:00 +00:00
Václav Slavík
9faba833a2 fixed memory leak in modules list (devik's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 13:08:56 +00:00
Ron Lee
4401790cca fix to correctly adjust growable bits of FlexGridSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 13:08:11 +00:00
Vadim Zeitlin
efe67f809f corrected alignment of the descriptions in the Usage() message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-01 12:31:11 +00:00
Vadim Zeitlin
6b0b085ef4 added wxConstCast to fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 22:20:06 +00:00
Vadim Zeitlin
0ca080a91b give wizard buttons standard ids (wxID_FORWARD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 16:29:27 +00:00
Vadim Zeitlin
01f39d1f1a bug recently introduced in wxWizard::GetPageSize() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 16:15:18 +00:00
Julian Smart
0e950afdf3 BC++ fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 16:05:24 +00:00
Julian Smart
da95cfa91d Chnaged name for text sample with BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 16:02:52 +00:00
George Tasker
0187c87a03 Removed semicolon from the end of DECLARE_EVENT_TABLE() lines that prevented BC5 from compiling this sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 15:30:05 +00:00
George Tasker
bb5aa6e588 TARGET= line said CONTROLS instead of TEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-30 13:28:29 +00:00
Robin Dunn
478e209df5 tweaks and code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 18:34:13 +00:00
Vadim Zeitlin
a2b28e922b don't use wxFile::Eof() (for the reasons explained in the docs now :-) in wxTextFile - this allows it to be used with FIFOs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 18:07:33 +00:00
Robert Roebling
498db281b5 Set wxGTK's GTK idle priority back up to 0,
wxGTK's frame's toolbar is now in m_children again,
    as wxFrameBase's idle logic and the update UI
    code based on it require that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 16:03:42 +00:00
Robin Dunn
2442422672 More STC fixes. The demo now shows Calltips and AtuoComplete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 05:18:40 +00:00
Robin Dunn
6e96414894 More STC fixes. Calltips and AutoComplete work now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 05:17:21 +00:00
Robin Dunn
91c93b48e9 Fixed FullPaint for brace matching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-29 02:45:22 +00:00
David Webster
1f9c607e98 Some framework updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 21:28:04 +00:00
Robin Dunn
9f0e1cfc63 Another off-by-one error fixed in STC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 17:20:58 +00:00
Vadim Zeitlin
9215f35ef8 small fix to the code I just commited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 14:19:47 +00:00
Vadim Zeitlin
d7030ac6aa added and documented wxWizard::SetPageSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 14:06:33 +00:00
Bart A.M. Jourquin
9de1150e2d Add support for Virtuoso
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 13:45:52 +00:00
David Webster
89ee194efd static data members cannot be redeclared static in the cpp file under VisualAge, it already knows that it is static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 12:59:22 +00:00
David Webster
4cf39e614a Virtual function hiding suppression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 12:45:20 +00:00
Vadim Zeitlin
23cf28b3db made dnd cursors/icons slightly more usable (and much more documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 12:45:15 +00:00
Julian Smart
61dfd2bea1 Win16 fixes (incl. slider not sending messages, text ctrl not showing consistent
colours


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 09:49:32 +00:00
Robin Dunn
647455ee0f various tweaks, fixes, and doodads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 06:49:26 +00:00
Robin Dunn
efecda0bf7 Some wxStyledTextCtrl bugfixes
Merged in new Scintilla sources

Added new methods to wxStyledTextCtrl to match new Scintilla capabilities.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 06:37:53 +00:00
Vadim Zeitlin
21aff0fe10 corrected bug with m_selection not being initialized in CreateGrid() and SetTable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 05:50:11 +00:00
Vadim Zeitlin
2073bb3d4d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 05:37:19 +00:00
Vadim Zeitlin
9e13e99d6d wxUSE_UNICODE set to 0 by default, added wxUSE_WCHAR_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-28 05:36:24 +00:00
Vadim Zeitlin
4f96bc6cb6 use CRT in DLL for wxBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 20:51:11 +00:00
Vadim Zeitlin
4dbc8006b4 added test for wxDateTime TZ/DST bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 20:46:55 +00:00
Vadim Zeitlin
007d1132e2 added test for combo/focus bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 20:45:35 +00:00
Vadim Zeitlin
df8442a339 fixed problem with help text being left in the status bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 20:42:09 +00:00
Vadim Zeitlin
b12ce2ff6d attempts to fix the proplist crash - fruitless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 18:03:34 +00:00
Vadim Zeitlin
071bb1283a some more convenience functions/wrappers (all inline, cross-platform)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 18:02:48 +00:00
Julian Smart
7322bbe14e Further non-PCH fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 17:46:35 +00:00
Julian Smart
19c9086b55 Added missing brush.h includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 17:41:29 +00:00
Robin Dunn
7a618981ce Made the DLL load lots faster by specifying that other DLLs it depends
on are to be loaded on demand.  The is experimental, but it works for
wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 16:46:55 +00:00
Robin Dunn
fc2518abb5 some minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 16:41:48 +00:00
Vadim Zeitlin
5eaa587e28 don't wxLogWarn() about missing strings, but just wxLogDebug() them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 15:44:17 +00:00
Robin Dunn
24e1c5fbb2 ifdeff'd out the region checking code in DrawAllGridLines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 15:26:50 +00:00
Vadim Zeitlin
1a0e95d600 documented ReadLine/Word() and SetStringSeparators()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 15:09:38 +00:00
Václav Slavík
3e7b695396 it's replaced by it is, 'll by will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 14:33:00 +00:00
Bart A.M. Jourquin
77836a61b3 Adding support for OpenLink driver on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 12:27:22 +00:00
Bart A.M. Jourquin
a99c0d5331 add support for SQL Server with OpenLink driver for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 11:37:47 +00:00
Unknown (MT)
4aba0fc00a DLLEXPORT wxStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-27 04:40:31 +00:00
Vadim Zeitlin
63e26a7756 1. disabled WS_EX_CONTROLPARENT as I don't know how to work around it otherwise
2. corrected assignments to non-const references


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-26 20:53:19 +00:00
Julian Smart
a5b3c8eaae Fix for disabled controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-26 16:39:27 +00:00
Vadim Zeitlin
c513dcd1dd don't even try running Unicode programs under Win9x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-26 14:17:07 +00:00
Julian Smart
f8cc27023e Fixed assert problem due to radiobox being clicked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-26 13:46:13 +00:00
Vadim Zeitlin
01e92d1232 patch from Kristjan Jonsson <kj@raunvis.hi.is> to wxCheckBox::DoGetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-26 12:49:07 +00:00
Julian Smart
ac41c5e183 Small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 19:23:55 +00:00
Robin Dunn
c4ad8c9c3a Some final tweaks prior to release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 17:57:29 +00:00
Robin Dunn
9bc38e1e0c Some final tweaks prior to release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 16:46:45 +00:00
Julian Smart
2ba791ada8 Fixed design flaw in splitter window whereby you couldn't have a sash without
a border. Fixed sash layout window bug that didn't erase old sash on resize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 14:35:58 +00:00
Bart A.M. Jourquin
37aba5df39 support of Sybase ASE 11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 13:33:31 +00:00
Vadim Zeitlin
547b668c7b fix for ugly code doing undefined things to wxF(F)ile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 07:07:56 +00:00
Vadim Zeitlin
041bc561e8 adjust spacing and calculate layout correctly for icons larger than 32x32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 07:03:41 +00:00
Julian Smart
9d98a27ad6 More Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-25 06:03:12 +00:00
Vadim Zeitlin
e54cfe2b28 fix for Insert() with tear off menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 19:50:48 +00:00
Vadim Zeitlin
300f993794 fixes for IsOnline() and IsAlwaysOnline()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 19:49:27 +00:00
Julian Smart
510336b11a Fixed bad file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 18:34:29 +00:00
Julian Smart
161973e94e Fixed bad file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 18:33:50 +00:00
Julian Smart
ce006a8f2b Trying to fix corrupted GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 18:18:05 +00:00
Guillermo Rodriguez Garcia
cdc6bea96e Removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 16:14:24 +00:00
Julian Smart
640fcfb074 Added the odd 'the'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 14:35:20 +00:00
Vadim Zeitlin
6c8a91b333 added and documented wxCHECK_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 14:32:10 +00:00
Václav Slavík
40a9876e4f minor language change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 13:37:29 +00:00
Václav Slavík
a8aff7b454 a hack to workaround missing wxBuffer in wxBase/Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 13:37:22 +00:00
Václav Slavík
1a77ecaae2 moved wxDebugMsg, wxFatalError, wxError out of #if wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 13:37:14 +00:00
Václav Slavík
d6a1ccea22 added APPEXTRADEFS to .cpp, .c rules (makes tex2rtf compile with wxBase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 13:37:07 +00:00
Robin Dunn
59c777d597 build and distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 05:09:12 +00:00
Robin Dunn
caf1045491 build and distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-24 04:44:39 +00:00
Václav Slavík
6d2df48070 VFS -> virtual file system expansion; fixed typos in fs.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 19:07:42 +00:00
Václav Slavík
4a969a50f3 documented wxNotebook style flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 19:01:38 +00:00
Václav Slavík
b2720efe88 fixed typo causing REF NOT FOUND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 19:01:27 +00:00
Václav Slavík
a1f822476a added png files to DATAFILES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 19:01:22 +00:00
Stefan Neis
2dce793e22 Added #define to resolve strcasecmp/stricmp issue under OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 16:35:06 +00:00
Stefan Neis
2c1bc3a7fa Added define needed by EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 16:24:26 +00:00
Stefan Neis
ed93eb78ec Added include for non-precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 16:23:17 +00:00
Julian Smart
3049cbeb6a Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 15:53:30 +00:00
Stefan Neis
4f0a1b07e6 Changed MM_DELETEITEM to MM_REMOVEITEM so reinserting is possible.
This possibly created a memory leak?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 14:26:06 +00:00
Julian Smart
f9a07d0026 Attempts to make it compile in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 12:39:45 +00:00
Vadim Zeitlin
c20c8cb95d a demo for wxGTK bug added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 08:56:36 +00:00
Vadim Zeitlin
d05e8f3f5c wxNotebook::RemovePage() now only gives critical assert failures instead of crashing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 07:06:15 +00:00
Vadim Zeitlin
c72dfe98dc unused parameters taken inside WXUNUSED()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 06:53:19 +00:00
Vadim Zeitlin
d298a528f4 gtk_pizza_adjustment_changed() unused, ifdef'd out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 06:51:04 +00:00
Vadim Zeitlin
5c70756a8f added that wxSP_HORIZONTAL is not supported in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-23 06:48:09 +00:00
Vadim Zeitlin
e48b7d7c05 1. fixed typo in filelist.txt
2. some DLL makefiles/compilation/linking fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-22 21:24:45 +00:00
Stefan Neis
80b2a27b78 Fixed wxMenuItem::Enable.
Added unique IDs to all menus (using a new static member of wxMenu).
Use wxWindow's ID as menu item ID seen by OS/2.
Rewrote wxMenu::DoInsertOrAppend which now uses the MENUITEM of the
      submenu or menu item which already contains most of the needed
      informations (especially the ID!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-22 18:05:56 +00:00
Julian Smart
0fa7b0e3e5 Dialog Editor bug fixes, old resource conversion, additional layout helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-22 14:41:06 +00:00
Julian Smart
076d7d4005 Fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 19:17:34 +00:00
Julian Smart
f9bcbc2e9c Added a fix to taskbar; minor mods to help controllers; added justification
options to wxButton and wxBitmapButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 19:15:49 +00:00
Julian Smart
6917fd5dee Added some wxBU_... justification styles (WIN32 only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 19:14:46 +00:00
Robin Dunn
50b5f614b9 some more demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 18:02:48 +00:00
Robin Dunn
b2531949f3 Put the control's value in the event object for EVT_TEXT_ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 17:43:11 +00:00
Robin Dunn
01fa0d6d0f Version number in the DLL filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 17:38:48 +00:00
Robin Dunn
f00772c92e A clarification in the docs for a wxPython method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 17:35:36 +00:00
Robin Dunn
ebdaf2dec8 Fixed a missing parameter in wxStyledTextCtrl::GetLastChild
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 17:16:35 +00:00
Robin Dunn
cf55f9ed7e Added line folding to the STC demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 17:14:48 +00:00
Robin Dunn
f70cba4b45 fixed some DOS/Unix line-terminator confusion in the source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 16:44:19 +00:00
Guillermo Rodriguez Garcia
9a993e53d7 Reverted recent WinMain changes due to incompatibility with the default
WinMain declaration when windows.h was being included from other headers
(compilers thought that we were trying to overload a C function and aborted
compilation of the library)

Current status is: For __WXMSW__ only, and only if WXUSINGDLL, this file
#includes <windows.h> (and then "wx/msw/private.h") and declares WinMain
correctly (matching the signature in <windows.h>).

This change does not affect non-DLL builds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 15:09:51 +00:00
Bart A.M. Jourquin
aad4335f6b Add support for Sybase 11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 10:15:03 +00:00
Robin Dunn
017582cd23 More STC fixes and tweaks.
Added another STC demo for wxPython.  This one sets up an editor with
the Python lexer and a bunch of styles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 09:14:06 +00:00
Robin Dunn
156cb8c2e4 More STC fixes and tweaks. (Try Ctrl-KP_plus and Ctrl-KP_minus for a
really COOL feature that's no longer broken on MSW)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 09:09:37 +00:00
Robin Dunn
07b1aad30f generated code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 05:00:51 +00:00
Robin Dunn
9a92e83940 demo adjustments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 04:59:19 +00:00
Robin Dunn
b261e3335a More wxStyledTextCtrl fixes, and updates.
I'm also trying to use the C++ class definitions in the header
directly for SWIG/wxPython instead of a cleaned up simplified version
like I usually do.  So far so good.

Some file name changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 04:48:14 +00:00
Robin Dunn
f0d481f8fe More wxStyledTextCtrl fixes, and updates.
I'm also trying to use the C++ class definitions in the header
directly for SWIG/wxPython instead of a cleaned up simplified version
like I usually do.  So far so good.

Some file name changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 03:33:17 +00:00
Robin Dunn
e920d72d4a More wxStyledTextCtrl fixes, and updates.
I'm also trying to use the C++ class definitions in the header
directly for SWIG/wxPython instead of a cleaned up simplified version
like I usually do.  So far so good.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-21 03:30:24 +00:00
Robin Dunn
2512232672 fixed off-by-one problem in pinting of the selection area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 18:29:44 +00:00
Robin Dunn
51422a89ac changed the radius used on the rounded rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 07:39:43 +00:00
Robin Dunn
140601fe00 Added some missing identifiers, changed some constants to match Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 07:39:20 +00:00
Robin Dunn
a1a43473a6 Added a typemap that converts strings to wxColour objects either using
the colour name or a string of the format #RRGGBB

Started the wxStyledTextCtrl Python demos

Other assorted tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 07:37:58 +00:00
Robin Dunn
9b4c5d5a21 Fixed SetFonts methods to properly accept a Python list for the sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 07:34:04 +00:00
Julian Smart
d72d009d64 Replaced wxMotif.spec with clone of wxGTK one (old one didn't work, apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-19 14:38:03 +00:00
Julian Smart
a5940b398c Added tech notes on contributing and on making RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-19 14:36:16 +00:00
Stefan Neis
5498f96bfe Renamed IsCellEditControlDisplayed() to IsCellEditControlShown().
Replaces some more IsCellEditControlEnabled() by IsCellEditControlShown().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 15:14:53 +00:00
Julian Smart
9bafeae845 Compile fix to grid.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 14:00:00 +00:00
Vadim Zeitlin
c3d12e0433 fixed bug in AddRoot() which wasn't refreshing everything properly and so a tree without children wasn't displayed properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 13:44:48 +00:00
Julian Smart
a94d44b9b7 Some updates; simple wxHTML/external HTML controllers now have DisplaySection(const wxString&).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 11:13:16 +00:00
Stefan Neis
fa1b3a43cc Added IsCellEditControlDisplayed() and use it from SetCellValue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 10:51:38 +00:00
Julian Smart
0a47db39df Added wxCHMHelpController, updated help demo. Added DisplaySection(const wxString&)
to wxHelpControllerBase. Corrected some Dialog Editor bugs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 10:30:25 +00:00
Vadim Zeitlin
9d62ffe24a fixes for dialogs whose parent is wxMDI<whatever>Frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 09:47:09 +00:00
Vadim Zeitlin
88c3e369b9 forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 08:41:29 +00:00
Vadim Zeitlin
f908d9c1ea test for SetEditable() and wxTE_PROCESS_ENTER added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 08:41:06 +00:00
Vadim Zeitlin
1b6220e1e1 wxMDIChildFrame::SetTitle() works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-18 08:24:04 +00:00
Vadim Zeitlin
86d43dcfc0 test for GetLastPosition() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 22:54:57 +00:00
Václav Slavík
3a48624f10 wxGTK-only fix for WindowMaker redraw problem in wxLogDialog::OnDetails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 22:44:27 +00:00
Vadim Zeitlin
7354522239 added and documented wxDllLoader::GetDllExt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 22:44:23 +00:00
Vadim Zeitlin
b8be5a9f03 added and documented wxString::StartsWith()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 17:30:01 +00:00
Vadim Zeitlin
897e170014 wxRadioBox now generates the EVT_FOCUS_SET/KILL events (tests for this added
to the controls sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 16:11:16 +00:00
Julian Smart
23373d8e9b Now creates wxBitmapButton from resource even if can't find the bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 14:06:48 +00:00
Vadim Zeitlin
9d7ec6e5d8 small typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 14:04:38 +00:00
Bart A.M. Jourquin
4536c57837 removing SetNumberOfColumns()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 13:52:53 +00:00
Julian Smart
32ca12e65e Fixed bug in helpctrl.cpp (testing for m_Config); made old-style HTML help
optional so will compile on MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 09:56:16 +00:00
Julian Smart
ad2fbd102d Removed a memory leak in fs_zip.cpp; trivial formatting in helpdata.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 09:28:18 +00:00
Václav Slavík
c5da51bcb3 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 08:14:56 +00:00
Václav Slavík
9980663066 fixed compilation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 08:14:41 +00:00
Robin Dunn
50963011c2 updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 06:25:47 +00:00
Robin Dunn
9bf69b7bb5 more changes to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 04:25:48 +00:00
Vadim Zeitlin
833a6790ad 1. corrected some asserts/crashes in controls
2. added test for SetValue() in text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 00:01:16 +00:00
Vadim Zeitlin
59d3027c0c 1. wxTextCtrl::SetValue() moves the cursor to the end of text (as in GTK)
2. bug in wxThread::Delete() when the thread hadn't been staretd fixed
3. setting font for radiobox now works immediately (you had to invalidate
   the window manually, e.g. by covering it with another one, before)
4. added and documented wxConstCast() and wxStaticCast()
5. attempts to make wxFontEnumeraotr::EnumEncodings() work under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-16 23:58:50 +00:00
David Webster
831026c188 Fixes for the outstanding errors in minimal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-16 21:31:58 +00:00
Stefan Neis
231237044b Updated to current API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-16 19:34:22 +00:00
Stefan Neis
eb24f2e86d Fixed Scrollbar handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-16 16:56:49 +00:00
Vadim Zeitlin
7bdff45316 1. fixed assert failure/crash when clicking in empty checklistboxes
2. wrote wxBMPHandler::SaveFile()
3. fixed stupid bug in handling DDE commands in wxMimeTypesManager


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-16 00:19:37 +00:00
Ron Lee
6f3340ff6e reverted some earlier changes nuked by RR fixing the same problem -- only differently, breaking compilation again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 20:37:33 +00:00
Ron Lee
ad41d52d22 s/menuString/menuLabel/ in wxMenuBar::FindMenuItem to fix bug similar to that in gtk version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 19:38:40 +00:00
Ron Lee
8518f82156 bugfix for gtk wxMenuBar::FindMenuItem to strip special chars before comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 19:30:38 +00:00
Robert Roebling
a053a88994 Correction to minimal size of wxSizers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 17:35:24 +00:00
Julian Smart
ae85cb4b2c Changed names of image-related VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 16:40:05 +00:00
Robert Roebling
26d865b08d TODO updated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 11:26:55 +00:00
Brian Smith
8f2a1b9c01 Added Stefan's fix for messages being incorrectly ignored.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 10:26:25 +00:00
Brian Smith
18d014e3ed Added WinMessageBox() code, mainly from the Windows version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 10:25:08 +00:00
Robert Roebling
dc4ab3c264 Made tex2rtf compile again,
Added wxSizer::SetMinSize() (documented)
  Added wxSizer::SetItemMinSize()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 09:20:56 +00:00
David Webster
1d0430ce13 VA 3.0 cannot utilize the _Export macro in this configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-15 00:38:35 +00:00
Vadim Zeitlin
85c9db78f3 updated to test combo box events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 22:40:07 +00:00
Vadim Zeitlin
c617e0de6b send key up/down events too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 22:38:51 +00:00
Vadim Zeitlin
e10b3395bc fix for the fix for HAVE_THREAD_PRIORITY_FUNCTIONS detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 19:46:35 +00:00
Vadim Zeitlin
9382d73538 fixes for HAVE_THREAD_PRIORITY_FUNCTIONS detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 19:32:15 +00:00
Vadim Zeitlin
351cc2a737 wxSpinCtrl::GetSize() should work now (thanks to Kristjan Jonsson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 18:53:26 +00:00
Vadim Zeitlin
87f968fb5a fixes for Unix detection (test for __UNIX__ in include/wx/defs.h) and for
NetBSD detection in configure


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 18:29:30 +00:00
Vadim Zeitlin
f568f52dd8 wxString::replace() assert fixed, test for it added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 18:08:35 +00:00
Ron Lee
27df708603 build .debs with new grid now that ok for wxPython too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 16:12:50 +00:00
Ron Lee
49f74d51eb fixed broken compilation under Linux,
ULONG undefined and a duplicated global var name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 16:02:23 +00:00
Ron Lee
b820f3ab56 switched green/blue in SetRGB params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 15:59:16 +00:00
Brian Smith
9f6de777bb Fixed listbox on windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-14 07:53:35 +00:00
Václav Slavík
f6f09fc812 documented need of read-write image handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 20:15:39 +00:00
Vadim Zeitlin
99f55f5c26 fix for menu helpstring in the status bar for MDI child frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 18:03:34 +00:00
Vadim Zeitlin
cbb5561c49 unused var in GSocket_SetServer removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 17:57:01 +00:00
Ron Lee
5a6c3a9171 added -kwxGetTranslation to locale/Makefile and updated .po files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 17:33:33 +00:00
Ron Lee
4360bc4eae added missing wxTRANSLATE for 'Details'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 17:19:30 +00:00
Julian Smart
970047bbc3 Gave the sash and splitter windows Create and Init methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 16:18:00 +00:00
George Tasker
379b9ba2cf Changed the default of wxODBC_BACKWARD_COMPATABILITY to be 0, as it should have been
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 15:48:37 +00:00
Bart A.M. Jourquin
1e58bda79b add SetNumberOfColumns()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 14:27:58 +00:00
Julian Smart
afb749d412 Renamed project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 10:56:12 +00:00
Julian Smart
e12fec0574 New tech note, corrected makeprog.b32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 09:31:19 +00:00
Julian Smart
49b332a96d Removed assert when charset not recognised
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 08:35:50 +00:00
Robin Dunn
02d3522ba6 More ActiveX stuff. Can now automatically catch callbacks (events) from the
COM object.  I actually create a new class on the fly that derives
from wxWindow, the COM CoClass and others needed to make it all work.
The resulting class can be instantiated just like wxWindow, used in
sizers, etc.  It also responds to all COM method calls, properties, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 08:17:58 +00:00
Julian Smart
dbe13b1101 Removing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 07:08:47 +00:00
Vadim Zeitlin
1de119b2d9 some warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 23:38:50 +00:00
Vadim Zeitlin
8b3b778f3d wxTextCtrl::GetLineText() fixes:
a) doesn't crash
 b) more efficient
 c) works in Unicode mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 23:38:20 +00:00
Vadim Zeitlin
bea6a318d9 removed incorrect labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 23:30:47 +00:00
Stefan Neis
6b9c32dccc Added a define needed by EMX when compiling for OS/2 presentation manager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 20:20:02 +00:00
Václav Slavík
6ff5b6cd0a fixed duplicate definition bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 19:54:57 +00:00
Julian Smart
d51d8a8d8a Replaced the HTML doc GIF icons with slightly nicer ones (I think)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 15:13:46 +00:00
Julian Smart
cd847575d0 Removed a redundant Show(TRUE) from details dialog (causes assert);
tried in vain to allow empty tree control labels (doesn't seem possible)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 15:12:49 +00:00
George Tasker
c5a94cbde9 Updated to use the new wxDb/wxDbTable accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 11:28:22 +00:00
George Tasker
9083d34b55 Added #if wxODBC_BACKWARD_COMPATABILITY checking to determine whether deprecated functions/classes/enums/etc are available or not.
Cleaned up various naming conventions.
from/orderBy/where are now wxString type if wxODBC_BACKWARD_COMPATABILITY is 0
Accessors added for member variables
If wxODBC_BACKWARD_COMPATABILITY is 0, then member variables that have accessors are now defined in the PRIVATE: section of the class, rather than the PUBLIC:.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 11:27:15 +00:00
David Webster
cfff4cf98d Set proper handles for the menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 04:40:45 +00:00
Robin Dunn
aaca0586f2 FileBrowseButton now has history, updated demo
Added ActiveXWrapper and demos.  It can't do callback events yet, but
I'm working on it.  Can curently embed a control and make method calls
to it.

Updated the wxCalendar (python version)  and it's demo.  It now has
printing support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 03:06:57 +00:00
David Webster
7b84e4c356 minor OS/2 VA 3.0 #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 00:50:53 +00:00
David Webster
05255a3cb4 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 00:46:43 +00:00
Vadim Zeitlin
a3e29acf45 1. spin ctrl now generates char/key events
2. grid sets focus to the number editor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 00:11:36 +00:00
Vadim Zeitlin
d7102a0b12 some fixes for missing/incorrect links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 00:09:38 +00:00
Robert Roebling
706e8aa34d Missing accessors for wxSizer items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 22:08:21 +00:00
David Webster
287456ff2f Wrong Tiff library specified in wxwindll.icc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 21:05:40 +00:00
David Webster
732c17643c Added needed copies (dosyacc and doslex) to the VA 4.0 .icc files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 21:03:48 +00:00
George Tasker
7b41d11654 Fixed spelling typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:56:21 +00:00
George Tasker
f018ef133c Added checks for mismatched curly braces so that when docs are generated, a count of the curly braces that have been processed are kept track of. If they mismatch, the file name is reported as having mismatched braces. If more closed braces are detected than open braces, then the line that the first extra close brace is detected on is reported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:50:53 +00:00
Brian Smith
b92f1634b4 Forgot to remove debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:38:55 +00:00
Brian Smith
101751fbef Missing create_wps_objects() prototype.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:31:34 +00:00
Brian Smith
03d95fca3e Added ability to make Start Menu Program folders and shortcuts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:29:55 +00:00
Stefan Neis
9d9d970d70 Moved most of the code from Insert/Append/DeleteRows/Columns to
Redimension.
Put call to CalcDimension inside 'if (!GetBatchCount)' and
    added a call to CalcDimension to wxGrid's Refresh.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 13:52:58 +00:00
Brian Smith
36508e0a17 Added wxInstall a self extracting installation program using wxWindows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 12:38:07 +00:00
Julian Smart
40f04bce6e Added HTML Help file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 12:12:33 +00:00
Julian Smart
bf5b9adcfd Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 12:11:52 +00:00
Julian Smart
98420eb8ab Further fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 11:32:52 +00:00
Julian Smart
64dffa993f Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 11:26:52 +00:00
Julian Smart
f0d59a5183 Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 11:23:59 +00:00
Robert Roebling
48f1ed8cf1 CentreOnParent() didn't work at all for top level windows
on top level windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 10:26:16 +00:00
George Tasker
df9b4349d5 Added a #define for wxODBC_BACKWARD_COMPATABILITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 01:48:17 +00:00
Guillermo Rodriguez Garcia
d096e52c4e Fixed WXDIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 00:52:08 +00:00
Guillermo Rodriguez Garcia
fb71e6560f Added a few samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 00:51:34 +00:00
Guillermo Rodriguez Garcia
073638823a Removed the unused wxOsVersion var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 00:36:48 +00:00
Guillermo Rodriguez Garcia
91b240626c Sorry, forgot to add a comment to the previous changelog! Under
MSW, WXHINSTANCE is now defined as void WXFAR * instead of unsigned long.

[this commit itself adds nothing]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 21:57:05 +00:00
Guillermo Rodriguez Garcia
2d853594de The CASTWNDPROC logic was not necessary since this file always includes
<windows.h>. Replaced with a typedef to WNDPROC or FARPROC (depending on
whether STRICT mode is being used). Change proposed by Christoph Schulz


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 21:54:24 +00:00
Guillermo Rodriguez Garcia
25935ea919 The WXDLLEXPORT macros now used __declspec (double leading underscore) for
all MSW compilers. Change proposed by Christoph Schulz.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 21:50:27 +00:00
Vadim Zeitlin
a8ef3d8656 small correction for wxUSE_GUI definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 21:13:17 +00:00
Ove Kaaven
6565df6e22 Seems I forgot to commit a wxRename fix in here (again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 19:41:29 +00:00
Stefan Neis
29dc4ad27d Fixed several keyboard handling problems:
- KeyUp event handlers added to label windows
      - pass a "TRUE"for ShiftDown upon selection events triggered by
        release of Shift Key (so one can see from the generated event,
        that we are _adding_ to the current selection).
      - Shrinking the selection by keyboard should now be possible, even
        if the selection starts at the border of the grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 14:09:22 +00:00
George Tasker
5ceaa05a92 Sample was missing the call to SQLFreeEnv() required to release the ODBC environment handle memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 12:45:26 +00:00
George Tasker
164d4e5f7d Fixed a "char *" usage to use "const char *" as it should have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-10 12:24:46 +00:00
Ron Lee
0cf8500f7f quick fix for locale/Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-09 19:26:16 +00:00
Robin Dunn
ea9547993b More updates and generated code for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-09 07:07:55 +00:00
Robin Dunn
569077d4d6 updates to track changes in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-09 03:07:09 +00:00
Vadim Zeitlin
cacdec1b9c wxWindowCreate/DestroyEvent now derive from wxCommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 21:55:02 +00:00
Vadim Zeitlin
82f640ebc2 added a modal dialog test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 21:50:29 +00:00
Stefan Neis
6dcd4ea9fb Added include to os2/private.h to make EMX compile again.
Removed second conditional include to wx/defs.h after an unconditional include.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 21:19:01 +00:00
Vadim Zeitlin
a9a3ea615f wxDialUpManager docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 20:44:46 +00:00
Ove Kaaven
6313775835 wxRemove and wxRename takes const wxChar*, do NOT use fn_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 15:50:45 +00:00
Ove Kaaven
da4912c332 Fallback implementation of wxRemove and wxRename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 15:48:23 +00:00
Ove Kaaven
36777af9e0 Fallback prototypes for wxRemove and wxRename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 15:47:47 +00:00
Stefan Neis
f9823427eb Corrected handling of row/column attributes/selections if all columns/rows
are removed.
Emit EVT_GRID_CELL_LEFT_CLICK before doing any processing of the left click
        mouse event (instead of emitting it somewhere in the middle).
Moved calls to UpdateAttrRows/Cols to wxGrid's Insert/DeleteRow/Column
        (thereby eliminating the need for two now removed functions).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 15:30:20 +00:00
Robert Roebling
7fa76dcfec New wxFlexGridSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 12:00:17 +00:00
Guillermo Rodriguez Garcia
ffe8056c56 Added WXFAR to the char* param in the WinMain declaration for clarity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 11:59:56 +00:00
Guillermo Rodriguez Garcia
7b68a8190e Patch from Christoph Schulz - the CPPFLAGS definition was overriding
that of makeb32.env


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 11:58:21 +00:00
Guillermo Rodriguez Garcia
9899bb5bef A couple of changes related to the way that URLs are parsed to form
a valid URI in the wxURL::ConvertToValidURI function. Modified to comply
with RFC2396 as much as possible, see comments in the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 11:19:50 +00:00
Robin Dunn
d1a4ef79ad Changed wxGridCellChoiceEditor's constructor to take an array of
wxStrings instead of wxChar*'s.  This saved a lot of work for
wxPython.

Fixed my GetBestSize fix from yesterday

Changed wxGrid::Redimension to do a refresh (if not GetBatchCount) so
newly appended rows, etc. would show up right away.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 08:18:39 +00:00
Robin Dunn
a410206586 Changed wxGridCellChoiceEditor's constructor to take an array of
wxStrings instead of wxChar*'s.  This saved a lot of work for
wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 08:16:08 +00:00
Robin Dunn
87b389965c More grid demos and some bugs fixed
Made (virtual method) callbacks into Python code more safe, and
removed the confusion if there was a matching method in the base
class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 08:11:20 +00:00
Ove Kaaven
487d976143 Seems to have forgotten to commit this small
isspace => wxIsspace change earlier...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-07 23:58:43 +00:00
Vadim Zeitlin
73cdc44ee3 fix assert failure in LVN_KEYDOWN handler sometimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-07 22:01:01 +00:00
Robin Dunn
9d0c056be4 added autoscroll flag for the text editor
enabled SPACE to activate the editor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 22:25:49 +00:00
David Webster
81acc00826 More OS/2, Control Program from ansi 'C' io fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 21:49:35 +00:00
Robin Dunn
94ff3feeee Fixed wxGridCellStringRenderer::DoGetBestSize to take multiple lines
into account and wxGrid::AutoSizeColOrRow to give a few pixels of
padding for rows like it does for columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 21:15:45 +00:00
Robert Roebling
6067cee7fa Added wxGridSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 19:31:51 +00:00
Vadim Zeitlin
8bbce21e90 a not-always-correct assert fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 14:25:00 +00:00
Vadim Zeitlin
e7e0babfe6 explained how to use wxString ctor with binary data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 14:24:19 +00:00
Vadim Zeitlin
7ea5a250fb SCO UnixWare added to the list of platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 14:03:59 +00:00
Vadim Zeitlin
19cec877f7 1. added some tests for setting the fonts
2. don't try touse iso8859-2 encoding by default (error msg is annoying)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 13:59:14 +00:00
Vadim Zeitlin
3afa16bc19 wxMkdir/Rmdir clash fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 13:41:10 +00:00
Vadim Zeitlin
92f4ec38a5 another warning fixed/hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 13:40:16 +00:00
Vadim Zeitlin
476e5f73c1 some long to int warnings from HP-UX log fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 13:08:23 +00:00
Vadim Zeitlin
f30f5bd933 wxMkdir/Rmdir clash fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 12:59:20 +00:00
Vadim Zeitlin
7295717d1d some harmless warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 12:55:00 +00:00
Vadim Zeitlin
f5cc1e2daf compilation fix for !PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-06 12:52:35 +00:00
Robin Dunn
31638be931 Some minor build issues for wxGTK
Some sources (from .i files) for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-05 19:21:39 +00:00
Robin Dunn
787b465cf0 Lots of little changes.
Added wrappers for the new wxGrid, and beginings of the demo of it.
Changed version number


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-05 18:29:28 +00:00
Vadim Zeitlin
8474223c94 Unicode related compilation and run-time fixes (wxUSE_MULTIBYTE removed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-05 00:13:47 +00:00
Václav Slavík
a7db881a8b synchronized strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-04 21:10:55 +00:00
Guillermo Rodriguez Garcia
dda9ed859c Changed xpmi.h to XpmI.h (the correct file name) in an #include directive
to avoid problems when cross-compiling from Linux to Windows/mingw


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-04 16:45:49 +00:00
Vadim Zeitlin
bb942f0b29 1. wxDateTime almost finished
2. wxCalendarCtrl documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-04 01:28:46 +00:00
George Tasker
21536be6cc Now uses wxDB_XXXX naming for constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 22:35:03 +00:00
George Tasker
91eebab42f Provided wxDB_XXXX naming for constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 22:34:18 +00:00
Vadim Zeitlin
d22a51d11e Watcom 11 added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 22:18:39 +00:00
David Webster
cc33eb194d env file for VA 3.0 to use new wx22.def module definition file for .dll builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 13:55:17 +00:00
David Webster
d229db78be Resource file specifically for VisualAge V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 13:25:07 +00:00
George Tasker
6a7d62f318 Adjusted demo to reflect class name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 12:39:34 +00:00
George Tasker
3703308721 Adjusted sample to reflect class name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 12:32:28 +00:00
George Tasker
b5c119361b Class renaming so that all ODBC related classes begin with wxDbXxxxx. Backward compatability is maintained using typedefs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 12:11:52 +00:00
George Tasker
d756f29d61 Class renaming so that as ODBC related functions begin with wxDbXxxxx. Backward compatability is maintained using typedefs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 12:11:01 +00:00
Václav Slavík
b8aa8301fc fixed bug with details list not being shown under fvwm2 and windowmaker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 08:16:27 +00:00
David Webster
3646a28b11 Adding new module definition file for VisualAge V3.0 for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 04:47:12 +00:00
David Webster
74d178603e Removing old OS/2 module definition file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 04:45:53 +00:00
David Webster
eaa8de7cdb VA4.0 update for building a .dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 04:45:00 +00:00
David Webster
27452ac50e Multiple fixes for OS/2 including getting rid of the C++ unfriendly direct.h and substituting control program io. Various GUI fixes, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 04:23:48 +00:00
David Webster
7d12fcd019 Getting rid of std 'C' io for OS/2 and substituting friendlier Control Program io.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 04:22:06 +00:00
Vadim Zeitlin
54d02b59ad compilation fixes for non unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 01:07:56 +00:00
Vadim Zeitlin
4e0291da3c non Unicode VC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 00:40:52 +00:00
Vadim Zeitlin
66c750fe1f 1. wxWizard docs added
2. wxDllLoader docs added (not wxLibrary though - have no idea about this one)
3. some minor fixes to wxCmdLineParser and wx[F]File docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 00:39:07 +00:00
Robin Dunn
316917bffc Added "wxPaintDC dc(this);" to wxGrid::OnPaint prevent too many
paintevents that don't actually do anything.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 21:58:46 +00:00
Robin Dunn
9a0fa1f97d changing \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 21:30:59 +00:00
Ove Kaaven
edd170072c Made wxMBConv::c??2?? methods handle conversion failures
(by returning a NULL buffer... this causes an assertion failure in
buffer.h in debug mode, perhaps that assert should be removed?
Well, it's better than completely unpredictable behaviour anyway)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 21:05:43 +00:00
Ove Kaaven
9a4920b88f Made wx[F]File::Write(wxString) convert string to multibyte encoding
(added optional conversion parameter). If someone actually wants to write
text files in real Unicode format, I feel that a wxMBConvUTF16 or
something should be written (which would be more portable than writing
wchar_t buffers directly, considering byte order and widths and such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 20:45:18 +00:00
Guillermo Rodriguez Garcia
8a2a71db83 mingw makefiles don't like backslashes!!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 15:51:45 +00:00
Stefan Neis
8f2a695c7e Added wxStat define for non-MSVC environments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 12:11:20 +00:00
Robin Dunn
4d350ff2ca Exported a few more things for DLL builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 03:27:55 +00:00
Ove Kaaven
73830147df A few documentation updates, cross-references, properties of UTF-8,
wx??2??buf macros.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-02 00:27:04 +00:00
Vadim Zeitlin
9728ba5c8a compilation in Unicode mode works with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 23:19:12 +00:00
Guillermo Rodriguez Garcia
a250a49231 Mingw makefiles shouldn't use backslashes!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 23:01:07 +00:00
Vadim Zeitlin
f696bf6ad8 more wchar_t tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 22:54:43 +00:00
Vadim Zeitlin
01065b945b add compile-time setting to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 21:35:06 +00:00
Vadim Zeitlin
37b592312a 1. fixed deletion of buttons in toolbar with old comctl32.dll
2. XPMs can be used in toolbar buttons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 21:21:22 +00:00
Stefan Neis
89d645f834 Fixed minor bug in minimizing/maximizing windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 20:02:20 +00:00
Vadim Zeitlin
67c9a0797c works for other branches than the main one too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 16:34:43 +00:00
Vadim Zeitlin
101c20d554 attempting to fix sa_handler signature for IRIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 16:34:20 +00:00
Robert Roebling
94f171bf97 wxDirDialog now opens the right dir folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-01 11:38:04 +00:00
Robin Dunn
31dd5b6281 another rename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 19:46:00 +00:00
Guillermo Rodriguez Garcia
f81f04c12c Replaced XPM correct file names (not all lowercase)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:47:39 +00:00
Vadim Zeitlin
39d4044805 newer versions from GTK+ 1.3.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:23:08 +00:00
Vadim Zeitlin
3877d3b5bc regenerated makefiles from templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:21:40 +00:00
Vadim Zeitlin
b3000445d8 corrected syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:16:48 +00:00
Vadim Zeitlin
39cd08a993 make font conversions work in wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:12:32 +00:00
Robin Dunn
41f8d6eecb renaming files (changing case) at Guillermo's request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 18:02:43 +00:00
Robin Dunn
722c71a8cf Reapplying Eric's changes on the 2.2 branch. They are:
1.  I have grabbed a new copy of the original Scintilla code from its
CVS repository on SourceForge.  I believe this code corresponds to
Scintilla 1.24.

2.  That code included several new files (stc/scintilla/src/Lex*.cxx)

3.  I added mentions of those files to Makefile.in and the .dsp file.

4.  I added a new required method to PlatWX.cpp, but it doesn't do
anything, and I don't think it needs to.

5.  I added code to stc.cpp which gratuitously references all of the
lexers, to prevent them from being optimized away by the linker.

6.  I modified (stc/scintilla/src/Lex*.cxx) to make the LexerModule
objects externally visible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 17:47:52 +00:00
Stefan Neis
1904bfd1e9 Repaired semantics of EVT_GRID_SELECT_CELL.
Added OnKeyUp handler for selection with Shift+arrow keys.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 17:04:54 +00:00
Guillermo Rodriguez Garcia
848bb8e625 For DLL builds, the declaration of WinMain now takes fake
arguments (WXHINSTANCE, WXHINSTANCE, char*, int) in order
to avoid the need of #including <windows.h> from app.h.
Also, WinMain is now declared as extern "C".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 16:16:05 +00:00
Vadim Zeitlin
864714b947 added -L/usr/lib for HP-UX shared lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 14:30:58 +00:00
Vadim Zeitlin
dbb6642ba2 changed order of libraries: -lz, -lm should now be at the end
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 14:23:57 +00:00
Vadim Zeitlin
7f30725c85 1. fixed wxBitmapButtons in wxStatBar95 bug
2. fixed handling of accels in wxDocMDIParentFrame
3. fixed wxComboBox tooltips


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 00:21:24 +00:00
Vadim Zeitlin
40dd4a59a2 1. statbar shows that wxBitmapButtons do work with it
2. some accels added to [doc]mdi samples


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 00:20:42 +00:00
Vadim Zeitlin
1c45dfd0e9 show that comboboxes do get char events now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 22:33:18 +00:00
Vadim Zeitlin
54d68b7174 only use __forceinline for VC++ 6.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 22:30:42 +00:00
Vadim Zeitlin
597acb605c 1. fixed apparent bug in wxGrid code
2. fixed WM_CHAR handling in combobox
3. fixed controls positioning in the toolbar with older comctl32.dll/mingw32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 22:26:34 +00:00
David Webster
3139a47403 Fix for the runaway WM_PAINT message in wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 22:17:43 +00:00
Vadim Zeitlin
6577ef5ffc test for dlerror() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:53:30 +00:00
Vadim Zeitlin
68a1337089 wxDllLoader test fixed for Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:52:18 +00:00
Vadim Zeitlin
2dff8d830d unused var warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:45:57 +00:00
Vadim Zeitlin
7188bfcf6e tests for key/char events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:21:18 +00:00
Vadim Zeitlin
abb5e0c057 fill the wxListEvent fields when sending LIST_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:20:11 +00:00
Vadim Zeitlin
266f6c261f select the initially specified path in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:14:24 +00:00
Vadim Zeitlin
bbeed8c707 refresh menu item should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 17:05:57 +00:00
Stefan Neis
428f582c20 Selecting by Shift+arrow key wouldn't notice, if it was moving beyond the
grid bounds; now it does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 15:44:59 +00:00
Stefan Neis
053ad70036 Modified version of DrawGridSpace.
Added minor improvement suggested by GRG.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 15:24:48 +00:00
Stefan Neis
f9b5150a08 Added a deselection event for ClearSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 15:17:04 +00:00
Vadim Zeitlin
24754f6ac2 1. some more notes about Unicode compilation
2. wxUSE_WCHAR_T is not always (re)defined as 1 in wxchar.h (grrr..)
3. added wxDllLoader test to console sample
4. wxComboBox now gets WM_CHAR


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 00:16:18 +00:00
Vadim Zeitlin
ee5bb015fe more tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 00:15:31 +00:00
Vadim Zeitlin
45680bc875 some consistncy tests added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 21:48:06 +00:00
Václav Slavík
4c751ba476 added wxHF_FLATTOOLBAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 19:11:12 +00:00
Ron Lee
5150fda961 recommitting after I lost a race with Vadim :-)
relevant changes were:
  contrib libs now build with an soname when you --enable-burnt_name
  added -Wall (CXXWARNINGS) to CFLAGS for gcc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 17:48:12 +00:00
Vadim Zeitlin
16d8c174e7 1. attempts to fix vsnprintf() check
2. use AC_TRY_COMPILE(), not RUN() for vscanf() check
3. don't test for joystick support in !wxUSE_GUI


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 16:33:26 +00:00
Vadim Zeitlin
7a063aed7c another small test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 15:34:57 +00:00
Ron Lee
724b684729 contrib libs now build with an soname when you --enable-burnt_name
added -Wall to CFLAGS
added Makefile.in's for ogl samples
more spring cleaning of contrib makefiles
contrib libs now go in $(top_builddir)/lib
removed duplicate $(APPEXTRADEFS) from compile flags
fixed makelib.env install target to install headers too
More changes to Debian packaging:
  using system libs now
  added runtime and -dev packages for contrib libs
  split headers to a separate package to make Base independant of gui libs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 15:32:47 +00:00
Vadim Zeitlin
d0a52e0bbd corrected documentation of spin events, added wxSpinEvent class docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 14:46:00 +00:00
Vadim Zeitlin
43e3c488db regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 14:19:01 +00:00
Václav Slavík
a8657df481 fixed bug in Makefile: did not copy doc directory -> sample didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 10:41:53 +00:00
Ron Lee
43c558d6c6 wrapped code in #if wxUSE_JOYSTICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-29 06:27:52 +00:00
Václav Slavík
3b1dca0421 fixed bug in handling tags that use CR or LF as properties deliminer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 21:20:36 +00:00
Guillermo Rodriguez Garcia
3658812d91 There was no event handler defined for the 'Exit' menu option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 20:51:34 +00:00
Vadim Zeitlin
970f410fba results for IRIX and HP-UX added/updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 18:57:50 +00:00
Vadim Zeitlin
441284d297 compilation error for HP-UX fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 18:30:13 +00:00
Vadim Zeitlin
50ef70097b compilation error with non-gcc fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 18:16:09 +00:00
Julian Smart
b30ba481be Added an assert to dialog.cpp to make it clearer where the failure happened.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 09:29:14 +00:00
Guillermo Rodriguez Garcia
b60473e401 Replaced one call to isalpha with wxIsalnum in wxURL::ConvertToValidURI because:
a) numeric characters are also valid in an URI
b) wxIsXXX should be used for wxChar instead of ANSI-C isXXX, so that the
   code will also work in Unicode builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 08:59:12 +00:00
Julian Smart
d6f6f90a65 Fixed buggy printer-setting-remembering bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 08:52:19 +00:00
Robin Dunn
bf37745c30 minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 06:13:29 +00:00
David Webster
6b44ceb65f Merge between dev and stable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 05:13:00 +00:00
David Webster
8527a3f264 Merge between dev and stable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 05:10:48 +00:00
Robin Dunn
809527ae06 Don't hard-code the CRT library name, let the /M* flag set the default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 00:55:44 +00:00
Ove Kaaven
595f4bc27a IMHO, putting #if defined(__VISAGECPP__) (is it Visual Age?) around the
two known trouble lines in here was a stupid idea (the work of someone
who didn't pay attention to wx-dev discussions?)...
now that wxEncodingConverter is fixed, I took them away...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 00:39:51 +00:00
Ove Kaaven
8a2d60784d OK, fixing wxEncodingConverter was a little bit harder than I expected
because of some dodgy overloading implementation in here, but this ought
to do it, I think... (or is it hope?)

I wonder if my tree still keeps on having unicode enabled even when I
reconfigure with --disable-unicode, and that's why I didn't detect the
wxEncodingConverter problem myself? Wonder if that is still the case?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 00:34:38 +00:00
Guillermo Rodriguez Garcia
387cdaf2f4 Use 'localhost' directly instead of wxGetHostName, which sometimes does not
do the right thing. This change doesn't affect DDE classes, which ignore this
argument anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 19:40:37 +00:00
David Webster
fc478ddb79 GSOCKET fix from dev branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 18:35:03 +00:00
David Webster
5ab57de77d Compile bug for unsuitable method in MB2WC and WX2MB procs. VA only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 18:34:35 +00:00
Vadim Zeitlin
b328857cfb wxCmdLineParser docs added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 18:01:16 +00:00
Julian Smart
b56958a1b8 Added symbol to work around comctl32.dll problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 17:11:42 +00:00
Vadim Zeitlin
3ca1eceb08 don't trasnform output dir name to lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 15:33:10 +00:00
Vadim Zeitlin
bcfc655bca a usage msg cosemtic fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 15:29:32 +00:00
George Tasker
3a46d09870 Start of the Latex documentation of the wxDB/wxTable classes, converting them from MSWord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 15:29:04 +00:00
Stefan Neis
233da17eb2 SelectCell forgot to pass ControlDown & Co to SelectBlock in row/column
selection mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 12:13:13 +00:00
Ron Lee
bc23effaaa added joystick.cpp to filelist for gtk.
added datafile to joystick sample makefile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 17:38:51 +00:00
Ron Lee
de69e5b8fb added missing bits for static _gl lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 17:24:58 +00:00
Stefan Neis
fdbd6b7d7c Moved APPEXTRALIBS to beginning of LDLIBS, since they might depend on wx library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 15:35:31 +00:00
Stefan Neis
6989e08f3a Changed wxGrid::OnPaint to call Refresh on subwindows.
Added Refresh to wxGrid::EndBatch().
Use batch mode in sample.
Changed CalcDimension to better handle cases with zero columns or rows.
No more automatic insertion of column when adding rows to a grid without
        columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 12:36:59 +00:00
Robin Dunn
48ed8556ac First pass on STC wrappers
Lots of little fixes, tweaks, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 02:39:21 +00:00
Ove Kaaven
ad7e243fbd Try to avoid sending a string through mbstowcs() when already Unicode
(added #if wxUSE_UNICODE etc).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:12:57 +00:00
Ove Kaaven
ad5730d735 Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:10:16 +00:00
Ove Kaaven
849963ea9e Compiles better under Unicode now (but works is another issue)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:09:02 +00:00
Ove Kaaven
049bf7d36f wxLogError()'s second argument is wxChar*,
so it likes c_str() better than mb_str()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:07:40 +00:00
Ove Kaaven
ab64366836 A couple of Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:06:31 +00:00
Ove Kaaven
12c1498d81 I suppose text validators may take Unicode input as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:05:30 +00:00
Ove Kaaven
659755d7c2 wxResourceBuffer changed back to char*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:03:52 +00:00
Ove Kaaven
0166fed863 A few Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:03:26 +00:00
Ove Kaaven
caf45e24c0 Trashed old wxCSConv loader code. Replaced with code that uses
wxTheFontMapper->CharsetToEncoding and wxEncodingConverter for now
(trying to do something more major would probably be too big for
WX_2_2_BRANCH, this can be reimplemented in a better way later).
Untested but compiles fine and ought to work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 23:01:29 +00:00
Ove Kaaven
8fac236758 Improved conversion constructor arrangement to always allow a second
wxMBConv-type argument (changes the signature of the non-Unicode
create-from-wchar_t constructor).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 22:56:20 +00:00
Ove Kaaven
c6f724133d Corrected a cut&paste-syndrome-typo (it said MB instead of WX).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 18:21:14 +00:00
Julian Smart
a056ae5da9 Removed inline that caused strange a link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 18:10:06 +00:00
Ove Kaaven
9f6905e5e9 Some operator!= against wx[W]CharBuffer that was necessary to compile
wxWindows with Borland C++ 5.02


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 17:17:12 +00:00
Julian Smart
ae65b148b8 Fixed c_string typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 14:46:40 +00:00
Ove Kaaven
ec48224709 Topic overview for wxMBConv classes (more or less).
Describes how it is *supposed* to work, not how it actually works, but
I'll begin implementing the missing pieces as soon as I get my tree to
compile in Unicode mode again...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 14:41:21 +00:00
Stefan Neis
857a175053 Added support for grids with m_numRows=0. SelectRow(i,TRUE) now sets
ControlDown to TRUE in the generated event.
Fixed stupid bug in row/column deletion in griddemo.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 14:02:54 +00:00
Robert Roebling
afc91dbf75 wxListCtrl doesn't select the first item in
single selection mode anymore (as per MSW).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 13:36:03 +00:00
Ove Kaaven
ff9282a83f Some documentatin for wxConv classes. But still need to write an overview...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-25 11:49:20 +00:00
Václav Slavík
7dc5c3c803 update Czech translations - now in sync with 2.1.14 (and hopefully 2.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 22:35:57 +00:00
Julian Smart
7f4bca30df Unmods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 19:26:56 +00:00
Robert Roebling
dc25e1d304 Trying fight aganist CVS clashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 17:45:40 +00:00
Vadim Zeitlin
356cbde599 added wxTreeCtrl::ExpandAll() which is now called by char handler when '*' is
pressed to expand all subitems (MSW compatible)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 16:03:29 +00:00
Vadim Zeitlin
39d496f99f include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 16:02:42 +00:00
Vadim Zeitlin
8fb34454e4 fixed #pragma interface hell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 15:52:09 +00:00
Julian Smart
2e377124b4 Added modal dialog OnIdle processing; added asserts to helpfrm.cpp to confirm
XPM loading problem; fixes some compilos.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 15:48:10 +00:00
Vadim Zeitlin
eb118c55fd fix for casting from GtkScrolledWindow to GtkWindow: don't call
gtk_window_set_geometry_hints for MDI children


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 14:04:46 +00:00
Vadim Zeitlin
5f5083ca69 compilation fixes for Unix after Unicode fixes for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 13:59:22 +00:00
Vadim Zeitlin
93f4eec3c9 added wxThread() ctor parameter description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 13:57:42 +00:00
Julian Smart
62a2a686a5 Compile problem fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 13:21:25 +00:00
Julian Smart
846b6d921a Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 12:12:21 +00:00
Julian Smart
d15a450d54 Some Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 11:31:14 +00:00
Vadim Zeitlin
9be2e3416d compilation/linking fixes for DLL build in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-24 01:56:00 +00:00
Julian Smart
f7b5f357d4 Some more script bits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-23 21:19:49 +00:00
Julian Smart
6ed30bba72 Made it possible to switch off more settings; fixed wxScrollWindow::Scroll bug
(if x == oldx, skipped processing of y direction)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-23 21:16:24 +00:00
Guillermo Rodriguez Garcia
9c1df6be77 Updated mingw/cygwin information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 20:23:49 +00:00
Julian Smart
8dcaa21a6d Fixed BC++ makefile for FINAL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 19:10:39 +00:00
Robert Roebling
4fc4819958 Bumped up to 2.1.15.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 18:31:28 +00:00
Robert Roebling
5983e80bae Corrected wxGTK.spec as per 2.1.14 (hadn't commited),
Removed include "gtk.h" from the public pen.h header and
     added check for this to configure etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 18:04:07 +00:00
Vadim Zeitlin
5795cc366f added a note about comctl32.dll bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:57:52 +00:00
Vadim Zeitlin
fe2ebc8542 Cygwin tested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:56:53 +00:00
Vadim Zeitlin
8b0cbaa206 french translation done!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:56:23 +00:00
Vadim Zeitlin
d68bc1ffa6 small fix for msg catalog search path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:55:39 +00:00
Vadim Zeitlin
f6eb66c345 the French translations for wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:33:28 +00:00
Vadim Zeitlin
988ba3ce13 check for vsnprintf() with C++ compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:02:06 +00:00
Guillermo Rodriguez Garcia
fb5e087649 Various small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 21:02:43 +00:00
Guillermo Rodriguez Garcia
ad269e4c7c Fixed a memory leak in wxTCPServer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 20:34:06 +00:00
Julian Smart
c26fc0be88 Started (but got bored with) Unicode corrections; wxTreeCtrl correction; misc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 20:33:34 +00:00
George Tasker
9a0466f130 Fixed typos in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 19:18:16 +00:00
Vadim Zeitlin
dcb8d5e619 test for shl_load() with -ldld (needed under HP-UX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 17:45:22 +00:00
Bryan Petty
f7bdc70eca This commit was manufactured by cvs2svn to create branch
'WX_2_2_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 17:45:22 +00:00
Vadim Zeitlin
dc3d889d0b 1. some (benign) warnings fixed
2. make dist/install fixes for wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 18:41:55 +00:00
Vadim Zeitlin
b18cfdd9bd wxThread::Kill() doesn't call OnExit() incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 17:39:18 +00:00
Julian Smart
f8f3e76318 Had to #ifdef out wxGetFullHostName for Cygwin b20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 16:52:43 +00:00
Julian Smart
f47cd02d71 Win16 BC++ makefile fixes, other v. small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 16:32:55 +00:00
Julian Smart
05edc41991 SetBrushOrgExt broke WIN16 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 15:48:54 +00:00
David Webster
6aa929e784 gsocket update. Fix for EMX broke VA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 14:47:47 +00:00
Vadim Zeitlin
8916026b7e always link with libm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:46:14 +00:00
Julian Smart
0a0352f2f8 Docview mended (grrr) and OGL studio partially working under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:41:16 +00:00
Guillermo Rodriguez Garcia
26993c4f64 Added extern "C" around winsock and moved it before "wx/msw/private.h"
to make it work with mingw (2.95 is buggy)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:00:27 +00:00
Guillermo Rodriguez Garcia
062a3faae7 Patch to add extern "C" to winsock.h in gcc2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 12:57:26 +00:00
Julian Smart
09fb214e01 Added joytest Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:54:26 +00:00
Julian Smart
34cb2199dc Fixed wrong cursor problem in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:53:48 +00:00
Julian Smart
cca602accb Fixed problem with CaptureMouse if cursor is null.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:53:04 +00:00
David Webster
dae167759c OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 00:31:11 +00:00
David Webster
8c5907cea3 OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 00:20:29 +00:00
Guillermo Rodriguez Garcia
c2c436609d A duplicate case label broken mingw compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:43:38 +00:00
Guillermo Rodriguez Garcia
dbf75be725 Added a Motif-only extra call to UpdateInfoText() just after frame creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:19:52 +00:00
Ron Lee
ceded8b925 fixed broken test for wxUSE_JOYSTICK in configure.
added joytest sample to samples_dist and samples/configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:04:18 +00:00
Julian Smart
281b0186b8 Misc small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:55:13 +00:00
Robert Roebling
1f3c610d03 The Return of WM Size Hints Part IV.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:51:08 +00:00
Vadim Zeitlin
a20b6d3ab3 zlib objects linked together with wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 18:51:40 +00:00
Vadim Zeitlin
7ff26ec2ae wxFTP::Close() shouldn't hide base wxSocket function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 18:46:55 +00:00
Robin Dunn
bae411099c Allows wxStatusBar95 to send common events like other windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 17:21:28 +00:00
Vadim Zeitlin
bd3277fec0 1. corrected HAVE_PW_GECOS detection in configure (which never worked)
2. added and documented wxGetFreeMemory() for Unix (Linux/Solaris only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:45:43 +00:00
Robert Roebling
15909a16b3 Funny resize behaviour fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:23:09 +00:00
Václav Slavík
3d6f72618e fixed KeySym handling ((keysym & 0xF000) != 0 instead of keysym < 0xFF to determine printable characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 15:28:45 +00:00
Julian Smart
9c6751aa46 Small mods to distrib files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 15:24:27 +00:00
Julian Smart
7fee680be8 Some VC++ makefile fixes; minor comment mods to setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:47:13 +00:00
Ron Lee
8e792b5432 added missing object file for vidxanm to unix makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:43:52 +00:00
Stefan Neis
3720ab6a98 Added info about versions for XFree86/OS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:34:23 +00:00
Vadim Zeitlin
2633045c32 some old Danish translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:18:16 +00:00
Vadim Zeitlin
c837a756e8 OS/2 info added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:59:52 +00:00
Vadim Zeitlin
a5ea1d7cc8 compilation fix for anything different from VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:52:50 +00:00
Ron Lee
08c921042e added missing object files for oss & esd to unix makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:51:13 +00:00
Vadim Zeitlin
e9f88d0414 some more (apparently harmless) changes from Klass Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:27:52 +00:00
Vadim Zeitlin
af7451accc translator for Swedish added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:20:06 +00:00
Vadim Zeitlin
f7aa71fa81 some more explanations about thread exiting/killing/deleting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:10:02 +00:00
Stefan Neis
444cb676b2 Chnaged includes to work without precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 12:57:08 +00:00
Vadim Zeitlin
6e58645e86 apparent gcc bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 12:36:04 +00:00
Robert Roebling
d06b34a73e Highly experimental, unstable code (for determining the
encoding of the default GUI font). #ifdeffed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 10:31:26 +00:00
Robert Roebling
aaef15bf82 Small speed-up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 09:08:09 +00:00
Ron Lee
3711412e38 repaired some of the more obvious horrors in the contrib (configure) Makefiles
reworked makelib.env so that it now can create shared libs and has (un)install
targets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 04:09:08 +00:00
Robin Dunn
ede8795ff0 wxUSE_DYNAMIC_CLASSES was left out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 03:41:25 +00:00
Unknown (NI)
e8741ccae8 fixed wxListMainWindow::HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 02:10:09 +00:00
Vadim Zeitlin
feea7c52e9 don't compile docvwmdi sample if !wxUSE_MDI_ARCHITECTURE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 00:57:10 +00:00
Vadim Zeitlin
3b415ba4cd 1. fixed crash in wxDateTime::ParseDate
2. some DLL compilation fixes
3. wxHandleFatalExceptions() implemented for MSW and documented
4. some attempts to make setup0.h a bit nicer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 00:56:22 +00:00
Stefan Neis
b59c98ddb8 Added includes needed if not using precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:42:28 +00:00
Stefan Neis
999e841c9e Removed redundant member variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:24:51 +00:00
Stefan Neis
7a85f3f97c Don't try to use Tooltips, if they are not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:12:01 +00:00
Stefan Neis
6040c9de74 No precompiled headers for gcc, even if compiling WXPM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:50:07 +00:00
Stefan Neis
468e327aac Added a couple of fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:28:28 +00:00
Vadim Zeitlin
eb4efbdc86 some files for wxHandleFatalException() I previously forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:25:22 +00:00
Václav Slavík
08abd69b58 changed titlebar text colour from white to fg[GTK_STATE_SELECTED]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 21:46:18 +00:00
Ron Lee
c56371028f These two makefiles were *horrid* abominations.
In fact they still are.  But at least now they have
some _chance_ of actually working..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 21:15:16 +00:00
Ron Lee
99ad02720b made makefile more robust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:22:18 +00:00
Robert Roebling
1bd59dddc3 wxAccel fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:18:00 +00:00
Julian Smart
fac2666314 Added def files for making OpenGL DLLs (Mingw32); added comment to wxHTML format
doc; added OpenGL libs to makeg95.env


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:11:10 +00:00
Robert Roebling
7c1122c4eb I don't think the last person to edit splitter.cpp did
actually run the sample afterwards. I did.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 18:47:00 +00:00
Stefan Neis
2b33b72819 Added conversion of menu labels (&->~)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 17:39:14 +00:00
Guillermo Rodriguez Garcia
90cfeaab3f Had to #ifdef out all the new wxGetFullHostName code as it breaks all
the samples and apps _at least_ under mingw (and I think it will also
cause other problems). Sorry, will have to wait for 2.1.14 to be released
before this can be properly fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 16:48:02 +00:00
Julian Smart
2d027cfa88 Removed the wonderfully malicious WS_CLIPSIBLINGS style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 15:50:40 +00:00
Julian Smart
d50af7148c Corrected my correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 14:12:11 +00:00
Julian Smart
2c68bdb64e Moved position of WXDLLEXPORT keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 13:24:58 +00:00
Julian Smart
541418efad Corrected WXDLLEXPORT keyword position.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 13:19:54 +00:00
Julian Smart
741f371c68 Restored sane way of using BC++ linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:34:56 +00:00
Julian Smart
6787e41e49 Added stub for wxHandleFatalExceptions. But where's the implementation?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:26:44 +00:00
Julian Smart
528e0faf1c Doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:20:21 +00:00
Robin Dunn
ee284519e4 When making the DLL with glcanvas then you have to link the dll with
the gl libraries.  Added a flag to let the makefile do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 08:33:15 +00:00
Robin Dunn
bd53731ec3 When making the DLL with glcanvas then you have to link the dll with
the gl libraries.  Added a flag to let the makefile do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 08:15:25 +00:00
Robin Dunn
4107335720 new swig generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 07:57:59 +00:00
Robin Dunn
de9d9ed211 changes for wxDash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 07:57:15 +00:00
Vadim Zeitlin
89e6035748 more tests: OS/user info functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:02:38 +00:00
Vadim Zeitlin
2e8a1588f8 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:02:03 +00:00
Stefan Neis
c092213d52 Added include of module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:01:33 +00:00
Vadim Zeitlin
1f0500b3ee 1. wxGetFullHostName() does return the full host name now under MSW
2. wxGetEmailAddress() doesn't always return empty string...
3. status bar created under MSW is of type wxStatusBar, hence wxWin RTTI
   works for it
4. carsh in IPC sample fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:00:10 +00:00
Robin Dunn
8759d4d519 fixes for drop source and for capturing the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 19:30:19 +00:00
Robin Dunn
aa9fb2be6d Some wxPython doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:59:26 +00:00
Robin Dunn
6a6d5b4731 fixing the STC sample makefile to find the include directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:49:18 +00:00
Vadim Zeitlin
a7987cc1a2 fix in fontspec parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:29:58 +00:00
Vadim Zeitlin
b2b3552407 HTTP_PROXY bug (freeze on program startup) should be fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:18:58 +00:00
Robin Dunn
fb04b3438d wxFont remembers facename of actual font used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:16:08 +00:00
Julian Smart
b2cf617cb8 Some doc fixes; BC++, Watcom C++, Mingw32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 17:59:56 +00:00
Vadim Zeitlin
a37a5a73c5 wxHandleFatalExceptions() added, documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 16:55:34 +00:00
Stefan Neis
3bfbab1e83 Added missing IMPLEMENT_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 16:41:12 +00:00
Robert Roebling
5d9fe0892b Small makefile change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:42:54 +00:00
Vadim Zeitlin
7d9fd00474 skip status bars in wxWindow::Fit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:30:55 +00:00
Guillermo Rodriguez Garcia
e5b502f3a6 Fixed bug for late events arriving after connections had been destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:09:18 +00:00
Vadim Zeitlin
bc1dcfc1aa warnings from FreeBSD compilation log removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 14:08:54 +00:00
Julian Smart
f4bfe7e0c1 Removed an include from windres flags since it can't cope with a long command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 14:05:16 +00:00
Vadim Zeitlin
a18db02249 oops, compilation error - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:59:54 +00:00
Vadim Zeitlin
2d8a5cb1da wxSTIPPLE_MASK_OPAQUE implementation from Klaas Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:58:17 +00:00
Bart A.M. Jourquin
7ef53f2dc5 fix for textctrl height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:39:45 +00:00
Bart A.M. Jourquin
5a074a3c22 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:31:51 +00:00
Bart A.M. Jourquin
780ee02d16 default font for dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:12:10 +00:00
Stefan Neis
1c85008fcf Added #pragma implementation for gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:47:10 +00:00
Stefan Neis
a78e08d6cb bool-> int, gcc doesn't like bool in _C_ code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:46:29 +00:00
Stefan Neis
27f37ae504 bool->int, since gcc doesn't like bool in _C_ code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:45:29 +00:00
Julian Smart
f6a3517155 Added back gnuwin32 include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:01:00 +00:00
George Tasker
ec974d2300 RCS left a turd in the previous checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 11:18:46 +00:00
George Tasker
2750885629 Fixed compilation in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 11:15:57 +00:00
Julian Smart
6158481fe5 Added some makefiles, more BC++/win16 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 10:08:07 +00:00
Julian Smart
9c824f2977 Doc updates; new grid disabled for BC++/WIN16 (too much global data)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 09:19:37 +00:00
Mark Johnson
595b5c4eb6 db.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:44:44 +00:00
Mark Johnson
e2f1cfb2cc browsedb.cpp browsedb.h doc.cpp doc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:43:57 +00:00
Unknown (MT)
6fb8177afd added WS_CLIPSIBLINGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:10:09 +00:00
Unknown (MT)
d3f5d09d47 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:07:00 +00:00
David Webster
c3cea74805 more framework fixes for menu displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 23:24:38 +00:00
Guillermo Rodriguez Garcia
cc534ff767 Removed bool params and retvalues in GSocket interface to avoid mismatch
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:21 +00:00
Guillermo Rodriguez Garcia
5c9eff3055 Removed bool params and retvalues in GSocket interface to avoid mismatch
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:20 +00:00
Guillermo Rodriguez Garcia
032d558182 Fixed a problem in GAddress related to CHECK_ADDRESS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:46:52 +00:00
Robert Roebling
80629c8bf6 Next take at getting mini-frames even with Life! to work...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:41:27 +00:00
Guillermo Rodriguez Garcia
609c60af5e More debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:09:08 +00:00
Robert Roebling
8185521695 Fixed mini-frame problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:47:23 +00:00
George Tasker
69d042c37d Fixed a typo in wxDbConnectionsInUse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:42:29 +00:00
Stefan Neis
039bec17f4 Readded #if wxUSE_UNICODE to ~wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:27:40 +00:00
George Tasker
3f755e2d96 Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
Fixed program so it would not crash when using FILE|EXIT
Fixed widget alignment issues


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:09:42 +00:00
George Tasker
df991b9dfb Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:02:22 +00:00
George Tasker
fdc0367851 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Added a wxDbCreateDataSource() function, though it only works under MSW using VC6, because the API is not available with iODBC.  To use this, it requires linking in odbccp32.lib and #including odbcinst.h in db.h.  This function is disabled with #if 0 for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:00:24 +00:00
George Tasker
4a8fc2c8b3 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Added a param to GetWhereClause() so that now the LIKE operator can be applied to strings rather than EQUAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:00:07 +00:00
George Tasker
8128349e81 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Undid RRs last change, as it breaks backward compatabilty with using this class with 1.6x (GetData() is still a supported function, and is used in dozens of other places in this file, so it could not have broken compilation).
Added a param to GetWhereClause() so that now the LIKE operator can be applied to strings rather than EQUAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 18:59:40 +00:00
Vadim Zeitlin
ab0f03868e added test for bug #38
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:57:19 +00:00
Robin Dunn
4e0dcbb14a converted some args to return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:37:32 +00:00
Vadim Zeitlin
0d910be798 tooltip fix: compile-time test removed, comment explaining it added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:37:18 +00:00
Václav Slavík
23d38b36f8 added remark on hhp2cached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:22:25 +00:00
Vadim Zeitlin
ccdb23df47 better TestSocketServer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:47:45 +00:00
Vadim Zeitlin
9239628cfc bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:30:14 +00:00
Guillermo Rodriguez Garcia
8e3aec856b Only added \n to debug printfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:00:19 +00:00
David Webster
13588544c5 compile bug fixed in SetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 15:53:49 +00:00
Guillermo Rodriguez Garcia
aac67d4c3d More debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 15:35:10 +00:00
Guillermo Rodriguez Garcia
29c25a8e01 MSW: Grouped all MSVC #pragma disable
Unix: Fixed GAddress_destroy leak as Vadim did for MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 12:26:15 +00:00
Guillermo Rodriguez Garcia
0ca580f6fb Process pending events before deleting pending objects, and do it
regardless of the value of wxUSE_THREADS (wxPostEvents can be used
in single threaded apps). Changed: wxApp::OnIdle


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 12:05:01 +00:00
Jouk Jansen
967a572877 Committing in .
Modified Files:
 	wxWindows/docs/readme_vms.txt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:49:44 +00:00
Jouk Jansen
27df579a6f Committing in .
Patches for the wxGTK compilation on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/include/wx/gtk/app.h
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
 	wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
 	wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
 	wxWindows/src/gtk/window.cpp
 	wxWindows/src/gtk/wx_gtk_vmsjackets.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Vadim Zeitlin
117082d17b 1. fixed memory leak in GAddress
2. fixed memory leak with wxLogStderr in wxBase
3. updated tmake files/makefiles for wxBase with wxSocket under MSW
4. fixed wxSashWindow cursor bug by allowing SetCursor(wxNullCursor)
5. fixed warning in gsock*.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:12:31 +00:00
Vadim Zeitlin
89fc5e5d66 removed test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:05:20 +00:00
Vadim Zeitlin
9fc3cba7fa some fixes in TestSocketServer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:04:50 +00:00
Vadim Zeitlin
8a9c22462a 1. fixed memory leak in GAddress
2. fixed memory leak with wxLogStderr in wxBase
3. updated tmake files/makefiles for wxBase with wxSocket under MSW
4. fixed wxSashWindow cursor bug by allowing SetCursor(wxNullCursor)
5. fixed warning in gsock*.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:03:52 +00:00
Robin Dunn
9eb662e94c dropTarget is now dynamically allocated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 00:15:48 +00:00
Unknown (NI)
7e42f2f863 included missing header files - without them mingw32 compilation failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 23:31:15 +00:00
David Webster
c0dbf1fb90 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 23:27:47 +00:00
Stefan Neis
8138a3b0c6 Bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 22:01:45 +00:00
Ron Lee
a99b3d76f2 removed TAB_TRAVERSAL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 20:51:43 +00:00
Julian Smart
d834f22c8e Some C++Builder fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 19:53:30 +00:00
Vadim Zeitlin
8dfea369ea wxSocketServer test added to console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 19:19:44 +00:00
Julian Smart
669f7a111f Various compiler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 18:52:23 +00:00
Vadim Zeitlin
2d8e9af9c9 test data file for console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 17:16:56 +00:00
Vadim Zeitlin
8e907a13ea 1. wxFTP works (somehow)
2. wxSocket/GSocket wxBase support for Unix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 17:16:35 +00:00
David Webster
76990f630b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 16:39:36 +00:00
Ron Lee
e893cd66dc added some missing makefile.unx to samples_dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 16:16:53 +00:00
Ron Lee
39fc1a6a05 makefile changes for utils_dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:58:04 +00:00
Guillermo Rodriguez Garcia
5f3629babd Fixed _Read() when waitall was not set and there was data in the pushback buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:35:33 +00:00
Guillermo Rodriguez Garcia
7b28543293 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:34:41 +00:00
Guillermo Rodriguez Garcia
f4d5e0098a Fixed a endianness stupidity in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 13:29:07 +00:00
Guillermo Rodriguez Garcia
52fbdb5892 Added a warning for unknown events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 13:28:07 +00:00
Julian Smart
53adbc34a2 Changes to ProjGen for new sample filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 12:11:38 +00:00
Guillermo Rodriguez Garcia
896e4cbf4d list.h was included twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:31:26 +00:00
Guillermo Rodriguez Garcia
2288191b9c Forgot to commit this one - changes for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:03:40 +00:00
Bart A.M. Jourquin
032da43172 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:49:20 +00:00
Bart A.M. Jourquin
3cfd2b707d removing ogl from utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:48:14 +00:00
Julian Smart
de8e98f133 Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:41:00 +00:00
Vadim Zeitlin
bbd41262ca mingw32 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:09:17 +00:00
Vadim Zeitlin
9f303149a0 some fwd declarations added to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 07:52:46 +00:00
Guillermo Rodriguez Garcia
ed2eb9afcb Some modifications and additions for full wxBase support -
not tested yet, but it should work OK as is or with little
changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 06:05:00 +00:00
Guillermo Rodriguez Garcia
bac6b9676c Fixed a bug in the latest 'micro optimization' - was skipping one
of each two events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 03:30:40 +00:00
Guillermo Rodriguez Garcia
f6f13cd4a8 err.. not sure :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 02:14:54 +00:00
Julian Smart
627a3091c8 Possible fix for DestroyWindow message in MDI apps (call DestroyChildren in destructor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 00:22:33 +00:00
Julian Smart
fa482912e4 Some doc proofreading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 00:21:49 +00:00
Robert Roebling
8cb9f0d0f8 Fixed missing paint events when overriding DoMoveWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 20:08:31 +00:00
Ron Lee
07a9af327e renamed treelay sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:55:34 +00:00
Ron Lee
11e2dfd37d renamed dragimag sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:47:10 +00:00
Ron Lee
c4f02b1fd8 renamed thread sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:35:40 +00:00
Ron Lee
6718d773ad renamed splitter sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:30:04 +00:00
Ron Lee
b2f757f9b7 renamed notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:24:14 +00:00
Ron Lee
14057bf4dc renamed minifram sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:17:41 +00:00
Ron Lee
f30dcba95d renamed grid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:09:12 +00:00
Ron Lee
8fef0a6eae renamed tab sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:58:22 +00:00
Ron Lee
13f5935c36 renamed wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:50:24 +00:00
Vadim Zeitlin
68662769ff some micro optimisations in SearchEventTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:46:17 +00:00
Ron Lee
5301d93336 renamed treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:37:46 +00:00
Vadim Zeitlin
e72007907a call wxMenubarSetInvokingWindow for submenus appended during run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:28:19 +00:00
Ron Lee
eeb75ae603 ...and extra proplist makefiles too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:22:50 +00:00
Ron Lee
30b641919c renamed proplist sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:20:11 +00:00
Vadim Zeitlin
9ce2171eed portuguese translator added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:58:33 +00:00
Julian Smart
9ba09ba5e6 Removed some redundant files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:53:11 +00:00
Robert Roebling
b4bee866f3 Corrected status bar redraw problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:20:42 +00:00
Vadim Zeitlin
8461a0598c removed -Icontrib from src/make.env, use APPEXTRADEFS for such things instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:09:45 +00:00
Vadim Zeitlin
aaa2f29761 fixed crash in OnChar() after m_key_current was deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:51:43 +00:00
Vadim Zeitlin
624d1a4f31 fixed infinite recursion in TAB handling with panels inside panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:35:03 +00:00
Vadim Zeitlin
110b5d83a6 stc targets in the global makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:11:33 +00:00
Vadim Zeitlin
0f8df1b95c wxDropSource should have def ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:01:06 +00:00
Vadim Zeitlin
e9b663934d makefiles for stc lib and sample for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:00:24 +00:00
Julian Smart
5d525ad911 Doc edits; adding mmedia.rsp; added STC BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:18:20 +00:00
Vadim Zeitlin
e32ddbaae5 temp ugly hack around the bug under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:15:35 +00:00
Vadim Zeitlin
4e6bceff3b reverted all changes by Mark Johnson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:10:15 +00:00
Vadim Zeitlin
8e97b17bbd 1. aapplied patch for bcc makefiles from Ricky Gonzales
2. regenerated makefiles with tmake


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:57:16 +00:00
Vadim Zeitlin
a1a4396142 some appearance fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:50:30 +00:00
Bart A.M. Jourquin
8ba3dcde1e better dialog for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:43:30 +00:00
Vadim Zeitlin
f6c881b448 compilation fir for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:42:25 +00:00
Vadim Zeitlin
73fd4a6046 changed test -a into 2 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:34:28 +00:00
David Webster
dafec3de59 Tiff library icc for VisualAge 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:07:33 +00:00
Ron Lee
367e57ec9b updated samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:06:41 +00:00
Robert Roebling
a8a0b892df Even more printfs in GSocket,
Copmile fix for splitter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 13:53:34 +00:00
David Webster
ee453a161f Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 13:36:35 +00:00
Karsten Ballüder
0902e71a16 fixed arguments to "test"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 12:33:37 +00:00
Julian Smart
9f15eeb32a Added/updated some BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:51:29 +00:00
Václav Slavík
0f3168aa5b Czech message catalog is now up to date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:33:48 +00:00
Václav Slavík
997e13fca4 removed files that have nothing to do here (cz is alias for cs, .mo files for other languages are not here)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:33:22 +00:00
Julian Smart
c0bcc48068 Fixed crash-on-exit bug due to status bar being deleted twice (MDI apps);
small changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:25:54 +00:00
Guillermo Rodriguez Garcia
bc7e88ae03 Changed Socket() and SocketEvent() to Get... in the samples, also added
a few more comments and output messages for easier understanding of what's
going on inside wxSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:56:38 +00:00
Guillermo Rodriguez Garcia
da051b23fe Changed declaration of functions taking an empty arglist (which means
no prototype in C, not (void) like in C++) to take (void) instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:32:27 +00:00
Julian Smart
09707570eb Added gsockmsw.c to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:02:13 +00:00
Julian Smart
8c014dbafe Added prototypes to eliminate BC++ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:00:46 +00:00
Guillermo Rodriguez Garcia
1c282a3a62 Added new file: gsockmsw.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:44:32 +00:00
Guillermo Rodriguez Garcia
70988afbb1 Added gsockmsw which now contains all GUI-specific code for the MSW version
of gsocket - a step towards wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:43:58 +00:00
Guillermo Rodriguez Garcia
5ff8699684 src\unix\gsocket.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:41:34 +00:00
Unknown (MT)
ac6482e0eb remove HWND association when DestroyWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 03:13:01 +00:00
Guillermo Rodriguez Garcia
711df835d3 Removed the PREEXTRALIBS hack - no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 01:05:54 +00:00
Guillermo Rodriguez Garcia
672186efa8 A few unimportant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 01:00:08 +00:00
Vadim Zeitlin
8b8bff20d0 1. demo of status bar at the top in statbar
2. kbd accels added to splitter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:47:03 +00:00
Vadim Zeitlin
43b5058d59 1. status bar can now be positioned on top (and anywhere, in fact)
2. status bar without wxST_SIZEGRIP style won't have the size grip (wow)
3. scrollbars don't get the cursor of the main window any more
4. introduced wxSetCursorEvent and use it in wxSplitterWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:45:54 +00:00
Guillermo Rodriguez Garcia
e828e4f7f1 Added PREEXTRALIBS and .cxx rule
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:09:00 +00:00
Guillermo Rodriguez Garcia
d29e95a922 Added PREEXTRALIBS (ugh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:08:41 +00:00
Guillermo Rodriguez Garcia
afc68427d8 new
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 23:41:18 +00:00
David Webster
8df85a6123 Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 23:29:44 +00:00
Stefan Neis
399b60a0ad Improved selection mode handling in wxGrid::SelectBlock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 22:11:24 +00:00
Václav Slavík
add95ac378 replaced 'wxPCX/GIFHandler:' by 'PCX/GIF:' in error messages -- these are for users, should not reveal internals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:22:49 +00:00
Vadim Zeitlin
58b3bdc933 added test for selection events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:20:39 +00:00
Robin Dunn
c6e7d14fa9 Initialize the field count in Create(). It was using a garbage value
and causing havoc...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:12:31 +00:00
Robert Roebling
2035e10e83 Found bug that skrewed up display wrt horizontal
scrolling of wxListCtrl. The selected area still
    seems wrong, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 16:45:26 +00:00
Vadim Zeitlin
5f170f33fd 1. some patches from Janos Vegh to docview template detection
2. fixed reentrancy bug in wxGetTranslation/wxLogError resulting in infinite
   number of messageboxes
3. wxMenuItem::GetLabelFromText("&Foo") now returns "Foo", not "&Foo" in GTK
   as well
4. test for update region being NULL in wxPaintDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:48:03 +00:00
Vadim Zeitlin
c9ce2da080 suppress gcc warning about non virtual dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:31:15 +00:00
Robert Roebling
d5ab387d2a Typo GtkPizza,
More debug printf()s in GSocket_Write()
  Did I touch plot.cpp ?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:21:40 +00:00
Ron Lee
236a9de39a moved wxDash typedef to gdicmn.h
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Guillermo Rodriguez Garcia
dfd2e67583 Fixed a harmless warning about $d in sprintf and long argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 13:52:49 +00:00
Guillermo Rodriguez Garcia
8290d43d0d Use system default font for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 13:00:26 +00:00
Stefan Neis
6fc0f38fe0 More compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 12:04:25 +00:00
Julian Smart
12646a5ae2 Added tech note on adding class documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 11:20:59 +00:00
Vadim Zeitlin
e59890c3e8 fixed cross-compilation for Windows with mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 09:45:00 +00:00
Vadim Zeitlin
f83e3685a5 remove \r from literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 08:28:21 +00:00
Vadim Zeitlin
6098c7f953 check for strtok_r() using C++ compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 08:27:44 +00:00
Robin Dunn
67003d1af8 Added methods for folding
dropTarget is now allocated with new


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 06:50:32 +00:00
David Webster
a06066343d no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 05:43:53 +00:00
Unknown (NI)
6e395e9c60 someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always redrawn after the first sash move in the OnIdle function, even after the dragging was over\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 02:34:50 +00:00
Unknown (NI)
7e8583bdef someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always redrawn after the first sash move in the OnIdle function, even after the dragging was over\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 01:59:16 +00:00
Robert Roebling
856bc99a57 Added debuf printf()s to GSocket,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 21:26:48 +00:00
Robert Roebling
6e7b6cc6f7 Some doc updates,
makefile and distrib things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 17:11:54 +00:00
Guilhem Lavaux
760e231bf0 Latex doc compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 16:10:13 +00:00
Robert Roebling
d6d26e0414 Corrected scrollwin thumb release event,
Reenabled horizontal scrolling, cannot currently
    reproduce misbehaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:37:49 +00:00
Julian Smart
0d3a69ec70 Added project files for STC; fixed wxStringList memory leaks; small doc changes;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:04:12 +00:00
Ron Lee
2eca425d4b separated wxDash type from platform specific wxGTKDash type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:49:19 +00:00
Julian Smart
8f19c916dc Made iniconf compile on BC++ 5.01 (involved adding Set... accessors to wxConfigBase);
added SafeWord patch to Dialog Editor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:29:13 +00:00
Julian Smart
10d432b1b4 Added Mmedia makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:27:01 +00:00
Mark Johnson
36ba4665ff dbbrowse.cpp doc.cpp de/dbbrowse.mo de/dbbrowse.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 09:11:36 +00:00
Vadim Zeitlin
79f585d903 fixed (rare but fatal) bug in wxWindowDisabler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:49:42 +00:00
Vadim Zeitlin
cbc66a2704 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows
2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:26:21 +00:00
Robin Dunn
5028104652 reenabled the old wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 22:38:39 +00:00
Václav Slavík
e81910e077 fixed incorrect use of _() where it should be wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:33 +00:00
Václav Slavík
f5ba273ecd some != NULL checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:19 +00:00
Václav Slavík
86f6187197 fixed DoGetBestSize -- it returned too small bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:03 +00:00
Stefan Neis
0b7e6e7da2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 18:01:18 +00:00
Stefan Neis
c78b3acd0c Added WXUNUSED_GTK and WXUNUSED_GTK_AND_MOTIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 17:28:36 +00:00
Vadim Zeitlin
451868847b replaced make with $MAKE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 16:38:01 +00:00
Stefan Neis
aa5e1f75d9 Added many WXUNUSED, untabified once again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 13:59:41 +00:00
Stefan Neis
4a64bee465 Fixed remaining int vs. long warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 13:27:39 +00:00
Václav Slavík
f3d05fe417 fixed GTK 1.2.7 vs. <= 1.2.6 API incompatibility: gdk_gc_set_hashes, argument 3 gint8* vs. char*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 12:28:31 +00:00
Julian Smart
f3979fcc3b Oops, compile errors...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:49:46 +00:00
Václav Slavík
5d9dba5b1a documented wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:12:20 +00:00
Václav Slavík
71155438f0 documented wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:06:36 +00:00
Václav Slavík
04a4a2afd5 documented wxFontMapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:40 +00:00
Václav Slavík
de52822400 now compiles with wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:23 +00:00
Václav Slavík
ba9f095e75 fixed documentation of wxList::Clear behavior after DeleteContents(TRUE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:09 +00:00
Václav Slavík
77611ad4da fixed typo : _ instead of wxT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:02 +00:00
Robin Dunn
7ece89c6b1 Did splitting of wxEntry for wxMSW. Not nearly as complex as wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 09:05:03 +00:00
Robin Dunn
c5a7371313 some tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:32:25 +00:00
Robin Dunn
954de0f158 Split up wxEntry so wxPython can use the bits it needs instead of
copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:25:01 +00:00
Robin Dunn
7ff49f0c73 More updates.
Began splitting up wxEntry so wxPython can use the bits it needs
instead of copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:24:00 +00:00
Robin Dunn
4c9993c3c7 updates to correct build errors (new locations, etc.)
minor bug fixes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 03:20:42 +00:00
Unknown (NI)
8775b35700 small change to avoid floating point exception in wxScrolledWindow::Scroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 03:05:27 +00:00
Vadim Zeitlin
b7e1921351 some warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 00:47:45 +00:00
Vadim Zeitlin
378d2bd3a8 some warnings fixed in the sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 00:47:00 +00:00
David Webster
7c8aaed1c7 remove the VisualAge 3.0 hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 23:12:50 +00:00
David Webster
b41cdbf4d3 Icon bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 23:12:21 +00:00
David Webster
9a0c6b1ed2 combine minimal with the .dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:24:54 +00:00
David Webster
7bed7a507c no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:24:07 +00:00
Stefan Neis
0b7e77395d Replaced long by wxCoord as used in the other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:07:01 +00:00
Stefan Neis
4a277ceb2b Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 20:55:15 +00:00
Robert Roebling
b420fb6a37 Small oops in redrawing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 19:49:54 +00:00
Guillermo Rodriguez Garcia
5adbbc2995 Updated to reflect latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:59:20 +00:00
Robert Roebling
27d0ab2482 Committing menubar changes again after CVS trashed them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:30:22 +00:00
Robert Roebling
186baeb237 Fixed various bugs (from - err - various authors) related
to inserting and replacing menubars etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:24:09 +00:00
Julian Smart
a5a55c458f Added icons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 16:09:01 +00:00
Julian Smart
66f55ec64c Doc corrections, wxMotif toolbar AddControl implementation (untested as yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 16:06:33 +00:00
Stefan Neis
723d1b1da1 Removed unused parameter addToSelected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:57:58 +00:00
David Webster
32e768ae94 OS/2 patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:56:17 +00:00
David Webster
3d407edab0 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:53:58 +00:00
Stefan Neis
e32352cf66 Changed wxGridCellCoords from long to int (get rid of most HP warnings?)
Added Shift/Control+Click handling for labels.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 12:27:27 +00:00
Karsten Ballüder
2c4ad28347 fixed configure script for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:33:19 +00:00
Julian Smart
3f8e5072f7 Small fixes for Tex2RTF but alas, we still get memory problems.
Added wxUSE_MFC setting (doesn't include windows.h, removes own memory
tracing); added include <ctype.h> in case where PCH isn't used;
wxExit now exits :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:18:22 +00:00
Julian Smart
0a5835068c Added GIF files to help sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 08:18:14 +00:00
Guillermo Rodriguez Garcia
9bdc99bec2 Fix from Mumit Khan to allow mingw DLL compilation, v.2 :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:32:25 +00:00
Guillermo Rodriguez Garcia
af7b970e76 Fix from Mumit Khan to allow mingw DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:29:51 +00:00
David Webster
d853016702 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 06:23:53 +00:00
Guillermo Rodriguez Garcia
02d15cad11 Ups, mismatch between header and source wrt InterruptWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:54:35 +00:00
Guillermo Rodriguez Garcia
ee80814753 Set IPC by default on MSW (need to test recent changes), instead of DDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:32:40 +00:00
Guillermo Rodriguez Garcia
bffc1eaaf5 Finally deprecated callbacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:31:53 +00:00
Guillermo Rodriguez Garcia
cdc59bb69e Some parts rewritten to use wxSocket events instead of callbacks, as the
latter will be deprecated soon. Also, some slight bugs fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:30:53 +00:00
Robin Dunn
ecc888a08f Fixes for building the DLL with the new auxillary library names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 02:58:58 +00:00
Michael Bedward
f41986da2d Compilation fix for Borland. Write 'T' or 'F' to logBuf rather than
bool return values of XXXDown() key query functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 02:27:48 +00:00
Vadim Zeitlin
dee1b66f85 changed default image size to 16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 01:17:08 +00:00
Vadim Zeitlin
d7da975624 1. fixed warning which was hiding a bug in wxGrid::SendEvent()
2. started documenting wxDateTime
3. and wxLongLong


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 01:15:17 +00:00
Guillermo Rodriguez Garcia
3adb47a937 - Uses wxSocketBase::Destroy() now.
- Fixed a memory leak when connection requests failed.
- Maybe some other (small) bugfix as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 00:21:25 +00:00
Guillermo Rodriguez Garcia
557e701169 Bugfix:
GSocket_Shutdown sets m_detected to GSOCK_LOST_FLAG.
This avoids that Wait operations from wxSocket get caught in an endless
loop, if called after wxSocketBase::Close(). Was breaking IPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 00:20:00 +00:00
Julian Smart
5da69e38e6 Help sample should work for .zip help files now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 23:41:57 +00:00
Julian Smart
98beeb8ba9 Added wxHtmlHelpController version of help file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 23:08:53 +00:00
David Webster
75acb5321e os2 update. Need initializers like windows, not unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 22:26:41 +00:00
David Webster
052e089dce Module definitions files for build VisualAge C++ V3.0 dlls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:15:03 +00:00
David Webster
413098d06c Update for building jpeg as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:50 +00:00
David Webster
1d4ad4df1d Update for building png as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:29 +00:00
David Webster
4de601b128 Update for building xpm as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:05 +00:00
David Webster
7e415a0f66 Update for building zlib as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:11:46 +00:00
David Webster
3bedfb1d17 Update for building tiff as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:11:21 +00:00
David Webster
426d574504 Loads of framework and dll fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:10:00 +00:00
David Webster
60b8078990 Updates for build dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:07:55 +00:00
David Webster
9add53a470 More framework fixes and fixes for building dlls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:06:48 +00:00
Vadim Zeitlin
b0a0942105 fix for resourses compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:32:10 +00:00
Vadim Zeitlin
3283290881 patch from Paul Gammans <paul.gammans@brunel.ac.uk> for cross compiling for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:18:59 +00:00
Julian Smart
7b28757f5e Mmedia, OGL lib directory changes; omitted naughty wxGA_SMOOTH style from wxProgressDialog;
wxMotif toolbar fix; ~wxWindow Motif fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:15:44 +00:00
Julian Smart
b4414c1f37 wxHtmlHelpController made compatible with other controllers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:05:52 +00:00
Robert Roebling
304e5625e5 Disabled horizontal report mode scrolling in wxListCtrl
as it skrews up the display,
  Corrected disabling the closing of top level window
    when there are open (modal) dialogs,
  Minor change to redrawing window-less widgets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:04:36 +00:00
Robin Dunn
9ce192d417 Initial version of wxStyledTextCtrl, a Scintilla wrapper. There is
still LOTS and LOTS to be done, but this is already very functional.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:42:06 +00:00
Vadim Zeitlin
7b22b912fd updated from the current sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:35:16 +00:00
Robin Dunn
fe98790977 Oops. Removed duplicate target.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:26:18 +00:00
Robin Dunn
50a5c3f33e Made clean target be not quite so agressive, added 'cleanall'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:25:20 +00:00
Guillermo Rodriguez Garcia
c17e495529 Removed a space (oh, dear, it looks like a joke
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 18:34:59 +00:00
Vadim Zeitlin
7e12d1bf7f very minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 18:33:16 +00:00
Vadim Zeitlin
b4da05a638 (failed) attempts at fixing menu bar swapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 17:53:58 +00:00
Vadim Zeitlin
8862e11b01 fixed parsing of non quoted entries in .mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 17:14:26 +00:00
Vadim Zeitlin
b97f6d757b regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:48:37 +00:00
Vadim Zeitlin
bd9724b905 Get/SetDefaultItem docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:47:20 +00:00
Vadim Zeitlin
6cbe6d0821 don't define __cplusplus for DECCXX if it is already defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:40:55 +00:00
Vadim Zeitlin
0e8c82331d don't translate wxASSERT_MSG messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:33:49 +00:00
Vadim Zeitlin
771779ed91 use wxFAIL_MSG, not wxMessageBox for programming errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:33:03 +00:00
Vadim Zeitlin
793867a736 explain why quotes/brackets should be used in #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:31:35 +00:00
Vadim Zeitlin
c5d3832cfe fixed the value of LVM_SETEXTENDEDLISTVIEWSTYLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:22:51 +00:00
Vadim Zeitlin
0e93516996 don't allow multiple root in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:19:35 +00:00
Stefan Neis
6b10575493 Make correct cell visible for cursor movement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 15:55:17 +00:00
Stefan Neis
f0d5fc50ef Added workaround for life crashing in toolbar deletion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:58:40 +00:00
Stefan Neis
ca4f2b729c Modified keyboard and mouse handling wrt selecting blocks/cells.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:25:07 +00:00
Guillermo Rodriguez Garcia
4bd87101b3 Added samples.inc to DATAFILES in Makefile.in - is that enough?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:19:32 +00:00
Mark Johnson
30bb7c133e doc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:01:39 +00:00
Stefan Neis
d95b0c2ba0 Changed Shift+Arrow handling
Fixed Ctrl/Shift/Alt/Meta handling in generated events.
Added display of Ctrl/Shift/Alt/Meta status to griddemo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:57:02 +00:00
Robert Roebling
b6fa52db66 Some make corrections for HP and related,
Changed refresh order so that window-less widgets
    don't get overdrawn anymore,
  Prevent GTK from filtering our supposedly unneeded
    expose events,
  Block all expose calls if a resize is requested and
    do a full redraw then, thus removing flicker and
    behaving like wxMSW,
  Moved some doubled expose and draw code from GtkPizza
    to the respective callbacks in window.cpp,
  Set idle priority to a higher value (which should
    indicate a lower priority if I interpret glib.h
    correctly) but the desired side-effect didn't
    really show up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Guillermo Rodriguez Garcia
6da3a3ef1f Removed an extra scope resolution operator in the declaration of class LifeShape
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 12:07:01 +00:00
Vadim Zeitlin
c77ae1d950 (blind) gcc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:12:29 +00:00
Vadim Zeitlin
39d03faf4e warnings in wxCHeCK_MSG fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:08:42 +00:00
Vadim Zeitlin
5bcea60e1b warning in wxCustomDataObject::Free fix (I hope)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:08:17 +00:00
Ron Lee
ecb017924c final (touch wood) tidy after things went pearshaped on line 666
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:06:28 +00:00
George Tasker
a00d62c913 Fixed the fix of the fix so it will compile under VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:40:56 +00:00
Ron Lee
87e1d2a51b fixed my own typo.. oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:17:37 +00:00
Julian Smart
8fdffc7e9b Correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:10:30 +00:00
David Webster
58ca01aeae Placed an ifndef for VA around the MSWGetImagePixels declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:48:14 +00:00
Ron Lee
4dcfef961d fix for pageup 'blind spot'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:34:14 +00:00
Julian Smart
7c4a59a881 Added WinHelp sample doc to samples/help, and made it possible to show
both native and wxHTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:04:51 +00:00
Julian Smart
07fce3c2f9 More makefile and project fun
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 10:38:50 +00:00
Julian Smart
5fa399c9e2 Made VC++ makefiles and project files a bit more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:32:31 +00:00
Guillermo Rodriguez Garcia
90da75e673 Forgot to add this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:30:29 +00:00
Guillermo Rodriguez Garcia
061379e2ac Updated to reflect some of the latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:29:16 +00:00
Mark Johnson
6bf783984a calctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:28:40 +00:00
Guillermo Rodriguez Garcia
f187448d85 All IO calls take void* instead of char*
Added Get/SetClientData to wxSocketBase and wxSocketEvent
Some other deprecated functions & co.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:28:20 +00:00
Julian Smart
62ea79f381 Added WIN16 code for window disabler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:25:42 +00:00
Jouk Jansen
6ad7611a5c Committing in .
Modified Files:
 	wxWindows/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 07:28:35 +00:00
Václav Slavík
96becbd8fa fix of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:32:40 +00:00
David Webster
70a5b429e7 makefile enhancements for dll, ne wxwindll.ics for VA 4.0 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:29:46 +00:00
David Webster
f23208cacc more minimal stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:28:30 +00:00
David Webster
49af73a59b remove the #warning for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:27:31 +00:00
David Webster
3e282d337f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:26:54 +00:00
Guillermo Rodriguez Garcia
fbf5995c02 Ops, stupid me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 17:16:54 +00:00
Václav Slavík
635b44a118 fixed bug: removed m_windowStyle = style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 16:30:45 +00:00
Guillermo Rodriguez Garcia
71622a7ac0 First set of changes toward wxBase compliance :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 16:11:58 +00:00
Mark Johnson
3965571c7c *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 13:47:44 +00:00
Vadim Zeitlin
ea8849aaf6 updated to use msgmerge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 12:17:16 +00:00
Stefan Neis
cf58a48f62 Add Child to parent instead of adding it to itself!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 11:48:36 +00:00
Mark Johnson
9898fcda80 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 11:02:27 +00:00
Vadim Zeitlin
3c002e048d technote about translations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:54:39 +00:00
Vadim Zeitlin
f077f5c39f technote about translations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:53:53 +00:00
Mark Johnson
efa7ad84f6 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:38:12 +00:00
Mark Johnson
78d5068a96 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:19:00 +00:00
Michael Bedward
cb9fb5bb00 Modified <shift>+arrow key behaviour so that the starting cell is
included in the selection


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:07:36 +00:00
Vadim Zeitlin
07e87221f6 Mark Johnoson's additions for variable-width weekday names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:03:54 +00:00
Michael Bedward
1b6dea5de1 Added Create functions. They return TRUE if the file was successfully
created; FALSE if it couldn't be created (or already exists - is that
ok?).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:02:25 +00:00
Vadim Zeitlin
d76bb2182d APPEXTRALIBS added to LDLIBS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:15:35 +00:00
Jouk Jansen
d6c85bee75 Committing in .
VMS/GTK compile support

 Added Files:
 	wxWindows/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:02:37 +00:00
Jouk Jansen
3fa056ab78 Committing in .
VMS/GTK compile support

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/resource.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/filedlg.cpp
 	wxWindows/src/gtk/fontdlg.cpp wxWindows/src/gtk/listbox.cpp
 	wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
 	wxWindows/src/unix/descrip.mms wxWindows/src/unix/fontenum.cpp
 Added Files:
 	wxWindows/lib/vms_gtk.opt
 	wxWindows/src/gtk/wx_gtk_vmsjackets.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:00:27 +00:00
Michael Bedward
19701d22df Removed redundant m_displayed member var from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 08:22:43 +00:00
Michael Bedward
2a7750d939 Moved current cell initialization from wxGrid::OnPaint to
wxGrid::DrawHighlight to accommodate wxGTK behaviour.

Removed redundant m_displayed member var from wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 07:41:58 +00:00
Guillermo Rodriguez Garcia
3f04dfd331 Changed another NONE to wxSOCKET_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 23:39:09 +00:00
Guillermo Rodriguez Garcia
ed8297b98d Some other typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 21:00:02 +00:00
Guillermo Rodriguez Garcia
e8773bdf80 Use IsConnected instead of m_connected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 20:35:53 +00:00
Guillermo Rodriguez Garcia
45ef0076bf Ops, typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 18:14:32 +00:00
Guillermo Rodriguez Garcia
a24cc774ec Trying to fix IPC problems under Linux as reported by VS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:44:27 +00:00
Vadim Zeitlin
0dcf989311 system libtiff can now be used instead of the built-in one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:37:58 +00:00
Julian Smart
59917a749b Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:34:25 +00:00
Guillermo Rodriguez Garcia
425652451b Added wxIcon(const char **) ctor (same as char **)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:34:24 +00:00
Guillermo Rodriguez Garcia
65dc92ca0f removed wxUSE_WXCONFIG (obsoleted by wxUSE_CONFIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:23:16 +00:00
Vadim Zeitlin
a6e2b3a831 patches from Ricky Gonzales <gonzales@pyramid3.net>:
1. BC++ 5.5 compilation/building fixes
2. wxMSW listctrl will use correct ILC_COLOR flag depending on current display
   depth
3. wxFrame::Show() argument is TRUE by default undet GTK/Motif too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:16:12 +00:00
Guillermo Rodriguez Garcia
6b4a39fb51 Documented Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:14:16 +00:00
Guillermo Rodriguez Garcia
5cb9148949 Documented Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:11:10 +00:00
Guillermo Rodriguez Garcia
03bbd98b9c Added a mention about demos/ instead of samples/
Added a mention of the 'samples overview' section in the wxWindows manual
Added EOF marker to easily distinguish the text from the CVS log.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:50:13 +00:00
Guillermo Rodriguez Garcia
b4e87ec32c Added rotate sample and comment about masks in wxImage::Rotate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:31:05 +00:00
Guillermo Rodriguez Garcia
1ea670896b Disabled memory tracing code for mingw32,
Added LIBTIFF support by default,
Added comment about itsy bitsy lib being useful for win3.1 only,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:19:39 +00:00
Guillermo Rodriguez Garcia
d2249417f8 And now some more of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:35:55 +00:00
Guillermo Rodriguez Garcia
70d213e08b Moved some items to 'already done' in the todo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:28:41 +00:00
Guillermo Rodriguez Garcia
89e6463c1a Slight changes to the stopwatch test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:08:17 +00:00
Mark Johnson
67c0489076 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 09:37:35 +00:00
Mark Johnson
260460ae06 dbbrowse.cpp dbbrowse.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 09:08:03 +00:00
Ron Lee
f547e9bb27 set m_clipXX so dc.GetClippingBox returns real bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 04:40:01 +00:00
Guillermo Rodriguez Garcia
a059bcd21c Added blind-fix for vert. scrollbars - not tested yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 02:30:36 +00:00
Guillermo Rodriguez Garcia
b3ddc4c2ec Added support for timer events in Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 00:59:31 +00:00
Ron Lee
ee8dbe6308 set m_clipXX to resultant clipping region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 23:42:50 +00:00
Stefan Neis
b3ef4fb50c Re-added XtDestroyWidget call in ~wxWindow - hopefully fixed the problem
with scrolledWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 20:03:09 +00:00
Robert Roebling
40903af771 Enabled OpenGl in RPM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:53:29 +00:00
Ron Lee
05a1104392 couple of typo/thinko bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:18:31 +00:00
Guilhem Lavaux
5dffa63b2f Removed all wxMMedia2 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:05:13 +00:00
Guilhem Lavaux
e8482f24cf Moved wxMMedia to contrib/src/mmedia
Added contrib configure
Made wxSocket sample compile
Made OGL compile
Modified main configure to pass some more parameter
to children
Changed the wxProcess doc according to the modification

Still some win makefiles to come


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:03:21 +00:00
Stefan Neis
f5b9cde232 Fixed apparent typo (int->wxWindowID)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 18:46:27 +00:00
Robert Roebling
c661ecca60 Various makefile and installation things.
main() is now always in the program. Also added a
    macro that doesn't set main at all so that users
    can have their own.
  The isosurf sample doesn't work anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 17:49:58 +00:00
Stefan Neis
0649ebbdb7 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 16:25:23 +00:00
Guilhem Lavaux
84899251f1 Removed wxMMedia classes doc from the main wx doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 16:05:53 +00:00
Václav Slavík
4d44947336 added missing wxImageList::Add methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 14:15:47 +00:00
Julian Smart
4767810533 Fixed blatant non-initialisation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 11:45:03 +00:00
Vadim Zeitlin
87798c0030 test for 'backwards clock' bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:31:16 +00:00
Vadim Zeitlin
d31b7b682c 1. wxStopWatch tests in console
2. some more messages in exec


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:23:53 +00:00
Vadim Zeitlin
f7bd3a7d8f create null, not empty, region in default wxRegion ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:14:10 +00:00
Vadim Zeitlin
5e1febface 1. wxWindowDisabler modified to bring parent window back to top under MSW
2. modal dialogs without parent now use the app top window as parent or use
   wxWindowDisabler if none
3. modal dialogs bring parent windows to top when activated
4. wxBase dsp will now compile it with MT CRT


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:12:04 +00:00
Vadim Zeitlin
41fd4136fc regenerated from configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 00:06:57 +00:00
Stefan Neis
0912bee1aa Compilation fixes (true->TRUE, false->FALSE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:59:34 +00:00
Vadim Zeitlin
581e8516ea fix for --with-libpng=sys warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:59:13 +00:00
Stefan Neis
0dd8a49d4d Added a fix for compilers with problems to compute signed % unsigned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:38:22 +00:00
Vadim Zeitlin
983a384436 removed warning about wxDrawRectangle being unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:21:53 +00:00
Stefan Neis
5c8fc7c1de Improved handling of selection/deselection events.
Improved keyboard navigation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:09:37 +00:00
Vadim Zeitlin
1f80a703f2 removed extern from inline function declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 22:54:41 +00:00
Václav Slavík
777fd647dc fixed couple of bugs in wxZlibInputStream -- mainly incorrect handling of underlaying stream errors and absolutely wrong bytes counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:23 +00:00
Václav Slavík
39a16cb41d fixed wxDataInputStream::ReadString for empty strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:16 +00:00
Václav Slavík
11eaa98105 fixes for wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:08 +00:00
Václav Slavík
c07c37d70a added more stuff to wxBase: zipstrm, zstream, fs_*, mstream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:36:46 +00:00
Stefan Neis
043d16b225 Bugfixes; added selection modes demo to griddemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 19:56:39 +00:00
Robert Roebling
a56fcaaf46 Some more drawing things,
Tried to make miniframe stay on top, doesn't work,
  Make radio box big enough for its title,
  Can't anylong close disabled toplevel windows,
  Minor other changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 18:40:52 +00:00
Stefan Neis
f1567cddea Added SetSelectionMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:35:58 +00:00
Robert Roebling
e1208c3103 Lotta stuff for drawing etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:23:26 +00:00
Guillermo Rodriguez Garcia
a85139a1b7 Ops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 13:20:35 +00:00
Guillermo Rodriguez Garcia
d90d994c74 Motif blindfix :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 13:20:14 +00:00
Julian Smart
b14159f7d8 Fixed non-standard C++ syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 12:11:47 +00:00
Robert Roebling
993f97eed6 Adapted wxGTK to wxMSW's notion of region setting.
Made Julian's gc_include_inferior hack a bit less radical.
  Small addition to changes.txt,
  Compile fix to dbbrowse sample. Still crashes upon startup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 09:24:17 +00:00
Guillermo Rodriguez Garcia
36bec0acf0 Oh well..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:54:56 +00:00
Guillermo Rodriguez Garcia
bd4d918f36 Fixed (my own) stupidity in Connect() mini-tutorial / comments
Changed all _T() to _() in server.cpp
Modified server to use Destroy() instead of directly accessing the wxPendingDelete list
Removed the panels which contained the textctrls - they are not needed at all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:51:45 +00:00
Guillermo Rodriguez Garcia
2b396caaa2 Stupidity fixed in WaitOnConnect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:42:13 +00:00
Guillermo Rodriguez Garcia
261b9a3df1 Stupidity fixed in WaitOnConnect() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:41:14 +00:00
Václav Slavík
5824f314a3 added compression ratio argument to wxZlibOutputStream ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 22:52:17 +00:00
Guillermo Rodriguez Garcia
77a36397c0 Removed dependency on tiffiop.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:53:27 +00:00
Guilhem Lavaux
3072610753 wxSoundFileStream doc updates (indeed, first write)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:10:49 +00:00
Robert Roebling
5d25c05039 Clean-up, speed-up and bug-fix for wxListCtrl drawing,
Removed overlay things from wxScreenDC,
  Added test for bitmaps clipping with regions.
  Updates to changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:09:19 +00:00
Guillermo Rodriguez Garcia
9764dcbca3 Please add classes in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:58 +00:00
Guillermo Rodriguez Garcia
9181a38382 Added Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:24 +00:00
Guillermo Rodriguez Garcia
d7bd7ca5bf makefiles changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:21 +00:00
Guillermo Rodriguez Garcia
e51b013093 small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:22:35 +00:00
Guilhem Lavaux
70dc22dcc9 Updated some doc (wxProcess, wxSoundStream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:46:12 +00:00
Vadim Zeitlin
20590f751f bug in month day parsing - now check that it's > 1 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:27:18 +00:00
Guillermo Rodriguez Garcia
a6a1ef9e7b new XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:22:42 +00:00
Guillermo Rodriguez Garcia
75f245410a new bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:22:20 +00:00
Guillermo Rodriguez Garcia
29b07a3821 Life version 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:21:48 +00:00
Guillermo Rodriguez Garcia
5f9fd7ea86 no more _ftime instead of ftime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 17:36:02 +00:00
Vadim Zeitlin
2a47e1401b regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 17:04:33 +00:00
Stefan Neis
b58088819b Added extended selection support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:44:33 +00:00
Stefan Neis
d2e4966591 Added gridsel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:35:47 +00:00
Guillermo Rodriguez Garcia
b531e140f1 mingw32 makefiles must use tabs as separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:09:38 +00:00
Vadim Zeitlin
b0230a69bc fatal bug in wxSplitPath fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 14:05:42 +00:00
Guillermo Rodriguez Garcia
91ff98b7b5 Added HAVE_FTIME for all Windows compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 13:51:28 +00:00
Julian Smart
1fc25a89ac Added OGL to contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 11:25:10 +00:00
Julian Smart
b14391d1c8 Removed OGL prior to re-adding; some Watcom corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 11:10:51 +00:00
Vadim Zeitlin
422107f900 removed OGL files from wxGTK build, fixed configure for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:46:23 +00:00
Vadim Zeitlin
2c8e47380e 1. wxShell fixes: now really uses shell (it wasn't different from wxExecute!)
and also added a version which captures the programs output
2. fix for compilers which have void ftime() (my mingw does) in timercmn.cpp
3. updated console sample to test wxShell/wxExecute
4. treetest now can toggle images or change their size
5. wxTreeCtrl doesn't crash if it has no image list


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:31:34 +00:00
David Webster
914589c26c More framework updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 22:13:38 +00:00
Stefan Neis
294f6bcbdb Added class to handle selection inside wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:41:17 +00:00
Robert Roebling
bc3cedfa48 Added test for region clipping.
Corrected makefile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:18:45 +00:00
Vadim Zeitlin
cd6ce4a90c 1. wxProcess changes to make capturing subprocess output easier (and more
reliable), now works in both sync and async modes
2. wxSafeYieldBug() corrected, wxWindowDisabler which is now used in it
   added and documented
3. exec sample updated to illustrate capturing the subprocess output
4. wxStreamBase::IsOk() added
5. wxInputStream::Eof() added and non-blocking Eof() implementation in
   wxPipeInputStream used by wxExecute


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:06:13 +00:00
Guillermo Rodriguez Garcia
21e5527b59 Latest OS/2 changes broke xpmlib for MSW. Fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 17:18:34 +00:00
Vadim Zeitlin
d8e41d423d added demo of capturing program output - doesn't work very well though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 16:17:43 +00:00
Vadim Zeitlin
42d14d4e8f corrected Remove() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 15:41:18 +00:00
Jouk Jansen
61a021a822 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/timercmn.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 11:29:59 +00:00
Ron Lee
bc2e39e366 made msw wxRegion(wxRect&) constructor consistant with other wxRegion constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 10:47:38 +00:00
Guillermo Rodriguez Garcia
1cab5b8d99 Renamed tech notes to tnxxxx.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 04:18:53 +00:00
Guillermo Rodriguez Garcia
0824a13502 Changed naming to TNxxxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 04:17:18 +00:00
Vadim Zeitlin
9121bed249 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 01:06:16 +00:00
Vadim Zeitlin
a95e38c034 1. wxGrid row can't be resized to less than minimal height
2. memory leaks fixed in wxHashTableLong
3. and in wxGrid
4. changed newgrid sample to use char buffers
5. fixed double clicking owner-drawn buttons
6. compilation fix in enhmeta.cpp for !wxUSE_DND
7. bug introduced earlier today in wxGridCellAttr::GetEditor() fixed
8. bool renderer/editor now look as good as I may ever make them look
   good under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 00:58:11 +00:00
Vadim Zeitlin
bc9027cc74 menu sample added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:37:09 +00:00
Vadim Zeitlin
6d072a854f used in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:07:48 +00:00
Robert Roebling
bdad4e7e02 Various changes due to OGL and glcanvas having changed
position.

  Had to butcher Vadims system header patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:27:16 +00:00
Robert Roebling
69e9bc09b8 OGL: misc.cpp clashes with misc.c frim iODBC, therefore
added oglmsc.cpp instead. misc.cpp should be removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:13:42 +00:00
Robert Roebling
3ca6942f6a typo in plot.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:47 +00:00
Robert Roebling
335258dcdd get opengl samples going again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:17 +00:00
Vadim Zeitlin
77c4358743 added a note about where to find makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:24:07 +00:00
Vadim Zeitlin
d81a8f2ece created 'how to add a sample' technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:41 +00:00
Vadim Zeitlin
25d0821b7f created tech note directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:22 +00:00
Vadim Zeitlin
c4608a8af3 1. warning in gtk/menu.cpp fixed
2. Unicode fix in msw/textctrl.cpp
3. more parameters support in grid editors/handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:55:29 +00:00
Julian Smart
66eca538a0 Full-screen dragging fix (GC setting)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:09:39 +00:00
Vadim Zeitlin
831243b127 asserts in wxGridStringTable corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:21:00 +00:00
Vadim Zeitlin
c733b2224f patch for using system libz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:08:20 +00:00
Vadim Zeitlin
641f5461b2 IMPLEMENT_DYNAMIC_CLASS() for wxMenuBar correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:02:32 +00:00
Guillermo Rodriguez Garcia
16162a64d6 DrawButtonFrame was a bit wrong because it was ignoring COLOR_3DLIGHT;
fixed now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 16:39:22 +00:00
Julian Smart
afff720b28 Fixing commit problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 15:01:51 +00:00
Guillermo Rodriguez Garcia
47e92c4137 wxBitmapButton transparency fixed by using wxDC API at all times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 14:57:33 +00:00
Julian Smart
68be9f090f Added wxDragImage generic implementation and sample; added mask handling to Motif's
wxImage::ConvertToBitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Bart A.M. Jourquin
c443296124 remove 'extern' from IsKeyDown,... for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 10:35:30 +00:00
Bart A.M. Jourquin
1c2d49808c Restore previous ogl sources. Waiting for fix in configure system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 08:44:38 +00:00
Michael Bedward
294d195c3c Minor compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 04:10:21 +00:00
George Tasker
4c4a393f3e Fixed the QUERY dialog so it would not crash on exit, and the COUNT button now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 01:01:01 +00:00
George Tasker
2b0b4c55aa Added a #include of wx/module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:58:50 +00:00
David Webster
22e90769f8 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:18:42 +00:00
Guillermo Rodriguez Garcia
e02567553f Beginning the thread with _beginthreadex but ending with ExitThread is not a good thing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:12:34 +00:00
Guillermo Rodriguez Garcia
19da72379f Tell is now compatible with the wback buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:05:12 +00:00
Guillermo Rodriguez Garcia
fc4b32c270 Changed to use current wxSocket flag names instead of old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:04:04 +00:00
Guillermo Rodriguez Garcia
6f505cae82 Added some safety checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:02:16 +00:00
Guillermo Rodriguez Garcia
24d24189f5 mfc not available for mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:00:19 +00:00
Guillermo Rodriguez Garcia
0141d2c9bd moved Destroy() to the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:58:36 +00:00
Guillermo Rodriguez Garcia
658c54003b Fixed potential bug related to clock skew when different clocks are used
for hi and lo res timing. Still to be solved where ftime or gettimeofday
are not available!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:57:58 +00:00
Vadim Zeitlin
e72b421324 setting parameters for wxGridCellFloatRenderer seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 19:30:26 +00:00
Vadim Zeitlin
0b190b0f6a 1. more corrections for ref counted editors/renderers (doesn't crash any more,
might leak memory though)
2. attempt to add parameters to renderers - failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 18:36:04 +00:00
Vadim Zeitlin
39bcce60fe wxGridCellRenderer/Editor made ref counted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:42:28 +00:00
Vadim Zeitlin
af547d51b7 1. added range checks in wxGridStringTable
2. added AutoSizeRow(), setting minimal size for the rows is supported as
   well now
3. replaced ugly wxHashTables with (just created) wxHashTableLong


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:21:20 +00:00
Vadim Zeitlin
c2bb85e9e3 added wxHashTableLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:19:36 +00:00
Ron Lee
d3cc7c6521 added missing include mdi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 16:12:54 +00:00
Robert Roebling
589c9fff04 Commented out debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:09:09 +00:00
Vadim Zeitlin
c5145d4177 wxListCtrl uses SetWindowChange() in its OnChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:00:21 +00:00
Mark Johnson
7beec8135e Makefile.in makefile.g95 makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:48:33 +00:00
Jouk Jansen
dd54fca3f3 Committing in .
Configuration for VMS

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:21:27 +00:00
George Tasker
bebb64f0e2 Fixed a misleading comment regarding MySQL and Postgres
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 11:27:43 +00:00
Michael Bedward
ad115b2d65 AutoSizeColumns and AutoSizeRows changed to pass FALSE for calcOnly arg
to SetOrCalcXXXSizes()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:27:29 +00:00
Unknown (MT)
cfdd3a98d8 add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:14:01 +00:00
Vadim Zeitlin
7f82eb0018 typo(s) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:52:48 +00:00
Vadim Zeitlin
477350ceb4 1. fruitless attempts to reproduce wxNotebook bug in the sample
2. multiple selection related changes in the treetest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:49:05 +00:00
Vadim Zeitlin
3f7bc32b53 1. fixed bug with MDI child frames changign state when parent frame was
iconized/uniconized
2. multiple selection emulation for wxTreeCtrl almost done


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:47:34 +00:00
Michael Bedward
ebd773c6f8 Added wxWANTS_CHARS style to all windows so that the grid reacts to
cursor keys when it is on a panel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:37:37 +00:00
Michael Bedward
cab472ecf9 Changed string members in BugsGridData struct to wxChar * for Borland
only and added code to BugsGridTable::SetValue() for Borland to set
string values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:27:42 +00:00
David Webster
29a99be398 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 23:47:35 +00:00
Vadim Zeitlin
a68c1246db wxGridCellAttr::Clone() added to allow the demo of custom grid cell attr provider to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 19:08:01 +00:00
Vadim Zeitlin
3f5513f5bb correction for Fit() which didn't handle properly windows positioned at (-1, -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 19:07:20 +00:00
Vadim Zeitlin
cc023d9fd9 Ctrl-TAB works when notebook has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 17:54:17 +00:00
Vadim Zeitlin
611cb66656 use _beginthreadex() for mingw32 if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 17:33:56 +00:00
Vadim Zeitlin
0990cd942e fixed wxPD_AUTO_HIDE bug (didn't auto hide)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:44:27 +00:00
Vadim Zeitlin
266e83674a grid autosize fixes/changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:40:14 +00:00
David Webster
bb338b31a7 Standard frame resource defines for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:02:07 +00:00
Julian Smart
94799627ee Some corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 15:57:06 +00:00
Guillermo Rodriguez Garcia
dc6eda546b Added fix for mingw32 gcc-2.95 regarding FillMemory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 15:05:18 +00:00
Julian Smart
babc97583e Removed old wxGLCanvas stuff; moved wxTreeLayout to wxWindows; corrected some doc errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:42:59 +00:00
Guillermo Rodriguez Garcia
43b2cccb4b Added #include "wx/bitmap.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:15:44 +00:00
Julian Smart
f9566e1007 Removed utils/ogl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 11:45:38 +00:00
Julian Smart
2d08140fdb Moved OGL to new locations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 11:33:39 +00:00
Julian Smart
8b089c5e8c Moved wxGLCanvas to more normal positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00
David Webster
61243a510f More updates to wxWindow, wxMenu, GdiImage to get minimal to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:40:52 +00:00
Robin Dunn
dcd386834a Added wrapper for wxListCtrl.SortItems. Added column sorting to the
demo to show how to use it.

Other fixes and updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:05:41 +00:00
Michael Bedward
984ef9dce7 Reverted wxString members to const wxChar * for struct BugsGridData
otherwise demo won't compile with BC5.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 03:28:51 +00:00
Václav Slavík
b25753b802 added wxMemoryFSHandler docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:29:10 +00:00
Václav Slavík
dbddf57391 added wxMemoryFSHandler docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:07:24 +00:00
Václav Slavík
cadd476dab documented VFS handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:07:04 +00:00
Václav Slavík
9704b2509a added Include files section to my classes where it was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:58 +00:00
Václav Slavík
26de8b7d32 updated legalese regarding libtiff, libjpeg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:38 +00:00
Václav Slavík
24528b0c14 added --enable-filesystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:17 +00:00
Václav Slavík
93d3817568 minimalistic build fixes (mostly #if wxUSE_something)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:04:26 +00:00
Václav Slavík
8eb9501e82 fixed: text.rc was datafile => copied to build dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:03:59 +00:00
Robert Roebling
c826213d96 Added bitmap create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:48:27 +00:00
Guilhem Lavaux
272c44532a Added wxMMedia doc. For the moment only a few files are really a documentation.
(sndbase.tex). The rest will come progressively.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:09:26 +00:00
Robert Roebling
b480710b16 More wxPlotWindow goodies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 15:56:24 +00:00
Guilhem Lavaux
8b33ae2d5a Inserted "stdio catch" in wxExecute. The activation is controlled by wxProcess.
Completed some TODO in wxMMedia (wxSoundUlaw, ...)
Reworked the PCM converted: it should be simpler to add converters now and it is
cleaner.
Implemented status information in wxVideoWindows but it doesn't work on my
Win98SE (UNSUPPORTED_FUNCTION)
Changed *ERR into *ERROR
Added a TODO: we must detect the best format in wxSoundWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 10:44:49 +00:00
Guillermo Rodriguez Garcia
bdeca1d18c Added support for wxSCROLL[WIN]_THUMBRELEASE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 05:06:09 +00:00
Guillermo Rodriguez Garcia
7cd315c655 Large parts rewritten and reorganized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 04:59:41 +00:00
Guillermo Rodriguez Garcia
5ab1fa8e64 Added support for bitmap buttons with standard Win95/98 LNF if __WIN95__ is #defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 04:56:17 +00:00
George Tasker
446fba815b Updated the ODBC-related ToDos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 22:14:02 +00:00
Vadim Zeitlin
57c086ef99 wxGrid::AutoSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 21:00:07 +00:00
Vadim Zeitlin
d5a5af9d39 SHARED_LD/LDFLAGS correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:42:47 +00:00
Vadim Zeitlin
72041ceca2 oops, a stray C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:40:28 +00:00
Vadim Zeitlin
98440bc354 removing the IsWindow() test in ~wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:35:39 +00:00
Guillermo Rodriguez Garcia
8355a72fa5 Corrected small miniframe-realted bug (itsy bitsy is never used for win32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 19:46:50 +00:00
Václav Slavík
9dff41820a fixed reference to wxEvtHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 14:42:10 +00:00
Václav Slavík
7b0b2dcc0c added base.t to the script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 14:42:03 +00:00
Guilhem Lavaux
c12a24e223 Reenabled OSS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 13:47:53 +00:00
Robert Roebling
0efe4a9855 Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 12:45:06 +00:00
Vadim Zeitlin
d147774515 only modal dialogs ignore busy cursor, not all dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:57:21 +00:00
Vadim Zeitlin
bfbd6dc192 1. cursor fixes: frame does have hand cursor in the controls sample now,
modal dialogs don't have busy cursor even if wxIsBusy()
2. wxTextCtrl sets client data field in the generated events
3. added wxEnhMetaFile::SetClipboard()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:49:41 +00:00
Guilhem Lavaux
171774fcf3 Ok. Vidwin works again on Windows.
Extremely urgent: it must behave the same way as wxVideoXANIM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 21:28:31 +00:00
George Tasker
0b8410f3ca Replaced <iostream.h> reference with "wx/ioswrap.h"
Replaced wxMessageBox() with wxLogDebug() calls
When calling GetColumns(), some drivers/datasources would not return a proper value for columnSize.  If columnSize is less than 1, columnSize gets set to bufferLength
Some cout statements in DBDEBUG_CONSOLE were treating char* variables as if they were wxString variables.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 20:36:32 +00:00
George Tasker
52a17fe534 Replaced <iostream.h> reference with "wx/ioswrap.h"
Replaced wxMessageBox() with wxLogDebug() calls
When calling GetColumns(), some drivers/datasources would not return a proper value for columnSize.  If columnSize is less than 1, columnSize gets set to bufferLength


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 20:27:37 +00:00
Vadim Zeitlin
bcaa23de09 WX_DECLARE_HASH() macro for type safe hashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 19:23:11 +00:00
Guilhem Lavaux
794bcc2dea Removed unnecessary code from utilsunx.cpp
Corrected the support for seeking in wxSoundFileStream.
Added support for seeking in wxMultimediaBoard
Reindentation of the code (conforming or nearly to the coding standard)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 19:07:14 +00:00
Guilhem Lavaux
a9c3ed030e Windows stdio capture is working on my MSVC5. Here is the first
alpha release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 18:50:38 +00:00
Bart A.M. Jourquin
13d12797d2 Tentative fix for UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:27:24 +00:00
Vadim Zeitlin
52a07708c4 attempts at making wxSocket work with wxBase - it doesn't work but
already compiles :-|


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:21:53 +00:00
Julian Smart
2f4ef631af Fixed wxWindow::HandleCommand so multiple toolbars work again (e.g. ogl/studio sample);
added border to OGL studio window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:20:58 +00:00
Vadim Zeitlin
e006f096ad attempt at fixing LDFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:32:24 +00:00
Julian Smart
ec06b234d2 Added fix to wxMDIClientWindow to redisplay contents when
window is repositioned


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:16:39 +00:00
Bart A.M. Jourquin
7c5c05ae65 fix memory allocation problem for strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:00:22 +00:00
Vadim Zeitlin
ed23853bc0 assigning values to wxString is better than assigning to 'wxChar *' - editing of bugs table works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 14:02:47 +00:00
Vadim Zeitlin
cff5ce9e7a compatibility/compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 13:56:52 +00:00
Mark Johnson
47677e9bf2 dbgrid.cpp dbgrid.h bitmaps/logo.xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 12:01:38 +00:00
Guilhem Lavaux
2018e574e7 Major changes in wxVidXANIM (support for output filtering)
Several API addings
Added process.cpp, process.h and utilsunx.cpp in wxMMedia directory
They should be moved to src/unix, src/common and include/wx to use them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 09:08:52 +00:00
Guillermo Rodriguez Garcia
079bb992e1 Corrected an HTML typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 07:13:49 +00:00
Michael Bedward
3c79cf49ec Added call to CalcDimensions() at end of wxGrid::Init so that you can,
for example, put a grid in a dialog, size it and then call CreateGrid
at some later stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 06:56:41 +00:00
David Webster
6dc3e5dc9c Visualge V3.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:19:49 +00:00
David Webster
542875a8c4 latest wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:17:55 +00:00
David Webster
b2a81bd914 Change m_SubControls from wxList to wxArrayLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:16:19 +00:00
Vadim Zeitlin
c239a4bb76 F2 enables edit in place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:29:38 +00:00
Vadim Zeitlin
abceee76ea 1. corrected problem with label updating in wxProgressDialog
2. optical fix in wxTipDlg: use wxTE_RICH control to avoid vert scrollbar
3. put wxProgressDialog demo into dialogs sample, seems more appropriate
4. fixed a serious bug in wxProgressDialog when its parent was not a top
   level window (as in controls sample)
5. fixes in BringWindowToTop() usage in msw/dialog.cpp
6. fixed another serious bug in wxProgressDialog::OnClose()
7. wxDialog restores focus to previously focused window once again
8. attempts at fixing wxBusyCursor with modal dialogs problem - unsuccessful


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:20:44 +00:00
Vadim Zeitlin
488fe1feb6 fix for bug #29 (blank lines in GetLineText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 00:03:29 +00:00
Guillermo Rodriguez Garcia
030d06e13f Very minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:52:01 +00:00
Vadim Zeitlin
c41ea66a5d 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
   show client data from events in the log messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:40:42 +00:00
Vadim Zeitlin
225fe9d6ef 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. define LVS_EX_FULLROWSELECT ourselves if compiler headers don't
3. wxSafeYield() will only reenable windows which had been enabled, not all
   windows in the application
4. selection in wxTreeCtrl is not broken after dnd operation
5. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
6. wxListEvent accessors made const
7. wxListCtrl sets client data field in generated events under MSW too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:33:15 +00:00
Julian Smart
18d2e17080 Fix to MDI to restore 3D border; kludge to OGL Studio sample to redraw
the first client frame properly (need wxWindow::Redraw in wxWin API?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 20:18:09 +00:00
Guilhem Lavaux
802e2f34c1 Added a missing wxStream_NOERROR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 19:05:11 +00:00
Guilhem Lavaux
775c1df40f Cut out some duplicate symbol in datstrm.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:52:31 +00:00
Robert Roebling
b0e282b34d Minor optical things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:09:48 +00:00
Julian Smart
a368a8c4a8 Added missing SetToolBitmapSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 17:17:43 +00:00
Julian Smart
f42c2a7a62 wxToolBarSimple fix + OGL studio sample compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 16:26:20 +00:00
Julian Smart
dc1efb1d9f Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
streams; fixed wxSP_... ids that clashed with wxTextCtrl; added generic GetPixel implementation for GTK/Motif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 15:04:24 +00:00
Ron Lee
07eb77a690 configure changes, for wxBase and wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 12:20:22 +00:00
Michael Bedward
b0c8fc357c Several ugly hacks to get the bugs table and virtual table demos to
work under wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 07:42:17 +00:00
Ron Lee
5c0e67b250 added wxBase & examples & various tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 01:15:08 +00:00
George Tasker
e16143f6c7 Reverting to 1.30
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:43:40 +00:00
George Tasker
ea5d599df3 Reverting back to 1.35 as 1.36 does not work with all data sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:35:28 +00:00
Vadim Zeitlin
66b3609e6a mwxLog was leaked - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:20:45 +00:00
Vadim Zeitlin
ab70fb1de1 fix for wxSplitPath(foo/.filename)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:08:14 +00:00
Vadim Zeitlin
857eb08152 wxLogWindow now uses standard menu ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:01:44 +00:00
David Webster
a7ef993c98 More wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:43:03 +00:00
Vadim Zeitlin
122603f10f typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:42:18 +00:00
Vadim Zeitlin
b94ae1ea10 1. wxGCBoolRenderer looks better under MSW
2. wxGCBoolEditor too
3. only alnum keys start editing in-place
4. some memory leaks in wxGrid plugged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:38:00 +00:00
George Tasker
2f74ed2859 ::IsNumber() returned FALSE if a + or - sign was the first character of the string. "-123" should be considered a number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:11:53 +00:00
Ron Lee
6be0044cf2 tweaked debian-dist for building wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 21:45:01 +00:00
Robin Dunn
a5777624e2 fallback to string changes for number and float editors
Fixes for DrawGridSpace (it needed moved over/up by one pixel, at
least for MSW)

Editor left active when resizing rows/cols


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:27:08 +00:00
Vadim Zeitlin
fc3398f8e0 removed the goto provoking HP-UX compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:23:23 +00:00
Vadim Zeitlin
b8b9762a1b fixed (?) race condition in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:04:31 +00:00
Vadim Zeitlin
829f05419d some more cosmetic fixes for wxLogTrace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:54:53 +00:00
Vadim Zeitlin
54a8f42b9d typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:56 +00:00
Vadim Zeitlin
0131687bb5 wxLogTrace doesn't give messages with two 'Trace' in the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:12 +00:00
Stefan Neis
cb105ad434 Improved wxMotif's look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:26:47 +00:00
Stefan Neis
69d8f6124d Improved checkmark on wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:53:42 +00:00
Robert Roebling
809934d22a #ifdeffed new paint clipping :-(
Moved replacement code to printing preview canvas where
    its effect was particularly useful.
  Completed GC pooling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:47:43 +00:00
Vadim Zeitlin
c52a6847be using LDFLAGS for the linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:44:56 +00:00
Julian Smart
e06b95691f Misc small changes, some for VC++ 1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:54:18 +00:00
Vadim Zeitlin
9c4ba61452 fall back on text value if no long/double value could be retrieved from the cell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:15:46 +00:00
Vadim Zeitlin
3324d5f50f removed saveValue param in EndEdit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:58:10 +00:00
Vadim Zeitlin
8def743e8f fix for (too big) combobox height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:45:36 +00:00
Vadim Zeitlin
d2d93fdde4 command events are not redirected to focused window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:38:25 +00:00
Vadim Zeitlin
d1f82b073f fix to allow non-extension based template choosing to work from Vegh Janos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:32:14 +00:00
Sylvain Bougnoux
fe482327a5 Add exemple for redirecting cout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 13:17:14 +00:00
George Tasker
a40860394c TablesInUse did not have DeleteContents() set to TRUE in __WXDEBUG__ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 12:31:59 +00:00
Michael Bedward
7c8a8ad57e Added wxGrid::DrawGridSpace function to suppress junk beyond last
row and col of grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:15:04 +00:00
Robin Dunn
4cfa5de640 Some mouse events need to be handled even when outside the grid.
Added flag and accessors to enable/disable the dragging of the grid
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:03:56 +00:00
Robin Dunn
28a77bc43b delay getting the default editor and renderer (by data type) until
actually needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 04:45:24 +00:00
Vadim Zeitlin
7cc8c9884d multiple/single sel mode can now be toggled from menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 00:30:59 +00:00
David Webster
c86c44a080 More wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 23:06:35 +00:00
Ron Lee
491e9f50b3 added missing files to life & poem, added wxPython/demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:48:00 +00:00
Robert Roebling
8e217128a0 Playing with scrolling, als fixed redraw
bug in wxGrid (outer regions). You must
    not to maths with update regions within
    an scroll related OnPaint(). Everything
    else is allowed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:39:55 +00:00
Václav Slavík
956ddeca4a fixed divide by zero exception when layouting justified text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:09:27 +00:00
Václav Slavík
8e3f126189 one of error messages had way too much spaces in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:09:04 +00:00
Václav Slavík
e5aff4c568 better documented wxListCtrl::GetItem (it was absolutely unclear how to use it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:08:16 +00:00
Robin Dunn
ea179c7b4a 1. wxGridCellEditor::SetSize needs to use the wxSIZE_ALLOW_MINUS_ONE
flag otherwise the choice editor will not move to row 1, (the wxRect
given has a -1 y value.)

2. I fixed wxGridCellChoiceEditor::BeginEdit to not only set the
current value into the text field, but also to make it the current
selection in the dropdown.

3. EndEdit was getting called twice for each cell when you leave it
with the TAB or ENTER.  I commented out a call to SaveEditControlValue
in SetCurrentCell to take care of this.  It shouldn't hurt anything
since SaveEditControlValue is also called within the
EnableCellEditControl(FALSE) which gets called next.  If this causes
no problems for anybody it can be removed entirely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:02:48 +00:00
Guilhem Lavaux
ebaad2ccc7 AVI file playing on Windows is working
Many fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 18:20:46 +00:00
Stefan Neis
85bc0351f7 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:25:06 +00:00
Karsten Ballüder
c91f7c7e9f added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:23:26 +00:00
David Webster
f938057092 GetSubcontrols now returns a reference to an Arraylong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:19:38 +00:00
David Webster
2912e35f17 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:11:02 +00:00
Vadim Zeitlin
4ee5fc9c92 added combobox editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:57:12 +00:00
Vadim Zeitlin
65e4e78efb column autosizing added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:03:54 +00:00
Robert Roebling
33d0e17c11 SetSelection() in wxNotebook now sets the focus,
SPACE in wxListCtrl now sends Activate in multiple sel mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:29:59 +00:00
Vadim Zeitlin
efbb7287e6 1. corrected bug with LIST_ITEM_ACTIVATED being sent even if second click in
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:22:21 +00:00
Vadim Zeitlin
816be743e8 added renderers/editors for long/float, not fully tested yet, but seems to
work - see the demo in the (updated) sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 14:29:41 +00:00
Mark Johnson
66d6c315a3 dbbrowse.cpp dbbrowse.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 13:00:06 +00:00
Vadim Zeitlin
99306db210 don't draw cell highlight over the cell editor (improves wxGCBoolEditor appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 11:08:17 +00:00
Mark Johnson
89fcf04c8c dbbrowse.cpp dbbrowse.h de/dbbrowse.mo de/dbbrowse.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:53:40 +00:00
Vadim Zeitlin
270e8b6a37 1. wxMenuBar::FindMenu() made "const"
2. documented it
3. documented recent change to wxYield()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:17:32 +00:00
Vadim Zeitlin
e5131165b0 attempt at HP-UX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:09:27 +00:00
Vadim Zeitlin
2ed3265e18 added wxLog::Suspend/Resume and wxYield() uses them now so that it won't flush
the messages any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:00:29 +00:00
Vadim Zeitlin
6daa30a07e removed some default value for wxGrid compatibility ctor resolving ambiguity of writing wxGrid(this, -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:56:22 +00:00
Vadim Zeitlin
52130557bf moved wxMenuBar::FindMenu(title) from MSW to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:53:55 +00:00
Julian Smart
86ad564eb1 Moved the wxDialog BringWindowToFront fix to Show because it happens in
modeless dialogs too, if other windows have been disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 08:54:05 +00:00
David Webster
05fc6c0a67 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 05:34:42 +00:00
Michael Bedward
dd16fdaeaa Added view menu items to toggle row and col drag-resizing.
Removed setting of cell background colour for the moment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 04:06:58 +00:00
Michael Bedward
6e8524b11b Added functions to enable/disable drag-resizing of rows and cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 03:51:43 +00:00
Robert Roebling
40c7018756 Removed some debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 00:01:03 +00:00
Robin Dunn
0ba143c9a0 forgot to uncomment a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:22:40 +00:00
Robin Dunn
f2d7623799 Added ability for tables, grids, editors and renderers to handle nonstring data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:17:40 +00:00
Ron Lee
e0a4aa8a21 added wxPython control files and a few changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:02:25 +00:00
Ron Lee
9b0326f79a added PYTHON_DIST for creating Debian source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:57:54 +00:00
Guillermo Rodriguez Garcia
9742d3cc18 End of stream reading stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:18:15 +00:00
Robin Dunn
7299b1b267 added typcast needed for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:09:03 +00:00
Ron Lee
879345103c removed redundant #! line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:33:10 +00:00
Ron Lee
6f82295e5c allow '=' inside a value on command line.
return error code from calling makefiles in lower 8 bits so any
Makefile calling build.py will correctly interpret fatal build
errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:29:12 +00:00
Ron Lee
05cdfc6fad modified burnt_name to use only soname instead of full version name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:11:03 +00:00
Vadim Zeitlin
35f97e951c added "bugs table" which will show non string data support when it's ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:34:30 +00:00
Sylvain Bougnoux
5d097345ba tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:13:09 +00:00
Sylvain Bougnoux
dfc6cd933d Check multiple selection :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:08:07 +00:00
Vadim Zeitlin
439479796a added SetColMinimalWidth()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:45 +00:00
Robert Roebling
0e09f76e6d Slightly better GC pooling,
Implemented automatic updateregion clipping as MSW does.
  Made drawing sample a bit saner.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:02 +00:00
Vadim Zeitlin
1618dca721 make it possible to specify the virtual table size (this makes it easier to
see that the memory taken by the grid doesn't depend on it with top)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:37:07 +00:00
Vadim Zeitlin
6d55126d0b a couple of terrible typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:25:43 +00:00
Stefan Neis
b0486e0dc3 Eliminate apparently unnecessary updates in SetScrollbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:10:39 +00:00
Vadim Zeitlin
b32719cc03 Left() -> BeforeFirst()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 16:48:03 +00:00
Vadim Zeitlin
7c1cb26122 virtualized m_row/col height/widths arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 16:39:23 +00:00
Vadim Zeitlin
943d28e424 added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in
the tree ctrl during dnd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:35:44 +00:00
Vadim Zeitlin
8dd4f53663 Michaels change to OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:31:55 +00:00
Vadim Zeitlin
d16c04bb0a 1. removed 3d border, but
a) made DrawCellHighlight() virtual to allow overriding it in user code
 b) fixed bug with grid lines painting over the border, so it should really
    work now
2. char events to readonly cells are Skip()ped which makes Alt-X work for
   them too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:27:36 +00:00
Vadim Zeitlin
b3a7510d21 include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:25:20 +00:00
Vadim Zeitlin
2cd31b57b2 a couple of wors about wxObjArray::Index()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:19:02 +00:00
Robert Roebling
3d2d8da1d8 Implemented MSW's paint region clipping, but
it exposed some bug in GTK's guffaw stuff.
  Implmented GC pooling.
  Implemented Corrcet mixing of pain region clipping,
    user clipping and masked bitmap clipping.
  Minor other corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:16:32 +00:00
Robert Roebling
78066fbfd4 Set logical functions to wxCOPY, no -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:13:08 +00:00
Robert Roebling
5456b91616 Make use of FillRect() when possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:12:20 +00:00
Vadim Zeitlin
d6a55c4bc2 wxUSE_NEW_GRID implies wxUSE_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 13:19:03 +00:00
Vadim Zeitlin
ea968ccd07 compile fix for wxUSE_STD_IOSTREAM case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 13:17:46 +00:00
Mark Johnson
0068587be2 browsedb.cpp dbgrid.cpp dbtree.cpp dlguser.cpp de/dbbrowse.mo
de/dbbrowse.po de/xget.cfg


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 12:31:07 +00:00
Mark Johnson
ad288a8990 xget.cfg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 12:30:20 +00:00
Michael Bedward
3d1b41968f Changed system colours for better default display of wxGrid. Please revert
this if it causes problems with other things and let me know on wxwin-dev.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 09:53:16 +00:00
Julian Smart
6a088435b3 Fixed (I hope) the wxDialog reactivation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 09:42:31 +00:00
Václav Slavík
5f8525bf22 modif time of FS inet and FS mem files is not wxDateTime::Now, not wxDateTime::Today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:37:46 +00:00
Václav Slavík
ed323aeaa8 wxGTK compilation fix (wxFrame::Show call without argument)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:37:39 +00:00
Mark Johnson
3fa0976a57 browsedb.h dbbrowse.cpp dbbrowse.h dbgrid.h dbtree.h
dlguser.cpp dlguser.h doc.cpp doc.h pgmctrl.h de/dbbrowse.mo
 	de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:05:13 +00:00
David Webster
a885d89ae9 Frame and Window coding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 05:12:34 +00:00
Julian Smart
f250631042 wxImage::Rotate corrections added; docview improvements (menus updated properly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 12:40:08 +00:00
Robert Roebling
00cf120892 configure changes
grid 3d changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 10:23:06 +00:00
Mark Johnson
5aeda15836 browsedb.cpp dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 10:04:48 +00:00
Mark Johnson
4069116a15 help.de/compiler.htm help.de/dbbrowse.htm help.de/getcol.htm
help.de/getcolsh.htm help.de/icons.htm help.de/picgrams.htm
 	help.de/problems.htm help.de/remstar.htm help.de/sample.htm
 	help.de/startprm.htm help.de/todo.htm help.de/wxdb.htm
 	help.de/wxtable.htm help.std/compiler.htm
 	help.std/dbbrowse.htm help.std/getcol.htm
	help.std/getcolsh.htm help.std/icons.htm help.std/picgrams.htm
 	help.std/problems.htm help.std/remstar.htm help.std/sample.htm
 	help.std/startprm.htm help.std/todo.htm help.std/wxdb.htm
 	help.std/wxtable.htm


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 07:06:51 +00:00
Guillermo Rodriguez Garcia
2f17584941 Opps. Sorry - typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 02:52:01 +00:00
Guillermo Rodriguez Garcia
967a322fe9 Don't try to translate empty strings (just a cosmetical issue - it should
not fail anyway, but it is cleaner this way)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:08:40 +00:00
Guillermo Rodriguez Garcia
52e52bea12 Process all pending events before starting to delete pending objects -
specially important for wxPostEvent to work OK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:04:34 +00:00
Guillermo Rodriguez Garcia
5fb2f4ba7e Solved bug which was breaking richedit ctrls for non-unicode builds on some compilers.
Fixed some small non-fatal bugs like missing c_str() and the like.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:03:15 +00:00
Guillermo Rodriguez Garcia
6d5ca46c65 Fixed these:
text.cpp:588: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers
text.cpp:592: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 06:49:20 +00:00
Guillermo Rodriguez Garcia
176fe5af12 Solved multiple memory leaks.
Added some comments (on-screen, not to the code)
Inverted the original XBM file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 04:22:08 +00:00
Václav Slavík
c83b076636 fixed bug in wxMemoryInput/OutputStream::OnSysRead/Write that caused incorrect LastRead reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 00:55:10 +00:00
Václav Slavík
69a492c9b2 ripper_main.o does not belong to HelpGen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 00:55:05 +00:00
David Webster
0fe536e3f6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 23:35:39 +00:00
Vadim Zeitlin
3dbeaa523d added dnd support to generic wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 22:12:58 +00:00
Robin Dunn
c4c829aeab toggle button doesn't send event if mouse is released outside of the
button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 21:21:04 +00:00
Robin Dunn
352f281a24 fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 21:01:27 +00:00
Vadim Zeitlin
ee6694a711 auto arrays can't be initialized - compile error for HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:45:56 +00:00
Vadim Zeitlin
619fda4f5a HP-UX recommendations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:40:38 +00:00
Robin Dunn
266839eee9 wx-config is configurable...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:28:36 +00:00
Vadim Zeitlin
6cedba093a more long/double to int conversion warnings from HP-UX logs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:20:15 +00:00
Guilhem Lavaux
7d533797a0 * ESD works in full duplex (theorically)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 19:05:27 +00:00
Guilhem Lavaux
db2e2242ef * Some more missing files. MMBoard tested (wave files) on MSVC 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 19:00:52 +00:00
Guilhem Lavaux
e1c324c375 * Make some more work on the video for Linux (Unix hopefully as I use XAnim)
* Added some datas for Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 18:36:00 +00:00
Robert Roebling
86fe74c5cd help sample useful again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:57:47 +00:00
Guillermo Rodriguez Garcia
aadaf84128 Added missing Unref() in wxImage::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:15:17 +00:00
Guillermo Rodriguez Garcia
28026dc671 Solved a typo related to masks. Was setting *all* pixels in the mask
to rgb(0,0,0) - hence no mask at all :-) Corrected related OS/2 code
as well (this is where the typo was introduced in the first place)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:10:11 +00:00
Bart A.M. Jourquin
ffae916f44 Hashtable now supports negative keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 15:03:48 +00:00
Julian Smart
49676b852c Added JPEG rsp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 08:14:32 +00:00
Guillermo Rodriguez Garcia
8141573c1e Now wxGIFDecoder always tries to read to the end of the GIF data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:39:35 +00:00
David Webster
80d83cbcc2 More wxFrame updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:31:03 +00:00
Václav Slavík
c692969f82 added wxMemoryFSHandler for storing VFS in memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:18:56 +00:00
Václav Slavík
dcb86da021 added wxMemoryFSHandler for storing VFS in memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:13:41 +00:00
Julian Smart
058939fc08 Reverted change to DrawLine so it doesn't draw the last point (sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 22:44:07 +00:00
Robert Roebling
c916e13bc0 Small testing changes,
Small flicker reduction in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 21:17:54 +00:00
Julian Smart
d6f0a4b367 Removed redundant wxColour constructor (how come this didn't cause problems before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:36:52 +00:00
Vadim Zeitlin
e195a54c31 added wxGridCellEditor::StartingClick(), used by BoolEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:03:01 +00:00
Vadim Zeitlin
297da4bad9 some (attempts of) appearance fixes for wxGCBoolRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:32:25 +00:00
Vadim Zeitlin
189d0213da wxGridCellEditor::PaintBackground() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:13:48 +00:00
Ron Lee
f538864d03 added -doc package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:07:25 +00:00
Ron Lee
88d3a15cc6 remembered to update and commit after changing .in, duh :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:05:06 +00:00
Sylvain Bougnoux
fa40e7a175 Workaround (?) for using streambuf with wxUSE_IOSTREAMH=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 18:23:41 +00:00
Ron Lee
b51b78a9c7 fixed cutnpaste error samples->utils in UTILS_DIST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:26:26 +00:00
Václav Slavík
c1e5e88134 fixed inaccurancy in container layouting with wxHTML_ALIGN_JUSTIFY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:09:11 +00:00
Václav Slavík
2cb20bea55 documented 2nd prototype of wxListCtrl::SetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:09:04 +00:00
Ron Lee
676b8fb6f1 ignore CVS dir when copying /debian
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:03:07 +00:00
Václav Slavík
410207c3b3 fixed detection of listbox background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 15:17:31 +00:00
Vadim Zeitlin
ee6e1b1d9c assorted files I forgot to commit before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:12:32 +00:00
Vadim Zeitlin
508011ce6c bool editor/renderer added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:08:27 +00:00
Vadim Zeitlin
45816ddded added wxRect::Inflate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:06:00 +00:00
Ron Lee
19a9df0980 added APPEXTRADEFS var so things like tex2rtf can pass their own flags to the make system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 13:57:54 +00:00
Vadim Zeitlin
cd9da20028 added and documented wxDC::DrawCheckMark()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:53:36 +00:00
Vadim Zeitlin
6d516e09b3 wxSysErrorCode/Msg documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:16:41 +00:00
Julian Smart
b14c14ff36 Added demo of strange rectangle behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 11:04:26 +00:00
Vadim Zeitlin
b54ba67107 1. EVT_GRID_XXX constants renamed to wxEVT_GRID_XXX
2. EVT_GRID_EDITOR_SHOWN/HIDDEN added
3. Alt-X now work in the grid (instead of being eaten in StartingKey)
4. added CanEnableCellControl() and use it before calling EnableEC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 10:12:48 +00:00
Vadim Zeitlin
b7f1f77f82 hack to fix crash when creating a DC for a widgetless window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 08:47:12 +00:00
Vadim Zeitlin
81ef7f0818 warning in GetItemFromPoint with mingw32 fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 08:04:28 +00:00
Robin Dunn
99ab9f3bf9 More fixes for the OGL wrapper and some other updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 04:52:42 +00:00
Guillermo Rodriguez Garcia
5e9ff6adaa Optimized drawing code in OnMouse() for freehand drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 03:02:14 +00:00
Guillermo Rodriguez Garcia
102f951d7f added a few comments and remove $(COPYSEP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:46:07 +00:00
Guillermo Rodriguez Garcia
eb018fd7d0 added myself for spanish translation :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:38:06 +00:00
Václav Slavík
c0fba4d1be fixed background colour handling in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:23:19 +00:00
David Webster
178f951f78 Start of actual filling in of wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:51:58 +00:00
David Webster
ea51d98d65 Start of actual filling in of wxFrame. Makefile now supports tiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:51:22 +00:00
Julian Smart
d0b223a148 DrawLine normalized; wxStaticBitmap fixed for Dialog Editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:44:35 +00:00
Václav Slavík
2aa59ef436 documented Set/GetVendorName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:41:22 +00:00
Vadim Zeitlin
283b7808d8 added support for readonly cells and 3d border drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:10:45 +00:00
Robin Dunn
fb0de762f3 Eats EVT_CHAR events for WXK_ESCAPE, WXK_TAB, and WXK_RETURN since
they are handled in EVT_KEY_DOWN.  It also gets rid of the annoying
bell on MSW for the return key.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:54:27 +00:00
Ron Lee
e4c4c1c697 added files / made changes to enable building Debian releases from cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:47:08 +00:00
Robin Dunn
b7fff980e7 disable edit control before insert/delete row/col
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:42:43 +00:00
Guilhem Lavaux
d73dd2b2fc * Video with XANIM is working on Multimedia Board (I must improve the window
sizing, ...): it shows me movies.
* Fixed a major bug in sndcpcm: we must divide by 2 the length of the
  sound block because we work in 16 bits mode
* Support for Video in wxMultimediaBoard
* Other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:20:11 +00:00
Vadim Zeitlin
3da93aae50 the in-place control uses the attr for colours/font info too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:18:53 +00:00
Vadim Zeitlin
4ed0aceb92 missing event.Skip() added (it was impossible to use mouse without it...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:10:31 +00:00
Vadim Zeitlin
e97320d40d compilation fix for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:07:51 +00:00
Vadim Zeitlin
4de422dcd5 removed test wxYield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:22:11 +00:00
Vadim Zeitlin
d1c0b4f97e deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:15:13 +00:00
Vadim Zeitlin
0e10e17b86 translators for Hungarian and Russian added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:06:13 +00:00
Robin Dunn
4e5b5abbfd Insert row/col now uses the current position to determine where to insert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:52:27 +00:00
Robin Dunn
9b4aede26d Added getters/setters for cell and grid-default editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:51:33 +00:00
David Webster
615a9936a4 OS/2 support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:12:56 +00:00
Stefan Neis
4d60017aa5 Added UpdateAttrRows/Cols to change the row/column info in attributes as
needed when Deleting/Inserting rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 16:08:16 +00:00
Julian Smart
c3cb82e122 Corrected my bug...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 14:55:56 +00:00
David Webster
1dabb13fb4 Add Plot to library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:46:54 +00:00
Sylvain Bougnoux
0158f58424 Fixed stupidity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:38:50 +00:00
Sylvain Bougnoux
fd7cf53286 Fixed wxGetLocalTimesMillis using HAVE_GETTIMEOFDAY\nPlease fix the others...\nThen remove val*=wxGetLocalTime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:05:55 +00:00
Julian Smart
2fa7c206f6 Various VC++ 1.5 and other corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 11:53:16 +00:00
Julian Smart
9e5c7daa4a Corrected LINKAGEMODE OS/2 thingy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 09:59:53 +00:00
Sylvain Bougnoux
fbbba98df4 Add Shivar's patch for using iostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 09:32:34 +00:00
Robin Dunn
2fc9954937 more updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 07:34:49 +00:00
David Webster
94fbea122f OS/2 updates, basically linkage mode settings on static procs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:26:12 +00:00
David Webster
319445fe63 Final cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:23:57 +00:00
Robin Dunn
0ad07724bf incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:14:22 +00:00
Robin Dunn
3832c9464b incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:08:18 +00:00
Robin Dunn
714d23b44b Some minor updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 05:57:16 +00:00
Vadim Zeitlin
2e002aa906 empty rc file for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:58:16 +00:00
Vadim Zeitlin
5888ef1e7d 1. dnd demo in treetest
2. compilation fix in drawing (for VC++)
3. refresh bug fixed in regtest, dnd/copying keys seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:57:33 +00:00
Vadim Zeitlin
5af3f0efd5 bug fix in wxRegKey::CopyValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:54:25 +00:00
Václav Slavík
91fc2bdc33 background color set to wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:19:10 +00:00
Václav Slavík
ac8ae254b4 background color set to wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:13:50 +00:00
Václav Slavík
019a60d625 added wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:10:08 +00:00
Václav Slavík
9c0f7642cc removed duplicate defines of wxSYS_ constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:09:42 +00:00
Václav Slavík
74f551959f added wxSYS_COLOUR_LISTBOX ; check to prevent wxSYS_COLOUR_HIGHLIGHT and HIGHLIGHT_TEXT being same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:08:27 +00:00
Václav Slavík
165b6ee097 fixed radiobox layouting: asks GTK for best size, does not compute it from string&font anymore (fixes GNU Step theme problem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:07:58 +00:00
Václav Slavík
418d9d6275 fixed typo bug in my last commit that caused image size (-1,-1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:07:51 +00:00
Sylvain Bougnoux
ff835f5006 Update entering/leaving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 20:21:30 +00:00
David Webster
dd8d32232d Generic path instead of hardcoded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:56:21 +00:00
Robin Dunn
be83e8f193 Fixed precedence order problem for IsShiftDown and IsCtrlDown. (It
was using the toggle bit instead of the is-down-now bit because of
the order of evaluation of the operators.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:48:19 +00:00
David Webster
71b59b447f A few more minor fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:44:04 +00:00
Julian Smart
a784652571 Typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:26:20 +00:00
Guilhem Lavaux
5bee458a0f * Added IsPaused() to wxSoundFileStream
* Play/Pause/Resume should work in wxMMBoard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:49:25 +00:00
Robert Roebling
bce1406bff list ctrl and tree ctrl didn't like the new focus code,
mem clean uop crash fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:38:19 +00:00
Robin Dunn
f87ac92e02 fix for goofed up grid borders when scrolling/refreshing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:33:16 +00:00
Guillermo Rodriguez Garcia
dfde8cd357 Readded fix to adjust size of rectangles with transparent outline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:06:56 +00:00
Robert Roebling
fb65642cd4 wxGTK now ignores widget style when using the pixmap theme.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:01:16 +00:00
Julian Smart
a20a10fe1d Added comment makeg95.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 17:32:14 +00:00
Robert Roebling
7741c4e1f5 Minor wxYield() change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 16:38:01 +00:00
Vadim Zeitlin
afa6a1a1d9 text bg is transparent now, but the icons are still not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 16:28:54 +00:00
Robert Roebling
a796957ae0 Forgot to add this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:56:43 +00:00
Robert Roebling
3d3428c4e6 plot docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:56:09 +00:00
David Webster
df529b49a4 more xpm fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:43:51 +00:00
David Webster
4b41f6bc00 more xpm fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:31:34 +00:00
Guillermo Rodriguez Garcia
c1d139da69 added tests for filled rects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:21:59 +00:00
Guillermo Rodriguez Garcia
29ff35bc63 ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:17:31 +00:00
Vadim Zeitlin
1171c29741 demo of wxYield() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 14:48:06 +00:00
Vadim Zeitlin
409c4ffddd fixed bug in handling value names with escaped chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 14:08:37 +00:00
Robert Roebling
cc977e5fde Various distrib related changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:56:16 +00:00
Vadim Zeitlin
310df81bd8 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:53:23 +00:00
Vadim Zeitlin
ff2d113e01 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:36:33 +00:00
Michael Bedward
7b21891e54 Fixed typo with TV_HITTESTINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:50:18 +00:00
Robert Roebling
19141178ec Readded plot event constants.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:49:06 +00:00
Julian Smart
a19762cf3d Removed old Ming95 makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:25:18 +00:00
Vadim Zeitlin
49878561f0 more translators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:21:22 +00:00
Vadim Zeitlin
9b33fe0222 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:06:32 +00:00
Bart A.M. Jourquin
695237bccd SCROLLWIN instead of SCROLL again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:55:29 +00:00
Vadim Zeitlin
7ead72f2ff oops... another incorrectly resolved cvs conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:53:53 +00:00
Vadim Zeitlin
9e91a33c46 conflicts markers removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:50:19 +00:00
Vadim Zeitlin
6148d1e6e9 fix for drawing bitmap buttons under Win95 (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:49:16 +00:00
Robert Roebling
530a7383f2 Many plot window gooddies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:37:39 +00:00
Ron Lee
cb60902e04 fixed test for _vsnprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:26:41 +00:00
Bart A.M. Jourquin
ddb22eb4b5 wxEVT_SCROLL_THUMBRELEASE instead of wxEVT_SCROLLWIN_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:22:20 +00:00
Robin Dunn
fb2957900c Some cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 07:08:42 +00:00
David Webster
ea258ad348 Updates to make VA 3.0 compile again, particularly xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 05:49:02 +00:00
David Webster
f1d626b203 minimal makefile for VA 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 05:00:28 +00:00
Vadim Zeitlin
23f681ec48 1. implemented wxRegKey::Copy() and CopyValue()
2. regtest sample doesn't crash any more
3. wxLogGui uses msg box for only 1 message
4. "const wxEventType" => "enum"
5. wxEVT_COMMAND_TREE_END_DRAG introduced - see sample for example
6. fixed several non fatal bugs in wxRegKey
7. many changes in regtest sample, not tested yet


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 00:05:36 +00:00
Guillermo Rodriguez Garcia
0bddb3cc6f just some comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 21:45:06 +00:00
Robin Dunn
75ecbe4594 1. Initialized m_displayed to TRUE to solve a cell highlight problem
for some systems.  If this causes no problems then this flag can be
removed.

2. Took out the edit timer so now a second click in the current cell
will activate the edit control, even if it is several seconds later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 21:35:42 +00:00
Stefan Neis
dce4122902 Fixed SetCurrentCell.
Fixed CalcCellsExposed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 19:27:40 +00:00
Vadim Zeitlin
d24ebec28b list of official wxWin translators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:54:18 +00:00
Vadim Zeitlin
c42404a58e fixes for compilation with the old mingw32, wxUSE_NORLANDER_HEADERS is always
defined (as 0 or 1)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:21:21 +00:00
Guilhem Lavaux
55196c5464 Added a bigger wxMMedia2 demonstration: wxMultimediaBoard: it is a sort
of light clone of the Windows Media Player.
Early development, but it plays WAV/AIFF files and should work on Windows
as soon as I build the makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:12:37 +00:00
Guilhem Lavaux
a31c84f389 * Various fixes
* Introduced FinishPreparation() in wxSoundFileStream as a conclusion
  to PrepareToPlay()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:09:24 +00:00
Vadim Zeitlin
2133c25075 USE_DYNLIB_CLASS set to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 15:32:40 +00:00
Vadim Zeitlin
32de7d24a5 fix for id of CHAR_HOOK events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 15:06:40 +00:00
Mark Johnson
f1a31d8891 dbtree.cpp de/dbbrowse.mo de/dbbrowse.po de/mo.cmd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 14:58:54 +00:00
Mark Johnson
d1a643a467 dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:14:48 +00:00
Robin Dunn
2c9a89e002 wxGridCellEditor plugged in and operational for strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:05:35 +00:00
Mark Johnson
897d36c241 browsedb.cpp dbbrowse.cpp dbgrid.cpp dbtree.cpp doc.cpp
de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:05:14 +00:00
Mark Johnson
b54f1155cb browsedb.cpp dbtree.cpp dlguser.cpp dlguser.h pgmctrl.cpp
de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 09:07:41 +00:00
Robin Dunn
07296f0b12 1. Fixed slow-click timer.
2. Fix for full cell background to be painted.  (One line on the edges
was showing through to the background.)

3. Added current cell highlight.  Currently it just draws a thick
border using the gridLineColour just inside the cell borders.

4. Make dragging a little less sensitive by ensuring that the mouse
drags at least 3 pixels before anything is done to the grid.

5. CaptureMouse while drag-selecting cells and fixed to make cells
visible if dragging outside window boundaries.  Still a problem here
though, it moves way to fast to see what's happening (at least on MSW.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 08:53:06 +00:00
David Webster
0dfef5a812 Fix for VA 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 05:00:55 +00:00
David Webster
70054dc94d Minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 04:58:59 +00:00
Guillermo Rodriguez Garcia
ef57d8662f Still with the same 'read after close' thing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 23:49:23 +00:00
Stefan Neis
025562fee3 Shift edit control (since we shifted cells in last version!)
Only draw valid help lines in resizing.
First try to enable EditCtrl on slow clicking: Doesn't work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 19:43:54 +00:00
Guillermo Rodriguez Garcia
5330a86957 Solved a 'bug' in GSocket_Select (a bug in the user side, I'd say)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 19:04:55 +00:00
Mark Johnson
c9a586dbe4 pgmtext.mo pgmtext.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 18:33:43 +00:00
Mark Johnson
a1c5f7a357 dbbrowse.cpp dbgrid.cpp dlguser.cpp pgmctrl.cpp de/help.mo
de/help.po
 	de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 18:31:05 +00:00
Stefan Neis
dcfe4c3d71 Added enabling/disabling of cell edit control.
Moved grid lines and cells by one pixel.
Call SelectBlock in SetCurrentCell (possibly not, what we want?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 16:58:43 +00:00
Julian Smart
1265b12ac9 Bitmap name changes (also done by RR, oops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 16:28:19 +00:00
Robert Roebling
e60908ca90 Applied colour reduction and changes to use
Windows standard palette to plot BMPs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 15:08:34 +00:00
Robert Roebling
0f820c97ca Reverted Vadims change for the size of filled
rects, the are the same now on GTK and Win95.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:50:47 +00:00
Robert Roebling
cacc9daee9 Corrected BMP names for plot window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:49:40 +00:00
Robert Roebling
af3cc6adf9 Added mingw32 makefile for plot demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:48:20 +00:00
Robin Dunn
26b9cf270e Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:35:39 +00:00
Robin Dunn
854862f58d Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:01:58 +00:00
Robin Dunn
f97c9b5bf2 1. Grid cell defaults are now handled by an internal
wxGridCellAttr object

2. wxGridCellRenderer::Draw updated to expect an attr object and
use it instead of going back to the grid for everything

3. The selection colours are now initialized from wxSystemSettings,
and are configurable.

4. Now either CreateGrid() or SetTable() can be called to initialize
the grid.  Added a test for using a non-default table.

5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND handlers.

6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 05:38:03 +00:00
Robin Dunn
2796cce3f1 1. Grid cell defaults are now handled by an internal wxGridCellAttr
object.

2. wxGridCellRenderer::Draw updated to expect an attr object and use
it instead of going back to the grid for everything

3. The selection colours are now initialized from wxSystemSettings,
and are configurable.

4. Now either CreateGrid() or SetTable() can be called to initialize
the grid.  Added a test for using a non-default table.

5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND
handlers.

6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 05:37:37 +00:00
Robin Dunn
164b735b71 Fixed thread state problem in wxTreeCtrl.GetBoundingBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 00:29:38 +00:00
Julian Smart
2b4313be05 BC++ doesn't like periods in resource names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 19:10:14 +00:00
Vadim Zeitlin
2daa0ce9a4 mouse event flags have MSW-compatible values for click/release events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 14:57:21 +00:00
Mark Johnson
c92b0f9abd browsedb.cpp browsedb.h dbbrowse.cpp dbbrowse.h dbbrowse.rc
dbgrid.cpp dbgrid.h dbtree.cpp dbtree.h dlguser.cpp dlguser.h
 	doc.cpp doc.h pgmctrl.cpp pgmctrl.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 14:11:17 +00:00
Guilhem Lavaux
ef366f3523 * Updated README
* Recoded converters (in a cleaner way)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 12:11:23 +00:00
Julian Smart
9bb3479c68 Distrib file updates; test for bitmap presence in controls.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 10:44:03 +00:00
Guillermo Rodriguez Garcia
b5c91ac6b3 Partially rewrote rotation code due to a potential alignment problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 23:11:40 +00:00
Julian Smart
7dd7a90614 Uncommented listctrl.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 22:36:29 +00:00
Julian Smart
f97445f4aa Doc bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 22:36:05 +00:00
Vadim Zeitlin
758cbedf84 added attr assignment for rows/columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 21:14:58 +00:00
Vadim Zeitlin
0a97676587 added an extremely simple cell attr cache (yet it catches 80% of acccesses)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 20:38:04 +00:00
Guillermo Rodriguez Garcia
a2e661f9ce Another oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 20:09:02 +00:00
Julian Smart
ecf527c06b Manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 19:42:46 +00:00
Vadim Zeitlin
ab79958a7f added wxGridCellRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 19:40:56 +00:00
Vadim Zeitlin
2e9a678817 fixed setting more than one attr for a cell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:18:18 +00:00
Stefan Neis
3ace2e6d5c Updated to include recent fixes to configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:01:56 +00:00
Robert Roebling
a5a0dd06b6 Made HelpGen compile here.
Documented wxPlotWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:00:42 +00:00
Guillermo Rodriguez Garcia
b59102d53f Oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:57:15 +00:00
Guillermo Rodriguez Garcia
33e3914780 Modified for new THUMBRELEASE event
Optimized game engine a bit more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:56:39 +00:00
Guillermo Rodriguez Garcia
7d56fb8fcd Added wxEVT_SCROLL[WIN]_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:55:28 +00:00
Vadim Zeitlin
181bfffdc8 removed debugging messages I just added by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:47:18 +00:00
Vadim Zeitlin
e2b42eebeb added ChangeCursorMode() method, rewrote the col/row resizing code to capture/release mouse properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:43:42 +00:00
Julian Smart
c3b177ae63 Some BC++ 5.4 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 13:29:43 +00:00
Robert Roebling
80a58c9968 Added BMP files for wxPlotWindow,
Replaced wxWindow with wxNotebookPage in wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:28:21 +00:00
Václav Slavík
37a1f3f69b fixed bug in scaling images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:08:23 +00:00
Michael Bedward
6d004f675d Added facility to resize rows and cols by dragging grid lines.
Fixed bug where row col resize events were sent twice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 04:09:20 +00:00
Vadim Zeitlin
4aff28fc9b 1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
2. bug with multiline messages in wxLogGui fixed
3. wxLogGui visual enhancements (for MSW, don't know how it looks elsewhere)
4. fixed 2 nice (i.e. BIG) memory leaks in wxImage::Rotate()
5. modified the text sample to show the mouse events too
6. documented strange behaviour of LEAVE_WINDOW mouse event under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 02:41:07 +00:00
Robert Roebling
1d81a219db Fixed Vadims fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 19:31:55 +00:00
Robert Roebling
279ababf7b Whole lotta stuff for wxPlotWindow,
repaired image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:43:33 +00:00
David Webster
bbc3f89a82 Added an OS/2 section to the sql defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:32:08 +00:00
Vadim Zeitlin
7b848b0db2 1. fixed bug with the index of the last column in EVT_COL_CLICK being shifted
by 1 (always)
2. added a menu item to toggle single/multiple selection to the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:12:44 +00:00
Mark Johnson
f75fc92e11 dbgrid.cpp dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 16:53:59 +00:00
Julian Smart
5ce70b006d Added a few makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 15:42:35 +00:00
Mark Johnson
e8c6aabeaa dbbrowse.rc dbgrid.cpp dbtree.cpp dbtree.h help.de/icons.htm
help.de/problems.htm help.std/icons.htm help.std/problems.htm
 	bitmaps/view.ico bitmaps/view.xpm help.png/view.png


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 15:36:10 +00:00
Guillermo Rodriguez Garcia
ad30de59f6 Added support for transparency in rotation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:27:07 +00:00
Guillermo Rodriguez Garcia
b217783903 Added code to test the transparency stuff for image rotation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:26:30 +00:00
Bart A.M. Jourquin
cb5df486e8 #include textfile.h out of the WX_PRECOMP section (bcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 08:36:51 +00:00
Guillermo Rodriguez Garcia
d624fd67f8 Added comments explaining my recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 07:28:43 +00:00
Guillermo Rodriguez Garcia
8fcae2d6ed ROP 0x00AA0029 used for transparent area in DrawBitmap and Blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 06:54:50 +00:00
Guillermo Rodriguez Garcia
105521d118 Minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 05:01:21 +00:00
Robin Dunn
047473c90a moved Clear() outside of if (textured)...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 05:00:06 +00:00
Robin Dunn
1edc9f4576 added option for drawing a textured background to test masks on a
non-solid background.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 04:56:16 +00:00
Michael Bedward
2433bb2ed1 Added wxTextFile functions to make multi-line text formatting portable.
Fixed cell background colour problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 03:50:51 +00:00
Michael Bedward
bd3c6758b5 Reverted changes to grid line positioning that caused many problems
with refreshing and edit control placement.

Added calls to wxFAIL_MSG.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 02:39:05 +00:00
Guillermo Rodriguez Garcia
04e1eb03b0 - wxSocket no loner automatically Closes() the socket when it receives a
LOST event.

- Elusive bug found and fixed when:
a) there was still data to be read in the input buffer, but
b) the socket had already been closed by the peer, so
c) there was a LOST event before the next INPUT event was generated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 01:02:34 +00:00
David Webster
c67b773e19 Updates to make latest changes compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:58:41 +00:00
Guillermo Rodriguez Garcia
c0eba78b86 Stupid bug: using LastError() instead of Error()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:53:26 +00:00
Stefan Neis
ea0dbf30b3 Updated/Added build instructions for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 21:50:15 +00:00
Guillermo Rodriguez Garcia
a9cf40974a Zooming buttons / menu options automatically disabled when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:52:12 +00:00
Robin Dunn
4ac99f4bbe fixed VC6 compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:51:09 +00:00
Robin Dunn
d14f4fec2d plugged memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:35:09 +00:00
Vadim Zeitlin
b99be8fb78 cell attributes added (doesn't quite work, work in progress, beware, don't use, &c &c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:30:27 +00:00
Guillermo Rodriguez Garcia
7989fb3707 Added automatic connection of drawn points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:22:57 +00:00
Vadim Zeitlin
633d67bb49 fixed fatal bug in wxStatusBar::SetFieldsCount(), added demo of it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 18:23:37 +00:00
Vadim Zeitlin
26dfedc4fc some Motif compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:53:42 +00:00
Vadim Zeitlin
06b466c74f more HP-UX compilation warnings fixed (187th try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:51:16 +00:00
Vadim Zeitlin
61b1a1af1b and ITEM_COLLAPSED/ING too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 15:36:30 +00:00
Vadim Zeitlin
9711961cb9 added EVT_TREE_ITEM_ACTIVATED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 15:34:47 +00:00
Stefan Neis
c1b2e2b6a8 Fix refreshs for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 14:29:25 +00:00
Guillermo Rodriguez Garcia
5e2e843f00 let's see it it works now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:54:56 +00:00
Michael Bedward
27fa32469f Changed grid line positioning slightly to line up the cells with the labels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:18:52 +00:00
Michael Bedward
18f9565d19 Fixed problem where corner label was displayed when either row or col label size had been set to zero prior to first display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:09:19 +00:00
Michael Bedward
7807d81c73 Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSizes().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 07:17:12 +00:00
Michael Bedward
c3e4873f84 Partially reverted last changes because of problems under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:12:01 +00:00
Michael Bedward
4634a5d6d7 Initializing more variables in wxGrid::Create()
Minor fixes for crashes under wxMotif when setting attributes before
the grid has been first painted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:04:21 +00:00
Michael Bedward
b0d6ff2f7f Added more 3d rendering to row and col labels and removed sunken border style from the grid cell window so that labels and cells line up better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:49:52 +00:00
Michael Bedward
c6a51dcd05 A few optimizations to Refresh() calls for the grid cell area window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:03:52 +00:00
Michael Bedward
2e8cd9776a Implemented row and col label size functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 02:15:05 +00:00
Stefan Neis
4370c5b2de More fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 00:31:10 +00:00
Stefan Neis
b137db1402 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 23:48:32 +00:00
Václav Slavík
c3a1c7d272 fixed incorrect parsing of http://domain.com:portnumber/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 23:42:06 +00:00
Robin Dunn
21d734041a Fix in parse headers so it wouldn't always store an empty string
for each header value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 21:31:29 +00:00
Guillermo Rodriguez Garcia
e0a4029251 Life! version 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 20:04:48 +00:00
Julian Smart
bf4d9b2b9b ShowFullScreen (MSW) doc; projgen updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:25:48 +00:00
Julian Smart
c86423f922 Minor mods if any
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:22:40 +00:00
Julian Smart
b487a08f91 Added ShowFullScreen call (MSW only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:19:47 +00:00
Julian Smart
9f334beabb VC++ project file updates; minor sashwindow/splitterwindow cursor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:18:43 +00:00
Julian Smart
3e0b743f1d Misc. fixes for obscure compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:17:00 +00:00
Julian Smart
a2327a9f80 Added ShowFullScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:14:50 +00:00
Vadim Zeitlin
72174350ae don't use ROPs for drawing the text for wxMSW compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:06:54 +00:00
Guillermo Rodriguez Garcia
c0043a5066 Changed the order in which events are checked, so that LOST events are
ignored until there are no more events pending. This is because you can
have data waiting to be read, for example, even when the peer has already
closed the connection. This affects _Wait() and OnRequest().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 18:31:07 +00:00
Vadim Zeitlin
cd6d6d5b9f added checks for Xm/Xpm headers/libs in CFLAGS/LDFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 17:44:50 +00:00
Vadim Zeitlin
51a9fabaad cache the result of socklen_t check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 17:16:31 +00:00
Vadim Zeitlin
92da8bde1b HP-UX compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 16:28:55 +00:00
Bart A.M. Jourquin
ad2522ad3f add SQL_CATALOG and SQL_LOG filename variablesas extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:53 +00:00
Bart A.M. Jourquin
9453a61bd8 add SQL_CATALOG and SQL_LOG filename variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:07 +00:00
Michael Bedward
b93a2fe65a Fixed problem with label resize cursor not resetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 04:33:03 +00:00
Guillermo Rodriguez Garcia
fa1993cce5 M_PI is not ANSI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 02:09:54 +00:00
Vadim Zeitlin
91b4c08d6f 1. wxWizard appears in the centre of the screen by default
2. the selected brush isn't damaged any more by DrawBitmap()
3. corrected confusion between current and bg brush in DrawBitmap()
4. added wxGetColourFromUser() (to match wxGetTextFromUser() &c)
5. mem leak/crash in wxListCtrl on mode change fixed
6. wxListCtrl::Set{Fore|Back}groundColour() work as expected now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:08:51 +00:00
Vadim Zeitlin
11f26ea0e2 1. more test code for drawing with ROPs/masks/bg brushes in drawing
2. wxListCtrl colour setting tests added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:07:48 +00:00
Guillermo Rodriguez Garcia
2edc119be3 Fixed transparency problem when masked area was not black
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 23:26:29 +00:00
Sylvain Bougnoux
bd1b0b3ed1 Add ctor with shared GLCanvas ( to be gtk compliant)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 20:47:05 +00:00
Vadim Zeitlin
ec90f5e53a fix for missing AC_SUBST(SAMPLES_SUBDIRS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 17:33:23 +00:00
Vadim Zeitlin
b089607b63 many fixed for configure for Win32 - cross-compiling should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 17:28:48 +00:00
Vadim Zeitlin
a2a0d40dac wxLogFatalError() should abort now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:53:47 +00:00
Vadim Zeitlin
6932a32c2b trying to fix memory leak in wxListCtrl (attributes not deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:51:39 +00:00
Vadim Zeitlin
f5ac656c5a 1. modified Makefile to copy the .bmp
2. added "change angle" to the menu, abort (and not crash) if bitmap not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:37:59 +00:00
Vadim Zeitlin
963863adad wxListCtrl::SortItems() clarifications, more samples docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 15:48:53 +00:00
Julian Smart
b81d8cfc81 Copied XPM files to new names to avoid conflict when compilign with VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 12:50:46 +00:00
Stefan Neis
be46e4a680 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 11:15:53 +00:00
Harco de Hilster
d17f05afeb Some fixes (&->\&, _->\_) to remove latex complaints.
Actually the whole point of this excercise was to try to make a nice pdf file
with contents tree and thumbnail pages using pdflatex, but it keeps depleting
tex's resources :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:14:56 +00:00
Bart A.M. Jourquin
96820af7cb add definition for FAR for mingwin 2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:08:09 +00:00
Bart A.M. Jourquin
57c1c6cb9b add casts + type to untyped const for GCC2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:07:00 +00:00
Michael Bedward
790cc4177a Fixes for problem where selection fails to start on dragging mouse in
grid cell window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 05:39:28 +00:00
Michael Bedward
9496deb586 Fixed bug in wxGrid::DrawAllGridLines that was causing crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 03:36:01 +00:00
Julian Smart
69d16e3ef8 Small changes for VC++ 4 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 21:25:27 +00:00
Robert Roebling
95bf655c50 Small modifications to listtest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 20:36:00 +00:00
Robert Roebling
227c63bac9 Reenabled deleteallitems events, marked
with RR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 20:35:32 +00:00
Stefan Neis
cb309039b6 Minor fix in screen update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:51:59 +00:00
Julian Smart
457e6c54a2 Some doc corrections; Watcom C++ corrections; VC++ 4 corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:11:10 +00:00
Robert Roebling
46132182f0 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 17:13:14 +00:00
Julian Smart
6f434e5041 Changed static_cast syntax not recogised by all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 15:05:46 +00:00
Julian Smart
7a632f1056 Added rotation to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 14:51:36 +00:00
Robert Roebling
12c1b46a2f Tried to prevent scrollbars from scrolling as
per MSW, didn't work.
  Added DeleteAllItems event and test to listctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 13:51:01 +00:00
Julian Smart
9b1801c19c long -> wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:12:25 +00:00
Robert Roebling
2a23d36334 Scrolling fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:11:19 +00:00
Julian Smart
790ad94f70 Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 11:48:14 +00:00
Ron Lee
0bd62129f6 patched DoSetClippingRegionAsRegion to update clipping state vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 09:06:54 +00:00
Stefan Neis
70c7a608b4 Optimized Refresh Area in various functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:58:45 +00:00
Vadim Zeitlin
81278df2b1 some minor changes in controls/image, timings added to listtest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:30:21 +00:00
Stefan Neis
3ccf6cd7ea long -> wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:21:43 +00:00
Vadim Zeitlin
412e4edfb1 tried to fix compilation for mingw32 and wxGTK/Motif in the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:03:26 +00:00
Julian Smart
cc56206fcd SetStatusFields type in implementation now matches header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 23:07:43 +00:00
Julian Smart
66e3334451 Ok -> OK; status bar typo/cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 20:03:40 +00:00
Guillermo Rodriguez Garcia
af07f1749c Some compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:18:28 +00:00
Guillermo Rodriguez Garcia
96d9e4df78 Reverted a change which breaks compilation for win32 - not sure on how to fix this :-?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:16:47 +00:00
Guillermo Rodriguez Garcia
608eeb0f24 Missing includes - please test without precompiled headers before committing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:15:17 +00:00
Stefan Neis
796df70a76 Added different strategy for updating grid lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:04:13 +00:00
Robert Roebling
8febdd3905 Fixed status bar probs,
Compilation fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 17:56:26 +00:00
Julian Smart
658fb8e6c5 VC++ changes + makeproj additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 16:09:10 +00:00
Stefan Neis
d331afb7c8 Include Header file of base class!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 15:56:59 +00:00
Stefan Neis
8a9a9d58d9 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 14:27:37 +00:00
George Tasker
7a5214a863 Fixed a typo in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 14:13:41 +00:00
Julian Smart
b922ef5a1b Corrected initial m_filterIndex value (was 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 11:16:14 +00:00
Robert Roebling
473d087e56 wxWindow no longer emits any scroll events after
a programmatic change to its scrollbars.
  Reverted sense of SHIFT and CONTROL in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 10:33:57 +00:00
Vadim Zeitlin
2531c7e393 docs for wxTimer change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 02:07:38 +00:00
Vadim Zeitlin
ed79198695 1. wxTimer change - now generates EVT_TIMER()
2. wxStatusBar reorganisation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:57:38 +00:00
Vadim Zeitlin
85401ffe5c cosemtic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:55:54 +00:00
Michael Bedward
f603012fbb Space now move active cell right if grid is not editable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:06:47 +00:00
Michael Bedward
8fb66724c6 Removed ^M chars again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:03:52 +00:00
Michael Bedward
238c4e1798 Removed erroneous EVT_SCROLLWIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 00:26:11 +00:00
Stefan Neis
6f837e5cc0 Added #ifdef HAVE_SCHED_YIELD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 23:41:25 +00:00
Vadim Zeitlin
b63f97ea94 readding back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 20:27:31 +00:00
Vadim Zeitlin
2286341c8d new sample: statbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 20:27:10 +00:00
Vadim Zeitlin
14e40b5aac updated to reflect the current situation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 19:27:18 +00:00
Vadim Zeitlin
7c968cee84 another new version of wxStringTokenizer (with tests and docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 18:31:26 +00:00
Julian Smart
a42b93aaad Minor doc typos removed; compilation improved for VC++ 4.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:08:11 +00:00
Robert Roebling
d2fdd8d2af Minor GTK fixes for wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:01:47 +00:00
Vadim Zeitlin
815a62d283 fixed resize line drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 15:17:15 +00:00
Vadim Zeitlin
f0102d2a6d fixed refresh problem due to rounding errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 14:57:09 +00:00
Robert Roebling
71fe5c01eb ROP changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 14:16:17 +00:00
Vadim Zeitlin
8712c6e799 fixed AdvanceSelection() wrapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 13:49:12 +00:00
Michael Bedward
58dd5b3b3e Many bug fixes for display code:
- clicking outside cell area no longer causes crashes
- clicking beyond labels is now ignored
- better cell selection code
- old grid sample now works with this grid
- newlines can be entered in to cell edit control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 11:17:01 +00:00
Stefan Neis
da6af900f1 Added drag-shrinking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 08:41:34 +00:00
Vadim Zeitlin
2cce705aad fixed bug in handling quoted characters in value names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 17:37:53 +00:00
Stefan Neis
c3baf426f8 Added drag-shrinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 15:14:13 +00:00
George Tasker
d62e92203d Replaced C++ comment with C comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:56:12 +00:00
Vadim Zeitlin
60ff3b9976 re-checking in files in Unix mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:30:28 +00:00
Bart A.M. Jourquin
8f0b51916e remove c++ comment in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:17:32 +00:00
Bart A.M. Jourquin
5d8bc5d35d fix include files path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:07:42 +00:00
Vadim Zeitlin
170cbe33dc added WM_SYSCHAR processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 12:35:58 +00:00
Vadim Zeitlin
8ae6ce07de fixed bug with propagating wxWS_EX_VALIDATE_RECURSIVELY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 12:20:34 +00:00
Michael Bedward
b27f2615c7 Used old name SelectCell instead of new name SetCurrentCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:18:02 +00:00
Michael Bedward
dfaf42d2e8 Added missing SetGridCursor function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:11:12 +00:00
Michael Bedward
f445b8537b Updated demo program to work with revised grid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:07:07 +00:00
Michael Bedward
1f1ce28841 Removed cell highlighting temporarily. Now wxGrid::EnableEditing(bool)
sets the cell edit control to be editable or read-only.

Fixed row sizing problem where text was clipped in the cell edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:03:03 +00:00
Michael Bedward
2d66e025ef Major redesign of grid classes:
- wxGrid now derives from wxScrolledWindow
- Row labels, col labels, corner labels and grid cell area
  implemented as separate classes

The new design fixes the display problems (bad flicker when
scrolling) and simplifies the internal handling of grid cell
coordinates, the edit control etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 04:43:45 +00:00
Robin Dunn
fe366bc940 more change documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 22:43:22 +00:00
Robin Dunn
9e57c2a032 more change documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 22:38:13 +00:00
Václav Slavík
47c13eb766 added wxUSE_DEBUG_NEW_ALWAYS to --enable-mem_tracing (quite useless otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:32:15 +00:00
Václav Slavík
d13b68d233 fixed bug that caused assertion failure when printing HTML with images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:18:31 +00:00
Václav Slavík
cf471cab82 fixed memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:18:02 +00:00
Václav Slavík
c7fb814ac3 fixed DeleteContents inconsistency: didn't free memory if DeleteContents called before inserting data (and creating wxList)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:40 +00:00
Václav Slavík
66806a0bf0 fixing memory leaks & mem tracing false alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:25 +00:00
Robert Roebling
2d52841d08 Clearified ROP code in wxDC (MSW and GTK).
Removed CaptureMouse() non-sense again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 20:36:55 +00:00
Guillermo Rodriguez Garcia
a3a1ceae81 Fixed bug in DoDrawRotatedText: it wasn't deleting the font when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 19:48:01 +00:00
Vadim Zeitlin
8771a3239e docs can be built again (thanks lacheck!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 19:30:09 +00:00
Vadim Zeitlin
7eb4e9cc0f added CentreOnScreen(), updated the docs to clear this mess a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:48:41 +00:00
Vadim Zeitlin
3fcdd07b5d 1. don't compile IODBC sources for MSW
2. check for gettimeofday/ftime in configure (even though we have localtime)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:00:30 +00:00
Robert Roebling
68df5777c7 Tried to fix corrupted display of wxTextCtrl,
Corrected wxFileDialog's multiple file option.
  Corrected event mask for CaptureMouse(),
  Small change to "best visual" code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:59:12 +00:00
Vadim Zeitlin
224ff7a50d don't show the same message twice when wxLog called from another thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:50:56 +00:00
Vadim Zeitlin
7c66a49332 oops, typo in recently committed files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:11:36 +00:00
Vadim Zeitlin
6c68273f97 another assert added to check incorrect use of ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:06:50 +00:00
Vadim Zeitlin
7e99ad8621 made error message when test for GTK+ fails more detailed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:56:06 +00:00
Sylvain Bougnoux
8242fb3b6f Add warning if wxStopWatch is up to second resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:37:56 +00:00
Karsten Ballüder
84fba50b0c FreeBSD fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:09:54 +00:00
Václav Slavík
06bd2b5753 added Linux-only /proc/net/route check, IsOnline proceeds check always, not only if timer is not running, changed order of tests (/proc/net, ifconfig, connect to well-known host, ping)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 15:10:15 +00:00
Robin Dunn
990416e0bd minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 06:37:06 +00:00
Robin Dunn
3e02f5ed14 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 04:46:41 +00:00
Vadim Zeitlin
4004f41e3c 1. wxStaticBitmap now uses mask even for bitmaps (and not only icons)
2. we now catch WM_SYSKEYDOWN/UP events as well as normal ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:52:06 +00:00
Stefan Neis
e00a018306 Added rules using motif.t gtk.t os2.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:08:20 +00:00
Stefan Neis
aa5df84fab Added auto-generated files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 23:47:11 +00:00
Stefan Neis
e48fa619a1 added os2.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 23:43:02 +00:00
Robin Dunn
e02c03a42e some fixes and code regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 21:36:20 +00:00
Robin Dunn
0c3d4bfdcf workaround font data bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 20:29:11 +00:00
Robin Dunn
a4bde64fd2 set version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 19:35:14 +00:00
Guillermo Rodriguez Garcia
f4e11bc941 Updated for new XPMlib files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:14:03 +00:00
Guillermo Rodriguez Garcia
9b97ee33d7 Updated for new XPM files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:13:20 +00:00
Guillermo Rodriguez Garcia
bfef20bf7d Added a test for saving XPMs with 'automatic' mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:29 +00:00
Robert Roebling
3d2b9c202d Added test for no-change in crollwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:20 +00:00
Guillermo Rodriguez Garcia
07dc73b114 This file was a copy of data.c and is not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:11:48 +00:00
Guillermo Rodriguez Garcia
9853e3b7d4 Fixed XPM transparency issue for both loading and saving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:10:36 +00:00
Guillermo Rodriguez Garcia
e6ed776fb2 Updated lib to 3.4g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:10:04 +00:00
Robert Roebling
103aab2664 Various corrections to makefiles, RPMs etc.
Corrected overoptimised window style and colour code.
  More best visual changes.
  Minor typos in docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:37:28 +00:00
Bart A.M. Jourquin
eb17eaba37 splitter in bin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:05:08 +00:00
Bart A.M. Jourquin
7325fb80ae *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:03:48 +00:00
Bart A.M. Jourquin
9329312b60 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:54:47 +00:00
Bart A.M. Jourquin
c29658ea7d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:54:16 +00:00
Julian Smart
df61c00971 Set/GetWindowMenu added to MDI parent frame under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:48:44 +00:00
Bart A.M. Jourquin
dc8174d2a9 icons fix for unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 14:52:25 +00:00
Bart A.M. Jourquin
c45a4560f8 Add system fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 09:16:04 +00:00
Bart A.M. Jourquin
b8365facc3 fix icons in dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 09:05:34 +00:00
Vadim Zeitlin
5b615ed89b trying to make wxYield() more threads friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 01:46:05 +00:00
Vadim Zeitlin
0bafad0cf4 1. some fixes for the problems reported by BoundsChecker
2. filled rectangles without outline are one pixel taller/wider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 01:22:00 +00:00
David Webster
70862fa81b VA 4.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:28:20 +00:00
Robin Dunn
8f06a01712 Minor additions to make working with binary buffers easier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:22:44 +00:00
Robin Dunn
eec92d76f8 Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:07:04 +00:00
Robin Dunn
9e46ac75de new tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:01:00 +00:00
Vadim Zeitlin
bbf8fc5391 1. bug in wxString::find_first_of() fixed
2. new wxStringTokenizer class and the docs for it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 20:46:49 +00:00
Vadim Zeitlin
54744d3ab7 compilation for Win32 using configure works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 19:16:28 +00:00
Vadim Zeitlin
f83b9a7780 added wxBase.dsp to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:42:49 +00:00
Vadim Zeitlin
53faea4316 new wxStringTokenizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:38:12 +00:00
Vadim Zeitlin
48fe83743a makefiles changes (@top_srcdir@ adjusted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:31:18 +00:00
Vadim Zeitlin
2224580a41 1. configre/makefiles changes
a) wxBase compilation/installation/dist works, added wxBase.spec
 b) list of files is include by Makefile.in, not embedded into it
 c) configure runs "subconfigures" for samples/demos/utils
2. wxTokenizer class from Gregory Pietsch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:26:16 +00:00
Robert Roebling
8480b297e7 Using the best visual is now an option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:37:37 +00:00
Karsten Ballüder
13e3b45a89 Added the "guessed" icon path for Debian/Corel Linux with KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:31:51 +00:00
Vadim Zeitlin
f855d4cbf5 wxWS_EX_VALIDATE_RECURSIVELY set by default if parent has it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:25:09 +00:00
Karsten Ballüder
b9fa850da1 gtk-config now checks for gthread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:08:09 +00:00
Karsten Ballüder
4bdad4464e FreeBSD library naming fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:02:31 +00:00
George Tasker
1e92909e9a Replaced tabs and cleaned up indentations.
Replaced all the char arrays I could with wxStrings.  Should noticably reduce memory used by classes.
Fixed "for (int i=0...)" occurances


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:44:54 +00:00
George Tasker
95ca6a20b5 Removed tabs and cleaned up indentations.
Added SQL_LOG_FILENAME and SQL_CATALOG_FILENAME constants to remove embedded text filenames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:41:28 +00:00
Bart A.M. Jourquin
8a89af527d wxString fix (c_str()) in doc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:08:03 +00:00
Bart A.M. Jourquin
b3630c4fb4 add busycursors and remove fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:02:05 +00:00
Bart A.M. Jourquin
13b59a33b4 suppres some warnings, suppress assert failure for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:36:36 +00:00
Bart A.M. Jourquin
ed6e827e23 Handle Cancel button in userdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:22:30 +00:00
David Webster
5d33ed2c6b VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:16:05 +00:00
Bart A.M. Jourquin
c09d434d55 Userdlg uses constraints (better for wxMotif). Also added Id for cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 13:20:36 +00:00
George Tasker
3fa344e531 Fixed file names to be the 8.3 name style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 11:43:42 +00:00
Bart A.M. Jourquin
b5ce269b14 re-indent sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 10:43:24 +00:00
Bart A.M. Jourquin
0c8c86a6b0 fix Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 09:51:00 +00:00
Bart A.M. Jourquin
e60a4e0706 add makefile.b32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 09:30:14 +00:00
George Tasker
8122471f4f Added dbbrowse demo to the list of demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:29:40 +00:00
George Tasker
a7060aacab Fixed target name to dbbrowse rather than dbrrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:28:26 +00:00
George Tasker
de804346e4 Added the dbbrowse demo to the demo builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:27:06 +00:00
Julian Smart
56b79cb98d Some but not all compile fixes for typetest (VC++ 1.5); added datetime.cpp
to 16-bit compile list; edited isql.h for 16-bit (but not right since doesn't
link)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 15:29:45 +00:00
Julian Smart
f6081a0462 Cured memory leak report in wxDateTime; wxGLCanvas corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 13:43:37 +00:00
Vadim Zeitlin
4c45f240f6 added modeless dlg test to dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:33:02 +00:00
Vadim Zeitlin
b6c588e1a6 wxDialog change (Show() completely rewritten, modal dialogs handling changed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:31:09 +00:00
Vadim Zeitlin
55c56a6d80 I think it's needed...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 22:19:48 +00:00
Guillermo Rodriguez Garcia
5ace021300 Fixed for old gnuwin32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 20:27:20 +00:00
Robert Roebling
16b52fa1b7 Disabled ODBC code by default,
Move isql.h and isqlext.h to /include/wx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 17:52:53 +00:00
Robert Roebling
d4aa3a4b86 Line drawing correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 16:50:15 +00:00
Robert Roebling
107a178768 New line tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 14:36:21 +00:00
Vadim Zeitlin
1b6452dfc4 1. small changes to wxProgressDialog to make it more user-friendly
2. attempt to correct the disappearing focus problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:38:19 +00:00
Vadim Zeitlin
3fd99dfceb VC++ project for wxBase/Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:35:28 +00:00
Vadim Zeitlin
b9de131510 1. thread sample now uses wxProgressDialog for more "realism"
2. added a filled rect with outline to the drawing sample and
   changed DrawLine() to show how MSW draws them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:34:46 +00:00
Václav Slavík
70aedad68f fixed memory leak (m_PagesHash not deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:13:12 +00:00
Václav Slavík
34153050fe switched back to old use of DrawBitmap for transparent bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:13:03 +00:00
Václav Slavík
72fc5caf06 bugfix: added wxWindowBase::OnMiddleClick declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:55 +00:00
Václav Slavík
9922de0b73 LGPL comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:45 +00:00
Václav Slavík
55746b4c58 wxHTML changelog added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:40 +00:00
Václav Slavík
4acd108caf changed meaning of Ctrl-End to be symetrical with Ctrl-Home
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:26 +00:00
David Webster
67b81440f0 VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 23:37:54 +00:00
Vadim Zeitlin
faab619a85 more files to ignore (build dirs names, tags files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:58:32 +00:00
Vadim Zeitlin
7d0bb74d2b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:56:32 +00:00
Vadim Zeitlin
7923c64946 test for log dialog with only 1 msg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:56:19 +00:00
Vadim Zeitlin
6dc6fda694 wxBase compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:54:50 +00:00
Vadim Zeitlin
a02dc3e3ff added version info hidden dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:54:04 +00:00
Vadim Zeitlin
1845dd9923 small compilation fix for !wxUSE_SOCKETS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:53:14 +00:00
George Tasker
b5ffecfc98 First version of the DbBrowser demo program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 15:25:32 +00:00
George Tasker
0bd55cfa2c Attempting to allow WIN16 compilation of the db/dbtable classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 22:47:49 +00:00
Robert Roebling
d76fe38b29 Copied isql.h and isqlext.h to /include/wx/unix and make
it get installed.
  New code for "best_visual" under SGI and Sun.
  Typos in PostScrip code: HelvO and CourO.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 19:50:46 +00:00
Vadim Zeitlin
d71fa6fb2e wxString::find() now works again (was completely broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 16:47:57 +00:00
Bart A.M. Jourquin
c56dadd8ed IODBC fix in GetDataSource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 13:10:54 +00:00
George Tasker
579d7d1316 Fixed the GetDataSource() function so the DsDesc that is returned is the full description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 11:44:09 +00:00
Bart A.M. Jourquin
b2f60e03cc Using P.Getchar(i) instead of p[i]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 08:54:44 +00:00
Stefan Csomor
e98eb0f278 new upload / perhaps prev version was corrupted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 07:59:14 +00:00
Ove Kaaven
8ca97ad03c Added a couple of wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 03:25:23 +00:00
Václav Slavík
7517f8f540 added helpview to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:56 +00:00
Václav Slavík
3592c01e44 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:50 +00:00
Václav Slavík
03a6a579ae compilation fix for MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:43 +00:00
Václav Slavík
5b315dd000 minor visual enhancement of help browser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:38 +00:00
Václav Slavík
50a1f26154 documented noRefresh parameter of SetScrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:32 +00:00
Václav Slavík
21f95b5254 fixed incorrect parsing of URLs like www.kde.org (should be understood as www.kde.org/)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:25 +00:00
Václav Slavík
6ecb30a36f made unzip.c accept / and \ in filenames as equal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:16 +00:00
Václav Slavík
5be0cf6503 implemented better paths handling: dir1/../dir2/file is replaced by dir2/file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:55 +00:00
Václav Slavík
721ab90538 inline functions with if moved to .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:44 +00:00
Václav Slavík
fc7dfaf8ee some scrolling&refreshing fixed ; removed wxHtmlWindow::OnKeyDown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:25 +00:00
Václav Slavík
69626ba928 removed wxHtmlWindow::OnKeyDown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:17 +00:00
Václav Slavík
c5d22514ae yet another help browser visual enhancement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:10 +00:00
Ron Lee
56dade3c4d test for disabled scroll directions in kbd handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:43:23 +00:00
David Webster
7818b39874 Missing datetime and the db classes!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:07:22 +00:00
David Webster
46745d9394 Copmplete .icc that includes all libs that need be linked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:06:53 +00:00
Stefan Neis
c2517b27a8 LINKAGEMODE is defined in defs.h. No need to have the same #ifdef again -
- at least as far as I can see/test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 22:44:44 +00:00
Stefan Neis
1a787c5dc8 Changed order of #ifdefs to get native version on OS/2, even if
dlopen-wrapper is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 22:35:48 +00:00
David Webster
49e6314f6e New OS2 icon file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:33:31 +00:00
David Webster
34d65dd2ae New OS2 resource file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:23:51 +00:00
David Webster
22224dec5b New Visualage stuff and remove OS/2 stuff in the .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:23:28 +00:00
David Webster
66b6b04535 Visualage C++ V4.0 duplicate symbol fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:07:57 +00:00
Robert Roebling
ff7c6c9c36 Corrected TIFF,
more drawing tests.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 19:26:02 +00:00
Vadim Zeitlin
cf27ef009f compilation of wxBase works again (PATH_IFS wasn't defined for it!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:28:16 +00:00
Stefan Neis
4c0ed91137 Found PROGRAM_EXT variable and now want to use it for OS/2, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:21:45 +00:00
Vadim Zeitlin
44141a18c3 these aren't being used any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:14:05 +00:00
Vadim Zeitlin
438e3558ad more backwards compatible kbd handling in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 16:42:45 +00:00
Vadim Zeitlin
50af7fa9f2 'Details' button is now disabled if no details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:31:42 +00:00
Vadim Zeitlin
92fa3a1314 quick and dirty fix for the division by 0 crash in OnKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:20:53 +00:00
Vadim Zeitlin
d5536adedf wxDC::Blit() ignores useMask if there is no mask instead of giving an assert failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:08:11 +00:00
Vadim Zeitlin
4f527e7158 compilation fix for Win16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 13:45:00 +00:00
Vadim Zeitlin
531dfa446c compilation fix for compilers without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 13:41:59 +00:00
Guillermo Rodriguez Garcia
25ba2b89d7 URL test and some comments added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 01:54:14 +00:00
Václav Slavík
625e60c9d2 wxHtmlHelpFrame enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:43 +00:00
Václav Slavík
5656c6ef36 added wxHtmlWindow::GetOpenedAnchor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:29 +00:00
Václav Slavík
fbc899085c wxACCEL_NONE -> wxACCEL_NORMAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:16 +00:00
Václav Slavík
f9286bf5e6 changed demo data a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:11 +00:00
Václav Slavík
096824d758 sets frame title even for pages without <title> tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:05 +00:00
Václav Slavík
5fbc988f58 added wxHF_OPENFILES demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:58 +00:00
Václav Slavík
29e6059738 some fixes in names of cached helpbooks (does not contain # or : anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:52 +00:00
Václav Slavík
ecacdf8fc5 added new wxHF_ flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:46 +00:00
Václav Slavík
bd00574fd3 added more navigation controls to wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:40 +00:00
Václav Slavík
0646614dad added more navigation controls to html help frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:30 +00:00
Vadim Zeitlin
d1022fd6ba assert in GetNextItem() fixed (yes, now it is)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:19:16 +00:00
Vadim Zeitlin
13771c0847 assert in GetNextItem() fixed (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:17:21 +00:00
Vadim Zeitlin
568708e29f extended (wxMask test) and reorganized the drawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:02:15 +00:00
Vadim Zeitlin
a58a12e9b7 1. fixed (?) blitting bitmaps with mask
2. fixed wxWindowBase compilation (oops)
3. fixed kbd handling in wxScrolledWindow under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:01:27 +00:00
Vadim Zeitlin
d80cd92ae2 1. kbd interface for wxScrolledWindow
2. wxWindow::Set/GetExtraStyle()
3. wxWS_EX_VALIDATE_RECURSIVELY added and implemented
4. docs updated to reflect (2) an (3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 19:59:41 +00:00
Ron Lee
d24905b5e4 fixed _T typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 18:49:24 +00:00
Vadim Zeitlin
9376d86ede __GNUWIN32_OLD__ is defined if __GNUC__ is and NORLANDER_HEADERS is not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 18:23:20 +00:00
Vadim Zeitlin
8e21d9ad05 documented GetNextItem() behaviour precisely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:57:19 +00:00
Vadim Zeitlin
4786aabdbd added DrawRectangle() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:33:06 +00:00
Vadim Zeitlin
19695fbd61 fixed GetNextItem(item = -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:26:17 +00:00
George Tasker
e70e8f4cf3 Fixed code that did not work with Postgres
Removed all tabs, and replaced with spaces accordingly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:18:40 +00:00
Vadim Zeitlin
176513eb42 more patches for BC++ from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:51:26 +00:00
Vadim Zeitlin
4a539480fb missing Init() added to wxMenu(wxCallback) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Julian Smart
eaeb6a3c37 Added DEVNAMES to wxPrintDialog to remember printer name; fixed wxDC::Clear
to not assert for printer DCs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 13:35:44 +00:00
Bart A.M. Jourquin
8ad6ad991c add CASTWNDPROC to call to CallWindowProc for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 08:31:26 +00:00
Guillermo Rodriguez Garcia
31fd9b6bab Image docs updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 00:33:42 +00:00
David Webster
2a6b16e36b Added method for mimietype implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:50:28 +00:00
David Webster
006713a260 Fix for VisualAge; Init can't be before it is called in VA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:48:07 +00:00
Robert Roebling
11e654da9c Added datetime.inl to filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:15:43 +00:00
Julian Smart
ae77fce66c Added WS_VSCROLL and WSHSCROLL styles again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 21:53:19 +00:00
Guillermo Rodriguez Garcia
e5a2291ac7 Updated some bits in socket docs.
Documented socket samples
Moved wxInitAllImageHandlers from 'file functions' (?) to 'misc functions'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:46:54 +00:00
Vadim Zeitlin
3c1a88d8b8 several mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:39 +00:00
Vadim Zeitlin
c857185ce0 value of wxTE_PASSWORD changed to be different from wxCANCEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:07 +00:00
Vadim Zeitlin
d2f5093319 implementation of wxGetPasswordFromUser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:18:03 +00:00
Vadim Zeitlin
a294c6d53e added wxGetPasswordFromUser(), dialogs sample shows it, documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 18:26:54 +00:00
Vadim Zeitlin
88e243b29f warnings/linking fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:53:44 +00:00
Vadim Zeitlin
069d0f27ef 2 warnings from Solaris build log fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:04:44 +00:00
Vadim Zeitlin
b97fa7cfd1 modifications to show non monochrome masks in action
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 16:46:40 +00:00
Vadim Zeitlin
c3a4297caf excluded geometry.cpp from build by using #if wxUSE_GEOMETRY which is never
defined to be 1 (so far)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 16:22:11 +00:00
Vadim Zeitlin
de2d2cdc86 patches for wxSTIPPLE_MASK_OPAQUE from Klass Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:58:33 +00:00
Vadim Zeitlin
bf3dab485a some fixes from the SGI build log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:47:21 +00:00
Václav Slavík
b19d5e569e fixed false error report with helpfiles without index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:38:42 +00:00
Václav Slavík
446f8f2aad documented wxACCEL_ALT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:38:34 +00:00
Vadim Zeitlin
b24e8265ed patches for XPM/TIFF compilation with BC++ from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:37:24 +00:00
Vadim Zeitlin
af7c105256 refresh after sort - patch from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:36:17 +00:00
Jouk Jansen
f49676ee8c Committing in .
Update VMS makefiles

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:58:36 +00:00
Robert Roebling
55dfa8d3ea Applied some of the SGI fixes. Don't know about the
toolbar one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:27:37 +00:00
Robert Roebling
510fc784c0 Added geometry.cpp and made it compile,
Added empty dndcmn.cpp to avoid GNU link warnings,
  Fixed problem with event.Skip() in new tab code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:13:41 +00:00
Julian Smart
6b82d89473 Corrected font calculation (use screen resolution now); and check for mask in m_image.cpp
or get assert in DoBlit


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 12:24:57 +00:00
Robert Roebling
0f42a87192 Corrected spinbutton events and made them vetoable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 10:47:55 +00:00
Guillermo Rodriguez Garcia
5333ab8e8e Compilation fix for mingw32 - will this break cygwin?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 01:54:54 +00:00
Vadim Zeitlin
3e2dd3db30 small tests added here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 00:15:26 +00:00
Vadim Zeitlin
8614c46755 1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
   WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
   solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
   work and I don't have more time to waste on this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Václav Slavík
ae80f83724 moved bookmarks to Contents panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 21:47:51 +00:00
Václav Slavík
f3c8285953 added wxLogError/Warning into wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 21:47:41 +00:00
Stefan Neis
b662c13583 Added GAddress_INET_SetAnyAddress and dummy UNIX address handling.
Anyway, GSocket_GUI_Init/Destroy, GSocket_Enable/Disable_Events and
        GSocket_Install/Uninstall_Callback are still missing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 19:17:56 +00:00
Stefan Neis
0292142ee8 Added @PROGRAM_EXT@ as apropriate (hopefully ;-) ).
Give 'make clean' a chance to actually do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 18:33:10 +00:00
Stefan Neis
521ccc1bc6 Added #define for soclose on EMX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 18:14:43 +00:00
Stefan Neis
eca370a9cf Integrated recent API-change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:54:14 +00:00
Stefan Neis
545f9e3c7c Added #pragma implementation for gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:51:48 +00:00
Robert Roebling
4ee1741f75 Fixed small bug in tab code WRT to having only
a single control in a panel.
  sliders now have keyboard handling.
  Missing headers for install (memconf.h and geometry.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:09:48 +00:00
Václav Slavík
7502bdff47 fixed broken GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 16:25:47 +00:00
Václav Slavík
2f3eae6a19 fixed broken GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 16:24:54 +00:00
Robert Roebling
8253c7fda1 tabbing in controls sample works again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:51:36 +00:00
Stefan Neis
a4372af60a Added more '#pragma implementation' for gcc.
Replaced wxString[0u] by wxString[(size_t) 0]: size_t is signed for EMX,
        so explicitly using '0u' causes problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:39:55 +00:00
Stefan Neis
2b75c8f219 Added fontenum/fontutil and mimetype for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:00:57 +00:00
Julian Smart
e0eedd6818 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 10:22:09 +00:00
Vadim Zeitlin
d9506e7758 1. wxMSW::wxNotebook::SetPageSize() and SetPadding() added
2. wxNavigationKeyEvent changes:
 a) doesn't derive from wxCommandEvent any more
 b) has a new ShouldPropagate() accessor
 c) wxPanel::OnNavigationKey() changed significantly, beware


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 03:05:24 +00:00
Václav Slavík
4c30035625 probably forgot to commit mimetype split to this file?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:10:17 +00:00
Václav Slavík
78316bbe35 added intelligent scaling of icons -- cutting empty borders so that the icon is not too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:30 +00:00
Václav Slavík
cc638fc6ad added WXMAC default font sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:23 +00:00
Václav Slavík
4d2976ad6b added wxFileType::GetMimeTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:17 +00:00
Václav Slavík
2faa3a6b3f removed call to win32 api ::SetMapMode -- hopefully not longer neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:02:09 +00:00
Vadim Zeitlin
1d910ac1fc 1. added wxMemoryConfig (private) class
2. some minor tweaks to config usage in wxFontMapper


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 23:15:52 +00:00
Robert Roebling
e680a37841 Various makefile corrections,
Minor beatifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:47:30 +00:00
Stefan Neis
bfdc8d1870 Fixed fixups to allow EMX to compile again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:26:10 +00:00
Vadim Zeitlin
8f80ec1acf another image used by the image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 21:50:10 +00:00
Ron Lee
e0f15f4ac0 added missing include dcmemory.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:13:27 +00:00
Ron Lee
f02b73c46c added missing include for wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:10:46 +00:00
Robert Roebling
88413fec06 Changes for next snapshot.
Added new thumb track event for thumb release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:02:20 +00:00
Ron Lee
475f6e7ae8 added dcmemory.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 17:50:57 +00:00
Stefan Neis
6fdbbb0073 SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix-
or DOS-like version of mkdir.
        EMX (which doesn't define __OS2__) wants Unix-like version!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 14:24:46 +00:00
Stefan Neis
5c3beb8ee5 SN: Replaced __WXOS2__ by __WXPM__ in #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 14:18:30 +00:00
Václav Slavík
7337790c27 added demo of wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:33 +00:00
Václav Slavík
0d09b61a50 fixed bug in reference to tnoneng.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:22 +00:00
Václav Slavík
be0a33fbc0 added GNOME mimeinfo parsing & some fixes for non-XPM icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:13 +00:00
Václav Slavík
26065a88bb added test for correctly created wxIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:03 +00:00
Václav Slavík
087c0d5ebb updated documentation about default type in wxImage ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:54:55 +00:00
Robert Roebling
ea451729db Fixed wxListCtrl::GetNextItem()
Fixed bug in handling wxLC_NO_HEADER,
  Moved logmessage stuff out of idle_recursion protection so
    that log dialogs get idle events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:14:22 +00:00
Vadim Zeitlin
29e7e51a4d 1. added some test code (currently disabled) to controls
2. removed test code (oops...) from minimal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:45:24 +00:00
Vadim Zeitlin
00c4e8974d I think I finally fixed activation behaviour under MSW - now focus is not given
to random window after you switch to/from a frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:44:16 +00:00
Václav Slavík
54cd433261 finished non-Eng overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:58:18 +00:00
Vadim Zeitlin
89894079c0 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:56:05 +00:00
David Webster
708795b5e7 Adds mimietype.h to OS/2 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:21:42 +00:00
Vadim Zeitlin
9f72a1d803 a new bitmap for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:21:15 +00:00
David Webster
4ca0f293bf Updates to fix EMX specific stuff that broke VisualAge specific stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:20:46 +00:00
David Webster
1cd04aa2e1 Updates to fix an error that cropped up putting EMX stuff into gsocket and a new makefile for VA V3.0 to inldue new mime stuff and plot module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:19:55 +00:00
David Webster
e1c8c2f806 Fix to include the OS/2 version of mimetype.h, not unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:18:23 +00:00
David Webster
4c5b61be53 New VA config file for new plot and mimetype modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:17:35 +00:00
Vadim Zeitlin
cfd885695e BC++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:51:51 +00:00
Vadim Zeitlin
bea5687993 tests for XPM images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:40:10 +00:00
Vadim Zeitlin
4b7f216556 1. fixed (to test) the bug with bitmaps without masks in wxImageList
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
   the wxDC methods with the same names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Julian Smart
30b5fc118f Misc. Dialog Editor/resource bugs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 17:01:44 +00:00
Bart A.M. Jourquin
1b7274a8c0 new 'dynamic' SetColDefs fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 10:52:04 +00:00
Bart A.M. Jourquin
a46dafc834 adding search path for iodbc headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 09:14:22 +00:00
Bart A.M. Jourquin
23d056faac adding case sensitive link (/c) flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 09:13:46 +00:00
Guillermo Rodriguez Garcia
8727a1fe6f Some things added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 05:56:25 +00:00
Guillermo Rodriguez Garcia
8ca2f11cf3 msgdlg.h missing - please try compiling without precompiled headers before commiting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 04:22:00 +00:00
Guillermo Rodriguez Garcia
ec78053243 Some docs updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:17:54 +00:00
Guillermo Rodriguez Garcia
6097c3a28a Socket sample:
- Test 3 added to test large transfers involving multiple low level calls.
- Stub for datagram socket tests (not yet in place)

IPC sample:
- Client no longer needs to use GetHostName for DDE and LocalHost for IPC;
now it can just use GetHostName for both (because now the IPC server binds to
INADDR_ANY instead of binding to localhost).
- Fixed once again another warning about wxString objects that can't be
passed through '...'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:16:02 +00:00
Guillermo Rodriguez Garcia
636c47a794 GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.

wxSocket:
- Added some safety checks to the wxPostEvent stuff.

wxIPV4address:
- Added a wxIPV4address::AnyAddress method.

wxIPCConnection and co.:
- Servers bind to INADDR_ANY, instead of binding to localhost.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:59 +00:00
Guillermo Rodriguez Garcia
d3ea65274f GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.

wxSocket:
- Added some safety checks to the wxPostEvent stuff.

wxIPV4address:
- Added a wxIPV4address::AnyAddress method.

wxIPCConnection and co.:
- Servers binds to INADDR_ANY, instead of binding to localhost.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:01 +00:00
Guillermo Rodriguez Garcia
9bf10d6bd3 GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:10:42 +00:00
Vadim Zeitlin
d93c719ac0 1. some DDE tests in exec
2. per-page images test in wizard
3. wxLog dialog test in dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:31:49 +00:00
Vadim Zeitlin
f1df09276c 1. wxWizard supports setting images for each page, sample updated to show it
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Vadim Zeitlin
cded6e3c28 restored windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 23:07:29 +00:00
Vadim Zeitlin
8a84f3a05c oops... extra #endif removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:57:30 +00:00
Vadim Zeitlin
f608bc673f 'FAR redefined' warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:49:23 +00:00
Vadim Zeitlin
634d3cc8d8 added test for _WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:36:48 +00:00
Vadim Zeitlin
7af206c1c4 added wxMenuITemBase copy ctor decl apparently needed under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:34:48 +00:00
Robert Roebling
d3a809c7dc More life in wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 18:09:59 +00:00
George Tasker
e15421ad3b ::bindInsertParams() was leaving some column bindings uninitialized if the column was set to insAllow=FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 15:21:27 +00:00
George Tasker
aeb040bfaf Comment associated with wxODBC_FWD_ONLY_CURSORS modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:28:58 +00:00
George Tasker
28459a0d28 Commented out the #include of <windows.h> as it should not be needed any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:43 +00:00
Robert Roebling
846e1424e2 A no-change for scroll events.
Added y-axis to wxPlot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
George Tasker
30a6d2d264 Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:15:44 +00:00
George Tasker
67e9aaa3c9 Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:00:47 +00:00
George Tasker
5d3cc7856f Tweeked to use SQLHWND as a type rather than HWND, so that db/dbtable can use iodbc rather than #include <windows.h> and its overhead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 13:19:20 +00:00
Vadim Zeitlin
6e7ce6246c (run-time) fix for !wxUSE_IPC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 00:07:31 +00:00
Vadim Zeitlin
0765adca2b XBM loading finally works (thanks Guillermo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:53:18 +00:00
Václav Slavík
7ddef9ed7a added link to Writing non-E apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:29 +00:00
Václav Slavík
9005a56e5e added Writing non-English applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:23 +00:00
Václav Slavík
76b566d03f documented Charset= in hhp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:06 +00:00
Václav Slavík
737255678c rewritten to use wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:59 +00:00
Václav Slavík
d2a190fe37 documented existence of wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:35 +00:00
Václav Slavík
fbd278540e documented macros *_EXPORTED_ARRAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:28 +00:00
Václav Slavík
af1ed0c107 fixed SetLink (if link.Href is empty, nulls the link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:17 +00:00
Václav Slavík
ecf23aa626 split mimetype.h/.cpp into platform specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:11 +00:00
Václav Slavík
065eb1427a dialog for choosing charset was too wide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:46 +00:00
Václav Slavík
047640f231 uses wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:39 +00:00
Václav Slavík
f890e2d474 added encoding support to help contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:31 +00:00
Václav Slavík
5d541a0366 mimetype.cpp/.h split into unix,max,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:17 +00:00
Václav Slavík
d572bb7513 added utils/hhp2cached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:04:33 +00:00
Václav Slavík
7dc3cc31af mimetype.cpp/.h split into unix,mac,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:03:53 +00:00
Václav Slavík
68263f63e5 fixed compilation problem with BC (at least I hope so)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:02:04 +00:00
Václav Slavík
2ae47e3f2b fixed ReadString for wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:01:57 +00:00
Robin Dunn
8211bdcc03 After bashing my head on the desk for being so stupid I fixed the
wxFloatBar for wxGTK the extremly EASY way...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 22:09:38 +00:00
Guillermo Rodriguez Garcia
a4625b8c3b Updated docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 19:32:07 +00:00
Sylvain Bougnoux
b8167e73f6 In order to make shared wxGLContext work,\nadd new wxGLCanvas ctor passing a wxGLCanvas\n instead of a wxGLContext, to share context with.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 18:41:38 +00:00
Guillermo Rodriguez Garcia
954e4e9883 makefile updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 16:43:12 +00:00
Julian Smart
583f6c5cb5 Added missing windows.h includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 10:34:43 +00:00
Bart A.M. Jourquin
56880523be adding intl.h and wxString -> char* conversion in DDEAtomFromString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 09:55:14 +00:00
Robin Dunn
8e425133fb Various odds and ends, minor fixes, and cleanups...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 06:58:56 +00:00
Václav Slavík
b854b7b82e it is now possible to add custom buttons into wxHtmlHelpFrame's toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:01:08 +00:00
Václav Slavík
6ee654e6bb added wxFSFile::GetModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:47 +00:00
Václav Slavík
a47ce4a764 added wxFileModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:25 +00:00
Václav Slavík
95b1b9d3b3 uses SetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:56 +00:00
Václav Slavík
617eb021db iso8859-1,15 and cp1252 added to Cyrillic charsets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:51 +00:00
Václav Slavík
2bdebb91be Added Open HTML page to menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:39 +00:00
Václav Slavík
2e2fd42aa7 removed protected methods from docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:33 +00:00
Václav Slavík
f35822af10 .cached format of help books is now endian-independent; also changed lookup logic for .cached files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:27 +00:00
Václav Slavík
eaf40b230e generic wxFileDialog now stores customizations to registry/dotfile if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:11 +00:00
George Tasker
039f62f431 Fixed so this file will compile if wxUSE_IPC is 0 (previous fix broke something else).
Changed _T() calls to wxT() calls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 22:54:55 +00:00
Robin Dunn
ef489f6a73 more fixes to match some updates in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:45:48 +00:00
Robin Dunn
c8bc03c332 fixes to match some updates in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:39:41 +00:00
Vadim Zeitlin
731dd422ea 1. fixed compilation of wxExecute() for !wxUSE_IPC
2. wxLogStatus() will not assert if there is no statusbar to set text for


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:21:33 +00:00
Guillermo Rodriguez Garcia
feda301187 Added IsScrollng() support for scroll and scrollwin events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:26:20 +00:00
Guillermo Rodriguez Garcia
6ab6a43579 Test for IsScrolling() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:23:38 +00:00
Guillermo Rodriguez Garcia
298d19f9ad isScrolling() in wxScroll[Win]Event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:13:43 +00:00
George Tasker
3ee6d0a7bc Removed a couple of debug lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 19:48:06 +00:00
Julian Smart
bf027a6daa Avoided rounding errors in font point size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 17:06:44 +00:00
Václav Slavík
b0c5c42156 added default icons for binary and unknown filetype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:50 +00:00
Václav Slavík
2173065452 icons for generic file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:36 +00:00
Julian Smart
730bc726da Put Stefan's speedup fix into DoBlit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:38:08 +00:00
Julian Smart
a84fc80be3 Change to wxWindow::HandleCommand to allow accelerators to work even if there
is no corresponding child window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 14:22:10 +00:00
George Tasker
ff0ea71cea Changed code to allow for removal of the #include <windows.h> from wxprec.h for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 12:29:32 +00:00
Julian Smart
15d4df3c71 Some more bug reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 10:18:20 +00:00
Václav Slavík
0b75b49b60 m_LastPage changed to wxChar*, forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:36:10 +00:00
Václav Slavík
491ea6fa20 added justification demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:24 +00:00
Václav Slavík
459d420793 HTML_* -> wxHTML_* (bugs in docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:17 +00:00
Václav Slavík
c26991edbb added support for align=justify
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:09 +00:00
Václav Slavík
8eda3cb854 added wxHTML_ALIGN_JUSTIFY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:58 +00:00
Václav Slavík
5c1bfc5da0 added align=justify support ; also removed relic: GetMaxLineWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:46 +00:00
Václav Slavík
dff873d1aa removed relic: GetMaxLineWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:21 +00:00
Vadim Zeitlin
5bd3a2da95 1. small fix in wxDirDialog: SHBrowseForFolder() doesn't like '/'s
2. streamlined DDE code (better error handling, range checking)
3. hack in wxExecute to allow launching DDE servers
4. changed wxTreeCtrl::m_filename scope from private to protected
5. corrected creating wxBitmaps from XBMs
6. wxListCtrl no longer sends bogus ACTIVATED events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 01:22:56 +00:00
Václav Slavík
052e12db71 removed show_progress argument in some private functions -- was never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:12:25 +00:00
Václav Slavík
6aef9caf82 PageUp/PageDown scroll by 2/3 of client area height (was 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:11:53 +00:00
Václav Slavík
b5a7b00057 help search is much faster now (7 times! that's what I call optimization ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:11:44 +00:00
David Webster
57e3f9d9cc Take hard coded path out of makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 20:22:34 +00:00
Robert Roebling
981b25083e Add draft wxPlotWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 19:56:42 +00:00
Robert Roebling
cf214c358c fix for HP compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 18:14:01 +00:00
Václav Slavík
66bf55ca85 fixed BC compilation bug (line 145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:31 +00:00
Václav Slavík
74accc5015 wxHtmlHelpController can now use default wxConfig instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:25 +00:00
Václav Slavík
566bc3285e fixed bug: UseConfig didn't call wxHtmlHelpFrame::OnConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:14 +00:00
Václav Slavík
3e5296e75d removed some forgotted wxLogDebug calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:08 +00:00
Václav Slavík
c531f73602 documented support for <meta>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:58 +00:00
Václav Slavík
5612e5243e wxConfig is used together with wxConfig::Set now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:53 +00:00
Václav Slavík
aae3ccf88d (1) fixed bug: wxFontMapper no longer creates wxConfig instance by calling wxConfig::Get, now uses wxConfig::Get(FALSE) ;; (2) changed default config path to wxWindows/FontMapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:34 +00:00
Václav Slavík
eee786e9cb changed wxConfigBase::Get signature to wxConfigBase::Get(bool CreateOnDemand = TRUE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:27 +00:00
Julian Smart
76a4f50db5 Makeproj.cpp corrections; wxTextCtrl resource loading font bug cured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 11:42:20 +00:00
Vadim Zeitlin
01ca9e8ea7 cleaned a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:37:55 +00:00
Guillermo Rodriguez Garcia
a8f0faf389 added missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:26:55 +00:00
Guillermo Rodriguez Garcia
76fdaf8c47 new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:26:36 +00:00
Guillermo Rodriguez Garcia
35bc781e40 Please turn off pchs when testing!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 00:21:19 +00:00
Václav Slavík
076bae67da somebody added #ifdefed #pragma to disable warnings about // in c source, instead of fixing the comments, grrr. So I fixed it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:43 +00:00
Václav Slavík
27f5b0c3dc documented wxGA_SMOOTH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:34 +00:00
Václav Slavík
2686e01b0b search progress bar has smooth gauge under win95 now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:25 +00:00
Václav Slavík
d0cf484622 wxProgressDialog now accepts wxGA_SMOOTH style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:13 +00:00
Václav Slavík
b250d38459 added encoding conversion to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:49 +00:00
Václav Slavík
57f5902621 <pre> environment uses charset conversion as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:39 +00:00
Václav Slavík
fa146dd713 added <meta http-equiv> handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:32 +00:00
Václav Slavík
981e62aa85 wxHtmlFilterHTML adds fake <meta> tag so that the parser knows charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:53:25 +00:00
Václav Slavík
1e1d0be191 wxNativeEncoding::To/FromString now stores wxFontEncoding info as well (don't worry, wxFontMapper stores data under different name now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:53:19 +00:00
Václav Slavík
62ea506eaf changed format of wxFontMapper entries: facename_encoding instead of encoding as key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:52:51 +00:00
Václav Slavík
139ab6fc26 added wxHTML i18n demonstration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:52:41 +00:00
Robert Roebling
32ab332fcc sample docu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 19:24:57 +00:00
Guilhem Lavaux
fc0200b944 Tested wxMMedia2 on Cygwin B20. It works but it needs mmsystem.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 18:49:16 +00:00
Václav Slavík
c497114770 added case sensitive and whole words only search
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 15:53:25 +00:00
Václav Slavík
b4b58c41d2 minor change in passing arguments to CreateAntialiasedBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:27:24 +00:00
Václav Slavík
a63f2bec29 fixed default button size, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:26:01 +00:00
Václav Slavík
37b8e67987 added some utils (tex2rtf, helpgen, makegen) to make system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:47 +00:00
Václav Slavík
a0ff531586 fixed makefile - now compiles ALL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:37 +00:00
Václav Slavík
b136d1fe86 compilation fixes (gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:21 +00:00
Robert Roebling
1317fd5821 file dialogs now remembers the width of the
first column.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 10:39:00 +00:00
Guillermo Rodriguez Garcia
4d1951eb95 new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 02:36:04 +00:00
Guillermo Rodriguez Garcia
ac3c6ddba2 New makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 02:35:03 +00:00
Guillermo Rodriguez Garcia
259c933b56 Replaced \ with /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:57:58 +00:00
Guillermo Rodriguez Garcia
5801c56fa9 Replaced \\ with /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:55:47 +00:00
Václav Slavík
240c2873da index search is case insensitive now; index panel indicates number of displayed items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:32:13 +00:00
Václav Slavík
0f91df4ff5 rewrote to use wxBoxSizer instead of hardcoded sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:59 +00:00
Václav Slavík
da590c59c7 compilation fix for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:50 +00:00
Václav Slavík
cefc49fd8a file dialog now remebers list/report and hidden files settings, displays icons for all known file types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:41 +00:00
Václav Slavík
655cf3107a file dialog now remebers list/report and hidden files settings, displays icons for all known file types ; adds file extension if user did not specify one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:36 +00:00
Václav Slavík
cdf339c9de KDE support for icons and mime types finished (icons searched in more directories, parsed .kdelnk files ever for mime types - mime.types or mailcap is no sufficient)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:26 +00:00
Václav Slavík
e0c734faa5 wxFileDialog's report/list view icons changed to some visually more different
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:10 +00:00
Stefan Neis
4c3f56612e SN: Added dir.cpp to OS/2 sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 23:04:48 +00:00
Stefan Neis
6ef85b1b2c SN: Added first try for dir.cpp. Since the version taken from unix-directory
is POSIX-compliant, this might have a chance to work for VAC++ as
        well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:56:53 +00:00
Stefan Neis
e7b35d4252 SN: Removed use of undefined refData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:54:38 +00:00
Vadim Zeitlin
0d7ea90249 1. fixed small bug with toolbar size updates
2. fixed bug with showing message box from wxApp::OnInit()
3. fixed crash on DDE client disconnection
4. fixed wxExecute() which was broken since quite some time (hidden
   window creation problems) and in wxShell()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:36:52 +00:00
Vadim Zeitlin
4b89c61845 cleaned IPC samples a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:34:29 +00:00
Vadim Zeitlin
9ca03a57ea added test for text ctrls with the same id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:33:35 +00:00
Vadim Zeitlin
40515a2167 added demo for bitmaps of different size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:31:16 +00:00
Vadim Zeitlin
69c33c6c58 new sample - shows wxExecute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:16:23 +00:00
Guillermo Rodriguez Garcia
9051ae8503 No more pnghand.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:48:50 +00:00
Guillermo Rodriguez Garcia
f40dba9350 Compile fix for mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:48:30 +00:00
Guillermo Rodriguez Garcia
74b28d5cc8 Bug related to icon/bitmap conversion, fix by Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:45:30 +00:00
Guillermo Rodriguez Garcia
d6e4587ece renamed to makefile, instead of Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:36:46 +00:00
Guillermo Rodriguez Garcia
76ae3c63db Fixes from Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:32:32 +00:00
Robert Roebling
5b8a521e59 Next try at avoiding too few or too many size events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 20:06:47 +00:00
Václav Slavík
4157f43f4b fixed my previous commit that broke help context/index parser :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 16:40:33 +00:00
Robert Roebling
adc1999b9c Slightly better fix for resize problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 15:51:11 +00:00
Robert Roebling
8f75cb6c75 Fixed resize behaviour under certain circumstances.
Disabled GUI threading when using GTK < 1.2.4, better
    than crashing.
  Typos corrected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 14:48:00 +00:00
Robert Roebling
9000c6246f Typos in docs.
GetClientSize and related code now queries the size of
    the scrollbar instead of hard coding the values for
    the standard (no-theme) scrollbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 11:46:37 +00:00
Robert Roebling
41fbc84101 black now denotes 0 on mono-bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:39:27 +00:00
Julian Smart
5dd26b0839 16-bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:20:46 +00:00
Vadim Zeitlin
392f4b1b14 drawing mono bitmaps now uses correct colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:55 +00:00
Vadim Zeitlin
408b4168c8 inversed wxImage for the mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:26 +00:00
Vadim Zeitlin
b853f8981f use HWND in HandleCommand() to let buggy programs using duplicate ids for controls work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 00:17:06 +00:00
Stefan Neis
f61715c852 SN: Derive wxSpinButton from wxSpinButtonBase instead of wxControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:08:42 +00:00
Stefan Neis
31bc4fa550 SN: Removed second of two declarations declaring wxMDIChildFrame friend of
wxMDIParentFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:06:22 +00:00
Stefan Neis
5b10a61949 SN: Don't include (non-existing) pmstddlg.h for EMX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:04:16 +00:00
Stefan Neis
023d13a6bc SN: Added a forward declaration of class wxOwnerDrawn (needed by gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:02:22 +00:00
Stefan Neis
86a37794ff SN: Added a 'wxDefaultValidator' where it seems to be needed after
a change to CreateControl-API


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:57:03 +00:00
Stefan Neis
9aab8b2009 SN: Fixed inlcudes for EMX, commented out lines like "cout << something;"
(If you want them in the code, please also include iostream.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:55:24 +00:00
Stefan Neis
0629823585 SN: Disable some features not supported by EMX (#ifndef __EMX__)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:51:34 +00:00
Stefan Neis
7a0d28d8e9 SN: Added #pragma implementation. Make it compile even if wxOwnerDrawn == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:50:09 +00:00
Stefan Neis
aa21388719 SN: Added #pragma implementation needed by GCC - expect more to come
but it seems to work right now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:45:47 +00:00
Stefan Neis
1b3d5e5566 SN: Use wxDummyChar only if __VISAGECPP__ is defined.
Changed #ifdef wxUSE_UNICODE in ~wxApp() to #if wxUSE_UNICODE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:37:39 +00:00
Stefan Neis
610c985186 SN: Added suitable includes for EMX (#ifdef'ed __EMX__),
removed include to wx/defs.h (seems to be unnecessary and
        gcc chokes on C files containing C++ features (such as 'class')


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:30:03 +00:00
Stefan Neis
4e9fd9e259 SN: Replaced more ':' in VPATH statements by PATH_IFS (to make
wxGTK/wxMotif/wxPM compile without editing generated Makefiles
        on OS/2), including a ':' in a comment, so this time this
        hopefully will not break anything.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:24:27 +00:00
Václav Slavík
7f071e73f2 fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:43:50 +00:00
Václav Slavík
e6ff5ac9ef just changed background color from that ugly green to something else ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:43:36 +00:00
Václav Slavík
9892d462f3 updated obsolete info in about box..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:56 +00:00
Václav Slavík
67cfebc2b6 code fragment that adds one more line to each html page for better look was moved to wxHtmlWindow so that it does not affect m_Cell->GetHeight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:45 +00:00
Václav Slavík
fdd4d83689 updated list of supported tags (wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:36 +00:00
Václav Slavík
60e87cb1fb optimized wxHtmlContainerCell - now proceeds layouting only when neccessary (will speed-up window resizing of pages with many constant-width tables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:17 +00:00
Václav Slavík
5660c520d7 optimized wxHtmlContainerCell - now proceeds layouting only when neccessary (will speed-up window resizing of pages with many constant-width tables)
;; also added much larger (complete?) table of &nbsp;-like substitutions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:09 +00:00
Václav Slavík
50494a55ae removed a condition (l. 124) that always eval to true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:56 +00:00
Václav Slavík
f3bcfd9bcd wxHtmlWindow's flags is now wxHSCROLL | wxVSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:41 +00:00
Václav Slavík
e7ee65ed51 added <address>, <code>, <kbd>, <samp>, <small>, <big> tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:34 +00:00
Robert Roebling
cf3da716f6 image to bitmap rewrite,
ViewStart() renamed GetViewStart()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 20:29:01 +00:00
Guilhem Lavaux
27259273e4 Added a lot of comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 18:21:30 +00:00
Julian Smart
8caa4ed10e Further fixes to Dialog Editor; additions to .dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:55:49 +00:00
Robert Roebling
dfd6b52fdb Updated "make dist",
Extended scroll sub sample to demonstrate how
   wxGrid might work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:08:42 +00:00
Robert Roebling
4b05d97389 Typo in image sample (displayed PNM, not TIFF).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 15:35:40 +00:00
Robert Roebling
5c5ab9ebc3 TIFF fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 14:27:09 +00:00
David Webster
93759cda46 .RC file with OS/2 stuff in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 13:37:21 +00:00
Guillermo Rodriguez Garcia
d9c09c79fa Added a comment about the 'UpdateWindow' issue in SetScrollBars()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 11:45:41 +00:00
Guillermo Rodriguez Garcia
dc5c1114e1 wxSocekt now uses wxPostEvent.
Added preliminary wxDatagramSocket support (still incomplete)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 10:04:12 +00:00
Guillermo Rodriguez Garcia
58a003cea3 Mumit Khan's patches for cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 10:01:56 +00:00
Vadim Zeitlin
e183484e41 added the fix to autoconf hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:34:55 +00:00
Ryan Norton
451458f4c9 This commit was generated by cvs2svn to compensate for changes in r5380,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:20:46 +00:00
Vadim Zeitlin
3427517637 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:20:44 +00:00
Vadim Zeitlin
ae3dd4a589 1. some warnings fixed in forty
2. added test for a would-ve client data bug in wxTextCtrl
3. added support for metafiels to the dnd sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:17:41 +00:00
Vadim Zeitlin
d9317fd472 1. added wxEnhMetaFileXXX classes
2. fixed/added copy/paste for metafiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 23:39:48 +00:00
David Webster
02b6f53109 LINKAGEMODE under OS/2 is only applicable for VisualAge, not EMX or Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 20:31:20 +00:00
Julian Smart
f6e4e9ea30 Changed wxWindowBase foreground to use wxSystemSettings, and changed wxTextCtrl
to only be grey for single-line read-only controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 14:26:30 +00:00
Julian Smart
d1e418eaea Set RADIOBTN_PARENT_IS_RADIOBOX to 0 (sorry, but...); fixed a
Dialog Editor crash problem; made wxStaticBitmap movable again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 13:17:19 +00:00
Stefan Csomor
8208e181cb mac updates and msw bitmapdrawing on printer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 11:07:58 +00:00
Julian Smart
d47ebd1e05 Fixed read-only colour for wxTextCtrl (TODO: wxComboBox) and fixed makeproj
in line with recent sample changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 10:41:43 +00:00
Julian Smart
60fe730339 Removed ::UpdateWindow from scrolwin.cpp; corrected default extension appending;
corrected bug in dcprint.cpp that tried to access deleted memory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 09:40:24 +00:00
Jouk Jansen
94f8abf9d3 Committing in .
Update of VMS compile support

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 09:03:13 +00:00
Stefan Csomor
37e2cb08cd cw pro 5.3 adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:58:45 +00:00
Stefan Csomor
07cdd02764 a base for geometry operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:58:07 +00:00
Stefan Csomor
4765d335f6 adaptions for CW Pro 5.3 on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:57:22 +00:00
Guillermo Rodriguez Garcia
3b322b4a1f last line missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 01:10:59 +00:00
Guillermo Rodriguez Garcia
dc8497b15c A few more fixes from Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 01:07:28 +00:00
Vadim Zeitlin
c5c32d72aa some compilation fixes for mingw32 and not only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 21:23:26 +00:00
Robin Dunn
5e64b2b6a1 fix for red to blue mapping in toolbar buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 20:43:09 +00:00
Julian Smart
cc42eb7afc Made filter index zero-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 20:02:15 +00:00
Robert Roebling
82ea63e6e0 Chnages to mono-bitmap code.
Added ConvertToMonoBitmap() to wxImage.
  Minor changes to forty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 17:57:18 +00:00
Vadim Zeitlin
9260520f90 fixed 'make install' I had broken previously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 16:13:29 +00:00
Vadim Zeitlin
ec14dd32d8 call to tr fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:14:01 +00:00
Vadim Zeitlin
b3402d0df8 added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
already have RADIOBTN)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:10:47 +00:00
Vadim Zeitlin
8535af00e2 regenerated from template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 14:56:47 +00:00
Vadim Zeitlin
eeca623edd clarification of PAGE_CHANGING event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 14:52:04 +00:00
Karsten Ballüder
c6e62f74fc compilation fix for non-threaded compilation (threads are still broken
anyway!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 11:56:30 +00:00
Václav Slavík
9bc8fded1b added wxHtmlLinkInfo::GetHtmlCell so that you know where it came from
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 08:27:07 +00:00
Guillermo Rodriguez Garcia
75515c52a4 Fixes to allow DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:19:23 +00:00
Guillermo Rodriguez Garcia
c9c436eb70 Changed \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:14:13 +00:00
Guillermo Rodriguez Garcia
24e148adbe Added missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:13:25 +00:00
Guillermo Rodriguez Garcia
eafef53a5f Patches for DLL compilation & libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:11:04 +00:00
Václav Slavík
0b2dadd342 added mouse event member into wxHtmlLinkInfo. wxHtmlWindow::OnLinkClicked now takes const wxHtmlLinkInfo& argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 23:30:43 +00:00
Václav Slavík
1be096c9f9 added mouse event member into wxHtmlLinkInfo. wxHtmlWindow::OnLinkClicked now takes const wxHtmlLinkInfo& argument and wxHtmlCell::OnMouseClicked takes wxMouseEvent instead of three bools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 23:30:02 +00:00
Vadim Zeitlin
0de868d9dd fixed refresh problem with holidays in wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 19:12:47 +00:00
Bart A.M. Jourquin
c2754d2903 Bug fix in GetLabelFromText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:41:42 +00:00
Bart A.M. Jourquin
8bf9e177d5 Adding GetCount() to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:27:31 +00:00
Bart A.M. Jourquin
4a3563c542 Fix bug in GetLableFromText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:26:44 +00:00
Bart A.M. Jourquin
5692876f3b Adding GetCount() to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:19:35 +00:00
Vadim Zeitlin
9856788f58 EnableTool() should be called after Realize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 14:10:24 +00:00
Vadim Zeitlin
3b59cdbfaf wxMenuItem::GetLabelFromText() added/documented, bug in wxMenu::FindItem() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 13:58:41 +00:00
George Tasker
ba2d860554 Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the the #define used, not wxCALLBACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 12:56:58 +00:00
Guillermo Rodriguez Garcia
870ff2b13d Mumit Khan's fixes to allow DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 02:59:25 +00:00
George Tasker
47cb338282 No #if wxUSE_DRAG_AND_DROP around the wxMetafileDataObject class, so compilation failed if wxUSE_DRAG_AND_DROP was 0 and wxUSE_METAFILE was 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 23:58:16 +00:00
Robin Dunn
cfb76a19a4 MSW Caret is now destroyed and recreated when resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 23:01:19 +00:00
Robin Dunn
9e0c3ef2c3 incremented version number for DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 22:59:20 +00:00
David Webster
ce64cf050d New VA 4.0 .icc file the minimal sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 19:07:10 +00:00
David Webster
f59ba38691 New wxWin.icc for monolithic build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 19:06:15 +00:00
Stefan Neis
749aa5c178 SN: WXPM wants wxUSE_OWNER_DRAWN to be defined to 1 as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:25:47 +00:00
Vadim Zeitlin
dad6c0ea77 fixes for 'make install' for wxBase - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:12:43 +00:00
Stefan Neis
6c8f8bc534 SN: Fixes to OS/2 specific problems (use LEX_STEM and PATH_IFS set by configure).
SN: Added support for compiling wxPM with EMX using Unix-Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:11:19 +00:00
Stefan Neis
d51e8205da SN: Several workarounds for OS/2-specific problems.
SN: "--with-pm" only allowed on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:07:28 +00:00
Julian Smart
1cf4526de3 Makefiles and .rsp file edited for demos/samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 16:56:55 +00:00
Vadim Zeitlin
1222db7263 wxAPIENTRY fixes (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 15:58:59 +00:00
Vadim Zeitlin
7d67275288 check for wxUSE_DYNLIB_CLASS corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 15:29:20 +00:00
Bart A.M. Jourquin
559d79aa3a #define DEBUG_MAIN_THREAD for non __WXDEBUG__ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 10:41:04 +00:00
Robin Dunn
7140577b50 Wrong Init was being called in ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 07:21:53 +00:00
Guillermo Rodriguez Garcia
81b92e17cd Important changes to avoid dependence on events inside wxSocket
implementation (should also ease a console only version soon)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 03:54:37 +00:00
Guillermo Rodriguez Garcia
470d5a6769 Ops, small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 01:06:50 +00:00
Guillermo Rodriguez Garcia
31e78e0cb6 Fixed from Mumit Khan to allow DLL compilation for mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 01:00:13 +00:00
Guillermo Rodriguez Garcia
6f4968e281 Fixes from Mumit Khan to allow DLL compilation; most fixes related to
missing WXDLLEXPORTs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 00:55:05 +00:00
Robert Roebling
dbefe3d8f5 Themes crash fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 16:12:35 +00:00
Guilhem Lavaux
a5f4a1bdc8 Some other mini test I used for wxmedia2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 15:13:57 +00:00
Guillermo Rodriguez Garcia
f66f0fd7b4 Add XPM handlers by default if XPM support is enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:12:28 +00:00
Guillermo Rodriguez Garcia
72c0d7d70e Was using CPPFLAGS instead of CFLAGS for C files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:10:29 +00:00
Guillermo Rodriguez Garcia
d599bc529d Removed mingw32 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:09:28 +00:00
Václav Slavík
6648cd46dc added IsEncodingAvailable and GetAltForEncoding extended by facename argument and added GetAltForEncoding alternative that returns only wxFontEncoding (and thus more useful for wxWin users)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:45:31 +00:00
Václav Slavík
6b0eebc537 add wxFontEncoding member into wxNativeEncodingInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:45:24 +00:00
Václav Slavík
3b61656e64 Borland #include hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:44:49 +00:00
Vadim Zeitlin
d3acd3697a tried to correct the colour problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 22:20:03 +00:00
Guillermo Rodriguez Garcia
2480be69b1 Split the sample in three source files + three header files, for improved
clarity. Now there is a 'life' module (main app), a 'game' module (game
logic) and a 'dialogs' module (guess what).

Also, speeded up drawing a lot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 18:27:19 +00:00
Robert Roebling
c72b150f5d Applied listbox isselected fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:53:37 +00:00
Robert Roebling
3ac8d3bc52 Themes and threads testing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:26:41 +00:00
Guillermo Rodriguez Garcia
a02b243269 ??
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:12:49 +00:00
Guillermo Rodriguez Garcia
b44d69bae3 ops. SetFocus should be public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:10:31 +00:00
Vadim Zeitlin
70f7a477cb updated configure and the makefiles after the samples move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:07:56 +00:00
Guillermo Rodriguez Garcia
01fe050c17 ??
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:07:41 +00:00
Vadim Zeitlin
cc65fceb3c regenerate several files at once, not only one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:46:33 +00:00
Vadim Zeitlin
fd4fe42c52 regenerated from template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:38:51 +00:00
Vadim Zeitlin
70d26c3f4f renaming and moving samples around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:28:31 +00:00
Vadim Zeitlin
617ec45690 wxLongLongWx::Assign(double) works - thanks Guillermo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 14:26:40 +00:00
Vadim Zeitlin
64d8470859 keyword search should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 13:59:39 +00:00
Vadim Zeitlin
2a31049201 added test mode to wxLongLongWx which allowed to find the bug in operator*=()
which was breaking wxDateTime - now seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 20:35:34 +00:00
Robin Dunn
95837b4d96 bug fix for OnLinkClicked callback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 19:46:28 +00:00
Guillermo Rodriguez Garcia
471ed537e4 Added limits to wxSpinCtrls, fixed one bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 18:23:33 +00:00
Guillermo Rodriguez Garcia
8bf3196d66 Fixed problem with tab traversal in wxSpinCtrl (added SetFocus())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 18:22:38 +00:00
Guillermo Rodriguez Garcia
d6707afb72 mingw32 specific compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 16:26:00 +00:00
Guillermo Rodriguez Garcia
172fde4fbe Added libxpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 16:23:39 +00:00
Bart A.M. Jourquin
5a2155efdb wxControl child of wxControlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 14:59:14 +00:00
Bart A.M. Jourquin
098963c350 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 14:14:03 +00:00
Bart A.M. Jourquin
1b6d97f9b8 wxFONTENUMPROC definition changed for mingwin 2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 11:06:39 +00:00
Bart A.M. Jourquin
fc3463cc7e deleting the 'validator' param in call to wxControl::Create. To be further fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 10:50:12 +00:00
Bart A.M. Jourquin
8536082d32 fix _beginthreadex problem with bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 10:22:15 +00:00
Robin Dunn
a1df7a9526 small fixes and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 09:09:50 +00:00
Robin Dunn
87fbe61486 Trying out addition of SetSize to wxCaret...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 05:42:30 +00:00
Vadim Zeitlin
5a1c877f57 demo of clipboard support for metafiles (which still doesn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 02:31:24 +00:00
Vadim Zeitlin
265b0c070b attempts at providing clipboard/dnd support for metafiles - unsuccessful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 02:30:29 +00:00
Guillermo Rodriguez Garcia
85ac091e8f Fixed virtual function hiding problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 19:05:02 +00:00
Robert Roebling
7e2b55cd96 Minor resize probs solved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:40:33 +00:00
Vadim Zeitlin
6ce7355743 added --cc, cxx, ld options to wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:34:49 +00:00
Vadim Zeitlin
11b6a93b1e MSW compilation fixes for !wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:23:59 +00:00
Robert Roebling
850ff48550 Themes again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 17:32:49 +00:00
Guillermo Rodriguez Garcia
c75ea1a30b typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:58:12 +00:00
Guillermo Rodriguez Garcia
07e829dc26 Removing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:57:30 +00:00
Vadim Zeitlin
674ac8b919 1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if
   !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
   removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
a6fc8ae3c2 corrected wxComboBox::GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:58:48 +00:00
Vadim Zeitlin
6f2a55e34a 1. more HP-UX warning fixes (almost done...)
2. added a macro WXUNUSED_UNLESS_DEBUG()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:42:32 +00:00
Vadim Zeitlin
c0f587c500 bug fixes for '\r' handling in wxTextFile::Translate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:24:37 +00:00
Julian Smart
4021952304 Some edits to OGL; tweaks to wxClipboard docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:09:35 +00:00
Julian Smart
ccebc98a67 BC++ IDE compile mod to thread.cpp; other small stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 10:30:12 +00:00
Guillermo Rodriguez Garcia
087e4f4a5c Lots of new features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 10:22:00 +00:00
Guillermo Rodriguez Garcia
b178e0c71a Small change for updated wxTCPXXX classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 01:21:26 +00:00
Guillermo Rodriguez Garcia
0834112f89 Rewrote large parts of the non-DDE IPC stuff (wxTCPServer, wxTCPClient,
wxTCPConnection) to upgrade to the 'new' wxSocket code. Plenty of bugs
removed. IPC samples at samples/dde working again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 01:07:06 +00:00
Vadim Zeitlin
e612f101d3 1. added wfstream.cpp to wxBase (needed by filesys.cpp)
2. small enchancements in wxCmdLineParser (handles "help" options correctly)
3. use wxCmdLineParser in makegen


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 18:10:06 +00:00
Vadim Zeitlin
2a36259f27 added cmdline.h/.cpp to the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:19:29 +00:00
Vadim Zeitlin
caa2c79b45 -fpermissive is now returned by wx-config -cflags if the library was compiled
with it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:11:09 +00:00
Vadim Zeitlin
1e245dc267 test for date parameters to wxCmdLineParser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:00:26 +00:00
Vadim Zeitlin
2822ee33cc more bug fixes: options with values and compound options seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:00:05 +00:00
Vadim Zeitlin
fd9f9f4c4b ParseDate() understands tomorrow and yesterday as well as today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 16:59:31 +00:00
Vadim Zeitlin
3ce65f6c9b more stream-like insertion operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 16:38:12 +00:00
Vadim Zeitlin
479cd5de40 more fixes to compilation warnings from HP-UX build log. About 30% more to go
<sigh>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:35:04 +00:00
Julian Smart
88195b2b70 Added contributed speedup of ConvertToBitmap under Motif, for 8-bit images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:29:56 +00:00
Vadim Zeitlin
25e3a937db bug with incorrect & test fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:17:29 +00:00
Vadim Zeitlin
96fa7876bf unreachable code warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:17:08 +00:00
Vadim Zeitlin
5fc7ede910 wxRegion should work with wxCoord, not long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:16:57 +00:00
Robert Roebling
0f2f4986cb Corrceted background problem with themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:02:28 +00:00
David Webster
a5569657a0 General fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 14:07:15 +00:00
Julian Smart
d455cb5f83 Added RC file needed by makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 13:56:51 +00:00
Vadim Zeitlin
7281ab041c include "module.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 13:22:46 +00:00
Robin Dunn
b7e7242718 wxFloatbar fixes
other odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:58:23 +00:00
Robin Dunn
82dd98a702 Fixed a bug so the toggle flag is set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:51:14 +00:00
Vadim Zeitlin
4f40f5e370 small bug fix for composite options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:46:45 +00:00
Vadim Zeitlin
d34bce842b wxCmdLineParser tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:42:22 +00:00
Vadim Zeitlin
9f83044fb8 1. compilation fixes for TB_REPLACEBITMAP and FONTENUMPROC
2. added wxCmdLineParser class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:41:18 +00:00
Robert Roebling
e6527f9dd4 Removed crashes when not using themes.
Removed much flicker form tree ctrl and list ctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 22:56:58 +00:00
Robert Roebling
64d78265d0 EXTRA_LIBS vs. EXTRALIBS change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 20:14:54 +00:00
Robert Roebling
238ddd26bd Doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 19:41:25 +00:00
David Webster
e04221b6d0 Added Calctrl.cpp to sources list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 18:19:34 +00:00
Robin Dunn
2d96836946 Fixed a bug that caused a crash on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 18:00:43 +00:00
Robin Dunn
ecbdd409e1 fixed a compilation error for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:53:52 +00:00
Robert Roebling
04165bec2c Compilation fix,
wxGTK requires GTK 1.2.3.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:20:21 +00:00
David Webster
3d62dcb6b5 Updated OS/2 sources with fixes to wxControl and wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:15:34 +00:00
Vadim Zeitlin
e47c4d4874 wxMSW compilation fixes for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 16:35:55 +00:00
Guillermo Rodriguez Garcia
ce96b7a010 Corrected problem related to wxSIZE_ALLOW_MINUS_ONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 16:18:44 +00:00
Robert Roebling
d3e90957cf Update bug in wxListCtrl,
Y2000 bug in wxFileDialog (sic).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:32:14 +00:00
David Webster
98959adb03 needed a check for wxUSE_VALIDATORS in the wxListCtrl::Create proc when calling the parent class, wxControl::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:14:09 +00:00
Jouk Jansen
1696c17801 Committing in .
Patches for VMS
 Temporarily patch to get the IMAGE sample compiled in MOTIF-mode
  N.B. GetSubImage still gives rubish

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/motif/bitmap.h
 	wxWindows/src/common/datetime.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/bitmap.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:02:12 +00:00
Vadim Zeitlin
f8c0354763 wxSIZE_ALLOW_MINUS_ONE handling corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 14:53:13 +00:00
Robert Roebling
c79853685d Correct deafult GUI font is now found when querying
wxSystemSetting. Hack.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 14:34:03 +00:00
David Webster
27e2ed8185 Added Calctrl.obj to generic build list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:41:55 +00:00
David Webster
f21a7f94fc Add some "USE" defs that were missing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:35:23 +00:00
Robert Roebling
db434467a1 New colour, font, theme and size code..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:02:27 +00:00
Guillermo Rodriguez Garcia
bf9b671186 Some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 11:54:57 +00:00
Vadim Zeitlin
31405c014d added test of bg colour in the tree sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:56:41 +00:00
Vadim Zeitlin
bb44855297 1. wxTreeCtrl::SetBackgroundColour() works (with new comctl32 anyhow)
2. wxToolTip should work with old comctl32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:38:57 +00:00
David Webster
398b582f36 Visualage C++ V4.0 has a native long long data type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:32:03 +00:00
David Webster
16ee521a22 VisualAge C++ V4.0 fixups, can't differentiate between time_t and double???
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:31:12 +00:00
Ove Kaaven
7ab9bf9f2d BC++ 5.x also supports _beginthreadex and _endthreadex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:21:50 +00:00
Guillermo Rodriguez Garcia
a36f0f8345 Some little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 22:45:07 +00:00
Ove Kaaven
ef8b2d9165 Better make it a const reference then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 20:00:44 +00:00
Ove Kaaven
571f8dae5e Make wxColour parameter be passed by reference to inline method,
so it can be inlined by BC++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:57:59 +00:00
Ove Kaaven
380d9d6297 Cast both operands of ?: to (wxControl*) so BC++ compiles it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:31:02 +00:00
Robin Dunn
f2a497dcf9 Made wxEditor constructor args consistent with other window classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:30:51 +00:00
Ove Kaaven
46f9bb9475 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:15:43 +00:00
Ove Kaaven
0413cec527 Unicode compilation fixes for BC++ 5
(BC++ 5 mostly doesn't cope with the wxString == char* operation)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:58:57 +00:00
Ove Kaaven
08298395b2 Those wxTRACE_* string constants appears to need wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:53:10 +00:00
David Webster
eda22ec3a2 Need LINKAGEMODE for Visualage C++ compiles on the static global procs at the top
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:52:29 +00:00
Ove Kaaven
5d368213ca Halved DEFAULT_ITEM_WIDTH so default sizes resembles wxGTK better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:51:22 +00:00
Ove Kaaven
a8ee71c702 BC++ 5 does not have Unicode version of GetProcAddress.
Giving it a plain ASCII string in an #if


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:48:02 +00:00
Ove Kaaven
0e89bb17e8 Another Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:44:32 +00:00
Robert Roebling
4a0c68a70b Distrib things.
Readded resource support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:41:14 +00:00
David Webster
5747aa84c1 Updated config files for VisualAge C++ V4.0 to include new sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:26:07 +00:00
David Webster
aa2097dda2 Fixes to get library to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:25:26 +00:00
David Webster
d8cde57b83 Two new font implementations for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:58 +00:00
David Webster
55cca86849 small updates for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:10 +00:00
David Webster
b8f72dedd3 no enums with commas past last element, please
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:22:51 +00:00
Vadim Zeitlin
bc385ba9eb 1. corrections for compilation of the wxBase apps with wxApp
2. wxCAL_NO_MONTH/YEAR_CHANGE styles implemented, cosmetic corrections
3. attempt at BC++ compilation fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:51:24 +00:00
Robert Roebling
44762a6a87 Forgot these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:13:01 +00:00
Robert Roebling
1e8d2f694e Distrib things,
Fixed typo in wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:11:48 +00:00
Václav Slavík
7e949b437c now grabs encoding info not from but from '' (empty string) -- default po header (mo catalog must be, of course, contain the header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:24 +00:00
Václav Slavík
94fc5183e9 Borland #include hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:17 +00:00
Guillermo Rodriguez Garcia
6e7cdb7696 Add default size for slider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:10:36 +00:00
Robert Roebling
b919f007af Corrected some things in, and some thing revealed by
the Life! sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:20 +00:00
Vadim Zeitlin
6809ee4b8e makegen program for makefile generation for the samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:00 +00:00
Vadim Zeitlin
273b7ed9d0 makefile for the calendar sample as generated by makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:36:21 +00:00
Robert Roebling
33720b2de5 Corrected spin control, which ignored hand typed text.
Corrceted GetBestSize() etc of static text (displayed
    in tip dialog and elsewhere).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 11:42:49 +00:00
Vadim Zeitlin
312cd9e93d O_BINARY added to wxFile::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 10:32:19 +00:00
Guillermo Rodriguez Garcia
1bdda41cff bmps and ico added as binaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:05:38 +00:00
Guillermo Rodriguez Garcia
faad32e5ab ups; must add as binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:04:53 +00:00
Guillermo Rodriguez Garcia
5a1dca125f Life!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 08:56:57 +00:00
Ove Kaaven
cbf97a6cd6 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:24:26 +00:00
Ove Kaaven
e9fa75816c Split "?:" into "if" statement for assignment of converted buffers,
so Borland C++ 5 accepts compiling it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:23:42 +00:00
Ove Kaaven
5b73520279 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:20:03 +00:00
Ove Kaaven
f37736559d Make this compile in Unicode mode under Borland C++ 5.02
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:19:07 +00:00
Ove Kaaven
f5166ed458 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:14:45 +00:00
Václav Slavík
15b83243e8 refreshed makefiles to be in sync with filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:32:08 +00:00
Vadim Zeitlin
74a533f7e9 moved wxCalendarCtrl code from control sample to a new one - calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:21:51 +00:00
Vadim Zeitlin
4f6aed9c6a 1. wxDateTimeHolidayAuthority class for calculating the holidays added
2. wxCalendarCtrl adjustments and some new features


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:17:55 +00:00
Robert Roebling
c88275cb7d Documented wxMutexGuiEnter etc and thread sample.
Also found out that you cannot create top-level windows
    in a GUI thread other than the main one. No idea why.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 21:52:18 +00:00
Václav Slavík
548cadfd42 added encconv.h -- I forgot to do so, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:38 +00:00
Václav Slavík
afc94fa6b4 wxLocale now uses wxEncodingConverter (must be explicitly enabled)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:30 +00:00
Václav Slavík
82545b58f4 wxFontMapper now cooperates with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:15 +00:00
Václav Slavík
47e55c2f11 added wxEncodingConverter::Convert(char*,wxChar*) and variants ; filled equivalence tables ; GetAllEquivalents now returns semi-sorted array (platfrom equivs, then rest of world)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:09 +00:00
Václav Slavík
5b5d025c1d added wxEncodingConverter::Convert(char*,wxChar*) and variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:04 +00:00
Karsten Ballüder
24e1f1ca21 linux fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:45:14 +00:00
Robert Roebling
cddfbd9f55 Some more samples documented etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:13:45 +00:00
Robert Roebling
07f5b19a15 wxSpinCtrl no longer emits event when changed programmatically.
Some GUI thread things and tests,
  Change for borders around cmposite controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 16:25:28 +00:00
Václav Slavík
169267e61f fixed typo wxUSE_ENCODING shuold be wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 14:11:49 +00:00
Robin Dunn
f0b0b7d4b8 Fixes to avoid an endless event looping for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:26:21 +00:00
Robin Dunn
f4abae9cd7 SWIG code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:24:06 +00:00
Robert Roebling
0279e84482 Some Resize/GetBestSize() changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 23:21:04 +00:00
Václav Slavík
f22e0c3c3f wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 16:43:54 +00:00
Julian Smart
b40b0f5b20 Updated wxvc_dll.dsp and memory.h to make VC++ compile in DLL mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 12:24:35 +00:00
Václav Slavík
17e799185b documented wxMB_DOCKABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:33 +00:00
Václav Slavík
357d660c90 added 'document wxSpinCtrl & wxFontMapper' to TODO list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:27 +00:00
Václav Slavík
ff83a7701c fixed #pragma implementation/interface numdlgg.h to numdlgg.cpp ; fixed bug: spincontrol ignored min and max values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:21 +00:00
Václav Slavík
70be2567de replaced occurences of \_ by _ in verbatim environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:11 +00:00
Robin Dunn
d59efe01ea Fix for differences of when the ECT_WINDOW_CREATE happens between
wxMSW and wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 09:34:52 +00:00
Robin Dunn
1b55cabf50 Added wxEditor from Dirc Holtwic
Some tweaks and fixes
Some distrib updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 08:29:02 +00:00
Václav Slavík
a5e3f3e9fa added wxEncodingConverter; added imagpnm.cpp and imagpcx.cpp to wxvc_dll.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:19 +00:00
Václav Slavík
c958260b38 added wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:13 +00:00
Václav Slavík
a66fa4a84b added wxFONTENCODING_UNICODE -- for use with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:32 +00:00
Václav Slavík
a50a288b95 added wxEncodingConverter - original tables from ftp.unicode.org - ISO, windows and KOI8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:02 +00:00
Václav Slavík
045c4fab85 added wxEncodingConverter - scripts for creating convertion tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:33:41 +00:00
Guilhem Lavaux
2de89127de Moved fix to sndg72x.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:43:12 +00:00
Guilhem Lavaux
d6f941fdda Fix for MINGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:38:22 +00:00
Vadim Zeitlin
0185cd0978 added support for several new events in wxCalendarCtrl: clicking on week
days in the header, double clicking


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:21:42 +00:00
Vadim Zeitlin
13111b2ac8 1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
ce6d2511f8 Removed two more GUI lock-ups. This time when
using on-GUI threads and sending event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 12:02:57 +00:00
Vadim Zeitlin
1a8557b143 added wxCAL_MONDAY/SUNDAY_FIRST flags and Ctrl-Home/Right/Left and Home/End keys
handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 00:31:36 +00:00
Vadim Zeitlin
882a8f40e2 wxCalendarCtrl works under MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Robert Roebling
5d5b3a40f3 Corrected miniframe.
Changed wxTB_HORIZONTAL to be wxHORIZONTAL, not wxVERTICAL..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:12:42 +00:00
Robin Dunn
54b9688254 Enabling the use of masks for wxGTK in some of the demos
wxWindow.GetHandle returns the X-Window instead of the GtkWidget
pointer so the X-Window can be given to other Python modules such as
VTK.

wxPython.lib.vtk updated to get the window handle at widget creation
instead of in the constructor.

other updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:10:32 +00:00
Robin Dunn
cfe17b7435 Fixed wxWindowCreateEvent and wxWindowDestroyEvent to set m_eventType
so the events can actually be caught by a handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:07:53 +00:00
Robert Roebling
15807266c6 IsExposed() corrections in calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 21:03:36 +00:00
Robin Dunn
3af4e610b1 Added some missing EVT_ functions
Fixes to wxPython.lib.wxCalendar for new toolbar and region code
other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 20:07:27 +00:00
Vadim Zeitlin
0148fe1e2a wxMotif::wxControl() ctor added, now wxCalendarCtrl compiles ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:34:38 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Robert Roebling
924ef85080 GUI thread update and event corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 17:16:55 +00:00
Julian Smart
e12be2f7fb Tidied some doc references; added Stefan's Blit optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 14:21:38 +00:00
Robert Roebling
29b5bcd515 Doc correction for wxScrollWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 12:52:22 +00:00
Robert Roebling
23efdd028e Added wxWindow::DoMoveWindow(..)
Changed dnd and clipboard overviews.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:52:51 +00:00
Vadim Zeitlin
c76dd5a121 define __GNUWIN32_OLD__ for cygwin32 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:46:45 +00:00
Vadim Zeitlin
75c74ca055 1. added test for wxTreeCtrl::Insert(size_t index)
2. temporary test code for wxCalendarCtrl in controls.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:29:26 +00:00
Vadim Zeitlin
2ef31e80ee 1. some minor compilation fixes in datetime.cppm
2. implemented wxTreeCtrl::Insert(size_t index)
3. draft of wxCalendarCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:28:20 +00:00
Robert Roebling
f59d80ca00 Small doc updates, mainly wxDropTarget,
wxFileDlg now interprets a default dir of "." as
    the current working dir,
  dialog and frame honour "wxApp::DeleteFrameOnExit".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 09:48:10 +00:00
Vadim Zeitlin
487c1f7ef2 BC++ compialtion fix (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 22:24:44 +00:00
Robin Dunn
5e095c55f9 Fixed so user code (or wxPython) can include gtk/glib/X headers if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:32:48 +00:00
Robin Dunn
ffef2bdec9 Added some WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:10:49 +00:00
Julian Smart
cff4a45c15 Watford C++ related changes. Unfortunately, the linker now gives a GPF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 20:25:09 +00:00
Julian Smart
84e5f5395d Some BC++ issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 15:21:06 +00:00
Julian Smart
1a3aa77fc7 Removed references to separate prop and porting docs. Added imagtiff.cpp
to VC++ project files. Added tiff library to makeproj.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:57:57 +00:00
Julian Smart
52ca3f113e Added VC++ project files for TIFF library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:56:05 +00:00
Robert Roebling
f2593d0dda Calling a Refresh() before the window is created no longer
gives an assert. Nothing will happen.
  Added wxTreeCtrl::InsertItem( paret, before, ... ),
  Correct some places with incorrectly indented code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:08:04 +00:00
Julian Smart
9b6b575004 Added Bil Simser to wxBook page; fixed bug in notebook when deleting pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:45:48 +00:00
Guillermo Rodriguez Garcia
3f399a69cc Added GetSubBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:28:39 +00:00
Robert Roebling
7468b994be Minor doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 14:27:05 +00:00
Robert Roebling
be25e48093 Added mono bitmap to image conversion.
Added wxImage::Replace() (replaces one colour with another).
  Toolbar tips no longer eats ana new colour. This might prevent
    the wrong colour behaviour reported from some 8-bit visuals.
  Minor fixes and test code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
Vadim Zeitlin
41acf5c0bd 1. wxLongLongWx::Assign(double) added (half implemented)
2. small wxDateTime bug fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 11:26:59 +00:00
Vadim Zeitlin
d5fc46616d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 10:55:14 +00:00
Vadim Zeitlin
406005d21b more unused param warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:54:12 +00:00
Vadim Zeitlin
9c2882d9e1 1. misc compilation (errors, warnings) fixes (from the build logs)
2. fixed a bug in wxGTK::wxGetResource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Vadim Zeitlin
6957717a00 disable #warning because it's an error for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:54 +00:00
Vadim Zeitlin
ddb56b384d C++ comments in C files are fun but break the compilation (for the Nth time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:28 +00:00
Václav Slavík
c91108763b fixes of documentation - replaced \tt{...}, \em{...}, \bf{...} by {\tt ...} etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:34:56 +00:00
Václav Slavík
200fed6cdf moved proplist documentation to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:30:32 +00:00
Václav Slavík
5eae411929 moved 1.6X -> 2.X porting manual to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:26:26 +00:00
Václav Slavík
6fb0a92e2c font size fix for <PRE>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 18:11:06 +00:00
Guilhem Lavaux
e336790467 Sound recording works on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 17:38:46 +00:00
Robert Roebling
f9ee644eac Wrote wxMask(bitmap,colour).
Some docs for it and wxBitmap::GetSubBitmap().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 11:25:53 +00:00
Václav Slavík
605d715ddd many fixes in documentation so that it compiles with LaTeX - get rid of \end{document} troubles, \it{} -> {\it} and few more syntax fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:40:13 +00:00
Václav Slavík
9a66115de3 removed date.cpp and time.cpp from filelist.txt (was only commented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:31 +00:00
Václav Slavík
bb65ef80fe fixed bug in wxString::DoCopy - it called Sort on already sorted array (thanks to Add behaviour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:05 +00:00
Václav Slavík
599a97e9ab removed wxHtmlParser::GetTempData (internal function, obsoleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:46 +00:00
Václav Slavík
6ed4970d21 added demo of <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:32 +00:00
Václav Slavík
f1ad10f373 added <font face> support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:20 +00:00
Robin Dunn
194fa2aca0 Some little compilation fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:45:22 +00:00
Robin Dunn
d2103cf2e2 Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
is better and compatible with the wxGLCanvas.  You can get it at
http://starship.python.net:9673/crew/da/Code/PyOpenGL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:44:29 +00:00
Vadim Zeitlin
5e6a0e8315 implemented wxLongLong division - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 16:49:57 +00:00
Julian Smart
9434fb903d Added default constructor to wxGLCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 12:28:20 +00:00
Julian Smart
f3314fbcb4 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 08:16:31 +00:00
Robin Dunn
9c00cfa3e5 Wrapper updates for wxHtmlLinkInfo and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 03:28:55 +00:00
Robin Dunn
f533a674ae fixed mismatched }
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 00:16:07 +00:00
Vadim Zeitlin
40973ea5fd removed testing code from wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 23:27:21 +00:00
Robin Dunn
f17fee68ea A bugfix in the wxTreeCtrl.GetItem wrapper
Some test/demo modifications and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 22:43:59 +00:00
Robin Dunn
ab2208b54e New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 22:37:22 +00:00
Václav Slavík
2463329cd3 fixed interpretation of <font size>: was always relative to current size, now conforms to HTML specs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:12:33 +00:00
Václav Slavík
846914d18d wxHtmlWindow::OnLinkClicked and wxHtmlCell::Get/SetLink and wxHtmlWinParser::GetSetLink now work with wxHtmlLinkInfo instead of wxString (making it ready for frames)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:12:23 +00:00
Václav Slavík
f2c2fa4d62 wxHtmlWindow::OnLinkClicked and wxHtmlCell::Get/SetLink and wxHtmlWinParser::GetSetLink now work with wxHtmlLinkInfo instead of wxString (making it ready for frames) ************** also fixed font size interpretation to conform to HTML (1..6 instead of wrong -2..4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:11:46 +00:00
Vadim Zeitlin
2ea24d9f47 tried to implement division of wxLongLongs - doesn't work at all, will finish tonight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:15:40 +00:00
Robin Dunn
b49576e077 Linking with the TIFF library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:13:49 +00:00
Robin Dunn
0656d2e68d Fixed wxSplitterEvent to set it's id to be the splitter window's id so
events can be caught correctly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:12:34 +00:00
Robin Dunn
874a1686d8 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:09:58 +00:00
Robin Dunn
9b3d3bc44b New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:05:08 +00:00
Robin Dunn
8d772832a0 Added a constructor that allows creation of independent wxControl
(for more easily creating custom controls)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 19:23:13 +00:00
Robert Roebling
17bec151f9 Added wxBitmap::GetSubBitmap()
Correct images in gen. dir dlg.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:18:43 +00:00
Václav Slavík
8eb2940f7f removed wxITALIC/wxSLANT stuff from wxHTML (no longer neccessary, we have intelligent font matching) - affects SetFonts method of wxHtmlWindow, wxHtmlWinParser and private stuff in wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:14:26 +00:00
Václav Slavík
921d0fb195 wxHtmlFontCell now has member wxFont m_Font instead of wxFont* m_Font (preparation for <font face> support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:14:17 +00:00
Václav Slavík
fe7a2e2529 date.cpp and time.cpp removed from CVS (no longer used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:13:35 +00:00
Vadim Zeitlin
e07802fc4a patches for running configure under OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 17:59:26 +00:00
Vadim Zeitlin
c7d68b4b70 oops... problem with in Perl source - got mangled by cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 15:40:18 +00:00
Vadim Zeitlin
35e20db0ee a small script to show the different between the current file version and its last revision (requires Perl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 15:34:45 +00:00
Vadim Zeitlin
e2b8b0662c fixes for wxINSTALL_PREFIX definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 14:21:56 +00:00
Vadim Zeitlin
ad0dc53bff patches for BC++ 5.3 from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 14:05:21 +00:00
Jouk Jansen
fb10f04c95 Committing in .
Patches for VMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/image.h
 	wxWindows/src/common/datetime.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 13:19:09 +00:00
David Webster
73c0666118 Update options to the config files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 23:21:47 +00:00
Vadim Zeitlin
9750fc4245 1. corrected some owner-drawn buttons bugs
2. added generation of event for EVT_SPINCTRL handler to wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 23:00:10 +00:00
Vadim Zeitlin
57160afe2b testing new wxSpinCtrl event and button colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:58:52 +00:00
Václav Slavík
84b63045ca documented wxHashTable::DeleteContents(bool)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:23:35 +00:00
Václav Slavík
e5436d5933 added printing classes to HTML section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:23:30 +00:00
Vadim Zeitlin
0ddea94696 tests for "big" wxTextCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:41:34 +00:00
Vadim Zeitlin
b12915c104 1. wxBase compiles under BeOS
2. several bugs corrected in wxTextCtrl::Load/SaveFile (wxMSW)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:09:32 +00:00
David Webster
e17e2b7c1d Updated Phnghand LoadFile and new makefile for DateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:42:00 +00:00
David Webster
738f53e98d Changed Loadfile to be compatable with OS/2 Bitmap handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:41:00 +00:00
David Webster
28f5bdb49b Eliminate comma's after last element in an enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:40:24 +00:00
Robert Roebling
f30933a8c7 Reduced spacing in tree ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 17:22:54 +00:00
Robert Roebling
00e12320ca Some debug code.
Removed flicker form wxTreeCtrl.
  Changes.txt update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 13:04:54 +00:00
Vadim Zeitlin
b38e2f7dc3 more wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 00:16:35 +00:00
Vadim Zeitlin
be4017f89b 1. coloured buttons seem to work
2. wxDateTime::ParseFormat() starts to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 00:16:02 +00:00
David Webster
5f287370dd define _timezone for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 23:44:08 +00:00
Václav Slavík
1845534dd4 fixed typo (const<->cosnt)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:24:07 +00:00
Václav Slavík
738bfca98d added wxHTML to Classes by Category
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:23:55 +00:00
Václav Slavík
08d038e7d1 fixed horizontal scrollbar bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:23:45 +00:00
David Webster
610a6ee998 Add datetime file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:22:39 +00:00
Václav Slavík
7618e37465 #ifdef wxUSE_TOOLTIPS around tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 20:27:38 +00:00
Vadim Zeitlin
f0f951faab wxDateTime::ParseFormat() and ParseTime() added (compile but don't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 19:33:25 +00:00
David Webster
657d209757 can't support enums that have comma after last element
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 17:48:24 +00:00
Robert Roebling
28c9c76e7f Some doc updates.
Corrected wxFileDialog::GetFilenames() and GetPaths()
    if no file is selected.
  Corrceted make install.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:43:54 +00:00
Vadim Zeitlin
77c3e48a9e added support for width and flags in wxDateTime::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:24:57 +00:00
Vadim Zeitlin
341e7d2889 wxString::Format() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:11:45 +00:00
Vadim Zeitlin
68ee7c4730 1. corrected compilation of wxTime/wxDate
2. wxDateTime::Format() seems to work (look at it to see why I'm so happy)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 15:40:13 +00:00
David Webster
75399efbb2 Uncompilable header fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 15:14:14 +00:00
Vadim Zeitlin
7f684264b8 memory leak in ~wxMutex fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 12:48:32 +00:00
Václav Slavík
74cfc36921 stupid typo in wxHTML help options dlg - did not display fixed fonts correctly in preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 11:17:11 +00:00
Vadim Zeitlin
97e0ceea08 more wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:47:56 +00:00
Vadim Zeitlin
112d35a2cb removed date.cpp and time.cpp from the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:47:00 +00:00
Vadim Zeitlin
cd0b170911 1. wxLongLong and wxDateTime compilation fixed for the compilers without native
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
   OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00
Guillermo Rodriguez Garcia
e35edde9c3 strange comment in gsocket_read (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 22:15:16 +00:00
Guillermo Rodriguez Garcia
e8f4c58406 Stupid timeout bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 22:09:30 +00:00
Robert Roebling
6f67eafe67 Minor optical changes to toolbar and the help frame's
options dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 20:16:37 +00:00
Julian Smart
c25a510b30 Mostly Mingw32/Cygwin corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 19:04:48 +00:00
Vadim Zeitlin
83307f338d test for strptime added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 17:48:54 +00:00
Robert Roebling
bd046d4221 Replaced the old wxGetResource implementation with one based
in wxFileConfig.
  Compile fix for gsocket.c.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 17:15:32 +00:00
Robert Roebling
c7a9fa36e4 Minor changes to wxTreeCtrl's horiz size,
Text stream now can write Mac/Unix/Dos EOL on resp. other platforms,
  Fixed return value of wxBufferedOutputStream::GetSize() and ::TellO()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 16:15:32 +00:00
Vadim Zeitlin
f9dbf34fc6 fall back from wxITALIC to wxSLANT and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 14:29:45 +00:00
Vadim Zeitlin
405e126cc8 'grey border' bug under MSW fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 14:02:48 +00:00
Václav Slavík
ef01b72f17 added <EM>, <CITE> and <STRONG> tags; now use separate handlers for <B>,<I>,<TT>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:42 +00:00
Václav Slavík
f0b6a33f4c HTML help: index panel now displays only part of index matching given substring (similar to search panel; ==> 1) faster startup 2) no more problems with incomplete index due to GTK+ limitations). Intelligent behaviour: displays indexes with size <= 100 items in full (= matching empty substring)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:35 +00:00
Václav Slavík
336e2d4424 added support for definition lists (DL,DT,DD) to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:14 +00:00
Václav Slavík
8b260fbe33 removed 2nd frame from html test sample; test sample now shows DL,DT,DD support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:48:01 +00:00
Václav Slavík
c88293a404 cleaned some relics - mod_* instead of m_* in wxHTML modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:47:50 +00:00
Robin Dunn
5ea6dbbfff Adding MSVC makefile support for building the TIFF library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 20:55:50 +00:00
Václav Slavík
97734a7f33 fixed problem with image handlers in two headers (and yes, tested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 20:19:19 +00:00
Vadim Zeitlin
239446b415 wxDateTime progress: DST compuation, weekday computation, day-in-year and week
number computations all implemented and seem to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 19:56:32 +00:00
Robin Dunn
3e1ed7d709 Fixing another hard-coded WXDIR path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 19:47:51 +00:00
Guillermo Rodriguez Garcia
5ebdc86afc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:37:24 +00:00
Guillermo Rodriguez Garcia
300b128833 Compile-fix after modifying timercmn.cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:36:45 +00:00
Robert Roebling
cae31b8b52 Fixed typo in wxStaticBoxSizer::CalcMin().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:32:25 +00:00
Guillermo Rodriguez Garcia
b704229ee2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 16:40:06 +00:00
Guillermo Rodriguez Garcia
df0c322667 Compatibility fix: defined wxGetCurrentTime to wxGetLocalTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 16:35:48 +00:00
Jouk Jansen
08f6ac314a Committing in .
VMS 64bit integer definition

 Modified Files:
 	wxWindows/include/wx/longlong.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:37:00 +00:00
David Webster
2063a4a0ca Fixed a void* to wxObject* conversion error in a return causing compile break across all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:35:48 +00:00
Julian Smart
17d8ee1cbd Misc small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 14:59:09 +00:00
David Webster
4e0f4f97d7 Some minor fixups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:45:15 +00:00
David Webster
334673a8bb Remove tbarsmpl.cpp from the build list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:41:24 +00:00
David Webster
b4eb4c6b55 New image base classes for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:39:24 +00:00
Vadim Zeitlin
6fd5fa4fcc added wxToolBar::SetToolClientData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:10:05 +00:00
David Webster
b7c2b5c51d cleaning up toolbar mess for os/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:52 +00:00
David Webster
97fdfcc9fd cleaning up image mess for os/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:26 +00:00
Guillermo Rodriguez Garcia
d895ad7c54 timercmn rewritten from scratch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:28:44 +00:00
Guillermo Rodriguez Garcia
b8f0499040 Everything rewritten from scratch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:27:53 +00:00
Vadim Zeitlin
c5a1681bfe 1. compilation fix for wxDir
2. wxDateTime now calculates week days (_almost_ correctly) and Format()
   seems to work too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:09:10 +00:00
Vadim Zeitlin
211c225069 test for weekdats added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:08:20 +00:00
Vadim Zeitlin
8673da0de1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 23:14:14 +00:00
Vadim Zeitlin
6e807169c4 changed wxImage::Rescale() to return wxImage& and not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 23:13:23 +00:00
Vadim Zeitlin
2ffa221c58 some more consts here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 22:10:32 +00:00
Vadim Zeitlin
d5e295970c compilation fix after incorrectly resolved conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:59:02 +00:00
Vadim Zeitlin
7521ca7d84 an experimental template for Win16/VC++ 1.52
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:30:47 +00:00
Vadim Zeitlin
8f177c8e73 Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:29:54 +00:00
Robin Dunn
b4d1ebf058 Took out somebody's hard coded path (j:\dev\something...) and put back
$(WXWIN).  Please just set an environment variable like the rest of us!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:00:59 +00:00
David Webster
6bee9b5951 New Visualage C++ Version 4.0 Project Configuration files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:00:54 +00:00
Robin Dunn
995a594ab4 Killed a bug that sometimes prevented ShowModal from returning if the
ESC key was used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 20:49:07 +00:00
Guillermo Rodriguez Garcia
6ecfe2ac49 Fix for mingw32 compilation (replaced #ifdef NM_CUSTOMDRAW with a test for _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 20:41:39 +00:00
Vadim Zeitlin
e838cc1468 1. wxMotif toolbar works; the toggle buttons have the same width as the other
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
   **", as in wxGTK
3. added an X error handler to wxMotif (debug only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
1eb6f40e2a should use ksh, not sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:38:15 +00:00
Guillermo Rodriguez Garcia
51dba3f868 PCX images can now be embedded in streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:19:41 +00:00
Guillermo Rodriguez Garcia
85806dc2d8 slight bug in waitconnection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:19:04 +00:00
Vadim Zeitlin
982b2cfc58 compilation fixes, doesn't work yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:10:38 +00:00
Vadim Zeitlin
9fb35cf180 small fix to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 17:39:07 +00:00
Robert Roebling
f35aa3daa3 Added wxSizer::Insert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 16:37:08 +00:00
Vadim Zeitlin
5357c8e8b3 added check for timezone in addition to _timezone and __timezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 16:19:26 +00:00
Guillermo Rodriguez Garcia
1b24a68eba Added #if wxUSE_OWNER_DRAWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 14:53:07 +00:00
Guillermo Rodriguez Garcia
90002c499c Compilation fix when wxUSE_OWNER_DRAWN is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 14:52:25 +00:00
Guillermo Rodriguez Garcia
d32548aa77 Accomodate changes in CountColours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 12:22:37 +00:00
Guillermo Rodriguez Garcia
cc9f7d7939 Changed stopat to stopafter in CountColours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 12:19:02 +00:00
Václav Slavík
8f9846be80 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC -- these files are regenerated makefiles due to change in filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:46:33 +00:00
Václav Slavík
c8b4eea8f2 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:46:17 +00:00
Václav Slavík
89de9af3cb fixed wxHtmlWindow flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:39:02 +00:00
Václav Slavík
1aaaa7120e JPEG handler does not read entire file into memory anymore (+, of course, that headers change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:38:18 +00:00
Václav Slavík
8f49300284 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:38:02 +00:00
Vadim Zeitlin
1dbe87089b small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:49:48 +00:00
Vadim Zeitlin
8a0681f933 merging in the toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Robin Dunn
56f5d962ad New SWIG generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:09 +00:00
Robin Dunn
5bff6bb8ea Fixes for differences between wxMSW and wxGTK`
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:46:19 +00:00
Vadim Zeitlin
6de20863de using WX_TIMEZONE set by configure instead of timezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:40:46 +00:00
Vadim Zeitlin
bf84b0be84 added datetime.h/cpp to filelist and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:40:22 +00:00
Vadim Zeitlin
360d6699d3 added check for timezone variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:35:03 +00:00
Vadim Zeitlin
64a8976615 documented GetLabel/Text, added a note about GetName being deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:20:57 +00:00
Vadim Zeitlin
caf51f9536 fix for compilation with both native and generic kinds of toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:13:36 +00:00
Vadim Zeitlin
ad4ae6ed7a testing wxToolBarSimple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:02:44 +00:00
Vadim Zeitlin
a16a9bf350 a fix for the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:57:46 +00:00
Vadim Zeitlin
3ed2e7ce82 more WXUNUSED() here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:14:58 +00:00
Vadim Zeitlin
e7bcded47c a small script to regenerate makefiles without running configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:06:32 +00:00
David Webster
3070bd9633 Remove these VisualAge C++ V4.0 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:03:58 +00:00
David Webster
8ea3f821b7 Bitmap and Image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 16:59:08 +00:00
David Webster
bed4d33171 For use when build samples under wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 16:54:08 +00:00
Vadim Zeitlin
1afe597eba fix for wxMouseEvent::LeftUp() from Stefan.Neis@t-online.de
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 15:34:05 +00:00
Vadim Zeitlin
9d08a1edf6 corrected bug in wxMenu::Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 14:39:56 +00:00
Guillermo Rodriguez Garcia
faa7a70eaf Small bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 12:32:22 +00:00
Guillermo Rodriguez Garcia
89d0045628 Added CountColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 12:31:28 +00:00
Guillermo Rodriguez Garcia
0848b0dd74 Now saves in eiher 8bit or 24bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 11:46:19 +00:00
Guillermo Rodriguez Garcia
c9d01afd82 Added ComputeHistogram
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 11:45:32 +00:00
David Webster
97507ccea7 gdiimage updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 06:02:30 +00:00
Vadim Zeitlin
980662342f support for multiple rows in Win32 native toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 01:54:39 +00:00
Vadim Zeitlin
44178d9214 added wxSingleChoiceDialog::SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 00:31:58 +00:00
Vadim Zeitlin
2e8005ccaf fixed wxBitmapButton bug with bitmaps with masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 00:28:42 +00:00
Václav Slavík
ad81651f00 removed USE_SHARED_LIBRARY(IES)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Václav Slavík
fed628b632 added default ctor for wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:53:32 +00:00
Václav Slavík
1c83cdc920 removed USE_SHARED_LIBRARIES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:53:26 +00:00
Václav Slavík
a68d00b192 removed USE_SHARED_LIBRARIES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:41:31 +00:00
David Webster
9dea36ef6d Visualage C++ V4.0 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:32:53 +00:00
Robert Roebling
aaf6c39ae6 Added a few modifiers to wxSiserItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 19:26:06 +00:00
Vadim Zeitlin
93fa69f84b support for vertical toolbars under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:50:19 +00:00
Vadim Zeitlin
b685cd9bc8 added wxUSE_TOOLBAR_SIMPLE setting, enabled wxLongLong in configure by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:49:54 +00:00
Vadim Zeitlin
84f19880c6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 17:12:16 +00:00
Ron Lee
dc1dbfc640 added XBM example to image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 16:53:41 +00:00
Sylvain Bougnoux
672cedf866 ~wxBufferedStream puts back unread bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 14:37:24 +00:00
George Tasker
c1dd939d3b Fixed the #include of tbar95.h, which referenced the wrong directory path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 11:21:25 +00:00
Robin Dunn
78385733e7 Some GenButton enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 06:38:17 +00:00
Vadim Zeitlin
5ef2e6333e added support for vertical toolbars for MSW - seems to work more or less
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 02:02:09 +00:00
Vadim Zeitlin
d9c8e68e58 mask corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 23:15:02 +00:00
Vadim Zeitlin
fc6bbc6dad updated the sample and renamed the files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 23:05:56 +00:00
David Webster
fb5ddb4c13 Needed a __WXPM__ in new OS ifdefs at top
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 22:13:35 +00:00
Vadim Zeitlin
d166a4f8e8 wxCreateMaskedBitmap() is more const correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 20:21:28 +00:00
Vadim Zeitlin
af79c52df0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:31:48 +00:00
Vadim Zeitlin
d899618714 added wxList::Insert(size_t); updated wxList documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:30:09 +00:00
Sylvain Bougnoux
5ef37c79de Was missing png_read_end
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:02:50 +00:00
Václav Slavík
65e4f9b986 wxNotebookSizer surrounder by wxUSE_NOTEBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:52:18 +00:00
Václav Slavík
75be3f5ef7 now survives compilation even if wxUSE_SASH == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:17:09 +00:00
Václav Slavík
60be2f47e1 added #if wxUSE_NOTEBOOK around wxNotebookSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:16:59 +00:00
Václav Slavík
41b1047d91 added #if wxUSE_CLIPBOARD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:16:52 +00:00
Robert Roebling
78e848cac9 wxTextStream now interprets 1,1 as 1.1 (European formating).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 15:55:30 +00:00
Vadim Zeitlin
191ab39aee attempted Unicode fixes for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 15:51:01 +00:00
Robert Roebling
864e8bd0fc Corrected wxRegion::GetBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 13:43:47 +00:00
Václav Slavík
61eff74fb9 added wxHTML samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 08:43:50 +00:00
Guillermo Rodriguez Garcia
528dad23e5 PCX handler now saves files too (always as 24 bit images, though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:03:42 +00:00
Vadim Zeitlin
ae373e59d5 removed because unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:03:32 +00:00
Guillermo Rodriguez Garcia
7513f9ffc5 Added wxOutputStream::PutC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:02:32 +00:00
Vadim Zeitlin
20d9661c04 moved wxID_SEPARATOR from menuitem.h to defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 00:55:35 +00:00
Robert Roebling
85ec2f2634 Some doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 17:02:50 +00:00
Václav Slavík
f4cc15cd73 removed pnghand from MSW sources - obsoleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 16:22:39 +00:00
Václav Slavík
3cbe51d094 removed pnghand from MSW sources - obsoleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 16:18:55 +00:00
Václav Slavík
b58b1dfc21 fixed compilation bug with GCC 2.95.1 and GTK+ 1.2.6 (attrmask was of type GdkICAttributesType which is enum and was used in this way : attrmask |= some constant)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:53:57 +00:00
Václav Slavík
6c3d9ced08 wxPostScriptDC::DrawText now uses descent to determine baseline (instead of rough approximation), wxPostScriptDC::GetTextExtent now returns correct height (it did incorrectly add descent to pt size of font)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:52:43 +00:00
Václav Slavík
edbd0635f2 new wxHTML printing code ; parser now supports scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:50:44 +00:00
Robin Dunn
56ac3e75d4 A couple small tweaks to get the new wxNotebookSizer sample to work on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 19:38:07 +00:00
Václav Slavík
16964b5ed5 documented wxDC::GetUserScale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:35:34 +00:00
Václav Slavík
c914a1a2d2 documented wxHF_BOOKMARKS flag for wxHtmlHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:34:14 +00:00
Robert Roebling
83edc0a574 Added wxNotebookSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:07:14 +00:00
Robin Dunn
fbff5d1ba5 One more quickie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 08:09:25 +00:00
Robin Dunn
6999b0d8e9 Added rotated text support
Added Some generic button and toggle button classes
Lots of little fixes, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 07:59:23 +00:00
Vadim Zeitlin
4afd752902 1. wxDir works for MSW and documented
2. wxDateTime works with dates very close to the Epoch
3. setting font for wxRadioBox works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 00:43:59 +00:00
Václav Slavík
6bfd5671b0 removed platform specific #ifdefs around wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 21:46:00 +00:00
Vadim Zeitlin
151d66be0f and now timezones work even better ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:59:08 +00:00
Vadim Zeitlin
299fcbfe98 more timezone stuff - it's a miracle, but it seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:44:37 +00:00
Guillermo Rodriguez Garcia
e4b8154a65 source clean-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:16:01 +00:00
Vadim Zeitlin
036bc7d9e1 compilation fix for headers without _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 19:46:12 +00:00
Vadim Zeitlin
509a619604 use KDEDIR in wxKDEIconHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 17:31:44 +00:00
Vadim Zeitlin
8c264b23ad wxString::substr() bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 16:29:34 +00:00
Jouk Jansen
36cc39686a Committing in .
Updated VMS-support
 Adding new featrure of other modes to MOTIF to get it compile cleanly.

 Modified Files:
 	wxWindows/docs/readme_vms.txt
 	wxWindows/include/wx/motif/filedlg.h wxWindows/lib/vms.opt
 	wxWindows/src/common/descrip.mms wxWindows/src/motif/data.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 12:45:51 +00:00
Vadim Zeitlin
1f59726ed9 generic/wizard.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 16:53:49 +00:00
Robert Roebling
af159c4481 Compile fix. Where exactly is "wxString GetHomeDir()"?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:23:32 +00:00
Vadim Zeitlin
c51deffc32 a more easy to use version of wxGetHomeDir() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:14:58 +00:00
Robert Roebling
178009938b Changed scrollsub sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:01:04 +00:00
Guillermo Rodriguez Garcia
d314c3bbb0 Fixed small bug related to m_lastcount in wxInputStream::Read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 13:41:52 +00:00
Stefan Csomor
b3d810c0b3 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:33:24 +00:00
Stefan Csomor
97e64d8ad5 cw pro 4 not supported anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:33:04 +00:00
Stefan Csomor
8fbb465f70 corrected mac-like placing of <about> menu line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:32:18 +00:00
Stefan Csomor
7c551d9594 small adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:30:35 +00:00
Stefan Csomor
0207122d52 adapted to mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:15:14 +00:00
Robert Roebling
2bf8e4ebcc Further stream tests, doc updates and minor clean-ups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 19:04:29 +00:00
Vadim Zeitlin
b9517a0ae4 GNOME/KDE integration for wxMimeTypeManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 17:53:32 +00:00
Vadim Zeitlin
c53a2bb3d3 even more docs for wxFile::Eof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:22:18 +00:00
Vadim Zeitlin
e694c22c31 1. fix for compiling samples with profile info
2. dir.h/.cpp added to the makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:20:22 +00:00
Jouk Jansen
68874acfed Committing in .
Changes to get the libraries cleanly compiled on VMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/image.cpp
 	wxWindows/src/motif/dcclient.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:13:18 +00:00
Guillermo Rodriguez Garcia
76443e70a5 Performance optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:39:28 +00:00
Vadim Zeitlin
13e8d36e0f edited changelog slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:22:47 +00:00
Vadim Zeitlin
1944c6bdd0 wxDir class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:16:53 +00:00
Guillermo Rodriguez Garcia
8708a10fa6 Optimized for performance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 11:59:43 +00:00
Robert Roebling
842d6c94bd Documented wxFFile and wxFFileStream and Co.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 11:35:20 +00:00
Guillermo Rodriguez Garcia
5ac8158ad9 Fixed wxInputStream::Ungetch behaviour so that if you
a) unget a buffer (AAABBB)
b) read some data (AAA)
c) unget a second buffer (CCC)

it works OK now (you will get CCCBBB, instead of CCCAAABBB as before)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 09:58:42 +00:00
Robert Roebling
aa51b2e153 Stream error testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:28:29 +00:00
Vadim Zeitlin
e4e901d18e compilation fix (long -> wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:28:22 +00:00
Vadim Zeitlin
c74016378e fixing compile problems for people who don't look at the rebuild logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:26:45 +00:00
Vadim Zeitlin
9a8c762076 1. many DrawRotatedText() corrections (gtk)
2. compilation fix for window.cpp (!HAVE_XIM)
3. mentioned wxGTK slider limitations in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:19:45 +00:00
Vadim Zeitlin
c717373949 patch from Ricky Gonzales <gonzales@pyramid3.net> for the Unicode support for BC 5.02+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 07:54:58 +00:00
Robert Roebling
b79395c54b XIM support things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 18:58:53 +00:00
Robin Dunn
5ed3dab261 bitmap mask tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 18:20:01 +00:00
Robert Roebling
7ec2881ac5 Correction to position of rotated text.
Apps no longer give warnings if only a
    dialog pops up (top level windows == 0)
    before main loop.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 17:54:04 +00:00
Karsten Ballüder
d06800f14a Fixed XIM compilation, but doesn't work yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 16:11:43 +00:00
Robert Roebling
6e228e42e2 wxListCtrl sends event directly again. Also fixed problem
of list otem status not being up-to-date when events
    get sent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:47:55 +00:00
Karsten Ballüder
d84b26a7b9 HAVE_GDK_XIM -> HAVE_XIM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:24:38 +00:00
Vadim Zeitlin
54acce9084 wxMimeTypeManager::EnumAll() seems to work, couple of minor corrections to the MIME code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:18:22 +00:00
Karsten Ballüder
7799a2d76f Test for XIM support in gdk added, relevant code for window.cpp follows this
evening.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:06:51 +00:00
Robert Roebling
00655497da Minor optical changes to toolbar and wxHelpFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:54:32 +00:00
Vadim Zeitlin
470caaf9df small cosmetic fix for wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:15:23 +00:00
Robert Roebling
0c62388988 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 12:24:57 +00:00
Robert Roebling
6308151359 Added wxUSE_SPINCTRL,
Added various HAVE_XIM patches.
  Added forty's headers to list of installed files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 11:59:07 +00:00
Robert Roebling
9b00bb1626 Various things related to wxFileDialog and attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 10:47:21 +00:00
Robert Roebling
1fb4de3138 doc view code inteprets wxSTREAM_EOF as correct,
Added wxMask( bitmap, colour ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 09:35:42 +00:00
Vadim Zeitlin
c61f4f6dbd 1. wxFileDialog patch for multiple selection applied (with some small changes),
added demo for it in the sample and documented
2. wxMimeTypeManager works a bit better under Windows (doesn't ignore the
   extensions without filetypes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:48:45 +00:00
Vadim Zeitlin
696e1ea0b7 1. fixes for DrawRotatedText(), drawing sample extended to show it
2. implemented colour/font support for wxTreeCtrl items
3. corrected a bug in wxListCtrl colour/font support code, the items should
   now be deleted ok
4. SetProcessAffinityMask() correction, wxThread::SetConcurrency() kind of
   works (difficult to test on a UP machine)
5. wxMimeType::EnumAllFileTypes() added, works (somewhat) under MSW
6. made default fonts under MSW 10 points and not 12 - this is the standard
   size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:09:40 +00:00
David Webster
c8ce6bccc3 wxDC new virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 23:47:52 +00:00
Robert Roebling
1b055864b6 Added tests for buffered streams.
Made wxBufferedOutputStream call Sync() in
    the destructor and SeekO().
  Documented this.
  Use buffered streams in wxImage. Seems to
    significantly speed-up the sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 18:16:37 +00:00
Vadim Zeitlin
85d11a7072 compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:56:59 +00:00
Vadim Zeitlin
1b986aef6e enumerating all MIME types (half finished, doesn't work yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:54:50 +00:00
Vadim Zeitlin
4314ec480e DrawRotatedText() for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:40:39 +00:00
Vadim Zeitlin
2182e26fa3 fixed LaTex error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 16:22:32 +00:00
Robert Roebling
d984207cc3 Patch for stream.cpp for non-flushable stream,
Corrected stream corruption for Umgetch()/SeekI() conflict,
  Docs for streams,
  Changed interpreteation og non-standard height in wxCombo,
  Other minor changes,
  Removed library name setting for Debian again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 16:16:14 +00:00
Vadim Zeitlin
929eed4799 wxSetlocale() doesn't always return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 14:14:19 +00:00
Vadim Zeitlin
28a4627cfe implemented GetCPUCount() and SetConcurrency() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 14:06:21 +00:00
Vadim Zeitlin
9ec64fa758 wxTreeCtrl has colours and fonts too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 13:18:14 +00:00
Vadim Zeitlin
70846f0a79 1. test for thr_setconcurrency() added to configure
2. wxListCtrl headers always black
3. some warnings in dcpsg.cpp corrected
4. returning FALSE from OnPrintPage() should abort printing now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:44:49 +00:00
Vadim Zeitlin
ef8d96c29c wxThread::GetCPUCount() and SetConcurrency() added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:31:04 +00:00
Julian Smart
c92d798f9d Inexplicable removal of wxRadioBox::MSWWindowProc reversed, so wxRadioBox
works in Dialog Editor again. Compile error in Dialog Editor fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:12:36 +00:00
Vadim Zeitlin
0530737d1e generic wxListCtrl colour/font setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 10:43:35 +00:00
Vadim Zeitlin
1f897d251f Added DrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:51:40 +00:00
Vadim Zeitlin
95724b1aa2 Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00
David Webster
43543d985b some os/2 icon-bitmap fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 05:01:46 +00:00
David Webster
58b1642453 bitmap and image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 21:23:52 +00:00
Václav Slavík
fd72e0b5e2 added bookmarks support (strange thing : red color in wbkdel.bmp is somehow misinterpreted by either wxBitmap or win32 libs and is not displayed correctly :-((
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:38:19 +00:00
Václav Slavík
382e6efee4 added bookmarks support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:36:20 +00:00
Václav Slavík
fb5700fe76 fixed bug in SetFonts (caused segfault in wxHtmlHelpFrame)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:32:21 +00:00
Václav Slavík
a97a264f73 fixed incorrect rendering of tables with cellspacing and cellpadding and colspan/rowspan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:31:39 +00:00
Václav Slavík
2b8f5a2488 [gtk] fixed bug that caused segfaults in wxYield when wxToolBar has non-button control (m_item was no defined, rather then being set to NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:30:45 +00:00
Julian Smart
340196c001 wxChoice/wxComboBox background colour change (to get back to where we were);
and .dsp file updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 10:07:00 +00:00
Vadim Zeitlin
d62228a645 wxListCtrl custom drawing seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 00:20:58 +00:00
Vadim Zeitlin
aaa37c0d23 compilation fixes for the wxListItemAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:57:59 +00:00
Vadim Zeitlin
bdc72a2268 1. wxGetOsDescription() function added
2. wxApp::GetComCtlVersion() slightly updated
3. wxToolBar::AddControl() should work on all systems, DeleteTool() added
4. wxListCtrl custom draw changes (custom colours/fonts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:34:54 +00:00
Robert Roebling
1d62a8b425 Change to wxMenuBar::Remove(),
"make dist" knows about src/tiff now,
  configure has a new shared library thing which Debian seems to require.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 16:40:27 +00:00
Vadim Zeitlin
280108ed82 EMX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:51:40 +00:00
Vadim Zeitlin
1aaef61416 new wxMenu(Bar) dynamic menu(bar) management functions documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:43:44 +00:00
Vadim Zeitlin
32db328c7a wxMenu::Insert() seems to work, bug in wxMenuBase::Insert() is corrected
(inserting an item at pos == GetCount() should be the same as appending and
not an error)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:10:31 +00:00
Vadim Zeitlin
f03ec224dc wxMenuBar::Insert() seems to work!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:43:59 +00:00
Robert Roebling
5f445b310b Documented wxStopWatch and wxToolBar::AddControl().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:28:26 +00:00
Vadim Zeitlin
309689b214 debug check for infinite loop in InitializeClasses() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 12:14:38 +00:00
Robert Roebling
f6b7723929 Two missing #includes in image code.
Corrected item coloring in wxListCtrl report mode (incl sample).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 11:56:28 +00:00
Robert Roebling
58c837a4e6 String changes for translations,
Made wxBitmap derive from wxGDIObject,
  Removed #ifdefs around destrctors for GDI lists (wxBrushList etc),
  Created wxEVT_COMMAND_SPINCTRL_UPDATE with obvious usage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 10:37:39 +00:00
David Webster
4f72fe4f1a Bitmap coding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 22:23:58 +00:00
Vadim Zeitlin
1ef54dcf12 wxDateTime...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 21:27:57 +00:00
Vadim Zeitlin
270a909e20 test for timegm() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 21:27:34 +00:00
Robin Dunn
abdd4565f1 code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:37:15 +00:00
Robin Dunn
5d1bd85974 Testing wxListBox.Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:36:47 +00:00
Robin Dunn
6d75ea8f10 Split out the changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:36:21 +00:00
Stefan Csomor
0240e8b1aa wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 15:17:38 +00:00
Stefan Csomor
4378079d84 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 15:11:12 +00:00
Vadim Zeitlin
032af30f52 fixes for icon-inherits-from-bitmap mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:50:12 +00:00
Stefan Csomor
72e7876ba5 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:49:23 +00:00
Stefan Csomor
ef6bd27b35 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:40:17 +00:00
Stefan Csomor
6418cb9302 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:30:39 +00:00
David Webster
3b9e345522 bitmap and image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 05:03:55 +00:00
David Webster
d01cc696fc Catching up to latest thread changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 23:32:25 +00:00
Vadim Zeitlin
4c460b340f more threds fixes, more threads tests - seems to work ok for non GUI case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 17:59:35 +00:00
Vadim Zeitlin
48c8a76b81 a small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:52:22 +00:00
Vadim Zeitlin
ecef04c293 a small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:52:03 +00:00
Vadim Zeitlin
16193c2b68 wxUSE_CONFIG_NATIVE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:32:16 +00:00
Vadim Zeitlin
4304b42f1a mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 14:47:49 +00:00
Vadim Zeitlin
e6ec579c77 even more wxDateTime work (completely broken for now, but support for the
full date range almost finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 01:01:26 +00:00
Václav Slavík
f151e8b583 cosmetic changes in help browser settings dlg; fixed problem with Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:29:02 +00:00
Vadim Zeitlin
fcc3d7cbad 1. more wxDateTime work
2. some thread corrections (not fixing the deadlock with Delete() :-( )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:15:53 +00:00
Vadim Zeitlin
fa5f6926ec sorting test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:07:25 +00:00
Karsten Ballüder
ab857a4ed6 fixed process termination handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 18:16:53 +00:00
Karsten Ballüder
371ee4026e rtf cut&paste works now, html export fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 18:05:54 +00:00
Robert Roebling
1193d8fa93 Typos in sizer docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 16:59:01 +00:00
Robert Roebling
d9d8273d9c Disabling PNG, TIFF and JPEG works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:34:16 +00:00
Vadim Zeitlin
1c4f8f8d18 1. wxMotif::wxFrame derives from wxFrameBase now
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +00:00
Robert Roebling
7941ba111c Applied patch for multiple file selection, documented.
Fixed some compilation warnings,
  Minor change to OpenGL code.
  Documented wxImageHandler::GetImageCount() and related.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 14:08:42 +00:00
George Tasker
fb073f86d2 Added wxODBC_FWD_ONLY_CURSORS define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 14:03:20 +00:00
George Tasker
1c74a90041 wxTreeCtrl::IsVisible() fix fix - a (LPARAM) typecast was lost in the last checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 01:45:29 +00:00
Vadim Zeitlin
52a5502004 one day people will stop putting C++ comments in C files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 22:21:18 +00:00
Vadim Zeitlin
955be36cf8 wxTreeCtrl::IsVisible() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 22:14:31 +00:00
Vadim Zeitlin
2f02cb8966 wxDateTime starting to work, more tests for it and for threads in console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 21:55:00 +00:00
Robin Dunn
ec96574fbd a test file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 20:24:00 +00:00
Robin Dunn
eb7159455d Various small fixes and tweaks
Added wxIntersectRect helper function


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 20:21:55 +00:00
Robert Roebling
b47c832e55 Made db.h compile (removed this wxODBC_ONLY_FARWRD_XXXXXX),
Added sources for TIFF 3.5.2 from libtiff.org.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:42:35 +00:00
Robin Dunn
a6ad3e89c6 Various small fixes and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:23:57 +00:00
Robert Roebling
700ec4546c Compile fix for GIF decoder,
Added image index to loadfile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 17:24:14 +00:00
Guillermo Rodriguez Garcia
a05da1b682 Doesn't reset the stream pos to 0 in CanRead().
Please note that the PCX handler still cannot read images
embedded in streams because it has to check for some things
at the END of the file before proceeding!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 14:40:57 +00:00
Guillermo Rodriguez Garcia
9d0e21da25 Fix to work with images embedded in streams (doesn't reset pos to 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 14:38:42 +00:00
Julian Smart
065de61268 Now allow SetMenuBar to be called several times.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 12:21:06 +00:00
Julian Smart
6b8b0e7ca0 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 10:07:03 +00:00
Vadim Zeitlin
9fc3ad34c5 joinable and detached POSIX threads (not fully tested yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 23:05:23 +00:00
Karsten Ballüder
7d3a036dc4 event handling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 20:43:36 +00:00
George Tasker
a3439c7d16 Added support for creating forward or backward scrolling cursors support at run-time versus compile time. Default behavior will be determined by wxODBC_FWD_ONLY_CURSORS set in setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 19:20:53 +00:00
Robert Roebling
0b72db08a7 More TIFF things,
Disabled leaking debug code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 18:36:02 +00:00
Václav Slavík
b8aa1680f2 fixed wxBITMAP for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 17:33:44 +00:00
Václav Slavík
c1b43f8220 just deleted one empty line (testing CVS server)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 11:14:53 +00:00
Vadim Zeitlin
d1f4970d73 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 10:02:24 +00:00
Vadim Zeitlin
58aefa56e7 "no C++ comments in C files" rule
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 09:45:21 +00:00
Vadim Zeitlin
bd73863347 compilation fix (no C++ comments in C files, include/wx/expr.hsrc/msw/textctrl.cpp$include/wx/expr.h@!src/msw/textctrl.cppsrc/msw/textctrl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 09:34:54 +00:00
Karsten Ballüder
2b0b665264 test complete :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:43 +00:00
Karsten Ballüder
75a2d2c79c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:08 +00:00
Karsten Ballüder
81a4f8460c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:56:52 +00:00
Karsten Ballüder
71ba5d266c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:55:59 +00:00
Karsten Ballüder
9c9f40d022 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:43 +00:00
Karsten Ballüder
b080e420ad test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:15 +00:00
Karsten Ballüder
d352e8509a test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:53:49 +00:00
Karsten Ballüder
2dfe62c86d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:52:09 +00:00
Karsten Ballüder
0f65af9942 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:51:08 +00:00
Karsten Ballüder
0c83d66beb test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:39 +00:00
Karsten Ballüder
405c80ff3f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:08 +00:00
Karsten Ballüder
46522c7910 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:49:23 +00:00
Karsten Ballüder
b28c70cf9f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:48 +00:00
Karsten Ballüder
448663022d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:27 +00:00
Karsten Ballüder
2c4c6c4abf test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:47:29 +00:00
Karsten Ballüder
1f381068b7 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:43:51 +00:00
Vadim Zeitlin
b76b015ed9 1. msec resolution for timer functions under Win32
2. small wxLog corrections/enhancements
3. some wxDateTime and wxLongLong work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 23:30:18 +00:00
Unknown (JL)
2fc70a88e8 Same comment as in dc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:15:35 +00:00
Unknown (JL)
ee41971cbb stupid double declaration of GetClippingBox due to the bad (lack of) usage of wxCoord in grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:14:26 +00:00
Unknown (JL)
394e8031cb DoSetSize has to be virtual because subtype controls may have different implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:12:21 +00:00
Robert Roebling
ba5b8263f3 More fool-proof lock in thread events code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:46:55 +00:00
Václav Slavík
c9f56e70f4 wxHtmlWinParser::SetFonts now refreshes fonts cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:26:45 +00:00
Václav Slavík
ec74539c12 fixed MSVC++ (stupid) warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:26:12 +00:00
Václav Slavík
7dee4b2ba0 fixed minor bug in wxFileSystem's converting \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:25:42 +00:00
Václav Slavík
d5db80c269 SetTitle method (internal use only) changed to virtual OnSetTitle, added GetOpenedPageTitle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:24:57 +00:00
Václav Slavík
31e24645c0 added &copy; in <PRE> environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:24:34 +00:00
Václav Slavík
f09caa5758 changed icon name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:20:58 +00:00
Václav Slavík
bab537dc37 fixed wxBITMAP macro under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:20:14 +00:00
Václav Slavík
83efdf3393 added setup dialog, changed icons names (prefixed with w)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:19:28 +00:00
Václav Slavík
e6f9a44829 wxHTML icons are now prefixed with w so that it does not conflict with app's icon under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:15:30 +00:00
Václav Slavík
d6a1e531a3 wxHTML icons are now prefixed with w so that it does not conflict with app's icon under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:09:16 +00:00
Robert Roebling
60a41aee69 TIFF change 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:21:03 +00:00
Robert Roebling
1c8d8d21dc TIFF change 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:20:19 +00:00
Robert Roebling
8e1c188720 TIFF code 3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:19:05 +00:00
Robert Roebling
257bcf288a TIFF code 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:18:25 +00:00
Robert Roebling
448dd031e3 TIFF code 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:17:53 +00:00
Robert Roebling
5ef9f90366 slider link fix 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:17:24 +00:00
Robert Roebling
1e1fafb918 slider link fix 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:16:53 +00:00
Robert Roebling
c7a2bf27da Some tiff code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:11:24 +00:00
Robert Roebling
aec0ed2e25 More broken pipes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:48:39 +00:00
Robert Roebling
57a1fd7304 Damn broken pipes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:48:06 +00:00
Robert Roebling
aed8ac3f89 sfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:47:36 +00:00
Robert Roebling
3f26799e25 ?kjashdf?aksj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:47:06 +00:00
Robert Roebling
5e7e9e1b68 More #include changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:46:33 +00:00
Robert Roebling
16c1f79c04 New event locking.
Removed CVS trash.
  Some compile fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:45:29 +00:00
Vadim Zeitlin
0979c96223 my old draft of wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:26:11 +00:00
Vadim Zeitlin
acb8423c2b compilation fixes for Unix - IT DOES NOT WORK YET, DON'T TRY IT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:24:12 +00:00
Vadim Zeitlin
9063ea8ee2 wxThread docs updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:15:07 +00:00
Vadim Zeitlin
b568d04ffa 1. wxThread changes (detached/joinable) for MSW and docs updates
2. wxUSE_GUI=0 compilation for MSW (use vc6dll.t with tmake) and many small
   fixes related to this
3. an attempt to make wxLog more MT friendly
4. a small fix for wxRegConfig: it doesn't create empty unused keys any
   more (SetPath() would always create a key, now it's deleted if it was
   empty)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 22:57:06 +00:00
Robin Dunn
aa9a4ae1a5 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 20:28:25 +00:00
Robin Dunn
0e0d88570a fixed to correctly use #if wxUSE_SPINCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 20:03:21 +00:00
Robert Roebling
55703c9178 ?lk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:45:59 +00:00
Robert Roebling
fb5dc8a2ee sds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:44:54 +00:00
Robert Roebling
a075e27bf3 sdasd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:43:47 +00:00
Robert Roebling
9826157f41 ?jl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:42:26 +00:00
Robert Roebling
66f384064d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:40:47 +00:00
Robert Roebling
56cfaa52a1 Added wxUSE_SPINCTRL
Changed some #include "gtk/.." to <>
  Removed GTK path from wx-config; this breaks wxPython's build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:39:15 +00:00
Robert Roebling
13fb7b7a1f Correction to DnD code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 12:03:05 +00:00
Robert Roebling
72a7edf007 Minor changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:41:20 +00:00
Robert Roebling
b16088bf11 Same changes as last commit... Maybe CVS works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:35:27 +00:00
Robert Roebling
e4c730e922 Added tooltips to radiobox (untested).
wxListCtrl now uses deferred events.
  Some debug code changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:34:17 +00:00
Vadim Zeitlin
fef15b42f3 attempt at more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 16:29:54 +00:00
Vadim Zeitlin
e959aee256 wxUSE_RICHeDIT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:51 +00:00
Vadim Zeitlin
381dd4bfa2 more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:26 +00:00
Vadim Zeitlin
e42a6c18c4 1. wxBase compiles/links again
2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 11:44:01 +00:00
Vadim Zeitlin
252a752e85 1. wxBase compiles/links again
2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 11:37:42 +00:00
Vadim Zeitlin
10a0bdb193 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 09:53:35 +00:00
Vadim Zeitlin
f048e32fcd 1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Vadim Zeitlin
1e7215e676 compile fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 22:59:22 +00:00
Václav Slavík
c181287ca4 a bit better solution for &copy;,&nbsp; etc. (in terms of speed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 17:19:22 +00:00
George Tasker
6919c53fd2 Added "const" to the (char *) type params that should have been const params. Cleaned up code surrounding the upper casing (or not uppercasing) user names and table names for specific databases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 15:54:04 +00:00
George Tasker
0b0ca94c89 Added "const" to the (char *) type params that should have been const params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 15:52:09 +00:00
Jouk Jansen
85fb5ef8f2 Committing in .
VMS-Makefile for dialoged

 Added Files:
 	wxWindows/utils/dialoged/src/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 13:42:58 +00:00
Jouk Jansen
cd6361037d Committing in .
Changes needed to get dialoged utility compile on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/include/wx/setup.h
 	wxWindows/lib/vms.opt
 	wxWindows/utils/dialoged/src/reseditr.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 13:41:50 +00:00
George Tasker
e5ad852877 Commented out the defines of strnicmp and stricmp to fix OS/2 compilation. These should not be necessary any longer since db uses wxStrxxxx functions now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 12:35:31 +00:00
Jouk Jansen
7b5075ab92 Committing in .
Support for caret sample on VMS repaired

 Modified Files:
 	wxWindows/samples/caret/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 12:10:47 +00:00
Robin Dunn
d29aba2ff7 generated sources update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:57:07 +00:00
Robin Dunn
41509312d6 Split build instructions into a separate file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:12:34 +00:00
Robin Dunn
694759cfeb Bug fixes, new tests and demos, new generated source...
Added FileBrowseButton class to the library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:08:14 +00:00
Robin Dunn
899493dd61 Added some test code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:03:09 +00:00
George Tasker
e9a145dfae Added optional param to Count() function to allow for counting DISTINCT columns rather than all columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:45:23 +00:00
George Tasker
ac4650263f Added preliminary support for Informix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:44:08 +00:00
George Tasker
e8af381479 Replaced all the strxxx() function calls with wxStrxxx() function calls. Added preliminary support for Informix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:42:51 +00:00
George Tasker
285c163f98 Replaced all the strxxx() function calls with wxStrxxx() function calls.
wxTable:Count() function now has an optional parameter to allow the count to be done on DISTINCT columns rather than all columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:40:02 +00:00
Robert Roebling
848bc5ba18 Partial fix for big_endian image conversion probs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 16:57:36 +00:00
Karsten Ballüder
c0d6c58bd0 fixed setfocus() flicker in listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 15:11:29 +00:00
Vadim Zeitlin
0d0512bd8f 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:55:02 +00:00
Vadim Zeitlin
6d167489bd 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
Julian Smart
162999bfb7 Removed strange wxFAIL; added dialup.cpp to filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:14:24 +00:00
Jouk Jansen
82a564fa35 Committing in .
New VMS sample compile support files

 Modified Files:
 	wxWindows/samples/bombs/descrip.mms
 	wxWindows/samples/checklst/descrip.mms
 	wxWindows/samples/config/descrip.mms
 	wxWindows/samples/controls/descrip.mms
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/menu/descrip.mms
 	wxWindows/samples/minimal/descrip.mms
 Added Files:
 	wxWindows/lib/vms.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 11:47:39 +00:00
Jouk Jansen
bceff37520 VMS option files clash with VC++. temporarily removed.
Removed Files:
 	wxWindows/samples/bombs/bombs.opt
 	wxWindows/samples/caret/caret.opt
 	wxWindows/samples/checklst/checklst.opt
 	wxWindows/samples/config/conftest.opt
 	wxWindows/samples/controls/controls.opt
 	wxWindows/samples/dialogs/dialogs.opt
 	wxWindows/samples/image/image.opt
 	wxWindows/samples/menu/menu.opt
 	wxWindows/samples/minimal/minimal.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 10:17:04 +00:00
Václav Slavík
e52cac90cd added &copy; -> (c) conversion in html docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 09:20:57 +00:00
Robin Dunn
077def0b2a Removed some debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 21:45:36 +00:00
Robin Dunn
b731267565 a bug fix in helpers for ref-counting callbacks
some generated code updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 20:36:23 +00:00
Václav Slavík
80eab46937 fixed bug that caused wxHtmlWindow to segfault on html tables with cell(s) with rowspan>=3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 20:09:18 +00:00
Robin Dunn
84e4a8257d Splashscreen works better on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 19:30:12 +00:00
Robin Dunn
5bfb891ef8 Fixed so the tree looks proper on GTK and also reduced flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:33:22 +00:00
Robin Dunn
2baa7b0cda fixing binary again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:25:43 +00:00
Karsten Ballüder
80584ea306 Fixed linkage problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 15:38:47 +00:00
David Webster
c1b99516b6 Adding OS/2 default images and resource file to repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 14:53:13 +00:00
Karsten Ballüder
2686d91e13 Created wxSamples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 12:52:02 +00:00
Karsten Ballüder
11694d1f12 Compilation fix for Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 12:29:28 +00:00
Julian Smart
e2b34251cb WM_MOUSEMOVE correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 10:53:39 +00:00
David Webster
41404da71e CriticalSection update for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 01:06:26 +00:00
Robin Dunn
60c65519d0 Now sets the font for newly appended ownerdraw items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 00:01:50 +00:00
Robert Roebling
071a2d7814 Include changes again. Something is wrong with CVS...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:46:55 +00:00
Robert Roebling
20e05ffbd3 Headers moved a bit.
Minor docs updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:44:25 +00:00
Jouk Jansen
ae285bb56a Committing in .
Compiling support for samples/controls on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/controls/controls.opt
 	wxWindows/samples/controls/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 14:59:21 +00:00
Jouk Jansen
39b307b82f Committing in .
samples/config/contest.cpp compilation on VMS
 Bug fix for "double home directory in fileconf.cpp

 Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/fileconf.cpp
 Added Files:
 	wxWindows/samples/config/conftest.opt
 	wxWindows/samples/config/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 14:31:37 +00:00
Robert Roebling
ccaaf5b083 Doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 12:13:55 +00:00
Jouk Jansen
abd7a159d2 Committing in .
Compliations of samples/checklst on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/checklst/checklst.opt
 	wxWindows/samples/checklst/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 10:34:59 +00:00
David Webster
20947e08ca OS/2 thread updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 05:27:57 +00:00
David Webster
892b89f3b7 thread updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 05:27:04 +00:00
Guillermo Rodriguez Garcia
55e8450757 explicitly set addr.LocalHost before creting the wxSocketServer object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 01:25:10 +00:00
Robert Roebling
11b620511d Forgot one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 19:29:42 +00:00
Robert Roebling
e909371890 makefile updates,
minor doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 19:28:15 +00:00
Robert Roebling
8a29359071 Updates to event docs. (removed evthandler::default).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 18:31:03 +00:00
Guilhem Lavaux
1cb6da2dda Fixed an incorrect behaviour in ResetBuffer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 18:16:40 +00:00
Robert Roebling
2e0e025ecd Added speed-up for font-loading (a bit simplistic),
Moving between items in a radiobox works again,
  Tried to remove remaining gap in a wxStaticBox that
    has no text-label.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 11:32:06 +00:00
Robert Roebling
7eef8db20d Called autoconf to update configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 10:25:46 +00:00
Robin Dunn
dafb483b3a Fixed bug in DnD. wxDragSource will now delete itself when done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 03:37:01 +00:00
David Webster
e78c4d503e updates for DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 01:03:00 +00:00
Robin Dunn
06d2a9e76e here it is again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:17:21 +00:00
Robin Dunn
7812795ed3 forgot to add the image with binary flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:16:32 +00:00
Robin Dunn
9fb56e0cbc Added SplashScreen class from Mike Fletcher and use it in the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:15:12 +00:00
Robin Dunn
37bebc1112 Added encoding parameter to wxFontList::FindOrCreateFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 23:32:07 +00:00
David Webster
f38374d0d7 Removal of previous wxValidtor code for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 22:36:55 +00:00
Vadim Zeitlin
f68586e51b wxWindow::GetBestSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Vadim Zeitlin
33879bb218 Tom's patch - hope I got it right this time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 18:59:19 +00:00
Vadim Zeitlin
cc160ba62b compilation fix for !wxUSE_MENU_CALLBACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 16:19:33 +00:00
Jouk Jansen
c48afe2918 Committing in .
Support for the samples bombs and caret on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/bombs/bombs.opt
 	wxWindows/samples/bombs/descrip.mms
 	wxWindows/samples/caret/caret.opt
 	wxWindows/samples/caret/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 09:47:30 +00:00
Robin Dunn
e395c057a3 updated wxMVCTree, VTK, and the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 05:34:40 +00:00
Unknown (JL)
5008c64c32 few adaptations to cope with new control.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:51:56 +00:00
Unknown (JL)
1dd521517c adding the notion of cyclic group of radiobutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:12:43 +00:00
Unknown (JL)
1395ff56f4 with only a little modification could be generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:11:42 +00:00
Unknown (JL)
2c4c7d0466 copy of the generic before adaptation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:41:17 +00:00
Unknown (JL)
cfcc3671ae needed to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:38:06 +00:00
Unknown (JL)
3fa28b5803 first add
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:37:02 +00:00
David Webster
2ce0a6e2d6 Some minor modifications for VA 4.0 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:31:51 +00:00
Unknown (JL)
31d80f31af for Gray Controls implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:30:08 +00:00
Unknown (JL)
6d3d1bb786 add Mac to the list of definition of HAVE_LOCALTIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:15:21 +00:00
Unknown (JL)
c3f805b4ac needed for mac port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:13:14 +00:00
Unknown (JL)
0b939cbb2f To include the wx/mac version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:12:18 +00:00
Unknown (JL)
72582399ed Used when the Apparence Manager is not installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:10:31 +00:00
Vadim Zeitlin
32193feb83 Remove() -> RemoveAt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 16:14:10 +00:00
Robert Roebling
97d7bfb8b4 Added wxEvtHandler::Disconect()
Added wxToolBar::DeleteTool()
  Removed the WXWIN_COMP... defines from the common setup.h
  Some tests,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:58:35 +00:00
Vadim Zeitlin
61b04ac652 wxGTK pastes text from rxvt again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:00:57 +00:00
Vadim Zeitlin
f373f19798 bug in wxArray::Remove() fixed (thanks Robert)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:54:02 +00:00
Vadim Zeitlin
ac7f0167aa wxLogTrace documentation updated and expanded, VC++ users note added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:34:13 +00:00
Jouk Jansen
338dd99216 Committing in .
Modifications to get rid of warnings on VMS

 Modified Files:
 	wxWindows/include/wx/utils.h wxWindows/src/common/date.cpp
 	wxWindows/src/common/datstrm.cpp
 	wxWindows/src/common/gdicmn.cpp wxWindows/src/common/image.cpp
 	wxWindows/src/common/object.cpp
 	wxWindows/src/common/sckipc.cpp
 	wxWindows/src/common/txtstrm.cpp
 	wxWindows/src/generic/fontdlgg.cpp
 	wxWindows/src/generic/listctrl.cpp
 	wxWindows/src/generic/scrolwin.cpp
 	wxWindows/src/generic/splitter.cpp wxWindows/src/motif/app.cpp
 	wxWindows/src/motif/bitmap.cpp
 	wxWindows/src/motif/bmpbuttn.cpp
 	wxWindows/src/motif/button.cpp
 	wxWindows/src/motif/checkbox.cpp
 	wxWindows/src/motif/choice.cpp wxWindows/src/motif/clipbrd.cpp
 	wxWindows/src/motif/colour.cpp
 	wxWindows/src/motif/combobox.cpp
 	wxWindows/src/motif/control.cpp wxWindows/src/motif/cursor.cpp
 	wxWindows/src/motif/dataobj.cpp
 	wxWindows/src/motif/dcclient.cpp
 	wxWindows/src/motif/dcmemory.cpp
 	wxWindows/src/motif/dcscreen.cpp
 	wxWindows/src/motif/dialog.cpp wxWindows/src/motif/filedlg.cpp
 	wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
 	wxWindows/src/motif/gauge.cpp wxWindows/src/motif/icon.cpp
 	wxWindows/src/motif/listbox.cpp wxWindows/src/motif/mdi.cpp
 	wxWindows/src/motif/menu.cpp wxWindows/src/motif/menuitem.cpp
 	wxWindows/src/motif/msgdlg.cpp wxWindows/src/motif/palette.cpp
 	wxWindows/src/motif/radiobox.cpp
 	wxWindows/src/motif/radiobut.cpp
 	wxWindows/src/motif/region.cpp
 	wxWindows/src/motif/scrolbar.cpp
 	wxWindows/src/motif/settings.cpp
 	wxWindows/src/motif/slider.cpp wxWindows/src/motif/statbmp.cpp
 	wxWindows/src/motif/statbox.cpp
 	wxWindows/src/motif/stattext.cpp
 	wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/timer.cpp
 	wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/utils.cpp
 	wxWindows/src/motif/window.cpp wxWindows/src/unix/fontutil.cpp
 	wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:30:10 +00:00
Karsten Ballüder
742ff1e12f Linux/AXP compilation fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 09:26:30 +00:00
Guillermo Rodriguez Garcia
06a0865f41 Changed default address from INADDR_ANY to INADDR_NONE in GAddress_Init_INET,
so that if the address is not correctly initialized it won't connect to localhost
by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 08:41:50 +00:00
Guillermo Rodriguez Garcia
2d8353236d Changed default address from INADDR_ANY to INADDR_NONE in GAddress_INET_Init,
so that if the address is not correctly initialized it won't connect to localhost
by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 08:39:51 +00:00
Robin Dunn
7b9da2077d VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 07:17:57 +00:00
Václav Slavík
0b5d3315b3 I changed wxUSE_HTML (and other related wxUSEs) to 1. wxHTML is stable enough and all other options are enabled by default so I guess it's time to enable wxHTML as well :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:35:32 +00:00
Václav Slavík
2376d03d88 fixed incomplete lists of supported handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:34:25 +00:00
Václav Slavík
b75dd496d2 wxBitmap::LoadFile and SaveFile now uses wxImage's methods in case there is no wxBitmap handler for given type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:33:52 +00:00
Václav Slavík
169ee06c44 wxHtmlWindow::LoadPage does not use wxBusyCursor anymore. Instead it displays local hourglass cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:33:30 +00:00
Robin Dunn
9779893b90 Added wxWakeUpIdle() for MSW and empty stubs for Motif, OS2, and Mac
Pending events are now deleted after being processed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 21:02:45 +00:00
Julian Smart
5f2936dacb Made some treectrl sample icons transparent; added toolbar.h to wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 14:29:00 +00:00
Jouk Jansen
b8ad9f18ca Committing in .
New timing routines need new setup-definitions
 Modified Files:
: 	wxWindows/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 13:45:26 +00:00
Unknown (MT)
e16ebee6a9 use a smaller tip font for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 02:05:17 +00:00
David Webster
d5c22d1042 Modified full UNICODE support for VisualAge C++ for OS/2 V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:24:31 +00:00
David Webster
c49359e0fc VisualAge V4.0 duplicate definition error suppression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:21:08 +00:00
Vadim Zeitlin
3175c712e9 wxMSW fixes after wxFrameBase change - seems to work ok too by now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:09:32 +00:00
Vadim Zeitlin
7c0ea335c7 wxFrameBase class for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 21:31:40 +00:00
Vadim Zeitlin
40779a03e7 assert in OnSelected() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:59:10 +00:00
Vadim Zeitlin
148cd9b6ec send wxActivateEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:44:23 +00:00
Vadim Zeitlin
ebf2689b4d wxWindows/misc correction (was doubly included in wxGTK module)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:02:12 +00:00
David Webster
ec6f69825a Added full UNICODE support for VisualAge C++ for OS/2 V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 15:49:36 +00:00
Vadim Zeitlin
4419ba31aa crash when deleting window in OnUnsplit() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 15:31:40 +00:00
Vadim Zeitlin
8a729bb860 RemoveAt() added to array classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 13:28:23 +00:00
Vadim Zeitlin
bffa1c7746 wxListCtrl::DeleteAllItems() doesn't send notification events (as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 13:14:06 +00:00
David Webster
bbdc9a8780 More wxWindow work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 05:52:04 +00:00
Unknown (MT)
568e7b4ac8 fix compile error - too many }
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 01:58:05 +00:00
Unknown (MT)
d3fef91f56 ignore error when trying to delete zlib.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 01:55:24 +00:00
David Webster
776d87d504 wxWindow class work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 23:16:19 +00:00
Karsten Ballüder
329e50732b private dataformat almost working - minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 21:15:25 +00:00
Robert Roebling
f49f2b0c33 Added header vs. library version check to configure,
Fixed problem in wxTreeCtrl when nothing was selected
   upon startup and tabbing into it crashed.
 I understood now what filterindex in file dialog means.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:35:10 +00:00
Robin Dunn
ef30972aed distrib update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:25:43 +00:00
Robin Dunn
f802b3d360 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:25:21 +00:00
Vadim Zeitlin
ce52ac88bc more IRIX support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:33:51 +00:00
Robert Roebling
c4fda16bb0 Added a few non-threads compile fixes,
Removed strcasecmp defines from db.cpp and dbtable.cpp,
  Added more stand-alone makefiles,
  wxDropSource::DoDraDrop()'s return values works now
    (wxDragNone, -Copy, -Move).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:31:10 +00:00
Ron Lee
266b635a28 enabled _vsnprintf for mingw with norlander headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:19:52 +00:00
Vadim Zeitlin
fbf0c83d3c optimisation in wxString::AllocBeforeWrite() - realloc() used instead malloc() whenever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 16:14:10 +00:00
Vadim Zeitlin
78ee892753 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:57:56 +00:00
Vadim Zeitlin
378b05f7f8 wxSnprintf() and wxVsnprintf() added, documented and used in wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:49:59 +00:00
Karsten Ballüder
e2de943347 wxGTK must include wxWindows/misc or make install will fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:30:21 +00:00
Vadim Zeitlin
c2a05373bf patch from Tom Surace for 16 color mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:30:15 +00:00
Vadim Zeitlin
5d5de0b677 NO C++ COMMENTS IN THIS FILE PLEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:07:51 +00:00
Vadim Zeitlin
9739d9ee80 wxMenu::callback stuff taken inside WXWIN_COMPATIBILITY_2 (everybody should
be happy now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:04:06 +00:00
Vadim Zeitlin
c09f28798b patches from Ricky Gonzales <gonzales@pyramid3.net> for BC++ Builder
compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:57:22 +00:00
Vadim Zeitlin
7aa4cce853 PPP interface under IRIX is called 'ppp'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:50:17 +00:00
Vadim Zeitlin
1834190409 IRIX compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:39:23 +00:00
Vadim Zeitlin
5b1eea6ab8 wxCriticalSectionLocker ctor param type corrected, example of using it added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:34:57 +00:00
Vadim Zeitlin
83ef322ddd wizard.h added to the list of headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:29:04 +00:00
David Webster
9ed0fac8a8 wxApp development for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:50:09 +00:00
David Webster
d45d30c868 Minor tweek for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:48:33 +00:00
David Webster
6b1e0606aa HAVE_LOCALTIME def for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:47:19 +00:00
Vadim Zeitlin
222594ead7 1. fixed wxStaticBox background erasing (or, rather, restored the old bug)
2. fixed the mask code in wxBitmap(const wxIcon&) - now it really works (Win32)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 01:19:46 +00:00
Robert Roebling
ba0e7d4111 Distrib changes.
Augmented version to 2.1.12.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 19:25:07 +00:00
Julian Smart
5b0d48b32a Added m_callback init.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:51:57 +00:00
Guilhem Lavaux
cc82835c2b Fixed bug in wxSound windows driver (Recording is in progress: don't try it
it make Windows crash completely)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:20:11 +00:00
Robert Roebling
454e2a22c0 Small change to SetFont() logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:04:36 +00:00
Robert Roebling
cb148defda Added two stand alone makefiles for samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 16:18:21 +00:00
Robert Roebling
bf9e3e7367 Added wxWakeUpIdle() to wxGTK,
Changed wxFindFile to detect hidden files (but not "." and ".." as before),
  Added "show hidden files" to file dialog,
  Added controls to wxToolBar,
  doc view now uses pretty file dialogs as per MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 15:14:23 +00:00
Julian Smart
c0ab6adfed Watcom C++ fixup in tbar95.cpp; removed WXWIN_COMPATIBILITY for 'old' menu
constructor and event handling; added wxString version of wxGetTempFileName


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 14:41:30 +00:00
Ove Kaaven
021e0f2105 Looks like someone did str[n]cmp -> wxStr[n]cmp global replace or something
even in files where this shouldn't be done?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 11:35:16 +00:00
Vadim Zeitlin
4fe5383d6c 1. wxBitmap copy ctor and operator=() taking wxIcon added
2. wxBitmapButton focus rect looks a bit better and it respects the icon
   mask
3. wxWizard::GetPageSize() added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 02:22:27 +00:00
Václav Slavík
954269e6dd html help : search panel now has more logical order of controls (list of books is after search button, not the last item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 18:28:07 +00:00
Robert Roebling
69ffe1d20b Compile fix in dialup,
Removed GTK's native tab traversal and fixed some related probs,
  Fixed a crash in wxListCtrl,
  Added configure correction ofr HP-UX GNU shared linker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 15:58:53 +00:00
Ove Kaaven
7aa733b31e No, .mo files doesn't use Unicode, so use strcmp here, not wxStrcmp...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:57:12 +00:00
Ove Kaaven
511f273f9e Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:51:40 +00:00
Ove Kaaven
958012e0bd From: #define wxTRANSLATE(str) (str)
To:   #define wxTRANSLATE(str) wxT(str)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:48:00 +00:00
Ove Kaaven
08942a0c0d fopen -> wxFopen and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:44:15 +00:00
Ove Kaaven
5c9ea14d97 wxGetHostName uses wxChar, not char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:27:59 +00:00
Robin Dunn
a24282a442 distrib file updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:45:03 +00:00
Robin Dunn
564747ee85 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:15:30 +00:00
Robin Dunn
27df96a8d1 one more note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:03:38 +00:00
Robin Dunn
0572a7bb9c fixing distrib script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 07:52:03 +00:00
Robin Dunn
6230a84fdc more tweaks for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 07:33:29 +00:00
Ron Lee
51471a1074 added patch for _(v)snprintf protos in stdio.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 06:10:03 +00:00
Robin Dunn
e19b716460 Added a demo showing how to use wxPostEvent
Added an MVCTree contribution
Some final tweaks for this release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:52:53 +00:00
Ron Lee
3739399733 added simple test for wxStaticBoxSizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:07:18 +00:00
Vadim Zeitlin
07cf98cb8e 1. undid my wrong fix to wxWindowBase::Centre
2. corrected fatal bug in wxCheckLstBox (double deletion of items)
3. wxTextCtrl::SetValue() only does it if the new text is different from
   the old one
4. wxBitmap(const wxIcon&) ctor added
5. compilation fixes for VC++ and generic Win32 implementation of
   wxGetCurrentTime() in timercmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 00:30:45 +00:00
Vadim Zeitlin
fd69e87d25 compilation fix (float => wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:41:43 +00:00
Vadim Zeitlin
f76dbc4d52 unused param warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:31:35 +00:00
Vadim Zeitlin
148c45edfb compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:26:50 +00:00
Vadim Zeitlin
f03a98d873 aesthetic fix to configure (extra comma)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:26:21 +00:00
Vadim Zeitlin
d465862f71 Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:24:46 +00:00
Vadim Zeitlin
0470b1e6fe wxTimer/timercmn.cpp change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:19:38 +00:00
Vadim Zeitlin
97d3f0eee6 fixes for wxFontMapper endless recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 17:00:02 +00:00
Vadim Zeitlin
741a9306b3 more samples added to SAMPLES_SUBDIRS (minimal, font, richedit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:47:37 +00:00
Karsten Ballüder
a4bacadeb2 fixed endless recursion for loading of default font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:31:33 +00:00
Julian Smart
23a8562d7a Removed warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:12:26 +00:00
Vadim Zeitlin
410eaf6d66 small fixes; rearranged module definitions in a more readable way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:04:50 +00:00
Vadim Zeitlin
47f7a3a726 some HTML links \urlref'ied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:33:47 +00:00
Vadim Zeitlin
e4a71fc3f9 note about VMS linker case insensitivity added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:29:07 +00:00
Vadim Zeitlin
de6019fb15 OutputDebugStringW95 removed - it's really unnecessary - and the references to
DBWIN32 in the docs replaced with DbgView


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:15:14 +00:00
Vadim Zeitlin
837e96fc55 Solaris compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:03:26 +00:00
Vadim Zeitlin
3cdb471c6a (old) mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:58:35 +00:00
Vadim Zeitlin
772507f1f4 Centre() centers the window centre and not the upper left corner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:55:37 +00:00
Vadim Zeitlin
423a556f53 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:50:44 +00:00
Vadim Zeitlin
4e15f6c57a mingw32 compilation fixes (unfortunately, this effectively disables placing controls into the toolbar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:50:29 +00:00
Vadim Zeitlin
43c9c17dfb note about WX_DEFIN_EOBJARRAY added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:46:11 +00:00
Jouk Jansen
2b8e283d47 Committing in .
Support to compile the image sample on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/docs/readme_vms.txt
 Added Files:
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/image/image.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:35:18 +00:00
Vadim Zeitlin
8d0df10dcf warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:33:36 +00:00
Vadim Zeitlin
7f4791dda9 it didn't compile at all...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:31:59 +00:00
Jouk Jansen
43dc9c15ef Committing in .
Files needed to compile the dialogs sample on VMS

 Added Files:
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/dialogs/dialogs.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 13:18:46 +00:00
Jouk Jansen
816654badb Committing in .
Support for compilation of dialogs sample on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/docs/readme_vms.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 13:17:42 +00:00
Jouk Jansen
548be1f513 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:55:48 +00:00
Jouk Jansen
7499ebbe6c Committing in .
Compilation support for minimal sample on VMS

 Modified Files:
 	descrip.mms
 Added Files:
 	samples/minimal/descrip.mms samples/minimal/minimal.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:54:41 +00:00
Jouk Jansen
f9cb48eff3 Committing in .
Added Files:
 	docs/readme_vms.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:11:45 +00:00
Jouk Jansen
e22c27b6bd Committing in .
VMS patch (typo in previous one)

 Modified Files:
 	wxWindows/include/wx/defs.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:51:17 +00:00
Jouk Jansen
00ad47b0a2 Committing in .
Link option file for VMS

 Added Files:
 	wxWindows/samples/menu/menu.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:36:08 +00:00
Jouk Jansen
14e5a5ed1c Committing in .
Added Files:
 	wxWindows/samples/menu/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:35:30 +00:00
Jouk Jansen
59f0336397 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/common/parser.y


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:30:42 +00:00
Jouk Jansen
4900c03954 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:28:38 +00:00
Jouk Jansen
e1c70641a3 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/sckaddr.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:27:07 +00:00
Jouk Jansen
aec34b4682 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/defs.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:25:41 +00:00
Jouk Jansen
6a370f427a Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/app.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:18:54 +00:00
Jouk Jansen
af9d1662d9 Committing in .
VMS patch
 Adding some expicit type casts

 Modified Files:
 	wxWindows/src/unix/gsocket.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:16:52 +00:00
Jouk Jansen
d554e5da38 Committing in .
VMS7.x patch

 Modified Files:
 	wxWindows/src/common/doslex.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:08:29 +00:00
Jouk Jansen
61f0d452ea Committing in .
VMS7.x patch

 Modified Files:
 	wxWindows/src/common/cwlex_yy.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:07:12 +00:00
Jouk Jansen
07518267d1 Committing in .
Makefile for VMS
   makes files in src/motif

 Added Files:
 	wxWindows/src/motif/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:04:28 +00:00
Jouk Jansen
62edfd9e59 Committing in .
Makefile for VMS
   makes files in src/unix

 Added Files:
 	wxWindows/src/unix/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:02:47 +00:00
Jouk Jansen
0fcdf6dcc5 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/unix/utilsunx.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:00:33 +00:00
Jouk Jansen
ff52285867 Committing in .
Makefile for VMS
   used to generate files in src/generic

 Added Files:
 	wxWindows/src/generic/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:56:14 +00:00
Jouk Jansen
e0b3e85b5a Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/generic/helpext.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:53:52 +00:00
Jouk Jansen
79a8a691e9 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/generic/dcpsg.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:51:39 +00:00
Jouk Jansen
a8a32ce2cf Committing in .
Makefile for VMS
  makes files in src/common

 Added Files:
 	wxWindows/src/common/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:49:19 +00:00
Jouk Jansen
7e72d7aaa2 Committing in .
Patch for VMS7.x

 Modified Files:
 	wxWindows/src/common/utilscmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:47:11 +00:00
Jouk Jansen
5230801e77 Committing in .
Patch needed for VMS

 Modified Files:
 	wxWindows/src/common/timercmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:17:05 +00:00
Jouk Jansen
6842d18650 Committing in .
Patch for VMS7.x

 Modified Files:
 	wxWindows/src/common/memory.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:09:49 +00:00
Jouk Jansen
acdc3b6b5c Committing in .
Patches for VMS7.x

 Modified Files:
 	wxWindows/src/common/filefn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:07:52 +00:00
Jouk Jansen
c4886362e4 Main make file for VMS
Added Files:
 	wxWindows/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 09:57:21 +00:00
Jouk Jansen
0db9d8d2ea New file use to configure the compilation on VMS-systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 09:23:31 +00:00
Robin Dunn
8c58829804 more floatbar tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 06:23:28 +00:00
Vadim Zeitlin
c8f1f08817 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 03:12:51 +00:00
Vadim Zeitlin
2ccf68ce7c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:21:17 +00:00
Vadim Zeitlin
1c383dbac9 controls can now be put in the toolbars (MSW only so far, preliminary version)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:17:44 +00:00
Stefan Csomor
7c74e7fe1d wxMac completed so far, generic listctrl extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:11:14 +00:00
Václav Slavík
8c651ab787 <br><br><br> is now handled correctly, e.g. empty lines are inserted (unlike <p><p><p>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:08:52 +00:00
Robert Roebling
4b59bea3dd Fixed optical bug in wxListCtrl,
Added dnd.wxr to install script,
  Fixed two problems in wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 15:41:43 +00:00
Ron Lee
7790267175 #included log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 13:33:24 +00:00
Karsten Ballüder
a832f63206 fixed solaris gethostname() prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 11:04:47 +00:00
Julian Smart
cf1d22d685 Added a bug report; C++Builder compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 11:01:28 +00:00
Julian Smart
1c6fb09fe2 Added files to make patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 10:59:37 +00:00
David Webster
13a4ea8d83 Finished up utilities testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 04:40:29 +00:00
David Webster
f28538c5f6 Quick fix up for __WXPM__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 04:39:48 +00:00
Vadim Zeitlin
3f2711d5c1 1. wxStaticBox doesn't draw over the underlying controls any more
2. a couple of new helper functions in msw/private.h: wxColourToRGB and
   wxRGBToColour are handy to avoid writing horribly long and ugly RGB <-> wxColour
   conversions explicitly
3. modified wxDirDialog to be more comprehensible (to me), hopefully it also
   works better


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 00:25:57 +00:00
Robin Dunn
e0473f5f5a Tweaking some of the new wxPython stuff for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 22:47:12 +00:00
Vadim Zeitlin
26bf1ce0bc 1. made it possible to use wxUpdateUIEvent with wxTextCtrl under wxGTK
2. ... and with controls with id < 0 under all others as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 17:40:02 +00:00
Vadim Zeitlin
957d856c81 added 2 more cursors (patch from Gerd Mueller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 17:19:19 +00:00
Julian Smart
4f02408ec9 Stupid makeprog.vc corruption fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 13:26:55 +00:00
Stefan Csomor
51abe921b8 wxMac (debug) builds and runs wxMinimal again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 11:32:00 +00:00
Robin Dunn
944930d5f5 Added calendar contributed by Lorne White
Some tweaks for wxFloatbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 08:03:29 +00:00
Robin Dunn
be2577e4e6 wxSizer patches by Alexander Smishlajev <als@turnhere.com>
Adds some wxALIGN_* flags to increase ability to position item
    within its allotted space.

    Adds wxSHAPED flag that enforces proportional resizing on growable
    items.

    Adds a sample and updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 23:02:41 +00:00
Vadim Zeitlin
a7540f46f7 compiles with or without wxSpinCtrl now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 19:19:39 +00:00
Vadim Zeitlin
7bf07d2635 compilation fixes, Makefile.in added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 18:10:50 +00:00
Stefan Csomor
e75491071d mac adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 15:24:52 +00:00
Robert Roebling
eff869aad2 Removed Vadim's surplus code in clipboard.
wxTreeCtrl now creates its two font in the constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:48:41 +00:00
Vadim Zeitlin
dcda1c71b1 fix for FreeBSD compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:32:40 +00:00
Karsten Ballüder
9707f3fddd usleep() prototype added for solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 12:31:55 +00:00
Karsten Ballüder
6ed6d1239a added gethostname protoype for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 10:21:53 +00:00
Stefan Csomor
d30ab05b0d will not be adopted to 2.1, pro 4 was too buggy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 08:42:05 +00:00
Stefan Csomor
ae550e6b64 .mcp was broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 08:41:32 +00:00
David Webster
e8fd750b53 OS/2 resource storage and retrieval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 05:57:19 +00:00
Julian Smart
47f12f58db Added m_nSelection = -1 fixes to RemovePage, DeleteAllPages (from Scott Newham)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 01:53:44 +00:00
Julian Smart
a925b00678 Misc small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 01:52:28 +00:00
Julian Smart
154f22b3fa Fixes to Cygwin/Mingw32 makefile, manual now compiles wxStaticLine, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 21:14:50 +00:00
Karsten Ballüder
3b0c8308f1 Minor fixes to plug memory hole, will add WXLO import ASAP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 20:55:14 +00:00
Vadim Zeitlin
2f5292c3df compilation fix for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 18:38:56 +00:00
David Webster
3c0df30065 Minor fix to environment to support co-existance of msw and os/2 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:35:17 +00:00
Vadim Zeitlin
a5fc62a112 Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:07:54 +00:00
Vadim Zeitlin
19d89516dd wxDataObjectComposite/Custom seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:05:51 +00:00
Vadim Zeitlin
fe26d444bb DEBUG => __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 16:38:17 +00:00
Vadim Zeitlin
0d0837053c small Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:59:33 +00:00
Vadim Zeitlin
ea9144a3bc minor aesthetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:56:41 +00:00
Vadim Zeitlin
270c23f7bd pasting text from xterm works, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:28:04 +00:00
George Tasker
e041ce574b Fixed __WXDEBUG__ references to use #ifdef rather than checking for it being greater than 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:23:41 +00:00
George Tasker
18f4ad8673 Fixed reversed logic on wxODBC_FWD_ONLY_CURSORS.
getRec now will return as successful if the result was SQL_SUCCESS_WITH_INFO


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:09:47 +00:00
Vadim Zeitlin
e66ad5c68d removing Makefile.ams (and minor additions/fixes to the samples)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:06:41 +00:00
George Tasker
ac99a98ff0 Fixed reversed logic on wxODBC_FWD_ONLY_CURSORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:59:26 +00:00
George Tasker
e3baecd7d6 wxEndBusyCursor() was being called, even when it was not needed, causing a wxAssert in debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:55:05 +00:00
Julian Smart
6adaedf0fc Made various Motif fixes, wxListBox/wxChoice derive from wxControlWithItems,
added release.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:53:39 +00:00
George Tasker
5e84fc5a82 Replaced an old ifndef FWD_ONLY_CURSORS with the new wxODBC_FWD_ONLY_CURSORS setup.h define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 13:46:18 +00:00
Robin Dunn
8a28f119c8 Sombody committed this with a hard-coded pathname for WXDIR. Fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 07:10:11 +00:00
Robin Dunn
4120ef2b38 wxPython updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 06:58:32 +00:00
Robin Dunn
085078a1c4 Made SetType public to match MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 06:07:20 +00:00
David Webster
5d4b632ba3 OS/2 PM Fixeups for fonts, validators, and html
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 05:20:31 +00:00
David Webster
57c4d796c5 OS/2 PM specific fixes for validators and fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 05:18:15 +00:00
George Tasker
aa33452c94 wxStrnicmp() function is not defined under windows, so I've provided a workaround that does not require that function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 01:17:24 +00:00
Julian Smart
01dba85a7f Various fixes for various compilers...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 18:34:36 +00:00
George Tasker
a968c19a82 GUI display problems fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 16:44:45 +00:00
Robert Roebling
81c67e27fd More replacements of strcmp -> wxStr..
Minor change in font code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 16:08:25 +00:00
George Tasker
8493118f58 Column name IS_DEVELOPER in index was shortened to IS_DEV to match the column name in the table. These names were shortened to allow use by dBase which only allows 8 character column names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:26:56 +00:00
George Tasker
d433a26fd4 Cleaned up a compile warning on the MAX_PATH definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:06:13 +00:00
Robert Roebling
9199e66fb5 Added wxStrnicmp and to wchar.h, not yet for Unicode mode.
Changed strcmp to wxStrcmp in db.cpp and dbtable.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 14:53:38 +00:00
George Tasker
d194ddf23b Undoing my last checkin so wxGTK compiles correctly under unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 14:43:30 +00:00
Julian Smart
ad556aa948 Tidied up wxHTML About HTML file (missing /td, /tr etc.: how did that work? :-));
added sample entries to index.htm; fixed some wxUSE_SPINBUTTON -> wxUSE_SPINBTN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 12:36:36 +00:00
Robin Dunn
65dd82cbce wxPython stuff:
1. Added test for HTML printing
  2. Update wxFontEnumerator
  3. wxPyEvent and wxPyCommandEvent derived classes now return the
     actual Python object in the event handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 07:49:09 +00:00
George Tasker
e4a330f1e5 Fixed a multiple define problem for strnicmp and stricmp by using the definition from utils.h if compiling for wx2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 02:03:37 +00:00
Vadim Zeitlin
6a2e72251f OS/2 patch from Stefan.Neis@t-online.de
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:48:34 +00:00
Vadim Zeitlin
f3ac12aa7a compile fix for VC++ 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:46:06 +00:00
Julian Smart
106f039552 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:43:45 +00:00
Robert Roebling
9f2d09aad2 Applied a few OS/2 patches for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:39:09 +00:00
Vadim Zeitlin
74d38ad8e2 1. more corrections to file dnd (works with testdnd GTK sample now as well)
2. restored STRING for g_textAtom, not text/plain


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:35:15 +00:00
Karsten Ballüder
61a6d4c23a some fixes and speedups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 18:23:50 +00:00
Vadim Zeitlin
810b5e1f3b wxFileDataObject supports GNOME file dnd now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:58:56 +00:00
George Tasker
9695185a70 Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:50:34 +00:00
Guilhem Lavaux
56dc1ffd50 Fixed wxMemoryOutputStream (it wasn't working at all)
Fixed wxStreamBuffer to support features of wxMemoryOutputStream
wxMMedia2 updates (various fixes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:44:03 +00:00
Václav Slavík
81915974f6 fixed URL parsing problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:28:02 +00:00
Julian Smart
0e528b997e Added some makefiles, fixed a BC++ problem in controls.cpp; changed some class
ordering for VC++ 1.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:12:10 +00:00
George Tasker
78f071b6cc Renamed FWD_ONLY_CURSORS to wxODBC_FWD_ONLY_CURSORS to avoid conflicts with other libraries. The setting for this define will be included in the setup.h files so that people using the Remstar ODBC classes will now be able to use data sources/ODBC drivers that only support foward scrolling cursors (like dBase).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:09:35 +00:00
Karsten Ballüder
b581c7e649 mouse selection handling fixed
wxGTK private clipboard data format and private selection are broken!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:59:44 +00:00
Karsten Ballüder
41ee29dfda fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:56:47 +00:00
Robert Roebling
4349acd401 wxListBox now sends events using AddPendingEvent(),
I wonder if that really is good.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:47:38 +00:00
Vadim Zeitlin
97206645f1 test for wxFrame::GetPosition/GetSize added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:12:44 +00:00
Václav Slavík
01325161d5 cosmetic changes : indentation etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:41:14 +00:00
Václav Slavík
5c172c1788 html help : added '?' icon to root node of contents panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:40:35 +00:00
Václav Slavík
42d306a033 wxHTML overview reorganized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:39:25 +00:00
Václav Slavík
6fa588a864 added list of tags supported by wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:39:01 +00:00
Václav Slavík
435151d7f2 added wxFontEnumerator::GetFacenames and GetEncodings that return array of facenames/encodings found by EnumerateXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:38:23 +00:00
Václav Slavík
f0dc00f39c fixed stupid typo I did a minute ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:28:24 +00:00
Václav Slavík
bd6882eed7 modified samples/html/test so that it loads inet fs handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:25:06 +00:00
Václav Slavík
7512153245 better-looking icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 13:38:22 +00:00
Robert Roebling
2d68e1b4f4 Fixed typos in frame and dialog,
Some improvemnts to DnD,
  It's no longer possible to close any
    frame if there is a dialog open.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 11:21:51 +00:00
Julian Smart
6e47faf150 Fixed image sample, dsp files etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 10:39:19 +00:00
Julian Smart
0a2017e01e Minor doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 10:22:11 +00:00
Robin Dunn
b1462dfa34 wxPython stuff:
1. Added Clipboard and Drag-and-Drop classes
  2. Added wxFontEnumerator
  3. Many changes to wxMenu, wxMenubar
  4. Various other changes and additions
  5. Updates to the demo
  6. Documentation updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:30:23 +00:00
Robin Dunn
024fb9b98a Fixed a misplaced } that was causing the wrong encoding to be enumerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:03:56 +00:00
Robin Dunn
82c87ed37c Stuff needed for the font sample to build with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:01:42 +00:00
Robin Dunn
5f287fcf1d added a WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:00:29 +00:00
Robin Dunn
7e69b0e8ac added fontenum.cpp for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 07:59:50 +00:00
Vadim Zeitlin
11c7d5b6d1 1. wxFontMapper seems to work for wxMSW
2. font functions moved into a separate file, duplicated code in font.cpp
   and fontdlg.cpp removed
3. wxCustomDataObject docs finished


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:43:31 +00:00
Václav Slavík
51f79d5c67 fixed memory leak in wxFilesystemHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:14:25 +00:00
Václav Slavík
ec939b6813 fixed some clipping related bugs in wxHTML priting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:13:28 +00:00
David Webster
87d673313d Change the const global wxDefaultValidator to a pointer for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 22:09:37 +00:00
Vadim Zeitlin
79e4b6277e wXMotif compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:36:35 +00:00
Vadim Zeitlin
864753e906 (start of) wxCustomDataObject docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:19:58 +00:00
Vadim Zeitlin
7beba2fc73 1. wxFontMapper almost finished
2. font helper functions are now in separate files, not utilsunx.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:03:19 +00:00
Robin Dunn
feef75abca Incremented the version number used in the DLL filename to match version.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 18:47:26 +00:00
Robert Roebling
faecf4cb9a This window positioning setting works on AfterStep
and almost on KDE 1.0, so lets leave it here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 18:25:40 +00:00
Karsten Ballüder
0c4234663d another operator needed for __alpha__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 17:04:13 +00:00
Robert Roebling
8487f88742 Added IsTopLevel() as a virtual function.
Added fontenum.hto filelist.txt,
  Changed window positioning code again,
  some more related things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Julian Smart
2bc1aa1174 Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:04:31 +00:00
Vadim Zeitlin
60be19c4ba fontmap.h/cpp and fontutil.h/cpp added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 14:41:46 +00:00
Vadim Zeitlin
7e14e49f38 compilation fixes for GTK+ <= 1.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 13:04:13 +00:00
Karsten Ballüder
ef500a4059 fixed menu accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 10:56:38 +00:00
Karsten Ballüder
bb44571b29 added missing event.Skip(), now menus work properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:56:19 +00:00
Stefan Csomor
519cb848a8 CW5.2 Pro Adaptions, wxMac starting to move in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:16:09 +00:00
Robin Dunn
20f2deb3cf Change a Popup menu from using a callback to using events. Can't test
it right now but it compiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 06:56:53 +00:00
Julian Smart
cd77c08509 Retyping some lines in tfontenc.tex seemed to remove a strange WinHelp compile
problem...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:43:52 +00:00
Vadim Zeitlin
3c1866e88f 1. wxFontMapper starts to materialise
2. wxFontEnumerator corrections: EnumerateFamilies => EnumerateFacenames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:40:41 +00:00
Julian Smart
7f24fdbfea Some doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:04:04 +00:00
Robert Roebling
2e5c594e36 Window placement changes. Pure guessing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 19:47:03 +00:00
Vadim Zeitlin
90c6f4d6f5 wxUSE_RADIOBOX/SLIDER/SPINCTRL added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 18:20:35 +00:00
Robert Roebling
330d6fd063 Minor doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 17:49:21 +00:00
Vadim Zeitlin
678b92a94a more samples are being built and samples/Makefiles uses SAMPLES_SUBDIRS
determined by configure which avoids trying to build the samples which won't
compile anyhow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:52:23 +00:00
Václav Slavík
e8ce9e6baf 2.2 release should happen in 1999, not 2000 :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:35:06 +00:00
Vadim Zeitlin
66cbc96ddf bug with object being passed through ... corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:33:09 +00:00
Vadim Zeitlin
508379ee46 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 15:59:39 +00:00
Vadim Zeitlin
58e648e00c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 15:49:20 +00:00
Karsten Ballüder
f83db66133 modification to AXP hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 13:02:26 +00:00
Karsten Ballüder
16c61f1b48 made new operator __alpha__ dependent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:43:42 +00:00
Karsten Ballüder
5367e67d63 added operator[](unsigned int) const -- testing it now on Linux/axp,
solaris, linux/i386


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:27:36 +00:00
Vadim Zeitlin
87a1e3085b 1. wxFileDataObject fixes from Ricky Gonzales - seems to work, so demo added
to the dnd sample and documented
2. wxLogTextCtrl gets status messages too (were just eaten)
3. wxWindow::Enable() goes down recursively
4. attempts at fixing wxButton::SetBackgroundColour() - didn't work :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 02:39:19 +00:00
Vadim Zeitlin
775a998ed0 wxFontEnumerator docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 23:51:07 +00:00
Václav Slavík
1db1f1ede2 added frame icon for HTMLhelp frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:40:48 +00:00
Václav Slavík
12909796a5 wxHTML now supports not only "&nbsp;"-like specials but "&nbsp " as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:39:51 +00:00
Václav Slavík
c32bfc1090 saving customization now works fine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:39:13 +00:00
Guilhem Lavaux
7f45dffc96 Added makefile.g95
Added some commentary in sndwin.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 18:09:06 +00:00
Robert Roebling
a583e623c0 Some menu things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 17:48:23 +00:00
Robert Roebling
f152cf5a84 A bit more testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:55:14 +00:00
Karsten Ballüder
cb81efcd84 Added a border around dialogs. Has anyone got a better solution?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:53:18 +00:00
Václav Slavík
ce7f10f2a6 fixed rounding error problem in wxPostscriptDC::SetFont when DC's user scale was != 1 ; this fixes AFM problem with wxLayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:33:25 +00:00
Václav Slavík
385c54d720 wxPostScriptDC::CanGetTextExtent now returns TRUE - bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:32:10 +00:00
Robert Roebling
763809100c wxDialog now stays on top of its parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 14:24:42 +00:00
Karsten Ballüder
1bb6398255 Improved tests for networks. Compiles.
PLEASE TEST ON AS MANY PLATFORMS AS POSSIBLE!
I can only test it on Linux, have no dialup running on Solaris, know nothing
about other Unixes. If there's a problem: mailto:karsten@phy.hw.ac.uk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 12:59:59 +00:00
Karsten Ballüder
08a43154b4 more asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:33:47 +00:00
Julian Smart
5efec44300 Changed \\ to \ again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:09:05 +00:00
Julian Smart
8c1c5302f3 Added check for sel == -1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:08:03 +00:00
David Webster
9ac6ff7b80 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 05:54:29 +00:00
Unknown (CR)
d21895aec4 Added generic/tabg to the GTK distribution. It was missing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 05:10:58 +00:00
Unknown (CR)
774b322d02 Fixed .Position -> .GetPosition for wxMouseEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 03:52:47 +00:00
Unknown (CR)
54b37e2e8b Fixed inverse masking on MSW imagelist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 03:52:12 +00:00
Vadim Zeitlin
4e16881a08 readded clipboard support to richedit sample and fixed a fatal bug in
wxCustomDataObject (uninitialized m_data) which this allowed to discover


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 01:13:04 +00:00
Vadim Zeitlin
51edda6af0 small corrections for dnd code and added wxFileDataObject demo to the sample
(wxMSW only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 00:32:11 +00:00
Vadim Zeitlin
c03648c251 more dnd/clipboard docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 00:29:20 +00:00
Václav Slavík
5b8ab3827f fixed compilation under GCC 2.95 - 'export' was used as variable name and GCC complained about export being a keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:24:26 +00:00
Václav Slavík
5558ce7ce4 AFM metrics were searched in /afm instead of /share/wx/afm ; did not try all AFM locations correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:23:24 +00:00
Václav Slavík
fcdb55192c fixed ^M at ends of lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:21:44 +00:00
Vadim Zeitlin
eb91c0be88 some files I forgot to add previously...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 22:47:19 +00:00
David Webster
476607a777 Updates for VA 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 22:41:55 +00:00
Julian Smart
51babd0983 Small compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 20:47:02 +00:00
Vadim Zeitlin
69a568f06b warnings (and may be a bug) corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 19:21:33 +00:00
Vadim Zeitlin
e657520984 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 19:18:44 +00:00
Vadim Zeitlin
ab9b9eabe6 missing -D_REENTRANT for HP-UX/Solaris finally seems to be fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:58:22 +00:00
Vadim Zeitlin
cfeb83fd7f another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:48:40 +00:00
Vadim Zeitlin
af8ec91907 and the compilation fix for the warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:46:56 +00:00
Vadim Zeitlin
bf57d1adac and the compilation fix for the warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:46:33 +00:00
Vadim Zeitlin
b02da6b187 many warnings fixed (from HP-UX compilation log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:41:23 +00:00
Robert Roebling
173348db5f wxDialogs now use GTK_WINDOW_DIALOG,
Corrected cursor setting bug with right aligned checkboxes,
  Disabled code in ~wxView that unset the m_currentView,
  One more thing I forgot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:11:18 +00:00
Vadim Zeitlin
4ff9eba644 disabled the old odbc code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:56:56 +00:00
Vadim Zeitlin
10c1d2177a bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:39:20 +00:00
Vadim Zeitlin
c71830c3b6 wxMotif compiles (and runs minimal sample) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:23:29 +00:00
Karsten Ballüder
d76e994a28 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:52:51 +00:00
Karsten Ballüder
ba337fe731 testing cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:51:22 +00:00
Vadim Zeitlin
788deba173 AC_X_XTRA restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:46:55 +00:00
Vadim Zeitlin
dd10a64696 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:27:42 +00:00
Vadim Zeitlin
8b85d24e4c additions for wxFileDataObject from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:20:40 +00:00
Vadim Zeitlin
a80c322c0d more tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:17:16 +00:00
Vadim Zeitlin
4aee367ed0 wxMenuItem::IsChecked() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:07:24 +00:00
Vadim Zeitlin
1ee4ead5af end label edit patch from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:05:25 +00:00
Vadim Zeitlin
1dddf8389f bug in wxMenuBase::FindChildItem() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:57:07 +00:00
Vadim Zeitlin
3096bd2fa7 include <wx/...> => include "wx/..."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:50:22 +00:00
Vadim Zeitlin
1987af7e9f wxGTK compiles (and seems to work) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:21:40 +00:00
David Webster
b86737ee11 More defines to get error codes out of OS/2 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:44:23 +00:00
David Webster
909b4f08a1 Process/thread work and API fix into network APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:42:09 +00:00
Karsten Ballüder
d9b77fb236 Added missing CPPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:41:28 +00:00
Julian Smart
1fb3eae500 Some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:04:44 +00:00
Karsten Ballüder
3e469ea37f Added wxINSTALL_PREFIX define to makefile and made dcpsg.cpp use it to
find the correct location of AFM files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 12:36:14 +00:00
Julian Smart
407f36811e Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 10:02:01 +00:00
David Webster
e92f266ca7 wxMenu implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:38:14 +00:00
David Webster
d8dd11bab4 thread #ifdefs for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:37:45 +00:00
David Webster
c5fb56c07a new wxMenu stuff and thread implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:36:20 +00:00
Vadim Zeitlin
dd60b9ec1e compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:31:51 +00:00
Vadim Zeitlin
600ea9da94 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:27:42 +00:00
Vadim Zeitlin
717a57c2fa 1. wxMenu changes: wxMenuBase appears, several new functions for dynamic menu
handling as well
2. new sample: menu
3. small corrections to wxFileHistory made possible by wxMenu changes
4. ugly fix for panel loaded from resources and TABbing
5. wxDataObject &c doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:25:43 +00:00
Guillermo Rodriguez Garcia
cf85cb95f1 new docs for wxsocket in 2.1.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 00:44:10 +00:00
Julian Smart
36edded90c Tidied some docs, made VC++ 6 DLL compilation work with wxvc_dll.dsp,
removed wxvc6.dsp, updated projgen, small fixes for OGL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 20:36:43 +00:00
Robert Roebling
fc9c7c09bd Small doc updates.
Distrib and makefile updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 18:20:39 +00:00
Karsten Ballüder
d361e74eb1 added support for global AFM path setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 15:24:28 +00:00
Julian Smart
9ffdee8074 Added some makefiles to HTML samples; added help.ico for wxHTML;
make richedit sample compile (but without clipboard ops)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 11:27:38 +00:00
Julian Smart
737f4d3d79 Corrected wxConfig usage problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 09:39:11 +00:00
Václav Slavík
3dabc03fef wxHtmlHelpController now accepts AddBook('archive.zip') and zip archive may contain arbitrary no of hhp projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:06:09 +00:00
Václav Slavík
aaa66113df added wxFileSystem::FindFirst and FindNext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:05:10 +00:00
Václav Slavík
6836465999 more wxHtmlHelpFrame fixes (didn't store customization correctly, still needs some fixing, will do asap)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:03:50 +00:00
Václav Slavík
62877de0ed added html help viewer sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:02:03 +00:00
Robert Roebling
59fe1666ce Distrib corrections,
Changed way to prevent toolbar from sending
    event when changes programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 16:42:46 +00:00
Robert Roebling
e90196a556 Distrib changes.
Augemnted version to 2.1.11.
  Applied patch for wxGenericValidator.
  Corrected MDI's wxActivateEvent code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 15:31:43 +00:00
Julian Smart
d139753aed Some edits to the schedule.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 12:48:23 +00:00
Julian Smart
6474416b2e Fixes for VC++ 4 compilation; fixed wxCommandEvent arg in grid.h;
added $(RM) variable to Mingw32 makefile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 12:03:20 +00:00
Robert Roebling
3da17724b6 More tab code corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 10:22:26 +00:00
Václav Slavík
2a0eb92258 fixed bug that caused assertion failure during HTML printing under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 21:36:48 +00:00
Robert Roebling
354aa1e366 Some work on tabbing and menu accels,
Added a missing "Activate()" to docvwmdi sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 15:08:33 +00:00
Ove Kaaven
cb36238601 Someone forgot wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 12:10:49 +00:00
Vadim Zeitlin
a1d58ddc15 wxFontEnumerator mostly works for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 00:08:04 +00:00
Robin Dunn
740c28d5e8 Fixed windows installer to not need a reboot and therefore not have
the bogus error message that freaked everybody out...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:29:42 +00:00
David Webster
dde11e6053 Execution control stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:29:22 +00:00
Robin Dunn
33a43c5e1e fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:26:06 +00:00
Robin Dunn
2abc0a0f9b Added wxPython support of new HTML Printing classes.
Fixed thread problem
Other miscellaneous fixes, minor additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:25:04 +00:00
Robin Dunn
dc2f8a65c0 Added wxPython support of new HTML Printing classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:21:54 +00:00
Robin Dunn
3135f4a778 Added WXDLLEXPORT to wxWndProc definition so wxGLCanvas could be used
with wxWindows DLL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:18:20 +00:00
Robin Dunn
b32c6ff062 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:16:53 +00:00
Vadim Zeitlin
5d20e510b1 styles for listboxes added for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 19:45:19 +00:00
Vadim Zeitlin
ddb2574624 platform.htm added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 19:41:51 +00:00
Vadim Zeitlin
669a6e11ae forgotten files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:55:14 +00:00
Vadim Zeitlin
36f210c81e 1. added encoding param to wxFontEncoding::EnumFamilies() which allows to get
the list of families supporting the given encoding
2. added encoding decoding logic to src/gtk/font.cpp so that now choosing an
   encoding different from default in GTK+ font selector dialog actually works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:54:13 +00:00
Robin Dunn
8b99adf475 EXPORTED an array to quiet the DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:32:32 +00:00
Robert Roebling
da048e3d4c Renamed GtkMyFixed to GtkPizza,
Made default button work more often than before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:20:44 +00:00
Vadim Zeitlin
928b5c0860 /usr/include added back for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:36:56 +00:00
Vadim Zeitlin
995de2b488 compilation fix for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:17:48 +00:00
Sylvain Bougnoux
825ba8f0de Add operator << (ostream&, const wxString&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:11:25 +00:00
Sylvain Bougnoux
191549ed17 Accept list of separators as a wxString instead of wxChar\nTurn NextNonWhiteSpace to NextNonSeparators\nIntroduce EatEOL (major factorization)\nFix GetC() call on last char introduce a bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 11:18:46 +00:00
Michael Bedward
5612a51858 Changes to fix problem where spurious scrollbar(s) were displayed when
the window size had changed and was able to display all rows and/or
all cols.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 07:43:04 +00:00
Ove Kaaven
66a77a748e Well, wxHTML compiles in Unicode mode now. But if it works (without
further changes), it shall be considered proof that there is such a
thing as a divine intervention.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 03:10:22 +00:00
Ove Kaaven
0e36104428 Well, can't hurt to do some char -> wxChar, though wxHTML may not work
in Unicode mode quite yet...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 02:14:51 +00:00
Ove Kaaven
e08ee38353 wxT() for a Spanish(?) debug message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 02:02:58 +00:00
Ove Kaaven
7dd6292482 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 01:59:38 +00:00
Ove Kaaven
6eec2beef7 A few Unicode compilation fixes (mostly wxT())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 01:55:00 +00:00
David Webster
3e7fb41b4b SpinCtrl update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 22:38:37 +00:00
Julian Smart
8aaef28406 Corrected small mistake (set static variable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 13:13:35 +00:00
Vadim Zeitlin
ce89fdd22e wxGTK::wxSpinCtrl API synchronised with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 13:04:45 +00:00
Sylvain Bougnoux
41d1f82d93 conform to new wxTextInputStream >> wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 12:37:44 +00:00
Sylvain Bougnoux
9853d97739 operator >> wxString eat word by default. \n Add wxTextInputStream::Get/SetStringSeparator.\n Add wxTextInputStream::wxTextInputStream(wxInputStream, const wxChar &sep=' ')
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 12:33:55 +00:00
Julian Smart
87b501f0f7 Added CS_OWNDC fix to wxGLCanvas and corrected sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 11:35:45 +00:00
Ove Kaaven
f6e9f05fa7 Use wxConvertMB2WX to fix compilation error in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:31:16 +00:00
Ove Kaaven
80df4d3169 wxFNCONV no longer references wxConv in a non-Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:29:51 +00:00
Ove Kaaven
345b024712 Fixed typo in ARGS_CLEANUP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:14:10 +00:00
Julian Smart
449f38b57e Do... fixes and OnMenuHighlight correction (so MDI sample now works)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 09:15:42 +00:00
David Webster
2bd5bbc948 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 04:48:40 +00:00
Vadim Zeitlin
678cd6de66 1. corrected (but the fix is ugly) the multiple def button problem
2. corrected a bug which disabled all accels for MSW (sic)
3. added SetValue/GetValue to wxSpinCtrl
4. modified wxGetNumberFromUser to use wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 01:17:35 +00:00
Vadim Zeitlin
baccb51431 1. more code commented out by DW (@#%#%!#%!@) uncommented
2. wxSpinCtrl calculates its default size better and sends notifications
   as wxSpinButton does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 00:38:59 +00:00
Václav Slavík
4e67bfc7a4 added copy ctor to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:33:05 +00:00
Václav Slavík
ecf9e593f8 bugfix: wxList's copy ctor now works with keyed lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:32:54 +00:00
Václav Slavík
0eb8c9383b added wxHtmlParser::{Push|Pop}TagHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:31:13 +00:00
Václav Slavík
09397bc6e9 documented Harm's changes to wxHTML help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:30:38 +00:00
Václav Slavík
223cb5ed5a cleaned Harm's new wxHTML help code (removed search.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:29:05 +00:00
Václav Slavík
d5bb85a0a4 cleaned Harm's new wxHTML help code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:26:24 +00:00
Václav Slavík
a7a4d01bdb added wxHtmlParser::{Push|Pop}TagHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:25:45 +00:00
David Webster
29435d814d Toolbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 22:47:04 +00:00
Vadim Zeitlin
afc31813f6 checks for time functions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:43:07 +00:00
Robert Roebling
76db86e7e1 Minor Motif changes, made scrollsub sample work somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:01:58 +00:00
Vadim Zeitlin
bd8ed12c5a fix for make clean when building in topdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 18:39:21 +00:00
Vadim Zeitlin
c63c71069e Solaris fixes: -lnsl, -lXext, -lsocket added if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 18:27:48 +00:00
Vadim Zeitlin
3e58661e97 DATAFILES may contain directories too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:25:50 +00:00
Vadim Zeitlin
f512f90a83 always use wxString::operator[](size_t) - wxWin doesn't compile without it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:15:29 +00:00
Guillermo Rodriguez Garcia
304ccacc13 removed debugging code which shouldn't be there :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:03:07 +00:00
Julian Smart
733dac4760 Small changes to peripheral files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 16:18:22 +00:00
David Webster
a66ebb5b82 Take out statbrpm, add statline back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 15:15:41 +00:00
Vadim Zeitlin
10f2d63a82 fix for native compilers on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:44:07 +00:00
Vadim Zeitlin
95d15e64c3 trying to get it back onto the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:43:39 +00:00
David Webster
75bce3ad34 Replaced inadvertant C++ comments with standard 'C' comments for VisualAge fixups (VA will not compile non-ANSI C code anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:43:35 +00:00
Vadim Zeitlin
9874b4ee83 1. wxMenu{Item|Bar} modifications for wxMotif
2. corrected a crash on startup if wxDataObject is used in Motif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:19:07 +00:00
Vadim Zeitlin
d537080184 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:10:40 +00:00
Guillermo Rodriguez Garcia
f3e6095286 Bug in GAddress_UNIX_init fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 10:48:52 +00:00
Guillermo Rodriguez Garcia
e22da5d625 Stupid bug in GAddress initialization prevented BCC to work. (I still
wonder how this could work with other compilers :-( ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 10:44:40 +00:00
Julian Smart
25f4712757 Fixed wxMotif's wxRegion/wxRegionIterator to optionally use wxRects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 08:59:23 +00:00
Michael Bedward
52068ea5ff Fixed bug that caused wrong block of cells to be selected if the
mouse was dragged out of the grid cell area.

Cell text values now echo changes in top edit control if in-place
editing is disabled.

Changed highlight scheme again so that a border is drawn around the
current cell whether in-place editing is on or off. Hopefully this is
less confusing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 03:05:05 +00:00
Vadim Zeitlin
ad9bb75ff2 1. regenerated the makefiles to include menucmn.cpp
2. more compilation fixes for DW changes
3. implemented dynamic menu support for wxMSW
4. added code to the toolbar sample to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 23:38:33 +00:00
Vadim Zeitlin
a8cfd0cbf1 wxMenuBarBase for MSW (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:35:25 +00:00
Vadim Zeitlin
3dfac9707a 1. added wxMenuBarBase
2. corrected typo in gtk/menu.cpp when dealing with Fn accel keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:07:04 +00:00
Julian Smart
196c87f43d Fixed wxFont mis-specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 18:40:50 +00:00
Julian Smart
9c5b332b83 Added temporary iterator fix (generates just 1 bounding rectangle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 17:12:26 +00:00
Vadim Zeitlin
92d2389ec5 reverted last changes by DW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 16:14:24 +00:00
Julian Smart
ee1aaf9996 Motif: made file selector and message box properly take on background colour.
Initialised a member variable in wxDC, so e.g. bombs sample now works
and splitter displays something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 15:16:29 +00:00
Vadim Zeitlin
adc6fb165a attempt to fix wxMenuBar::EnableTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 14:38:34 +00:00
Vadim Zeitlin
eb553cb25b 1. corrected uninitialised variable (which led to crash) in wxListBox
2. corrected assert failures in wxChoiceDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:54:58 +00:00
Vadim Zeitlin
505928852c fix for items without accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:45:29 +00:00
Julian Smart
af111fc338 Removed lots of wxMotif compile warnings. Copied new install.txt into old
install.txt (wxMotif).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:33:13 +00:00
Vadim Zeitlin
37d92fba28 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:32:56 +00:00
Michael Bedward
49db7de411 Fixed bug that caused crashes if wxGrid::OnSize was called before grid was properly initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 06:52:04 +00:00
David Webster
afbdc52a1b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 04:47:56 +00:00
David Webster
50c375d311 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 04:38:15 +00:00
Julian Smart
2799df0c0d Added WXDLLEXPORT to wxChrono
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 21:23:51 +00:00
Karsten Ballüder
faf17c8acb fixed timer related bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 20:06:32 +00:00
David Webster
16a12a3d27 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 20:03:39 +00:00
Robert Roebling
257980e6f2 Makefile corrections after the setup.h changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 18:56:26 +00:00
Vadim Zeitlin
d111a89a85 1. moved fontenum.cpp to unix because implementation is common to X and GTK+
(had to add wxGetDisplay() to wxGTK)
2. implemented EnumerateEncodings() - now only if we could do something useful
   with this...
3. added makefile for the console sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 17:22:13 +00:00
Robert Roebling
bbeb6c2bc2 Mem leak in new accelerator code.
Install things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 16:55:15 +00:00
Vadim Zeitlin
bbea8df359 it now lives under unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 16:41:22 +00:00
Vadim Zeitlin
974e8d946f 1. small dnd compilation fixes (no attempt to make icon setting work though)
2. wxMenuItemBase appears
3. more key combinations handled by wxGTK for menu accels


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 15:51:37 +00:00
Julian Smart
84a3fe2c9b Added wizard sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:30:09 +00:00
Julian Smart
60a67569bf Added more compat. functions for wxGrid so grid sample compiles;
fixed regtest compilation prob. (but still crashes on exit); fixed
tab sample compile problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:28:43 +00:00
Julian Smart
09fb22cf3c Changed #include file ordering so it compiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:27:04 +00:00
Julian Smart
cb34a6eeac Added further makefiles for wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:24:46 +00:00
Julian Smart
448af9a46e Cosmetic changes in setup0.h; Latex edits; PaletteSize -> wxPaletteSize;
generate newgrid VC++ project files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 13:46:48 +00:00
Michael Bedward
6ac64257e4 Fix for incomplete initial display sometimes with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 13:17:36 +00:00
Karsten Ballüder
997bba3675 bug fix for disable auto poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 12:54:31 +00:00
Vadim Zeitlin
8cf1c13cfa setup.h moved (and not copied) to the correct location by configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 11:30:31 +00:00
Julian Smart
8a5679d101 Added mysteriously-missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 08:18:37 +00:00
Vadim Zeitlin
572eed55ba BC++ 16bit makefile fixes (obj isn't replaced with suffix in filenames)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:41:07 +00:00
Vadim Zeitlin
876325579b VC++ 1.5 makefile fixes (lib split, C objs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:37:40 +00:00
Vadim Zeitlin
c54f522622 Symantec makefile fixes (for OLE files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:22:06 +00:00
Vadim Zeitlin
d98fcc003d Watcom makefile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:19:13 +00:00
Vadim Zeitlin
ee31c269fc /usr/include fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 06:33:22 +00:00
David Webster
735c116a84 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 04:05:02 +00:00
David Webster
004fd0c883 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 02:41:20 +00:00
Ove Kaaven
2695a14e85 Changed wxGetSingleChoiceData() to take void* client data pointers instead
of char*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 20:42:35 +00:00
Julian Smart
8fb3a512a8 Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:50:17 +00:00
Vadim Zeitlin
2d93e1335c wxDropSource now has 3 custom cursors for copy/move/nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:34:11 +00:00
Robert Roebling
f96ac56ad3 wxFrame::Set/GetClientSize() uses toolbar area again,
wxWindow no longer reroutes mouse events to invisble windows,
  Compile fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:09:50 +00:00
Karsten Ballüder
99d967ac6f uncommented ping method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 18:32:30 +00:00
Robert Roebling
11e1c70d8e Small distrib changes,
Use GTK's native insert for wxListBox,
  Compile pacthes for AIX,
  wxClipboard things,
  Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
  Ignore toolbar size in wxFrame::Get/SetClientSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00
Vadim Zeitlin
185fa6bf6f 1. corrected client data deletion in wxListBox (no more memory leaks in controls
sample)
2. added wxST_NO_AUTORESIZE style for wxGTK and wxMSW and added test for it to
   the controls sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:29:08 +00:00
David Webster
e6ebb51430 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:57:35 +00:00
Julian Smart
ace03f87d6 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:14:05 +00:00
Julian Smart
c7def858e5 Added small library binaries to lib directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:09:54 +00:00
Julian Smart
5ae4432e86 Removal of old src/msw/ctl3d files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:07:08 +00:00
Julian Smart
0cdf89abb1 More Watcom C++ compilation stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 13:07:26 +00:00
Robin Dunn
99a49d3e67 Squashed another threading and interpreter lock bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 05:16:56 +00:00
Vadim Zeitlin
2b2739754f 1. compilation fix for wxArrayTreeItemIds
2. small bug fixes for recent fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 00:30:53 +00:00
Vadim Zeitlin
8ee9d6182c 1. wxDropTarget::OnData() returns wxDragResult now, not bool
2. fixed assert failure in wxMSW::wxListBox
3. wxFileHistory automatically deletes non existinf files from menu
4. wxDropTarget coordinates are client (and not screen) under MSW too
5. wxConvertBitmapToDib and vice versa seem to work!
6. client data field if filled by wxListBox and wxChoice and it's also deleted
   (this just wasn't done before!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 23:40:55 +00:00
Julian Smart
4d85bcd1f5 BC++ and Watcom C++ makefile and source fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 19:55:01 +00:00
Karsten Ballüder
18c98e42ee minor bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 11:01:02 +00:00
Robert Roebling
d7928388eb Fixed resizing problem with GTK 1.2.3 notebooks.
Added wxSizer test to controls sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 10:40:04 +00:00
Robin Dunn
775e1c62be Added missing constructor for wxCustomDataObject so the DLL would
link.  It's just a guess though so it should be checked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 06:42:24 +00:00
Robin Dunn
d9a012add9 Apparent typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 04:27:52 +00:00
Robin Dunn
f078d013ae generated source updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 03:35:37 +00:00
Robin Dunn
9d8bd15f99 Fixed a deadlock problem when using threads
Incremented version number

Added some missing methods and such

Minor updates to a couple demos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 02:33:44 +00:00
Robert Roebling
7b5d569973 Added wxDropSource::GiveFeedBack().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 22:43:21 +00:00
David Webster
dcd307ee1f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 22:00:20 +00:00
J. Russell Smyth
3f9ca77023 Fixed "torn" patch line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 21:44:08 +00:00
David Webster
2185635d87 Update for VA V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 20:40:13 +00:00
Vadim Zeitlin
6c8a980fc4 1. sorted wxListBox and wxComboBox seem to work under wxGTK
2. to support this, new class wxControlWithItems added (ctrlsub.h/cpp) and the
   controls sample modified to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 18:00:39 +00:00
Vadim Zeitlin
2ee3ee1bc8 wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
to support sorting, also compilation fixes in dataobj.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:55:27 +00:00
Robert Roebling
bd77da975b Compile fix for wxDataFormat cast,
Unfinished code for wxDragCopy vs. wxDragMove,
  Corrected key accel code for wxFrame as children of wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:49:39 +00:00
Vadim Zeitlin
1e8335b0b7 MSW compilation fixes (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:26:45 +00:00
Vadim Zeitlin
b56c22469a tests for sorted wxChoice added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:13:51 +00:00
Julian Smart
88b1927cb3 More broken code corrections; broken Latex file corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:08 +00:00
Vadim Zeitlin
e01c8145b1 1. some fixes for wxSortedArrayString
2. wxChoice understands wxCB_SORT under GTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:04 +00:00
Vadim Zeitlin
90bc25c7c9 yet another BC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:07:05 +00:00
Julian Smart
b0a6c154de BC++ fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:45:04 +00:00
Vadim Zeitlin
c32a8bd4db another BC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:27:43 +00:00
Julian Smart
1a7f306263 Modified Mingw32 makefiles to compile with Mingw32 2.95 or earlier;
some wxMSW/gcc compile fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:03:54 +00:00
Vadim Zeitlin
4b3d29db08 wxDataFormat default ctor doesn't crash for global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 11:37:39 +00:00
Vadim Zeitlin
0c2b453f0a attempt to fix BC++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 11:24:01 +00:00
Vadim Zeitlin
e87271f358 1. made wxBase compile/link/run again under Unix
2. added wxSortedArrayString class and documented it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 09:24:15 +00:00
David Webster
5dcec1d99b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 04:40:12 +00:00
David Webster
6dddc146fb *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 04:37:39 +00:00
David Webster
2e1a688e3e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 22:37:14 +00:00
David Webster
4004aba331 VA fussy compiler fix (must qualify any reference to member more than one class up the inheritance tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 22:36:51 +00:00
Robin Dunn
dcc7139872 Added some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 21:13:21 +00:00
Vadim Zeitlin
12db77cab1 wxMotif compilation fixes for wxDataObject and PROCESS_EVENTS (wxSocket)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 20:16:53 +00:00
Vadim Zeitlin
a64a02efae and the compilation fix which really compiles, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:44:11 +00:00
Vadim Zeitlin
6663339816 compilation fixes for old gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:33:03 +00:00
Vadim Zeitlin
bc450ccdff a better compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:31:23 +00:00
Vadim Zeitlin
fb61df8580 compilation fix - as nobody else doesn't seem to want to do it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:21:43 +00:00
Vadim Zeitlin
e30d5976c9 and some more WXUNUSED() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:16:25 +00:00
Vadim Zeitlin
f2491e2d19 some WXUNUSED() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:15:58 +00:00
Vadim Zeitlin
90e12284ec found the double deltion bug - now it seems to work under wxGTK!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 18:30:50 +00:00
Vadim Zeitlin
2edc8f5bd6 minor change: disable debug messages flood from OnDragOver
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 18:04:20 +00:00
Vadim Zeitlin
c9057ae1c5 OnEnter/OnDragOver API update (compiles, links, somewhat runs under wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 17:47:45 +00:00
Robert Roebling
e5d6aa2208 A bit more or multi-format clipboard.
Added == operator to wxDataFormat for standard types (again).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 16:53:38 +00:00
Karsten Ballüder
2c41c4404c improved dialup manager, added wxALL_FILES define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 15:00:17 +00:00
Robert Roebling
572c6194d3 wxSlider should now display int values,
Corrected garbage deletion in dnd sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:53:42 +00:00
Vadim Zeitlin
135ebb43cb readding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:14:10 +00:00
Vadim Zeitlin
f3d4cc30e9 removing corrupted files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:13:42 +00:00
Vadim Zeitlin
ffd56fbcb5 and now it even compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:00:30 +00:00
Vadim Zeitlin
ae125753e4 updated the makefile to copy dnd.wxr so that the program can find it,
don't forget to open the clipboard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:57:08 +00:00
Vadim Zeitlin
f536e0f24b wxClipboard::IsOpened() and wxCLipboardLocker helper class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:56:34 +00:00
David Webster
51d7e4e762 Support different for Visualage Versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:44:31 +00:00
Vadim Zeitlin
08794f696f added helpext.cpp and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:41:18 +00:00
Vadim Zeitlin
ffaaaacbca added the makefile for tex2rtf compilation using configure, fixed compilation
for wxUSE_HELP == 0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:40:47 +00:00
Vadim Zeitlin
d54598dd85 some conflicts resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:40:07 +00:00
Robert Roebling
97c79de27c More DnD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:09:06 +00:00
Vadim Zeitlin
79ec2ce20e some compilation warnings/errors fixed (still doesn't compile under wxGTK though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 12:46:48 +00:00
Robert Roebling
b068c4e8a1 Made wxGTK compile and link again. Broke wxMSW a little.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 10:23:30 +00:00
David Webster
1be7f92adb *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 05:13:26 +00:00
Ryan Norton
d37acbdf1c Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:16:19 +00:00
Vadim Zeitlin
af5ba963e7 create makefiles in right location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:15:07 +00:00
Vadim Zeitlin
c493315781 added wxDataObject related files and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:13:46 +00:00
Vadim Zeitlin
3922ecc98e more files for wxDataObject change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:06:27 +00:00
Vadim Zeitlin
9e2896e5c8 wxDataObject changes - ok for MSW, still not for GTK/Motif/...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 01:58:57 +00:00
Vadim Zeitlin
e1ee679c2e wxDataObejct and related changes (won't compile right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:42 +00:00
Vadim Zeitlin
df485dc0d0 vi swap files added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:02 +00:00
Vadim Zeitlin
3f364be84b added dobjcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:22:47 +00:00
David Webster
10e5b9303b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 22:41:35 +00:00
Robert Roebling
2f073eb2e0 Fixed problem with mouse events getting sent to wrong
children when these were scrolled.
  wxCheckBox and wxRadioButton now have cursors and
    will do other things more sanely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 20:38:47 +00:00
Robin Dunn
a6aa9b1ee8 Since wxPanel is now AutoLayout aware, removed indirect auto layouting
of child windows from wxNotebook and wxSplitter, as per Robert's
request.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 18:30:47 +00:00
Václav Slavík
50073cf24c does compile under MSW now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 18:23:41 +00:00
Robin Dunn
f6aa390384 fixed compile error for FINAL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 17:46:37 +00:00
Robin Dunn
0398b1d65d Size the notebook page when it is added to the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 17:31:53 +00:00
Robin Dunn
1d2a5b31b1 forgot the clean target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 16:53:01 +00:00
Robin Dunn
7ac4c23700 Will now make glcanvas_d.lib if FINAL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 16:51:42 +00:00
Robert Roebling
3017f78d67 Minor Reparent() and SetToolBar() fix for wxFrame.
Corrected size reported by wxToolBar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 15:30:42 +00:00
Václav Slavík
280132e34e wxHtmlEasyPrinting now uses wxThePrintSetupData - creates local copy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 08:49:53 +00:00
Robin Dunn
2cdac55878 made wxPanel be auto layout aware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 05:08:37 +00:00
Robin Dunn
27dc7e21d9 made wxPanel be auto layout aware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 04:57:45 +00:00
David Webster
78d50441dd *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 04:42:32 +00:00
Julian Smart
ac0ac8241f Fixed wxSlider95 bug; updated .dsp files; added Set/GetLastDirectory to wxDocManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 22:18:32 +00:00
Robert Roebling
8e00741dbd Further DnD changes. Untested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 22:13:33 +00:00
David Webster
7cdc2f1e42 Fixes for long to wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 21:03:55 +00:00
David Webster
d6d3a0217e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 18:53:33 +00:00
Robert Roebling
a3e7d24d21 Changed two conflicting defines in defs.h
DnD multiformat fine-tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 15:12:11 +00:00
Vadim Zeitlin
98f026a6e4 accels for menu commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:58:16 +00:00
Vadim Zeitlin
7c7d8b16cb some more TODOs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:58:05 +00:00
Vadim Zeitlin
adaa20adcf never undefine inline for C++ sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:57:34 +00:00
Robert Roebling
d6538e2c55 Added size hints to dialog,
Corrected client data "code" for wxChoice,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 10:51:48 +00:00
Michael Bedward
bcdfb2cf30 Removed #pragma implementation "appbase.h" which caused duplicate symbols
to between app.o and appcmn.o


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 09:21:44 +00:00
Michael Bedward
c336585eec Added demo of handling EVT_GRID_SELECT_CELL.
A couple of other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:27:56 +00:00
Michael Bedward
749692cc9f Added EVT_GRID_SELECT_CELL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:24:46 +00:00
Michael Bedward
17732cec28 Added EVT_GRID_SELECT_CELL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:14:27 +00:00
Robin Dunn
305b8c10f1 Added a simple makefile for those whose fingers can't type anything
but "make install"

Ensure that the full TARGETDIR exists

changed the build scripts to play nicer with make.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 05:01:36 +00:00
Michael Bedward
7b65ea1af9 Numerous changes to comply with use of wxCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 03:26:24 +00:00
Robert Roebling
1dd989e1bf New wxDataObject etc. Almost works.
A few more compatibility funcs for (long*) vs (int*).
  Makefile.in regenerated from filelist...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 22:22:56 +00:00
Václav Slavík
314260fbd0 wxUSE_HTML was missiing at some places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 19:46:54 +00:00
Vadim Zeitlin
9abe166a30 wxControl and wxChoice derive from the base classes under wxGTK too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:45:28 +00:00
Vadim Zeitlin
ec6c9ccd7f added appcmn.cpp to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:15:21 +00:00
Vadim Zeitlin
72cdf4c9b3 1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
   wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Vadim Zeitlin
72dd34b5dc don't try to build shared library on platforms not supporting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:12:14 +00:00
Vadim Zeitlin
26b8332978 include/wx/choice.hpragma warning is only for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:57:21 +00:00
Vadim Zeitlin
3f1c6a14cb compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:55:17 +00:00
Vadim Zeitlin
7ffdaf81b5 compilation fix for non OLE clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:53:47 +00:00
Vadim Zeitlin
12234741d9 gcc warning about printf() format mismatch corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:29:23 +00:00
Vadim Zeitlin
47765ba2b8 gcc warning about printf() format mismatch corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:19:19 +00:00
Sylvain Bougnoux
87202f787c Add wxImage::CanRead, wasn't in 1.59 ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:18:15 +00:00
Vadim Zeitlin
ae8b97cf4b added a rule about DoXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 13:17:43 +00:00
Vadim Zeitlin
ce1a1ff40a described a patch to mingw32 headers to fix va_arg warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 13:05:13 +00:00
Robert Roebling
c6d73ef67d Corrected wxImage for use with mono wxBitmaps,
Corrected compilation of wxApp without threads (untested).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 08:51:23 +00:00
David Webster
d90895ac11 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:30:47 +00:00
Michael Bedward
45bee2eea9 Removed unused code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:16:29 +00:00
Michael Bedward
edc2c29006 Improved cell highlighting when in-place editing is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:13:45 +00:00
Vadim Zeitlin
98397babd3 part of dnd sample I forgot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:10:22 +00:00
Vadim Zeitlin
d59ceba572 1. more drag and drop and clipboard changes:
a) OLE clipboard works fine
 b) wxBitmapDataObject now accepts DIBs (but doesn't give them back :-( )
 c) bugs in sample corrected
2. wxFatalExit() replaced with wxFAIL_MSG() in bitmap.cpp and dcmemory.cpp
3. wxFrame::ClientToScreen and ScreenToClient() replaced with DoXXX() - like
   this, they don't hide the base class versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:08:40 +00:00
Vadim Zeitlin
23d277e683 attempt at documenting drag and drop and clipboard classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 23:57:10 +00:00
Vadim Zeitlin
228de783a9 corrected serious bug in SetHBITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 21:24:31 +00:00
Václav Slavík
efba2b89f1 HTML_xxxx constants changed to wxHTML_xxxx (with backward compatibility through WXWIN_COMPATIBILITY_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 20:52:29 +00:00
Vadim Zeitlin
e8c504562f added several other accel strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 20:47:51 +00:00
Robert Roebling
510d156fc5 Added temporary test to splitter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 19:54:51 +00:00
David Webster
04701dd94f *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 17:23:27 +00:00
Robert Roebling
eb38f734d2 Small fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 15:59:20 +00:00
Robert Roebling
d8d474af58 Distrib changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 14:55:39 +00:00
Václav Slavík
3ce369e687 added HTML printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 13:03:40 +00:00
Robert Roebling
30760ce7e5 Applied Diana's font patch II
Made wxGLCanvas work again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 10:22:45 +00:00
Vadim Zeitlin
8e193f384f 1. wxPostEvent added and documented
2. Made it possible to have wxDataObjects which support multiple formats
   painlessly
3. Extensively modified dnd sample to show a "real life" wxDataObject


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 01:18:49 +00:00
Robert Roebling
6d693bb4fc Restored wxSizeEvent code form last week -> wxGLCanvas
probably broken again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 20:07:16 +00:00
Robin Dunn
c4d83d0a59 Changed an OBJARRAY to an EXPORTED_OBJARRAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 18:09:56 +00:00
Václav Slavík
559fe022db wxHTML classes description is now in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:38:26 +00:00
Václav Slavík
7087444f7e fixed bug in PS clipping (non-virtual SetClippingRegion was overloaded)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:37:35 +00:00
Václav Slavík
e52d6dbca3 wxHtmlCell::AdjustPagebreak now works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:37:13 +00:00
Václav Slavík
eb3a4aa9aa wxHtmlCell::AdjustPagebreak documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:28:03 +00:00
Václav Slavík
89966d5c0d SetFonts methods have const param now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:27:35 +00:00
Václav Slavík
d95e254418 removed wxVERSION_* macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:24:28 +00:00
Julian Smart
fcd86df154 Added instructions to Forty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 08:57:14 +00:00
Robin Dunn
1dec68aa52 Added some definitions, a missing method, and fixed a compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 06:09:13 +00:00
Robin Dunn
5a7823f599 Enabled to be run without splitters to track down possible bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 06:08:16 +00:00
Vadim Zeitlin
1bb27b0cc6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 23:04:24 +00:00
David Webster
409c9842c7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 21:00:38 +00:00
Vadim Zeitlin
63d963a189 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 19:04:05 +00:00
Vadim Zeitlin
a492cb0f49 unused param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 18:12:56 +00:00
Vadim Zeitlin
a1fffa9fd5 don't draw with NULL font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 18:09:45 +00:00
Vadim Zeitlin
936895ee9d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:59:05 +00:00
Vadim Zeitlin
c19c1ca9be compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:49:56 +00:00
Vadim Zeitlin
729d8f9158 warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:47:34 +00:00
Vadim Zeitlin
d64af447da on some systems (HP-UX), strtok_r() needs _REENTRANT to be defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:35:14 +00:00
Vadim Zeitlin
80810ca399 let's not forget that \& has lower priority than == in C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:15:43 +00:00
Vadim Zeitlin
995612e2ab 1. wxImageHandler::DoCanRead() introduced to solve the virtual function name
hiding problem
2. wxPNMHandler::CanRead() shouldn't use wxT() - should it?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:59:32 +00:00
Vadim Zeitlin
52f13e4930 resolved a conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:28:09 +00:00
Vadim Zeitlin
cb0f56f978 resolved a conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:21:25 +00:00
Vadim Zeitlin
5b7f1aab47 compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:14:01 +00:00
Vadim Zeitlin
2b835535a9 removed wxDialog::Centre()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 15:49:05 +00:00
Robert Roebling
ecab4dba7d scrolling of foreign windowsplus sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 14:59:44 +00:00
George Tasker
9c40a88dbb Removed a variable declaration from within a FOR statement for compilation on HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 10:11:06 +00:00
David Webster
11e59d47c0 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 04:07:54 +00:00
David Webster
fb46a9a6c6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 22:36:24 +00:00
Julian Smart
4c0a2c5c3e Updated install.txt, added double-inclusion guard, corrected a GnuWin32 thing
in spinctrl.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 17:47:31 +00:00
Robert Roebling
be0872076f HP-UX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 17:08:31 +00:00
Vadim Zeitlin
458ed37d80 never undefine 'inline' keyword for C++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:52:35 +00:00
Vadim Zeitlin
d607e6c39d manually test for X11 headers/libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:43:11 +00:00
Vadim Zeitlin
9e92b089c0 NULL shouldn't be used in test programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:18:39 +00:00
Harco de Hilster
8f8ca6c952 fixed some frame cleanup stuff; The main frame (MyFrame) explicitely closes
the helpframe now before deleting the config pointer and closing itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 14:57:17 +00:00
Julian Smart
f3ef286fee Added sqltypes.h (for Cygwin b20), some other Cygwin fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 14:10:59 +00:00
Robert Roebling
5451765210 Changed time of sending the wxSizeEvent and assorted things,
this made wxGLCanvas work,
  wxMiniFrame looks correct again,
  Corrected makefile for HTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 13:09:01 +00:00
Vadim Zeitlin
791a21023f init.cpp isn't included in the makefiles for wxMSW any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:55:26 +00:00
Vadim Zeitlin
be4c1d33a7 -mwindows added for mingw32 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:49:30 +00:00
Julian Smart
b4fe51258d makeg95.env edited for Mingw32/gcc 2.95 compilation; _T not redefined for
Mingw32; removed init.cpp from makefile.vc (tmake keeps generating it);
added spinctrl.cpp to MSW section in filelist.txt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:37:52 +00:00
Vadim Zeitlin
da8bed9bfd = replaced with ==
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:31:35 +00:00
Vadim Zeitlin
a0c3c734d7 more mingw32 warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:02:03 +00:00
Julian Smart
cd34332fc4 Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 10:20:38 +00:00
Robert Roebling
cf1f0870d8 Applied patches for AIX,
Corrected prop dialog,
  Tabbing in parent top-level-windows no longer possible,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 09:29:20 +00:00
Julian Smart
a9b832dd86 Added makewise.bat, for making a WISE installation automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 08:56:05 +00:00
Julian Smart
1c9143bd11 Added system DLL file installs for makewise.bat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 08:54:50 +00:00
Michael Bedward
af563b6612 Regenerated from tmake after editing filelist.txt to add gridg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:41:22 +00:00
Michael Bedward
e7494fa996 Put gridg.h back so that it gets installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:36:05 +00:00
Michael Bedward
5795d034f1 Changed all EVT_WXGRID... constants to EVT_GRID...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:03:00 +00:00
David Webster
37f214d588 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 04:43:46 +00:00
Michael Bedward
b5f788a51e Changed all EVT_WXGRID... constants to EVT_GRID...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 04:42:29 +00:00
David Webster
d88de032d3 Latest Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:34:18 +00:00
Unknown (CR)
9bfa7bfcbd changed LVHITTESTINFO to LV_HITTESTINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:33:43 +00:00
Unknown (CR)
e43cab59ed brought regconf interface read/write methods up to spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:05:03 +00:00
David Webster
634157786d no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 20:35:03 +00:00
Vadim Zeitlin
a17e237f4a warnings for mingw32 compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:52:05 +00:00
Vadim Zeitlin
4882bf1b78 DnD is disabled automatically y configure for mingw32 without OLE headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:51:01 +00:00
Vadim Zeitlin
a0c79abb5d small updates for Linux->Win32 cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:06:19 +00:00
Robin Dunn
801e06d5a8 update to wxPython module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:00:29 +00:00
Unknown (CR)
72a0c982c4 Added tabg.o/tabg.d to GTK make stuff. Tabbed dialogs weren't linking correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:16:47 +00:00
Vadim Zeitlin
0709ee62f2 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:07:33 +00:00
Unknown (CR)
84a6b8590b Added item clicks event support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:05:17 +00:00
Unknown (CR)
3995f8eb97 Added support for item clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:04:34 +00:00
Unknown (CR)
fb882e1cbe Added right/middle click item support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:03:24 +00:00
Unknown (CR)
aad0fe4b45 Added tree control item click event wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:01:06 +00:00
Unknown (CR)
4debf1352d Added list control item click event wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:00:39 +00:00
Unknown (CR)
5d53c76bab Added tree control item click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:59:21 +00:00
Julian Smart
07e632909b Added some setup files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:30:46 +00:00
Vadim Zeitlin
0c7571ef17 wxMotif module corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:15:23 +00:00
Robert Roebling
3fd528b939 Forgot resource sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 15:35:55 +00:00
Julian Smart
f4c890fdbe Added precompiled header stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:59:13 +00:00
Michael Bedward
0eee528340 Added demonstration of insert/delete rows/cols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:57:22 +00:00
Michael Bedward
3f2965162c Fixed bug causing crashes when all rows or cols were deleted and then an attempt was made to insert rows/cols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:49:55 +00:00
Michael Bedward
616b488dbc Put include for makelib.b32 back in (why was it taken out ? without it the lib isn't built)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 04:36:32 +00:00
Ryan Norton
38d679fdb5 Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 02:22:17 +00:00
Vadim Zeitlin
652bbafac4 added autogenerated files to make build work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 02:22:15 +00:00
Vadim Zeitlin
a497618a56 1. DLL compilation fixes (wrong WXDLLEXPORT placement) in db.h/cpp
2. dummy typedef added to gsocket.c - trans unit can't be empty
3. WX_DEFINE_EXPORTED_ARRAY & friends appear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 23:57:40 +00:00
Vadim Zeitlin
755c41bf1e tmake template for DLL project for VC++ 6.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 23:49:56 +00:00
David Webster
cdf1e71425 More OS/2 stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 22:49:24 +00:00
Robert Roebling
1b68e0b5b9 Refresh() problem from DialogEd solved
Unified the naming of GNU pragmas for base classed:
    dialogbase, choicebase, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 21:52:17 +00:00
Robin Dunn
8ad4b7acf4 Attempting to create module def for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 20:29:23 +00:00
George Tasker
3351164d4c Moved the #include of filefn.h from db.h to db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 17:20:48 +00:00
George Tasker
53953cf736 Moved the #include of filefn.h to db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 17:19:45 +00:00
Robert Roebling
c09ab26a49 Some more distrib corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 14:36:37 +00:00
George Tasker
e57fe6cc73 Use of a postgres data source would fail due to checking for "PostgresSQL" rather than "PostgreSQL"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 11:06:24 +00:00
George Tasker
aa277f4ce2 Changed #ifdef _IODBC_ to #ifdef __UNIX__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 11:02:53 +00:00
Robert Roebling
79144b8a47 More makefiles, distrib things,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 09:44:18 +00:00
Robin Dunn
11cde40611 2.1.5 quickie release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 06:13:37 +00:00
Robin Dunn
07cb3fd3d1 distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 03:04:38 +00:00
Robin Dunn
60a15c9b7b more intelligent build for gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 03:04:13 +00:00
Robert Roebling
d5a07b9ec9 Various distrib things,
Applied patches for HP-UX compilation,
  Corrected (?) vetoing of tree expansion,
  Raised version.h to 2.1.10


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 22:36:46 +00:00
Robin Dunn
46c3e3d92a minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 22:16:33 +00:00
Robert Roebling
d1b15f03b8 Added wxMenu::Delete() and fixed some menu deleted memory
leaks. Some.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 19:32:58 +00:00
Robert Roebling
147bc49159 Tried to make wxGLCanvas work again. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 15:24:49 +00:00
Julian Smart
4c61bdabd6 Added blank line to end (Tex2RTF requirement)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 11:06:44 +00:00
Robert Roebling
27d029c722 Minor doc updates,
Made resizing a scrolled window function,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:48:43 +00:00
Robert Roebling
738f9e5a12 added SpinCtrl,
updated a few headers,
  tried to set window size hints, no effect with KWM,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:05:36 +00:00
J. Russell Smyth
d66d3ce6dd Updated instructions for Mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 05:56:43 +00:00
David Webster
75f11ad7ca *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 02:49:06 +00:00
Vadim Zeitlin
b782f2e0f6 wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 23:28:07 +00:00
Václav Slavík
2083616e16 fixed bug with 2 frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:21:08 +00:00
Václav Slavík
1b231e235b fixed terminology (widget vs. binded window)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:20:43 +00:00
Václav Slavík
622ea7838d fixed cursor flickering in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:18:08 +00:00
Václav Slavík
db98870d82 preparing for HTML printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:17:42 +00:00
Robert Roebling
247e5b1632 TreeTest compiles again,
Found flickering bug wrt cursors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 19:56:38 +00:00
Robert Roebling
bf0c00c6e8 Scrolling updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 18:42:43 +00:00
David Webster
fb9010ed40 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 18:36:14 +00:00
Karsten Ballüder
89be8239db updated richedit and nettest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 16:52:34 +00:00
Karsten Ballüder
2726c66d5b added samples richedit and nettest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 16:50:05 +00:00
Robert Roebling
5e4ff78a96 Minor changes to keep my MSW source
in synch...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 15:04:47 +00:00
Guilhem Lavaux
783ff666e0 Changed Ungetch behaviour (FIFO -> LIFO).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 11:36:39 +00:00
Robin Dunn
bc29c5e0e1 minor additions and bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 23:13:43 +00:00
Robin Dunn
06c0fba410 minor additions and bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:24:16 +00:00
Robin Dunn
21422dd796 incremented wxPython version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:23:12 +00:00
Robin Dunn
7e94145827 Ifdef'ed back in the scrolling aware drawing code in wxHtmlWidgetCell
for MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:19:10 +00:00
Robin Dunn
a091d18c61 Added WXDLLEXPORT for wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:16:45 +00:00
Robert Roebling
e115e77131 Applied a few patches,
Put some life into iODBC again,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:32:40 +00:00
Julian Smart
2a6277d4f2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:11:23 +00:00
Robert Roebling
de87c35312 Makefile changes for static libs and HP-UX,
Compile fixes for HP-UX,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 11:20:06 +00:00
Robert Roebling
307f16e829 Changed SetToolBar() to behave a bit smarter. Untested.
Removed some unused variables.
  More tests in scroll sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 09:06:35 +00:00
Robin Dunn
ca43a38c0f Attempting to restore the binary files that got trashed earlier today.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:15:31 +00:00
Robin Dunn
a79fa1ed13 fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:13:13 +00:00
Robin Dunn
272cd5dddb Added missing costructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:10:26 +00:00
Robin Dunn
3156ba6ea6 passing CRTFLAG to subordinant makes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:09:46 +00:00
David Webster
45016e1a6b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 04:19:01 +00:00
Robert Roebling
ed673c6a48 New scrolling code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 20:09:32 +00:00
Václav Slavík
2136a764e5 fixed bug in tables when border=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 15:24:58 +00:00
Václav Slavík
44174280e5 fixed bug in imagemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 15:22:39 +00:00
Karsten Ballüder
223d09f6b5 replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Sylvain Bougnoux
b4a2ab728b tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 11:56:57 +00:00
Julian Smart
fcc228b31e Debug option mod
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 10:22:00 +00:00
Julian Smart
85f3749fd2 Made .dsp files consistent with debug option; added JPEG project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 10:21:14 +00:00
David Webster
0371a69143 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 03:39:11 +00:00
Robin Dunn
89aea7b0ef distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:40:33 +00:00
Robin Dunn
fbfe0e6a88 more release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:19:22 +00:00
Robin Dunn
ae920857a7 bugfix dealing with where the CWD is...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:00:59 +00:00
Robin Dunn
ccba72313c distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:28:44 +00:00
Robin Dunn
86e7822245 wxPython documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:16:50 +00:00
Robin Dunn
4f63da7e98 more updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:11:23 +00:00
Robin Dunn
f40dc1e275 some release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:07:42 +00:00
Robin Dunn
9b5801d640 distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:05:16 +00:00
Robin Dunn
167b96c2ad updated generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:49:47 +00:00
Robin Dunn
6147ee3451 new contributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:48:14 +00:00
Vadim Zeitlin
e1ea357c67 wxLog::FlushActive added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:18:07 +00:00
Vadim Zeitlin
bbfa03228a 1. wxLog::FlushActive() added
2. threads can be used in console mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:12:57 +00:00
Robin Dunn
48115f4a69 updated generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:52:00 +00:00
Robin Dunn
1475671a66 Added event class constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:51:10 +00:00
Robin Dunn
e9f2ef9429 updated distribution list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:50:17 +00:00
Karsten Ballüder
c4684a42c8 added missing implementation (untested, but compiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:29:50 +00:00
Vadim Zeitlin
39a7c7e167 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:06:39 +00:00
Vadim Zeitlin
00ded55423 item about Borland C++ dislike for objects in ternary operator added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:02:11 +00:00
Vadim Zeitlin
2b37dc19c5 compile fix for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 15:54:58 +00:00
Karsten Ballüder
3976f6a846 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 15:52:58 +00:00
George Tasker
a2115c88f3 Added support for dBase, PostGres, MySQL, Access, MS SQL Server.
Added QUERY_ONLY data connection types.
SQL logging code addded.
Cleaned up handling compilation under both 1.6x and 2.x.
Added debug code to warn when connections were not released on program termination.
MS-VC6 corrections due to larger memory buffers required.
Parameter added to not require CreateView() and CreateTable() to drop the view or table first.
DropView() function added.
Database UserIDs can now be passed to functions that need them.
SQLUnbind() called where needed now to prevent resource leaks.
TableExists() function now handles dBase files.
Dbms() function added to determine which database the program is currently running against.
Comments have been added to the Dbms() function to indicate issues specific to different data sources.
Dynamic cursor support added (no longer creates 5-7 cursors for every wxTable instance).
wxTable dtor is now virtual.
Parameter added to not require CreateIndex() and CreateTable() to drop the view or table first.
DropIndex() and DropTable() functions added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 14:19:57 +00:00
Vadim Zeitlin
9b64e79868 some fixes after global _T() => T() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 14:07:48 +00:00
Vadim Zeitlin
7c4eef7a75 Unicode overview added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 12:02:36 +00:00
George Tasker
3806d8a9f6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:06:20 +00:00
George Tasker
65d7ddc4eb Fixed the GUI so it will now work correctly when widgets are clicked/used. This demo program was not really even usable, although the database portions worked correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:04:06 +00:00
Unknown (JL)
d604ea3355 switch /MD /MDd depend on FINAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 07:55:08 +00:00
Michael Bedward
66242c8007 Added page up and page down key support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 06:36:41 +00:00
David Webster
21802234df *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 04:44:22 +00:00
Robin Dunn
134d79dca7 more tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 23:49:48 +00:00
Vadim Zeitlin
2690830ea0 added wxDialUpManager::IsAlwaysConnected() and GetISPNames(), also Dial()
is now smart enough to propose to choose from available ISPs and tries to
find out the username and password on its own


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 23:00:40 +00:00
Vadim Zeitlin
28d00598b3 fix for base-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 22:57:30 +00:00
Vadim Zeitlin
934d4f8d8c fix for .c files in msw subdir for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 22:41:17 +00:00
Robin Dunn
7bf5436263 Allow override of /MDd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 19:09:07 +00:00
Vadim Zeitlin
cdb5168095 _T() restored for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:12:57 +00:00
Vadim Zeitlin
b540eb2bee some warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:12:41 +00:00
Vadim Zeitlin
07818da861 wxRegion::IsEmpty() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:11:57 +00:00
Vadim Zeitlin
3766781218 more changes for wxBase - starts to work under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 17:48:34 +00:00
Unknown (JL)
6768c790de compile error with VC6.0 fixed. #include "wx/wxprec.h" moved to top of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 17:29:56 +00:00
Robin Dunn
064f8bf6f8 removed some test code that accidentally was left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 16:27:10 +00:00
Karsten Ballüder
74697a5713 cvs debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:42:04 +00:00
Karsten Ballüder
e87d60c93b cvs debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:40:04 +00:00
Julian Smart
a181ac202f Corrected setting back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:04:05 +00:00
Michael Bedward
e685e57bbd Have to set focus to edit control when it is shown otherwise the
insertion point stays at the beginning of the text control under wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 08:23:29 +00:00
Robin Dunn
13971833d8 now supports wxCURSOR_BULLSEYE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 07:09:26 +00:00
Robin Dunn
8f17924e73 added font encoding support
some more demos
some contributed items into the library
many little tweaks and such


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 07:03:36 +00:00
Robin Dunn
f0261a7246 added font encoding support
some more demos
some contributed items into the library
many little tweaks and such


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 06:22:25 +00:00
Michael Bedward
91233253ec ifdef'd out wxEmptyString. This is defined in string.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 05:45:05 +00:00
Michael Bedward
f85afd4e46 Added new wxGrid classes. This is a work in progress !
Define wxUSE_NEW_GRID as 1 in setup.h to compile the new wxGrid
otherwise the old wxGrid class will be compiled.
Treat with caution and expect bugs and missing bits at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 05:13:20 +00:00
Michael Bedward
10434f3c24 Added comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 04:58:38 +00:00
Michael Bedward
e442cc0d9d Sample program for new wxGrid classes.
Define wxUSE_NEW_GRID as 1 in setup.h to use the new wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 04:55:17 +00:00
Václav Slavík
704d25e2a3 PS printing now uses afm instead of gs_afm metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 22:56:29 +00:00
David Webster
f0a56ab0c3 wxOS2 updates for 10/5/99
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 22:10:56 +00:00
Robert Roebling
f7a11f8c8e Updated configure (not only configure.in)
Refresh improvements


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 19:38:05 +00:00
Sylvain Bougnoux
fe8aa971c4 after a seek, reset error if error==EOF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 07:34:27 +00:00
Sylvain Bougnoux
a20cd16ca0 warn if visual isn't found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 07:22:36 +00:00
Unknown (JL)
aee3892569 Debug version with compiler switch /MDd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 06:40:42 +00:00
Robin Dunn
d6d2b6ae8f Inceremented the version number for the DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 06:32:15 +00:00
David Webster
27476f7368 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 04:22:59 +00:00
Vadim Zeitlin
1bd1d102fd use BMPs and npt PNGs under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 22:55:47 +00:00
Vadim Zeitlin
73974df1f9 MSW compilation (and other) fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 22:55:10 +00:00
Vadim Zeitlin
e90c1d2a19 many changes; major ones:
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Karsten Ballüder
9841339c74 ping method almost there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:03:07 +00:00
Robert Roebling
1d61ebaca1 OpenGl updates (still gives warnings..)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 19:54:25 +00:00
Julian Smart
5e0201eaa1 Removed some unused parameter warnings; compile error in dialup.cpp corrected;
some commits are redundant (sorry)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 15:07:20 +00:00
Vadim Zeitlin
c5342938e2 attempt to fix makefile for make -j
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 14:23:44 +00:00
Vadim Zeitlin
5b95b795cc more new items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 14:05:10 +00:00
Vadim Zeitlin
f19d58d551 several new items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:59:36 +00:00
Julian Smart
302aa842e9 Added ProjGen for generating sample VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:31:50 +00:00
Julian Smart
4658cb18f1 Added some makefiles etc. to nettest sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:23:39 +00:00
Vadim Zeitlin
d443da9d54 -ldl only added if it exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 12:56:01 +00:00
Julian Smart
9b94d7f91e Version numbering change, small additions to ToDo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 12:31:15 +00:00
Unknown (JL)
ef3ab00998 Renameing funktions from DIB to prevent name clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:40:50 +00:00
Unknown (JL)
a61ddc4715 Renameing funktions to prevent name clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:39:13 +00:00
Unknown (JL)
d676ebcf25 Parameter "small" renamed. Defined in a header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:28:23 +00:00
Václav Slavík
d57bf68500 added GetTextExtent test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:18:00 +00:00
Karsten Ballüder
fa3e4baf13 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:16:54 +00:00
Robert Roebling
9b7e522ae9 Applied a few old patches,
Changed dclick handling in wxFileDialog,
  Added cursor code to wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:03:48 +00:00
Václav Slavík
a439ecef10 more AFM metrics fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 19:41:16 +00:00
Robert Roebling
f35c265988 If we used 10% less inline functions in useless occasions,
we would have 50% less to debug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 19:33:07 +00:00
Václav Slavík
b714136483 changed to use 2 html windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 18:02:19 +00:00
Václav Slavík
f036b31cde postscript DC didn't check for AFM metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 18:01:17 +00:00
Václav Slavík
2131a664df wxHTML 8.3 convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 17:56:02 +00:00
Karsten Ballüder
275abf24e1 wxDialUpManager fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 17:26:45 +00:00
Karsten Ballüder
c756f74260 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 15:57:28 +00:00
Vadim Zeitlin
24df4c19d9 forgot this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:36:06 +00:00
Vadim Zeitlin
a0b4c98b8a 1. Win9x support + async dialing + many more for wxDialUpManager
2. renamed files from net.h/cpp to dialup.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:33:05 +00:00
Vadim Zeitlin
1949cd9c5c I'm having some weird problems with cvs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:30:31 +00:00
Vadim Zeitlin
4cd056a7c1 fixes I previously forgot to check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 00:05:52 +00:00
Robert Roebling
5fd11f0971 Added test for wxTreeCtrl::GetChildrenCount()
Fixed Reparent (added heaps of debug code for this)
  Small mods to glcanvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 19:43:56 +00:00
Karsten Ballüder
1c8515f9ab Unix implementation of wxDialUpManager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:29:54 +00:00
Václav Slavík
6782163029 did not compile under GCC2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:21:20 +00:00
Václav Slavík
69941f0586 making wxHTML 8.3 compliant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:19:46 +00:00
Václav Slavík
47f631042b added wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:18:00 +00:00
Václav Slavík
ad1fa80802 global makefile for samples now include html
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:17:33 +00:00
Guillermo Rodriguez Garcia
5c15428b75 PROCESS_EVENTS macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 15:21:29 +00:00
Julian Smart
25a37c8cb1 Added roadmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 14:15:58 +00:00
Václav Slavík
df9cbfc2bf removed declarations of static wxLoadQueryFont, wxLoadQueryNearestFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 13:41:13 +00:00
Robert Roebling
e8b04eb349 Updated doc for wxFileExists()
Corrected redrawing and OpenGl canvas
  Made new font code in utilsunix compile (Why does
    Vadim never need any headers?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 10:56:10 +00:00
David Webster
f1415824cc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 03:15:13 +00:00
David Webster
ce44c50e9b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 01:44:39 +00:00
Vadim Zeitlin
def6fb9bd8 fix for Append() bug for sorted comboboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 23:00:58 +00:00
Vadim Zeitlin
83b1f35395 Borland makefiles fixes for .c files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 23:00:30 +00:00
Vadim Zeitlin
7cc391bd39 minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 22:50:26 +00:00
Vadim Zeitlin
09884325fc wxDialUpManager class (first draft, works only under Windows NT for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 22:42:17 +00:00
Vadim Zeitlin
7a903311aa virtual functionsignature corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:31:57 +00:00
Vadim Zeitlin
0661ec3993 wxCALLBACK added, wxCOMPFUNC_CONV moved to defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:27:51 +00:00
Vadim Zeitlin
ddc8c2e3ab wxFontEnumerator class for Motif/X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:01:54 +00:00
Robert Roebling
e1811a014b Improved wxFileDialog behaviour wrt to remembering filenames
Ported new scrolling code from wxWindow to wxScrollBar and
    wxSlider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 15:41:15 +00:00
Vadim Zeitlin
93ccaed869 wxMotif::wxFont supports encodings too (and shares 99% of font code with wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 14:59:52 +00:00
Vadim Zeitlin
d391a34510 renamed gsockmot.cpp to *.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 13:53:26 +00:00
Vadim Zeitlin
e1393d82b3 fix from Ron for one-shot timers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 13:21:34 +00:00
Julian Smart
5427610e6b Updates to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 11:41:15 +00:00
Vadim Zeitlin
1ccd74daf9 small font demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 00:50:45 +00:00
Vadim Zeitlin
b9b3ccd9ea basic support for encodings for wxMSW::wxFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 00:49:52 +00:00
Guillermo Rodriguez Garcia
f85d901fcb new sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:56:10 +00:00
Guillermo Rodriguez Garcia
483249fc1a bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:53:10 +00:00
Guillermo Rodriguez Garcia
75d684d9f7 All events now internally watched
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:44:00 +00:00
Guillermo Rodriguez Garcia
5bb0807e96 Uses wxSocketBase::Unread instead of CreatePushback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:42:36 +00:00
Guillermo Rodriguez Garcia
96db102a93 Several changes and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:41:33 +00:00
Vadim Zeitlin
8dc9904630 fixed compilation and added support for all 4 images (as a side effect) to the
generic tree control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:25:19 +00:00
Robin Dunn
37f6a9770c gernerated source code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:28:18 +00:00
Robin Dunn
60edeacfb7 version string is now quoted properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:27:28 +00:00
Robin Dunn
e918362128 fixed an error in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:26:02 +00:00
Vadim Zeitlin
2ebcd5f5fd wxListCtrl::InsertItem returns the index of the inserted item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:17:02 +00:00
Robert Roebling
5e014a0c44 Corrected filelist.txt a little - one gsocket.c is enough,
Corrected cursors - not yet perfect,
  Added some tests to scroll sample
  Made wxScrolledWindow::Scroll() call Refresh(),
  Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
  Added activate event for wxMDIChildFrame
  Implemented wxSIMPLE_BORDER for wxWindow (no controls),
  Tried to correct positioning upon start-up - no way,
  Rewrote catching of scroll events - page-up, page-down, up and down
    work now. Don't know what TOP and BOTTOM are used for.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:13:45 +00:00
Robin Dunn
a9221a9508 fixed the rule for the DLL so it doesn't build the .lib file twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 21:28:29 +00:00
Robin Dunn
e0f83017f5 added missing fontcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 21:26:44 +00:00
Unknown (MT)
36e2955a64 only set parent frame ontop when the current frame being destructed is active
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 08:01:13 +00:00
Robin Dunn
76e1c2debf updates for wxPython docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 07:13:40 +00:00
Robin Dunn
2f90df854e 1. wxHtmlHelpController and related classes
2. the C++ versions of wxSizer and firends, Python versions are
   'depreciated'
3. wxPyEvent and wxPyCommandEvent, event classes that can carry some
   python objects through the event system and safely come back out
   again.
4. wxGridSizer and wxFlexGridSizer
5. wxValidator
6. wxPyOnDemandOutputWindow
7. several tweaks, fixes and additions of missing methods, etc.
8. and probably several other things I am forgetting since CVS was
   down so long...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 07:11:20 +00:00
Robin Dunn
2348eaee20 Created and wrapped wxPyControlPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 06:58:38 +00:00
Vadim Zeitlin
74b31181b3 1. Implemented support for different icons for different states (expanded,
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
   used
3. important changes to wxWizard interface
4. small compilation corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
Sylvain Bougnoux
4f3ac40926 Change wxGetCurrentUTime as wxGetCurrentMTime (milli not micro!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:51:04 +00:00
Sylvain Bougnoux
f0599ea919 Factorize timercmm.cpp code
Added wxGetCurrentUtime
Put extern declaration in wx/timer.h instead of wx/*/timer.h
Added wxChrono class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:40:04 +00:00
Vadim Zeitlin
0c5d3e1ccd 1. added a brief overview of Unicode support
2. added and documented wxBITMAP() macros (as wxICON)
3. restructured wxFont class, added support of encoding parameter
4. regenerated makefiles to compile the new fontcmn.cpp file
5. corrected bug with non existing files in document-view history


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:02:07 +00:00
J. Russell Smyth
7a3ac80489 Added wxNB_LEFT,RIGHT,BOTTOM styles to alter tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:45:41 +00:00
J. Russell Smyth
ab20a9a95a Added defines to allow altered tab placement under gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:44:14 +00:00
J. Russell Smyth
a3a7f8791c Added wxNB_RIGHT,LEFT,BOTTOM flags for tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:41:05 +00:00
Vadim Zeitlin
fdb7dadb6e param type of wxWindow::Reparent() fixed in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:35:52 +00:00
J. Russell Smyth
4a0253b82b Added wxNB_LEFT,RIGHT,BOTTOM for notebook tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:34:58 +00:00
Robin Dunn
a77aa9d600 Removed call to SetValidator since CreateBase was doing it already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 16:10:48 +00:00
Julian Smart
1b9315eb77 Misc changes, including to wxPropertyForm and sample to make it work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 15:55:50 +00:00
Vadim Zeitlin
51c0a521a9 wxListCtrlCompare typedef now is defined correctly (was missing CALLBACK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 15:18:58 +00:00
Vadim Zeitlin
866592d872 //... => /* ... */
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 11:44:12 +00:00
Vadim Zeitlin
172d3acb55 item about constants naming added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 11:39:52 +00:00
Michael Bedward
556921dc4e Ifdef'd out sample code for wxStaticBitmap. It's not working under
wxMOTIF at the moment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:32:59 +00:00
Michael Bedward
ba7ce6a0b7 Added check to ensure that style arg to ctor has either wxHORIZONTAL or
wxVERTICAL. Without one of these the slider doesn't display under
Motif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:22:34 +00:00
David Webster
23e4b7d824 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:16:03 +00:00
Michael Bedward
0ba1a6f33c Added code to wxMemoryDC ctor to set default font. This fixes the controls
sample which was crashing when calling wxDC::DrawText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 03:29:16 +00:00
Michael Bedward
17023320be Added code to implement wxTE_READONLY style for single line text controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 02:37:29 +00:00
David Webster
4486e1be1f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 22:29:47 +00:00
Robin Dunn
269e82009d I got tired of some of the memory leak messages related to html and
filesystem classes, (even when I wasn't using them) so I added to the
cleanup code already there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 20:15:31 +00:00
Sylvain Bougnoux
d57eb7b9b3 add imagall.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:06:44 +00:00
Sylvain Bougnoux
b5a4a47df5 change wxImage::InitAllHandlers to wxInitAllImageHandlers and put it in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:05:49 +00:00
Sylvain Bougnoux
6e58e01afa *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:03:59 +00:00
David Webster
86de7616de More OS/2 changes and fixes. Getting there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 17:19:25 +00:00
Vadim Zeitlin
22aed133d8 the bitmaps in wxPropertyList are created on demand: this speeds up the
program startup and also cures the crash under wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 16:22:26 +00:00
Vadim Zeitlin
dd85fc6b89 started separating GUI parts of wxLog from the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 16:10:03 +00:00
Harco de Hilster
77cff60663 header inclusion fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 11:53:41 +00:00
Harco de Hilster
9c3d0b59c4 Removed obsolete files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 11:52:56 +00:00
Sylvain Bougnoux
a14e57f9f7 Add wxImage::InitAllHandlers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 09:03:37 +00:00
David Webster
45fcbf3b7a *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 04:49:19 +00:00
Robin Dunn
0c0d686fe5 Added userData to wxSizerItems and other things to make sizers more
usable/overrideable from wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 03:12:49 +00:00
Robin Dunn
76f78a96ce Added CVS module for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-19 18:54:02 +00:00
Robin Dunn
9cce9de16f updates of some SWIG generated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:33:39 +00:00
Robin Dunn
10534c0bb1 some ifdef'd out things added back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:23:56 +00:00
Robin Dunn
26197023a7 minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:21:02 +00:00
Robin Dunn
b2bc50e4ca more things to ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:20:13 +00:00
Vadim Zeitlin
9dea50fc65 setlocale() argument corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:02:58 +00:00
Vadim Zeitlin
90a53a3aed small underscores fix for GTK 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:59:05 +00:00
Vadim Zeitlin
572d746108 underscores in menu items handled too under GTK+ 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:54:14 +00:00
Vadim Zeitlin
a4c970041c unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:34:17 +00:00
Vadim Zeitlin
ae8f576913 serbase.cpp added to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:23:20 +00:00
Vadim Zeitlin
964688d8ec unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:17:04 +00:00
Vadim Zeitlin
60df2e7d97 FreeBSD linking fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:14:49 +00:00
Vadim Zeitlin
6e31e94063 unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:57:21 +00:00
Vadim Zeitlin
45c94d784d typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:53:10 +00:00
Vadim Zeitlin
d2682f231a more files to ignore (*.env)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:51:31 +00:00
Vadim Zeitlin
07d4b94c3b ambiguous ctor call resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:50:48 +00:00
Vadim Zeitlin
ec6e0a192c typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:49:31 +00:00
Vadim Zeitlin
014b0d064e unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:49:30 +00:00
Vadim Zeitlin
1fa609b166 more files to ignore (*.d and configarg.cache)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:48:25 +00:00
Vadim Zeitlin
0b862e2069 font selector dialog doesn't work with GTK+ 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:42:13 +00:00
Vadim Zeitlin
c8c0e54c70 extra consts removed here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:39:08 +00:00
Vadim Zeitlin
284b4c8866 unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:34:02 +00:00
Vadim Zeitlin
7d5af6fa6b 'static not in the beginning of the decl' warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:32:53 +00:00
Vadim Zeitlin
077968ca5e Mac and OS2 files excluded from wxGTK and wxMSW modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:30:44 +00:00
Robin Dunn
5aeeab1454 Fixed wxTreeCtrl to use the proper bacground color from
SystemSettings, and changed how wxListCtrl used SystemSettings
too (static method doesn't need an instance.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 00:10:03 +00:00
Vadim Zeitlin
086c94af90 compilation error corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 23:37:27 +00:00
Vadim Zeitlin
5d47c8a0d2 now we initialize wxListEvent correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 23:26:38 +00:00
Guillermo Rodriguez Garcia
186005466d Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now extern C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 22:24:28 +00:00
Guillermo Rodriguez Garcia
eb254be6df Solved problem with wxhInstance name being mangled by MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 22:23:37 +00:00
David Webster
a419c3b116 More OS/2 stubs and caret fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 21:46:51 +00:00
David Webster
0616b8382d More stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 21:45:56 +00:00
Robin Dunn
2d0294308d uncommented a try...except that I had removed for testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 15:43:05 +00:00
Robin Dunn
0190e1faf8 Don't need these in the demo directory anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 05:58:27 +00:00
Robin Dunn
e166644c53 New wxHtml stuff, including a TagHandler for placing wxPython widgets
on the html page.

Some other tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 05:55:00 +00:00
Unknown (MT)
2819545569 set tooltip to be TOPMOST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 04:03:10 +00:00
David Webster
77cd51c3de *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 03:29:33 +00:00
Guillermo Rodriguez Garcia
af2fd9613a - NOWAIT flag now implemented
- WaitForXXX are now correct (will not report readability / writability if
in the middle of a defered read / write operation)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 01:51:06 +00:00
Guillermo Rodriguez Garcia
236ef8a966 typedef unsigned int bool (instead of int) for consistency with defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 01:45:36 +00:00
Unknown (AN)
a3daed0276 call HasMask() before writing PNG files, as was done in WX_2_0_FIXES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 19:24:01 +00:00
Vadim Zeitlin
9f6af110ff vetoing item collapse works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 13:32:03 +00:00
Vadim Zeitlin
0b26605d52 use "cd dir && make" instead of "cd dir; make" which results in infinite loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 11:37:41 +00:00
Michael Bedward
7183e38bec Added GetMainWidget() to fix bug that was causing crashes under wxMOTIF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 10:32:03 +00:00
Patrick Albert
1e2c86ca5c Correcting minor painting problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 08:56:32 +00:00
Michael Bedward
1e8abce5e8 Modified wxTranslateMouseEvent so that it can recognize double clicks.
This allows double click events to be intercepted by panel items.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 07:33:16 +00:00
David Webster
9fea1a5d62 Updated makefiles for VisualAge C++ V3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 21:56:39 +00:00
J. Russell Smyth
a6f989f3db corrected to allow drag and drop for mingw32/gcc295
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 21:45:36 +00:00
Vadim Zeitlin
7fb233050c added test for changing toolbar on the fly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 16:15:50 +00:00
Vadim Zeitlin
93840b31b9 removed some unneeded bit of test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 15:22:48 +00:00
Vadim Zeitlin
455fadaa6a underscors are handled better in the menu item labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 15:06:19 +00:00
Vadim Zeitlin
503f414edd corrected the bad patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 14:27:04 +00:00
Vadim Zeitlin
2e4f15693a patch for AIX compilation (Hans-Joachim Baader)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 14:12:22 +00:00
Guillermo Rodriguez Garcia
0ce742cf09 Checking for wxUSE_SOCKETS and __GSOCKET_STANDALONE__ should be right, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 02:21:15 +00:00
Guillermo Rodriguez Garcia
7c235f0914 Now uses wxSocketBase::Error() to see if last IO call failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:17:15 +00:00
Guillermo Rodriguez Garcia
17aa2bec08 Various small bugfixes
Serious bugfix in ReadMsg (Read was being called with buffer == NULL !)
Added m_error
Added error handling to all IO functions
Discard now correctly updates m_lcount
Implemented wxSocketBase::SetTimeout
Deleted wxSocketClient::OnRequest (all is handled inside wxSocketBase's)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:15:39 +00:00
Guillermo Rodriguez Garcia
68317b6d3f You CAN'T check for wxUSE_SOCKET *before* #including <wx/setup.h>!!! Who has done this?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:09:54 +00:00
Guillermo Rodriguez Garcia
7c395bf3a1 wxSocketBase::OnRequest is non.virtual now (and there is no wxSocketClient::OnRequest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:04:44 +00:00
Guillermo Rodriguez Garcia
c21b68f7dd Added _GSOCKET_STANDALONE_ symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:02:49 +00:00
Robin Dunn
3ef01ce5e3 Added GetParser method to wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 21:09:30 +00:00
J. Russell Smyth
4c2d8a30f6 Patches for mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 21:03:19 +00:00
J. Russell Smyth
2d996ed1c4 Mingw32/gcc-2.95 change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:57:06 +00:00
J. Russell Smyth
6627a4b049 Changes for mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:55:29 +00:00
J. Russell Smyth
0045dee3f4 Makefile for mingw/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:54:48 +00:00
J. Russell Smyth
d04d2fb520 Added makeg295.env file for building with gcc-2.95/mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:53:04 +00:00
J. Russell Smyth
eaac466a40 Added files for mingw32/gcc-2.95/norlander headers build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:52:00 +00:00
J. Russell Smyth
a98404cd24 Added makefile and resource script for building under mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:30:33 +00:00
Harco de Hilster
91f491639e Changed AppendCommon (called by all Append methods) so it doesn't
call ApplyWidgetStyle (which applies the current style to all list_items,
which should already have the right style), but instead only applies
the style to the new list_item. This results in a *great* speedup for large
listboxes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 19:32:20 +00:00
Robin Dunn
761a9d2b1f ifdef'ed out GetBoundingRect for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 03:34:00 +00:00
Robin Dunn
a65c6e1446 No need to separate generated code for html because there are no
platform differences.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 02:17:59 +00:00
Robin Dunn
0f66a9f39d wxPython html module updates. The beginings of tag handler support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:34:01 +00:00
Robin Dunn
5b626e7f84 Added ogl to the module list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:32:26 +00:00
Robin Dunn
ec3e670f9f The beginings of wxHtmlWindow support in the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:31:50 +00:00
Robin Dunn
d426c97e9a More tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:29:53 +00:00
Robin Dunn
389c55270a Moved wxPy_ConvertList function from oglhelpers to helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:28:10 +00:00
Robin Dunn
18ba9da6b9 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:20:10 +00:00
Robin Dunn
d098a3572c Changed HWND --> WXHWND in tooltip.h so it can be included in files
that don't include windows headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:19:57 +00:00
Robin Dunn
c23bbc11ea Now specifies the corrent EVT_ macro names for wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 18:21:38 +00:00
Harco de Hilster
2e39ec8448 small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 18:11:31 +00:00
Julian Smart
7cb86a4c28 Added DLL versions of project files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:53:28 +00:00
Robin Dunn
5454a9276b Now setting the right library switches for both platforms...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:46:50 +00:00
Harco de Hilster
6b5286d112 Fixed surplus space in help output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:17:45 +00:00
Harco de Hilster
0940bcf7f5 Changed configure option --with-libgif to --enable-gif
gif now defines wxUSE_GIF instead of wxUSE_LIBGIF
also added --enable-pcx (wxUSE_PCX) and --enable-pnm (wxUSE_PNM).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:15:43 +00:00
Julian Smart
a19fb96bd0 Added VC++ 5 wxWin project files (not generated sample project files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 14:31:48 +00:00
Julian Smart
28468136d0 Made HelpGen into a wxWin app (still uses command-line args); moved includes
into src for simplicity; added VC++ 5 project file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 14:29:41 +00:00
Harco de Hilster
46c6b9c0ec new include file for change to new wxHtmlHelp classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 13:24:06 +00:00
Julian Smart
b31ba28885 Took anonymous class out of wxHtmlHelpFrame; corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 13:16:28 +00:00
Robin Dunn
c596875e23 Configure support for OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:18:36 +00:00
Unknown (MT)
ca8a9e603a add detachmenu, insert menu, replace menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:17:09 +00:00
Unknown (MT)
c399c2de41 use global hwndTT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:16:40 +00:00
Unknown (MT)
ea9a4296a2 Add detachmenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:16:18 +00:00
Unknown (MT)
7682a175b6 Add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:15:46 +00:00
Unknown (MT)
066f302c6c use a global hwndTT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:15:11 +00:00
Unknown (MT)
2c738dd87a add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:14:27 +00:00
Unknown (MT)
ebb206a33d blit using icon mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:13:52 +00:00
Unknown (MT)
1cf27c6349 Add detachmenu, insert menu, replace menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:13:16 +00:00
Unknown (MT)
bfa2e032ef Added callback to start in current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 06:38:43 +00:00
Robin Dunn
b661e6759e Allowed gsocket to compile when wxUSE_SOCKETS is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:31:20 +00:00
Robin Dunn
2bbf461836 Makefile updates from new filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:30:01 +00:00
Robin Dunn
f42b1601d6 Fixed some compile errors (MSVC++ 6) and some very strange link errors when
building a DLL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:27:36 +00:00
Robin Dunn
e6a5dc94a4 Added implicit rule for building .c files in msw directory (gsocket)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:25:30 +00:00
Robin Dunn
fcd4694c3e Allowed tbarsmpl to be built for win32 as it still has its uses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:24:57 +00:00
Robin Dunn
a0250ba3e5 Added WXDLLEXPORT's to the class definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 03:49:33 +00:00
Robin Dunn
a097c93d4f Some OGl updates:
uses wxINVERT instead of wxXOR

	a couple minor tweaks

	VC makefiles now use Debug and Release for object files
	depending on FINAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 03:08:57 +00:00
Robin Dunn
93c95e18f4 Made wxNO_DEFAULT set the "no" button as the default, according to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 02:50:35 +00:00
Harco de Hilster
90bb2919de fixed typo (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 18:49:59 +00:00
Harco de Hilster
8ec2b48446 New HTML help system. The old controller class has been split in
three parts; basic data, a frame and a controller. Docs will appear
shortly...

All Makefiles should be correctly updated. To be sure, I put an
#error pragma in the old files, which will be removed in a few days.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 17:45:34 +00:00
Guillermo Rodriguez Garcia
a0378c28b8 fixed (didn't work at all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:19:35 +00:00
Guillermo Rodriguez Garcia
4c28d606dd Added _GSocket_Configure()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:18:15 +00:00
Guillermo Rodriguez Garcia
2f7c2af547 Fixed a bug when GSocket_SetCallback was used before allocating the internal socket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:17:00 +00:00
Guillermo Rodriguez Garcia
83802b0bd9 little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:30:17 +00:00
Guillermo Rodriguez Garcia
fade627a81 Prototypes for some _internal_ functions had to be changed (API remains the same)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:29:50 +00:00
Guillermo Rodriguez Garcia
e9e3e3abaf Added GSocket_Select() and removed some unused functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:29:14 +00:00
Guillermo Rodriguez Garcia
56d8adc0c0 - Completed WaitOnAccept
- Rewritten all the WaitXXX functions so that they do not depend on the
event notification system.
- Rewritten all the internal event system; now all events are internally
monitorized, but users are notified only of these events they are
interested in. This solves a lot of hard-to-catch little problems
and bugs which could arise sometimes.
- Rewritten all the automatic event notifier code.
- Added callback management code, which had been forgotten (badly needed
for wxTCPConnection in IPC classes)
- Fixed wxSocketBase::Write(), which didn't honour the WAITALL flag.
- Fixed some other bugs.
- The code is now much more stable and robust than before (because
the architecture is more robust, but it still needs testing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:27:55 +00:00
Guillermo Rodriguez Garcia
ef25e6386d Added GSocket_Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:17:49 +00:00
Guillermo Rodriguez Garcia
483c6690e9 Added GSocket_Select() and fixed some things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:14:30 +00:00
Harco de Hilster
1235650ffb sensible default...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 19:14:15 +00:00
Robin Dunn
b730516c98 Made wxNO_DEFAULT set the "no" button as the default, according to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 17:57:47 +00:00
Robin Dunn
e91a9dfcc3 wxPython module for OGL added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:25:47 +00:00
Robin Dunn
1afc06c2d8 Some tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:23:48 +00:00
Robin Dunn
922dc97681 Better dependency checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:23:03 +00:00
Robin Dunn
3ab72185cb Put Get/Set/Push/PopEventHandler methods back in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:11:12 +00:00
Robin Dunn
d559219f40 Lots more support for event-less callbacks
Exported some symbols for the other modules to use
etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:05:32 +00:00
Guillermo Rodriguez Garcia
228b910aea wxUSE_GIF instead of wxUSE_LIBGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:20:37 +00:00
Guillermo Rodriguez Garcia
9ab6ee851e Ops. wxUSE_XXX and wxUSE_STREAMS are separated again :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:19:18 +00:00
Guillermo Rodriguez Garcia
2b98cb1f84 small changes here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:16:11 +00:00
Guillermo Rodriguez Garcia
83b1bfaac9 wxUSE_GIF instead of wxUSE_LIBGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:14:22 +00:00
Guillermo Rodriguez Garcia
83413d6d2d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:12:08 +00:00
Guillermo Rodriguez Garcia
35809fe3d7 Accept, AcceptWith -> wait parameter
WaitOnAccept
m_establishing member for correct WaitOnConnect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:08:31 +00:00
Guillermo Rodriguez Garcia
d80d1aba10 Fixed WaitOnConnect().
Added wait parameter to Accept() and AcceptWith()
Added WaitOnAccept() (incomplete)
Added about a dozen or so small bugfixes here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:03:20 +00:00
Guillermo Rodriguez Garcia
7be110e30d Replaced wxUSE_LIBGIF with wxUSE_GIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:01:30 +00:00
Guillermo Rodriguez Garcia
b9b32d5c4f Added #include "wx/setup.h" (or "wx/defs.h") before checking for
wxUSE_***

Merged wxUSE_*** and wxUSE_STREAM (is this right?)

Replaced wxUSE_LIBGIF with wxUSE_GIF everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:58:54 +00:00
David Webster
6f349458f6 VisualAge C++ V4.0 configuration files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:24:24 +00:00
David Webster
feeb816597 Latest OS/2 compiler bug fixes for common and generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:22:51 +00:00
Guillermo Rodriguez Garcia
cb421e53cb Fixed some bus in Connect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 19:16:23 +00:00
Karsten Ballüder
a16d3c04d7 cosmetic fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 13:41:40 +00:00
Guillermo Rodriguez Garcia
11235b74ce Nothing serious here :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 12:25:47 +00:00
Julian Smart
33bbfe4b23 Small bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 11:22:20 +00:00
Karsten Ballüder
0b1c443719 no more errors in make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 08:56:09 +00:00
Guillermo Rodriguez Garcia
aa3981f2c6 Bugfix in GSocket_Cleanup()
GSocket_Connect and GSocket_WaitConnection now detect EWOULDBLOCK
errors and act accordingly (this is needed for correct wxSocket
behaviour)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 22:13:48 +00:00
Julian Smart
2f85113366 Fixed cursor loading on Win95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 12:39:41 +00:00
Julian Smart
b70ababc14 Added wxTE_NO_VSCROLL style; corrected joystick event class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 08:29:49 +00:00
Guillermo Rodriguez Garcia
2618484fed Little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 16:23:46 +00:00
Guillermo Rodriguez Garcia
881eba2c0d Added -lwsock32 (needed for socket support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:40:37 +00:00
Guillermo Rodriguez Garcia
a9775f1f58 Added gsocket.c for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:37:31 +00:00
Guillermo Rodriguez Garcia
791b24c405 wxSocketClient::Connect() now honours the 'wait' parameter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:34:27 +00:00
Guillermo Rodriguez Garcia
9bbd7ba3ea GSocket for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:25:48 +00:00
Guillermo Rodriguez Garcia
904ec517d3 Header file for MSW GSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:20:51 +00:00
Julian Smart
2ef1f50a94 Corrected #include in gsockmot.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 08:22:23 +00:00
J. Russell Smyth
1a9469d7cb Fixed include gsockunix.h line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 05:28:25 +00:00
Guilhem Lavaux
533c7161fc Moved gsockunx.h from src/unix to include/wx/unix
Added include/wx/unix/gsockunx.h to Makefile.in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 19:06:46 +00:00
Patrick Albert
63dcfc151b Added documentation for wxMenuBar::Refresh()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:54:56 +00:00
Patrick Albert
fbb90f7f2b Changed scope of wxMenuBar::Refresh() from protected to public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:53:09 +00:00
Julian Smart
2f435842c5 Added missing constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:15:33 +00:00
Julian Smart
24126cdde8 Changed value of wxGA_SMOOTH (clashed with wxVERTICAL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:12:53 +00:00
Julian Smart
543f08a676 Added wxFontEnumerator class for wxMSW, and fixed text validator for French
decimal point (",").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 09:36:21 +00:00
Vadim Zeitlin
d87a962086 some fixes for VC++ 1.5 makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 20:45:24 +00:00
Julian Smart
7e9a386e10 Fixed some doc problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 19:42:03 +00:00
Julian Smart
1044a386f0 Misc. 16-bit compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 15:14:50 +00:00
Julian Smart
ed75793627 Updating corrupt file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 14:09:49 +00:00
Guilhem Lavaux
aa6d970619 Updated wxSocket documentation
Renamed GSOCK_TIMEOUT to GSOCK_TIMEDOUT
Added wxURL::ConvertFromURI
Use wxUSE_LIBGIF in imaggif.cpp and samples/html/test/test.cpp
Full implementation of "timeout"s in gsocket.c
Non-blocking WaitConnection()/Connect() are supported now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 10:23:22 +00:00
Guilhem Lavaux
de3131e784 Changed some more name in wxSocket (internal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 06:46:38 +00:00
Michael Bedward
da4a658da4 What is it doing here anyway ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 06:33:31 +00:00
Guilhem Lavaux
aa8fb7a016 Added GSocket/wxSocket alias to socket.h to prevent us from using GSocket
internal symbols
Added G721 filter for Wave
Fixed a bug in wxsocket sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 05:51:05 +00:00
Michael Bedward
11d737b409 Modifed ShowModal() function so that you can have dialogs with yes, no and cancel buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 03:31:27 +00:00
Harco de Hilster
e951f847fa fixed crashing generic dir dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 10:54:26 +00:00
Michael Bedward
b387781ceb Added statline, checklst and spinbutt file to wxMotif compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 05:19:10 +00:00
Michael Bedward
d84b1219a5 Enabled wxStaticLine for wxMotif. Added checklst.cpp and spinbutt.cpp to Motif compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 05:16:19 +00:00
Michael Bedward
7a4b8f2770 Fixes for gcc 2.95 and AIX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 04:18:50 +00:00
Guilhem Lavaux
765e386bfa Added a test to wxSocket sample (client side socket event test)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-02 19:11:38 +00:00
Julian Smart
da4b7ffc78 SetMenuBar potential memory leak fixed; added wxTAB_TRAVERSAL as dummy (0) style
for backward compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-02 08:23:23 +00:00
530 changed files with 219413 additions and 77952 deletions

View File

@@ -1,117 +0,0 @@
*.py
*.pyc
*.pyc
*.pyd
*.pyd
*.pyo
*.pyo
*.zip
.cvsignore
.emacs.desktop
__init__.py
__init__.py
__init__.pyc
__init__.pyc
__init__.pyo
__init__.pyo
build.local
cmndlgs.py
cmndlgs.py
cmndlgs.pyc
cmndlgs.pyc
cmndlgs.pyo
cmndlgs.pyo
controls.py
controls.py
controls.pyc
controls.pyc
controls.pyo
controls.pyo
controls2.py
controls2.py
controls2.pyc
controls2.pyc
controls2.pyo
controls2.pyo
docs
events.py
events.py
events.pyc
events.pyc
events.pyo
events.pyo
filelist
frames.py
frames.py
frames.pyc
frames.pyc
frames.pyo
frames.pyo
gdi.py
gdi.py
gdi.pyc
gdi.pyc
gdi.pyo
gdi.pyo
glcanvas.py
glcanvas.pyc
glcanvasc.ilk
glcanvasc.pyd
image.py
image.pyc
mdi.py
mdi.py
mdi.pyc
mdi.pyc
mdi.pyo
mdi.pyo
misc.py
misc.py
misc.pyc
misc.pyc
misc.pyo
misc.pyo
printfw.py
stattool.py
stattool.py
stattool.pyc
stattool.pyc
stattool.pyo
stattool.pyo
utils.py
utils.py
utils.pyc
utils.pyc
utils.pyo
utilsc.ilk
utilsc.pyd
windows.py
windows.py
windows.pyc
windows.pyc
windows.pyo
windows.pyo
windows2.py
windows2.py
windows2.pyc
windows2.pyc
windows2.pyo
windows2.pyo
windows3.py
windows3.pyc
windows3.pyo
wx.py
wx.py
wx.pyc
wx.pyc
wx.pyo
wxPython.doc
wxc.ilk
wxc.pdb
wxc.pyd
wxp.py
wxp.pyc
wxp.pyo
wxpc.ilk
wxpc.pdb
wxpc.pyd

View File

@@ -1,411 +0,0 @@
wxPython README
---------------
Welcome to the wonderful world of wxPython!
Once you have installed the wxPython extension module, you can try it
out by going to the [install dir]\wxPython\demo directory and typing:
python demo.py
There are also some other sample files there for you to play with and
learn from.
If you selected to install the documentation then point your browser
to [install dir]\wxPython\docs\index.htm and you will then be looking
at the docs for wxWindows. For the most part you can use the C++ docs
as most classes and methods are used identically. Where there are
differences they are documented with a "wxPython Note."
On Win32 systems the binary self-installer creates a program group on
the Start Menu that contains a link to running the demo and a link to
the help file. To help you save disk space I'm now using Microsoft's
HTML Help format. If your system doesn't know what to do with the help
file, you can install the HTML Help Viewer as part of IE 4+, NT
Service Pack 4+, or the HTML Workshop at
http://msdn.microsoft.com/workshop/author/htmlhelp/download.asp.
Getting Help
------------
Since wxPython is a blending of multiple technologies, help comes from
multiple sources. See the http://alldunn.com/wxPython for details on
various sources of help, but probably the best source is the
wxPython-users mail list. You can view the archive or subscribe by
going to
http://starship.python.net/mailman/listinfo/wxpython-users
Or you can send mail directly to the list using this address:
wxpython-users@starship.python.net
----------------------------------------------------------------------
What's new in 2.1b3
--------------------
This release is syncronized with release 2.1 snapshot 9 of wxWindows.
Switched to using SWIG from CVS (see http://swig.cs.uchicago.edu/cvs.html)
for some of the new features and such. Also they have encorporated my
patches so there is really no reason to stick with the current (very
old) release... This version of SWIG gives the following new
features:
1. Keyword arguments. You no longer have to specify all the
parameters with defaults to a method just to specify a
non-default value on the end. You can now do this instead:
win = wxWindow(parent, -1, style = mystyle)
2. There is now an an equivalence between Python's None and C++'s
NULL. This means that any methods that might return NULL will
now return None and you can use none where wxWindows might be
expecting NULL. This makes things much more snake-ish.
There is a new build system based on a new Python program instead of
raw makefiles. Now wxPython builds are virtually the same on MSW or
Unix systems. See the end of this file for new build instructions and
see distrib/build.py for more details.
wxDC.Bilt now includes the useMask parameter, and has been split into
two different versions. wxDC.BlitXY is like what was there before and
takes raw coordinants and sizes, and the new wxDC.Blit is for the new
interface using wxPoints and a wxSize.
What's new in 2.1b2
--------------------
Added the missing wxWindow.GetUpdateRegion() method.
Made a new change in SWIG (update your patches everybody) that
provides a fix for global shadow objects that get an exception in
their __del__ when their extension module has already been deleted.
It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
line 496 if you want to do it by hand.
It is now possible to run through MainLoop more than once in any one
process. The cleanup that used to happen as MainLoop completed (and
prevented it from running again) has been delayed until the wxc module
is being unloaded by Python.
I fixed a bunch of stuff in the C++ version of wxGrid so it wouldn't
make wxPython look bad.
wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
wxWindow.PopupMenuXY to be consistent with some other methods.
Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
You can now provide your own app.MainLoop method. See
wxPython/demo/demoMainLoop.py for an example and some explaination.
Got the in-place-edit for the wxTreeCtrl fixed and added some demo
code to show how to use it.
Put the wxIcon constructor back in for GTK as it now has one that
matches MSW's.
Added wxGrid.GetCells
Added wxSystemSettings static methods as functions with names like
wxSystemSettings_GetSystemColour.
Removed wxPyMenu since using menu callbacks have been depreciated in
wxWindows. Use wxMenu and events instead.
Added alternate wxBitmap constructor (for MSW only) as
wxBitmapFromData(data, type, width, height, depth = 1)
Added a helper function named wxPyTypeCast that can convert shadow
objects of one type into shadow objects of another type. (Like doing
a down-cast.) See the implementation in wx.py for some docs.
Fixed wxImage GetData and SetData to properly use String objects for
data transfer.
Added access methods to wxGridEvent.
New Makefile/Setup files supporting multiple dynamic extension modules
for unix systems.
Fixes for the wxGLCanvas demo to work around a strange bug in gtk.
SWIG support routines now compiled separately instead of being bundled
in wx.cpp.
What's new in 2.1b1
--------------------
Fixed wxComboBox.SetSelection so that it actually sets the selected
item. (Actually just removed it from wxPython and let it default to
wxChoice.SetSelection which was already doing the right thing.)
Added the Printing Framework.
Switched back to using the wxWindows DLL for the pre-built Win32
version. The problem was needing to reinitialize static class info
data after loading each extension module.
Lots of little tweaks and additions to reflect changes to various
wxWindows classes.
Fixed a bug with attaching objects to tree items. Actually was a
symptom of a larger problem with not obtaining the interpreter lock
when doing any Py_DECREFs.
wxSizer and friends. Sizers are layout tools that manage a colection
of windows and sizers. Different types of sizers apply different
types of layout algorithms. You saw it here first! These classes are
not even in the wxWindows C++ library yet!
What's new in 2.0b9
-------------------
Bug fix for ListCtrl in test4.py (Was a missing file... DSM!)
Bug fix for occassional GPF on Win32 systems upon termination of a
wxPython application.
Added wxListBox.GetSelections returning selections as a Tuple.
Added a wxTreeItemData that is able to hold any Python object and be
associated with items in a wxTreeCtrl. Added test pytree.py to show
this feature off.
Added wxSafeYield function.
OpenGL Canvas can be optionally compiled in to wxPython.
Awesome new Demo Framework for showing off wxPython and for learning
how it all works.
The pre-built Win32 version is no longer distributing the wxWindows
DLL. It is statically linked with the wxWindows library instead.
Added a couple missing items from the docs.
Added wxImage, wxImageHandler, wxPNGHandler, wxJPEGHandler,
wxGIFHandler and wxBMPHandler.
Added new methods to wxTextCtrl.
Fixed some problems with how SWIG was wrapping some wxTreeCtrl
methods.
What's new in 2.0b8
-------------------
Support for using Python threads in wxPython apps.
Several missing methods from various classes.
Various bug fixes.
What's new in 2.0b7
-------------------
Added DLG_PNT and DLG_SZE convienience methods to wxWindow class.
Added missing constructor and other methods for wxMenuItem.
What's new in 2.0b6
-------------------
Just a quickie update to fix the self-installer to be compatible with
Python 1.5.2b2's Registry settings.
What's new in 2.0b5
-------------------
Well obviously the numbering scheme has changed. I did this to
reflect the fact that this truly is the second major revision of
wxPython, (well the third actually if you count the one I did for
wxWindows 1.68 and then threw away...) and also that it is associated
with the 2.0 version of wxWindows.
I have finally started documenting wxPython. There are several pages
in the wxWindows documentation tree specifically about wxPython, and I
have added notes within the class references about where and how wxPython
diverges from wxWindows.
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle. If you can get the window handle into the python code,
it should just work... More news on this later.
Added wxImageList, wxToolTip.
Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.
As usual, some bug fixes, tweaks, etc.
What's new in 0.5.3
-------------------
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
Various cleanup, tweaks, minor additions, etc. to maintain
compatibility with the current wxWindows.
What's new in 0.5.0
-------------------
Changed the import semantics from "from wxPython import *" to "from
wxPython.wx import *" This is for people who are worried about
namespace pollution, they can use "from wxPython import wx" and then
prefix all the wxPython identifiers with "wx."
Added wxTaskbarIcon for wxMSW.
Made the events work for wxGrid.
Added wxConfig.
Added wxMiniFrame for wxGTK.
Changed many of the args and return values that were pointers to gdi
objects to references to reflect changes in the wxWindows API.
Other assorted fixes and additions.
What's new in 0.4.2
-------------------
wxPython on wxGTK works!!! Both dynamic and static on Linux and
static on Solaris have been tested. Many thanks go to Harm
<H.v.d.Heijden@phys.tue.nl> for his astute detective work on tracking
down a nasty DECREF bug. Okay so I have to confess that it was just a
DSM (Dumb Stupid Mistake) on my part but it was nasty none the less
because the behavior was so different on different platforms.
The dynamicly loaded module on Solaris is still segfaulting, so it
must have been a different issue all along...
What's New in 0.4
-----------------
1. Worked on wxGTK compatibility. It is partially working. On a
Solaris/Sparc box wxPython is working but only when it is statically
linked with the Python interpreter. When built as a dyamically loaded
extension module, things start acting weirdly and it soon seg-faults.
And on Linux both the statically linked and the dynamically linked
version segfault shortly after starting up.
2. Added Toolbar, StatusBar and SplitterWindow classes.
3. Varioius bug fixes, enhancements, etc.
----------------------------------------------------------------------
Build Instructions
------------------
I used SWIG (http://www.swig.org) to create the source code for the
extension module. This enabled me to only have to deal with a small
amount of code and only have to bother with the exceptional issues.
SWIG takes care of the rest and generates all the repetative code for
me. You don't need SWIG to build the extension module as all the
generated C++ code is included under the src directory.
I added a few minor features to SWIG to control some of the code
generation. If you want to play around with this you will need to get
a recent version of SWIG from their CVS or from a daily build. See
http://www.swig.org/ for details.
wxPython is organized as a Python package. This means that the
directory containing the results of the build process should be a
subdirectory of a directory on the PYTHONPATH. (And preferably should
be named wxPython.) You can control where the build process will dump
wxPython by setting the TARGETDIR variable for the build utility, (see
below.)
1. Build wxWindows as described in its BuildCVS.txt file. For *nix
systems I run configure with these flags:
--with-gtk
--with-libjpeg
--without-odbc
--enable-unicode=no
--enable-threads=yes
--enable-socket=yes
--enable-static=no
--enable-shared=yes
--disable-std_iostreams
You can use whatever flags you want, but I know these work.
For Win32 systems I use Visual C++ 6.0, but 5.0 should work. The
build utility currently does not support any other win32 compilers.
2. At this point you may want to make an alias or symlink, script,
batch file, whatever on the PATH that invokes
$(WXWIN)/utils/wxPython/distrib/build.py to help simplify matters
somewhat. For example, on my win32 system I have a file named
build.bat in a directory on the PATH that contains:
python $(WXWIN)/utils/wxPython/distrib/build.py %1 %2 %3 %4 %5 %6
3. Change into the $(WXWIN)/utils/wxPython/src directory.
4. Type "build -b" to build wxPython and "build -i" to install it.
The build.py script actually generates a Makefile based on what it
finds on your system and information found in the build.cfg file.
If you have troubles building or you want it built or installed in
a different way, take a look at the docstring in build.py. You may
be able to override configuration options in a file named
build.local.
5. To build and install the add-on modules, change to the appropriate
directory under $(WXWIN)/utils/wxPython/modules and run the build
utility again.
6. Change to the $(WXWIN)/utils/wxPython/demo directory.
7. Try executing the demo program. For example:
python demo.py
To run it without requiring a console on win32, you can use the
pythonw.exe version of Python either from the command line or from a
shortcut.
----------------
Robin Dunn
robin@alldunn.com

View File

@@ -1,139 +0,0 @@
*** swig.h.old Wed Feb 04 15:59:40 1998
--- swig.h Fri Aug 28 15:46:32 1998
***************
*** 178,185 ****
--- 178,211 ----
char *firstkey();
char *nextkey();
};
+ // -------------------------------------------------------------------
+ // Simple Vector class
+ // User is responsible for deleting contents before deleteing Vector
+ // -------------------------------------------------------------------
+
+ class Vector {
+ public:
+ Vector(size_t allocSize=8);
+ ~Vector();
+
+ size_t size() { return m_size; }
+ size_t count() { return m_count; }
+ size_t append(void* object);
+ size_t extend(size_t newSize);
+
+ void*& operator[] (size_t idx);
+
+ static void* s_nullPtr;
+
+ private:
+ size_t m_size;
+ size_t m_count;
+ void** m_data;
+ };
+
+
/************************************************************************
* class DataType
*
* Defines the basic datatypes supported by the translator.
***************
*** 684,691 ****
--- 710,761 ----
extern char *name_get(char *vname, int suppress=0);
extern char *name_set(char *vname, int suppress=0);
extern char *name_construct(char *classname, int suppress=0);
extern char *name_destroy(char *classname, int suppress=0);
+
+ // ----------------------------------------------------------------------
+ // class CPP_class
+ //
+ // Class for managing class members (internally)
+ // ----------------------------------------------------------------------
+
+ class CPP_member;
+
+ class CPP_class {
+ public:
+ char *classname; // Real class name
+ char *classrename; // New name of class (if applicable)
+ char *classtype; // class type (struct, union, class)
+ int strip; // Strip off class declarator
+ int wextern; // Value of extern wrapper variable for this class
+ int have_constructor; // Status bit indicating if we've seen a constructor
+ int have_destructor; // Status bit indicating if a destructor has been seen
+ int is_abstract; // Status bit indicating if this is an abstract class
+ int generate_default; // Generate default constructors
+ int objective_c; // Set if this is an objective C class
+ int error; // Set if this class can't be generated
+ int line; // Line number
+ char **baseclass; // Base classes (if any)
+ Hash *local; // Hash table for local types
+ Hash *scope; // Local scope hash table
+ DocEntry *de; // Documentation entry of class
+ CPP_member *members; // Linked list of members
+ CPP_class *next; // Next class
+ static CPP_class *classlist; // List of all classes stored
+
+ Vector addPragmas;
+
+ CPP_class(char *name, char *ctype);
+ void add_member(CPP_member *m);
+ CPP_member *search_member(char *name);
+ void inherit_decls(int mode);
+ void emit_decls();
+ static CPP_class *search(char *name);
+ void create_default();
+ static void create_all();
+ };
+
+ extern CPP_class *current_class;
/***********************************************************************
* -- Revision History
* $Log$
* Revision 1.2 1999/07/31 07:54:05 RD
* wxPython 2.1b1:
*
* Added the missing wxWindow.GetUpdateRegion() method.
*
* Made a new change in SWIG (update your patches everybody) that
* provides a fix for global shadow objects that get an exception in
* their __del__ when their extension module has already been deleted.
* It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
* line 496 if you want to do it by hand.
*
* It is now possible to run through MainLoop more than once in any one
* process. The cleanup that used to happen as MainLoop completed (and
* prevented it from running again) has been delayed until the wxc module
* is being unloaded by Python.
*
* wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
* wxWindow.PopupMenuXY to be consistent with some other methods.
*
* Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
*
* You can now provide your own app.MainLoop method. See
* wxPython/demo/demoMainLoop.py for an example and some explaination.
*
* Got the in-place-edit for the wxTreeCtrl fixed and added some demo
* code to show how to use it.
*
* Put the wxIcon constructor back in for GTK as it now has one that
* matches MSW's.
*
* Added wxGrid.GetCells
*
* Added wxSystemSettings static methods as functions with names like
* wxSystemSettings_GetSystemColour.
*
* Removed wxPyMenu since using menu callbacks have been depreciated in
* wxWindows. Use wxMenu and events instead.
*
* Added alternate wxBitmap constructor (for MSW only) as
* wxBitmapFromData(data, type, width, height, depth = 1)
*
* Added a helper function named wxPyTypeCast that can convert shadow
* objects of one type into shadow objects of another type. (Like doing
* a down-cast.) See the implementation in wx.py for some docs.
*

View File

@@ -1,202 +0,0 @@
*** python.cxx.old Fri Jan 02 23:17:40 1998
--- python.cxx Fri Aug 28 15:49:18 1998
***************
*** 1678,1685 ****
--- 1678,1702 ----
fprintf(stderr,"%s : Line %d. Unable to locate file %s\n", input_file, line_number, value);
}
}
}
+ } else if (strcmp(cmd, "addtomethod") == 0) {
+ // parse value, expected to be in the form "methodName:line"
+ char* txtptr = strchr(value, ':');
+ if (txtptr) {
+ // add name and line to a list in current_class
+ *txtptr = 0;
+ txtptr++;
+ AddPragmaData* apData = new AddPragmaData(value, txtptr);
+ current_class->addPragmas.append(apData);
+
+ } else {
+ fprintf(stderr,"%s : Line %d. Malformed addtomethod pragma. Should be \"methodName:text\"\n",
+ input_file, line_number);
+ }
+ } else if (strcmp(cmd, "addtoclass") == 0) {
+ AddPragmaData* apData = new AddPragmaData("__class__", value);
+ current_class->addPragmas.append(apData);
} else {
fprintf(stderr,"%s : Line %d. Unrecognized pragma.\n", input_file, line_number);
}
}
*** python.h.old Thu Jul 24 23:18:50 1997
--- python.h Fri Aug 28 15:46:08 1998
***************
*** 184,191 ****
--- 184,203 ----
void cpp_declare_const(char *name, char *iname, DataType *type, char *value);
void cpp_class_decl(char *, char *,char *);
void pragma(char *, char *, char *);
void add_typedef(DataType *t, char *name);
+
+ void emitAddPragmas(String& output, char* name, char* spacing);
};
#define PYSHADOW_MEMBER 0x2
+
+ struct AddPragmaData {
+ String m_method;
+ String m_text;
+
+ AddPragmaData(char* method, char* text)
+ : m_method(method),
+ m_text(text)
+ {}
+ };
*** pycpp.cxx.old Fri Jan 02 21:23:22 1998
--- pycpp.cxx Tue Jul 20 14:34:36 1999
***************
*** 275,282 ****
--- 275,283 ----
#endif
}
}
// if ((t->type != T_VOID) || (t->is_pointer))
+ emitAddPragmas(*pyclass, realname, tab8);
*pyclass << tab8 << "return val\n";
// Change the usage string to reflect our shadow class
***************
*** 393,400 ****
--- 394,402 ----
}
}
*construct << ")\n";
*construct << tab8 << "self.thisown = 1\n";
+ emitAddPragmas(*construct, "__init__", tab8);
have_constructor = 1;
} else {
// Hmmm. We seem to be creating a different constructor. We're just going to create a
***************
*** 490,503 ****
if (class_renamed) realname = class_name;
else realname = name;
}
! *pyclass << tab4 << "def __del__(self):\n"
<< tab8 << "if self.thisown == 1 :\n"
<< tab8 << tab4 << module << "." << name_destroy(realname) << "(self.this)\n";
!
have_destructor = 1;
-
if (doc_entry) {
doc_entry->usage = "";
doc_entry->usage << "del this";
}
--- 492,504 ----
if (class_renamed) realname = class_name;
else realname = name;
}
! *pyclass << tab4 << "def __del__(self, " << module << "=" << module << "):\n"
<< tab8 << "if self.thisown == 1 :\n"
<< tab8 << tab4 << module << "." << name_destroy(realname) << "(self.this)\n";
! emitAddPragmas(*pyclass, "__del__", tab8);
have_destructor = 1;
if (doc_entry) {
doc_entry->usage = "";
doc_entry->usage << "del this";
}
***************
*** 551,558 ****
--- 552,561 ----
repr << tab4 << "def __repr__(self):\n"
<< tab8 << "return \"<C " << class_name <<" instance>\"\n";
classes << repr;
+ emitAddPragmas(classes, "__class__", tab4);
+
}
// Now build the real class with a normal constructor
***************
*** 746,753 ****
--- 749,778 ----
hash.add(name,copy_string((char *) hash.lookup(t->name)));
}
}
+ // --------------------------------------------------------------------------------
+ // PYTHON::emitAddPragmas(String& output, char* name, char* spacing);
+ //
+ // Search the current_class->addPragmas vector for any text belonging to name.
+ // Append the text properly spcaed to the output string.
+ //
+ // --------------------------------------------------------------------------------
+
+ void PYTHON::emitAddPragmas(String& output, char* name, char* spacing)
+ {
+ AddPragmaData* apData;
+ size_t count;
+ int i;
+
+ count = current_class->addPragmas.count();
+ for (i=0; i<count; i++) {
+ apData = (AddPragmaData*)current_class->addPragmas[i];
+ if (strcmp(apData->m_method, name) == 0) {
+ output << spacing << apData->m_text << "\n";
+ }
+ }
+ }
/*********************************************************************************
*
* $Log$
* Revision 1.2 1999/07/31 07:54:05 RD
* wxPython 2.1b1:
*
* Added the missing wxWindow.GetUpdateRegion() method.
*
* Made a new change in SWIG (update your patches everybody) that
* provides a fix for global shadow objects that get an exception in
* their __del__ when their extension module has already been deleted.
* It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
* line 496 if you want to do it by hand.
*
* It is now possible to run through MainLoop more than once in any one
* process. The cleanup that used to happen as MainLoop completed (and
* prevented it from running again) has been delayed until the wxc module
* is being unloaded by Python.
*
* wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
* wxWindow.PopupMenuXY to be consistent with some other methods.
*
* Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
*
* You can now provide your own app.MainLoop method. See
* wxPython/demo/demoMainLoop.py for an example and some explaination.
*
* Got the in-place-edit for the wxTreeCtrl fixed and added some demo
* code to show how to use it.
*
* Put the wxIcon constructor back in for GTK as it now has one that
* matches MSW's.
*
* Added wxGrid.GetCells
*
* Added wxSystemSettings static methods as functions with names like
* wxSystemSettings_GetSystemColour.
*
* Removed wxPyMenu since using menu callbacks have been depreciated in
* wxWindows. Use wxMenu and events instead.
*
* Added alternate wxBitmap constructor (for MSW only) as
* wxBitmapFromData(data, type, width, height, depth = 1)
*
* Added a helper function named wxPyTypeCast that can convert shadow
* objects of one type into shadow objects of another type. (Like doing
* a down-cast.) See the implementation in wx.py for some docs.
*

View File

@@ -1,530 +0,0 @@
*** cplus.cxx.old Mon Feb 02 15:55:42 1998
--- cplus.cxx Fri Aug 28 13:02:50 1998
***************
*** 581,612 ****
// Class for managing class members (internally)
// ----------------------------------------------------------------------
static char *inherit_base_class = 0;
- class CPP_class {
- public:
- char *classname; // Real class name
- char *classrename; // New name of class (if applicable)
- char *classtype; // class type (struct, union, class)
- int strip; // Strip off class declarator
- int wextern; // Value of extern wrapper variable for this class
- int have_constructor; // Status bit indicating if we've seen a constructor
- int have_destructor; // Status bit indicating if a destructor has been seen
- int is_abstract; // Status bit indicating if this is an abstract class
- int generate_default; // Generate default constructors
- int objective_c; // Set if this is an objective C class
- int error; // Set if this class can't be generated
- int line; // Line number
- char **baseclass; // Base classes (if any)
- Hash *local; // Hash table for local types
- Hash *scope; // Local scope hash table
- DocEntry *de; // Documentation entry of class
- CPP_member *members; // Linked list of members
- CPP_class *next; // Next class
- static CPP_class *classlist; // List of all classes stored
! CPP_class(char *name, char *ctype) {
CPP_class *c;
classname = copy_string(name);
classtype = copy_string(ctype);
classrename = 0;
--- 581,593 ----
// Class for managing class members (internally)
// ----------------------------------------------------------------------
static char *inherit_base_class = 0;
+ CPP_class *CPP_class::classlist = 0;
+ CPP_class *current_class;
! CPP_class::CPP_class(char *name, char *ctype) {
CPP_class *c;
classname = copy_string(name);
classtype = copy_string(ctype);
classrename = 0;
***************
*** 642,650 ****
// ------------------------------------------------------------------------------
// Add a new C++ member to this class
// ------------------------------------------------------------------------------
! void add_member(CPP_member *m) {
CPP_member *cm;
// Set base class where this was defined
if (inherit_base_class)
--- 623,631 ----
// ------------------------------------------------------------------------------
// Add a new C++ member to this class
// ------------------------------------------------------------------------------
! void CPP_class::add_member(CPP_member *m) {
CPP_member *cm;
// Set base class where this was defined
if (inherit_base_class)
***************
*** 664,672 ****
// ------------------------------------------------------------------------------
// Search for a member with the given name. Returns the member on success, 0 on failure
// ------------------------------------------------------------------------------
! CPP_member *search_member(char *name) {
CPP_member *m;
char *c;
m = members;
while (m) {
--- 645,653 ----
// ------------------------------------------------------------------------------
// Search for a member with the given name. Returns the member on success, 0 on failure
// ------------------------------------------------------------------------------
! CPP_member *CPP_class::search_member(char *name) {
CPP_member *m;
char *c;
m = members;
while (m) {
***************
*** 680,688 ****
// ------------------------------------------------------------------------------
// Inherit. Put all the declarations associated with this class into the current
// ------------------------------------------------------------------------------
! void inherit_decls(int mode) {
CPP_member *m;
m = members;
while (m) {
inherit_base_class = m->base;
--- 661,669 ----
// ------------------------------------------------------------------------------
// Inherit. Put all the declarations associated with this class into the current
// ------------------------------------------------------------------------------
! void CPP_class::inherit_decls(int mode) {
CPP_member *m;
m = members;
while (m) {
inherit_base_class = m->base;
***************
*** 696,704 ****
// ------------------------------------------------------------------------------
// Emit all of the declarations associated with this class
// ------------------------------------------------------------------------------
! void emit_decls() {
CPP_member *m = members;
int last_scope = name_scope(0);
abstract = is_abstract;
while (m) {
--- 677,685 ----
// ------------------------------------------------------------------------------
// Emit all of the declarations associated with this class
// ------------------------------------------------------------------------------
! void CPP_class::emit_decls() {
CPP_member *m = members;
int last_scope = name_scope(0);
abstract = is_abstract;
while (m) {
***************
*** 713,721 ****
// ------------------------------------------------------------------------------
// Search for a given class in the list
// ------------------------------------------------------------------------------
! static CPP_class *search(char *name) {
CPP_class *c;
c = classlist;
if (!name) return 0;
while (c) {
--- 694,702 ----
// ------------------------------------------------------------------------------
// Search for a given class in the list
// ------------------------------------------------------------------------------
! CPP_class *CPP_class::search(char *name) {
CPP_class *c;
c = classlist;
if (!name) return 0;
while (c) {
***************
*** 729,737 ****
// Add default constructors and destructors
//
// ------------------------------------------------------------------------------
! void create_default() {
if (!generate_default) return;
// Try to generate a constructor if not available.
--- 710,718 ----
// Add default constructors and destructors
//
// ------------------------------------------------------------------------------
! void CPP_class::create_default() {
if (!generate_default) return;
// Try to generate a constructor if not available.
***************
*** 751,764 ****
// ------------------------------------------------------------------------------
// Dump *all* of the classes saved out to the various
// language modules (this does what cplus_close_class used to do)
// ------------------------------------------------------------------------------
- static void create_all();
- };
-
- CPP_class *CPP_class::classlist = 0;
- static CPP_class *current_class;
-
void CPP_class::create_all() {
CPP_class *c;
c = classlist;
while (c) {
--- 732,739 ----
*** vector.cxx.old Fri Aug 28 15:23:16 1998
--- vector.cxx Fri Aug 28 15:46:52 1998
***************
*** 0 ****
--- 1,182 ----
+
+ /*******************************************************************************
+ * Simplified Wrapper and Interface Generator (SWIG)
+ *
+ * Dave Beazley
+ *
+ * Department of Computer Science Theoretical Division (T-11)
+ * University of Utah Los Alamos National Laboratory
+ * Salt Lake City, Utah 84112 Los Alamos, New Mexico 87545
+ * beazley@cs.utah.edu beazley@lanl.gov
+ *
+ * Copyright (c) 1995-1997
+ * The University of Utah and the Regents of the University of California
+ * All Rights Reserved
+ *
+ * Permission is hereby granted, without written agreement and without
+ * license or royalty fees, to use, copy, modify, and distribute this
+ * software and its documentation for any purpose, provided that
+ * (1) The above copyright notice and the following two paragraphs
+ * appear in all copies of the source code and (2) redistributions
+ * including binaries reproduces these notices in the supporting
+ * documentation. Substantial modifications to this software may be
+ * copyrighted by their authors and need not follow the licensing terms
+ * described here, provided that the new terms are clearly indicated in
+ * all files where they apply.
+ *
+ * IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE
+ * UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
+ * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
+ * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
+ * EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
+ * SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
+ * THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
+ * SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+ *
+ *******************************************************************************/
+
+ #include "internal.h"
+
+ /*******************************************************************************
+ * $Header$
+ *
+ * File : vector.cxx
+ *
+ * A very simple Vector class. Allways assumes that memory allocations are
+ * successful. Should be made more robust...
+ *
+ *******************************************************************************/
+
+ void* Vector::s_nullPtr = NULL;
+
+ // -----------------------------------------------------------------------------
+ // Vector::Vector(size_t allocSize = 8)
+ //
+ // Constructor. Creates a new Vector.
+ //
+ // Inputs : initial allocation size (optional)
+ //
+ // Output : New Vector object.
+ //
+ // Side Effects : None
+ // -----------------------------------------------------------------------------
+
+ Vector::Vector(size_t allocSize)
+ : m_size(allocSize),
+ m_count(0),
+ m_data(0)
+ {
+ if (m_size) {
+ m_data = new void*[m_size];
+ int i;
+ for (i=0; i<m_size;i++)
+ m_data[i] = 0;
+ }
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::~Vector
+ //
+ // Destructor. Only cleans up the vector, not its contents!
+ //
+ // -----------------------------------------------------------------------------
+
+
+ Vector::~Vector() {
+ if (m_data) {
+ delete [] m_data;
+ }
+
+ m_data = 0;
+ m_size = m_count = 0;
+ }
+
+
+
+ // -----------------------------------------------------------------------------
+ // size_t Vector::extend(size_t newSize)
+ //
+ // Extends the vector to at least newSize length. Won't do anything if newSize
+ // is smaller than the current size of the vector.
+ //
+ // Returns the new allocated size.
+ //
+ // -----------------------------------------------------------------------------
+
+ #define GRANULARITY 16
+
+ size_t Vector::extend(size_t newSize) {
+
+ if (newSize > m_size) {
+ newSize = newSize + (GRANULARITY - (newSize % GRANULARITY));
+
+ void** temp = new void*[newSize];
+ memcpy(temp, m_data, m_size*sizeof(void*));
+
+ int i;
+ for (i=m_size; i<newSize; i++)
+ temp[i] = 0;
+
+ delete [] m_data;
+ m_data = temp;
+ m_size = newSize;
+ }
+ return m_size;
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::append(void* object)
+ //
+ // Appends the object pointer to vector at index m_count. Increments m_count.
+ // Returns the new count.
+ // -----------------------------------------------------------------------------
+
+ size_t Vector::append(void* object) {
+ if (m_count >= m_size) {
+ extend(m_count + 1);
+ }
+
+ m_data[m_count] = object;
+ m_count += 1;
+
+ return m_count;
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::operator[] (size_t idx)
+ //
+ // Returns a reference to the void pointer at idx. If idx is beyond the range
+ // of the vector, returns a reference to s_nullPtr.
+ //
+ // -----------------------------------------------------------------------------
+
+ void*& Vector::operator[] (size_t idx) {
+ if (idx >= m_size) {
+ s_nullPtr = 0;
+ return s_nullPtr;
+ }
+
+ return m_data[idx];
+ }
+
+
+ /***********************************************************************
+ *
+ * -- Revision History
+ * $Log$
+ * Revision 1.3 1999/07/31 07:54:05 RD
+ * wxPython 2.1b1:
+ *
+ * Added the missing wxWindow.GetUpdateRegion() method.
+ *
+ * Made a new change in SWIG (update your patches everybody) that
+ * provides a fix for global shadow objects that get an exception in
+ * their __del__ when their extension module has already been deleted.
+ * It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
+ * line 496 if you want to do it by hand.
+ *
+ * It is now possible to run through MainLoop more than once in any one
+ * process. The cleanup that used to happen as MainLoop completed (and
+ * prevented it from running again) has been delayed until the wxc module
+ * is being unloaded by Python.
+ *
+ * wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
+ * wxWindow.PopupMenuXY to be consistent with some other methods.
+ *
+ * Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
+ *
+ * You can now provide your own app.MainLoop method. See
+ * wxPython/demo/demoMainLoop.py for an example and some explaination.
+ *
+ * Got the in-place-edit for the wxTreeCtrl fixed and added some demo
+ * code to show how to use it.
+ *
+ * Put the wxIcon constructor back in for GTK as it now has one that
+ * matches MSW's.
+ *
+ * Added wxGrid.GetCells
+ *
+ * Added wxSystemSettings static methods as functions with names like
+ * wxSystemSettings_GetSystemColour.
+ *
+ * Removed wxPyMenu since using menu callbacks have been depreciated in
+ * wxWindows. Use wxMenu and events instead.
+ *
+ * Added alternate wxBitmap constructor (for MSW only) as
+ * wxBitmapFromData(data, type, width, height, depth = 1)
+ *
+ * Added a helper function named wxPyTypeCast that can convert shadow
+ * objects of one type into shadow objects of another type. (Like doing
+ * a down-cast.) See the implementation in wx.py for some docs.
+ *
+ *
+ ***********************************************************************/
+
+
+
+
+
+
*** makefile.msc.old Mon Jun 23 16:15:32 1997
--- makefile.msc Fri Aug 28 11:21:58 1998
***************
*** 33,50 ****
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj sstring.obj wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
! CFLAGS = -Zi -nologo -DSWIG_LIB="\"$(SWIG_LIB)\"" -DSWIG_CC="\"$(CC)\"" -DMSDOS -DSTDC_HEADERS=1 -DHAVE_LIBDL=1 $(SWIG_OPTS)
LD_FLAGS = -VERBOSE
#
--- 33,50 ----
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj vector.obj sstring.obj wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx vector.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
! CFLAGS = -Zi -nologo -DSWIG_LIB="\"$(SWIG_LIB)\"" -DSWIG_CC="\"$(CC)\"" -DMSDOS -DSTDC_HEADERS=1 -DHAVE_LIBDL=1 $(SWIG_OPTS) $(OTHERFLAGS)
LD_FLAGS = -VERBOSE
#
*** makefile.bc.old Sun Jan 04 13:49:24 1998
--- makefile.bc Fri Aug 28 15:42:58 1998
***************
*** 34,47 ****
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj \
emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj sstring.obj \
wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx \
emit.cxx newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
! sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
--- 34,47 ----
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj \
emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj vector.obj sstring.obj \
wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx \
emit.cxx newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
! vector.cxx sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
*** Makefile.in.old Wed May 28 23:56:56 1997
--- Makefile.in Fri Aug 28 15:43:36 1998
***************
*** 51,63 ****
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.o scanner.o symbol.o include.o types.o parms.o emit.o newdoc.o ascii.o \
! html.o latex.o cplus.o lang.o hash.o sstring.o wrapfunc.o getopt.o comment.o \
typemap.o naming.o
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIB = ../libswig.a
--- 51,63 ----
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.o scanner.o symbol.o include.o types.o parms.o emit.o newdoc.o ascii.o \
! html.o latex.o cplus.o lang.o hash.o vector.o sstring.o wrapfunc.o getopt.o comment.o \
typemap.o naming.o
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx vector.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIB = ../libswig.a

View File

@@ -1,336 +0,0 @@
#!/bin/env python
#----------------------------------------------------------------------------
# Name: Main.py
# Purpose: Testing lots of stuff, controls, window types, etc.
#
# Author: Robin Dunn & Gary Dumer
#
# Created:
# RCS-ID: $Id$
# Copyright: (c) 1999 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
import sys, os
from wxPython.wx import *
#---------------------------------------------------------------------------
_treeList = [
('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']),
('Miscellaneous Windows', ['wxGrid', 'wxSashWindow',
'wxScrolledWindow', 'wxSplitterWindow',
'wxStatusBar', 'wxToolBar', 'wxNotebook']),
('Common Dialogs', ['wxColourDialog', 'wxDirDialog', 'wxFileDialog',
'wxSingleChoiceDialog', 'wxTextEntryDialog',
'wxFontDialog', 'wxPageSetupDialog', 'wxPrintDialog',
'wxMessageDialog', 'wxProgressDialog']),
('Controls', ['wxButton', 'wxCheckBox', 'wxCheckListBox', 'wxChoice',
'wxComboBox', 'wxGauge', 'wxListBox', 'wxListCtrl', 'wxTextCtrl',
'wxTreeCtrl', 'wxSpinButton', 'wxStaticText', 'wxStaticBitmap',
'wxRadioBox', 'wxSlider']),
('Window Layout', ['wxLayoutConstraints', 'Sizers']),
('Miscellaneous', ['wxTimer', 'wxGLCanvas', 'DialogUnits', 'wxImage',
'PrintFramework']),
('wxPython Library', ['Sizers', 'Layoutf', 'wxScrolledMessageDialog',
'wxMultipleChoiceDialog', 'wxPlotCanvas']),
('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
]
#---------------------------------------------------------------------------
class wxPythonDemo(wxFrame):
def __init__(self, parent, id, title):
wxFrame.__init__(self, parent, -1, title,
wxDefaultPosition, wxSize(700, 550))
if wxPlatform == '__WXMSW__':
self.icon = wxIcon('bitmaps/mondrian.ico', wxBITMAP_TYPE_ICO)
self.SetIcon(self.icon)
self.otherWin = None
EVT_IDLE(self, self.OnIdle)
self.Centre(wxBOTH)
self.CreateStatusBar(1, wxST_SIZEGRIP)
splitter = wxSplitterWindow(self, -1)
splitter2 = wxSplitterWindow(splitter, -1)
# Prevent TreeCtrl from displaying all items after destruction
self.dying = false
# Make a File menu
self.mainmenu = wxMenuBar()
menu = wxMenu()
mID = NewId()
menu.Append(mID, 'E&xit', 'Get the heck outta here!')
EVT_MENU(self, mID, self.OnFileExit)
self.mainmenu.Append(menu, '&File')
# Make a Help menu
mID = NewId()
menu = wxMenu()
menu.Append(mID, '&About', 'wxPython RULES!!!')
EVT_MENU(self, mID, self.OnHelpAbout)
self.mainmenu.Append(menu, '&Help')
self.SetMenuBar(self.mainmenu)
selectedDemo = None
selectedDemoName = "Nada"
if len(sys.argv) == 2:
selectedDemoName = sys.argv[1]
# Create a TreeCtrl
tID = NewId()
self.tree = wxTreeCtrl(splitter, tID)
root = self.tree.AddRoot("Overview")
for item in _treeList:
child = self.tree.AppendItem(root, item[0])
for childItem in item[1]:
theDemo = self.tree.AppendItem(child, childItem)
if childItem == selectedDemoName:
selectedDemo = theDemo
self.tree.Expand(root)
EVT_TREE_ITEM_EXPANDED (self.tree, tID, self.OnItemExpanded)
EVT_TREE_ITEM_COLLAPSED (self.tree, tID, self.OnItemCollapsed)
EVT_TREE_SEL_CHANGED (self.tree, tID, self.OnSelChanged)
# Create a Notebook
self.nb = wxNotebook(splitter2, -1)
# Set up a TextCtrl on the Overview Notebook page
self.ovr = wxTextCtrl(self.nb, -1, style = wxTE_MULTILINE|wxTE_READONLY)
self.nb.AddPage(self.ovr, "Overview")
# Set up a TextCtrl on the Demo Code Notebook page
self.txt = wxTextCtrl(self.nb, -1,
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
self.txt.SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false))
self.nb.AddPage(self.txt, "Demo Code")
# Set up a log on the View Log Notebook page
self.log = wxTextCtrl(splitter2, -1,
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
(w, self.charHeight) = self.log.GetTextExtent('X')
#self.WriteText('wxPython Demo Log:\n')
# add the windows to the splitter and split it.
splitter.SplitVertically(self.tree, splitter2)
splitter.SetSashPosition(180, true)
splitter.SetMinimumPaneSize(20)
splitter2.SplitHorizontally(self.nb, self.log)
splitter2.SetSashPosition(360, true)
splitter2.SetMinimumPaneSize(20)
# make our log window be stdout
#sys.stdout = self
# select initial items
self.nb.SetSelection(0)
self.tree.SelectItem(root)
if selectedDemo:
self.tree.SelectItem(selectedDemo)
self.tree.EnsureVisible(selectedDemo)
#---------------------------------------------
def WriteText(self, text):
self.log.WriteText(text)
w, h = self.log.GetClientSizeTuple()
numLines = h/self.charHeight
x, y = self.log.PositionToXY(self.log.GetLastPosition())
self.log.ShowPosition(self.log.XYToPosition(x, y-numLines))
##self.log.ShowPosition(self.log.GetLastPosition())
self.log.SetInsertionPointEnd()
def write(self, txt):
self.WriteText(txt)
#---------------------------------------------
def OnItemExpanded(self, event):
item = event.GetItem()
self.log.WriteText("OnItemExpanded: %s\n" % self.tree.GetItemText(item))
#---------------------------------------------
def OnItemCollapsed(self, event):
item = event.GetItem()
self.log.WriteText("OnItemCollapsed: %s\n" % self.tree.GetItemText(item))
#---------------------------------------------
def OnSelChanged(self, event):
if self.dying:
return
if self.nb.GetPageCount() == 3:
if self.nb.GetSelection() == 2:
self.nb.SetSelection(0)
self.nb.DeletePage(2)
item = event.GetItem()
itemText = self.tree.GetItemText(item)
if itemText == 'Overview':
self.GetDemoFile('Main.py')
self.SetOverview('Overview', overview)
#self.nb.ResizeChildren();
self.nb.Refresh();
#wxYield()
else:
if os.path.exists(itemText + '.py'):
self.GetDemoFile(itemText + '.py')
module = __import__(itemText, globals())
self.SetOverview(itemText, module.overview)
# in case runTest is modal, make sure things look right...
self.nb.Refresh();
wxYield()
window = module.runTest(self, self.nb, self)
if window:
self.nb.AddPage(window, 'Demo')
self.nb.SetSelection(2)
self.nb.ResizeChildren();
else:
self.ovr.Clear()
self.txt.Clear()
#---------------------------------------------
# Get the Demo files
def GetDemoFile(self, filename):
self.txt.Clear()
#if not self.txt.LoadFile(filename):
# self.txt.WriteText("Cannot open %s file." % filename)
try:
self.txt.SetValue(open(filename).read())
except IOError:
self.txt.WriteText("Cannot open %s file." % filename)
self.txt.SetInsertionPoint(0)
self.txt.ShowPosition(0)
#---------------------------------------------
def SetOverview(self, name, text):
self.ovr.Clear()
self.ovr.WriteText(text)
self.nb.SetPageText(0, name)
self.ovr.SetInsertionPoint(0)
self.ovr.ShowPosition(0)
#---------------------------------------------
# Menu methods
def OnFileExit(self, event):
self.Close()
def OnHelpAbout(self, event):
about = wxMessageDialog(self,
"wxPython is a Python extension module that\n"
"encapsulates the wxWindows GUI classes.\n\n"
"This demo shows off some of the capabilities\n"
"of wxPython.\n\n"
" Developed by Robin Dunn",
"About wxPython", wxOK)
about.ShowModal()
about.Destroy()
#---------------------------------------------
def OnCloseWindow(self, event):
self.dying = true
self.Destroy()
#---------------------------------------------
def OnIdle(self, event):
if self.otherWin:
self.otherWin.Raise()
self.otherWin = None
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
class MyApp(wxApp):
def OnInit(self):
wxImage_AddHandler(wxJPEGHandler())
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
frame = wxPythonDemo(NULL, -1, "wxPython: (A Demonstration)")
frame.Show(true)
self.SetTopWindow(frame)
return true
#---------------------------------------------------------------------------
def main():
app = MyApp(0)
app.MainLoop()
#---------------------------------------------------------------------------
overview = """\
Python
------------
Python is an interpreted, interactive, object-oriented programming language often compared to Tcl, Perl, Scheme, or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, and new built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
wxWindows
--------------------
wxWindows is a free C++ framework designed to make cross-platform programming child's play. Well, almost. wxWindows 2 supports Windows 3.1/95/98/NT, Unix with GTK/Motif/Lesstif, with a Mac version underway. Other ports are under consideration.
wxWindows is a set of libraries that allows C++ applications to compile and run on several different types of computers, with minimal source code changes. There is one library per supported GUI (such as Motif, or Windows). As well as providing a common API (Application Programming Interface) for GUI functionality, it provides functionality for accessing some commonly-used operating system facilities, such as copying or deleting files. wxWindows is a 'framework' in the sense that it provides a lot of built-in functionality, which the application can use or replace as required, thus saving a great deal of coding effort. Basic data structures such as strings, linked lists and hash tables are also supported.
wxPython
----------------
wxPython is a Python extension module that encapsulates the wxWindows GUI classes. Currently it is only available for the Win32 and GTK ports of wxWindows, but as soon as the other ports are brought up to the same level as Win32 and GTK, it should be fairly trivial to enable wxPython to be used with the new GUI.
The wxPython extension module attempts to mirror the class heiarchy of wxWindows as closely as possible. This means that there is a wxFrame class in wxPython that looks, smells, tastes and acts almost the same as the wxFrame class in the C++ version. Unfortunately, because of differences in the languages, wxPython doesn't match wxWindows exactly, but the differences should be easy to absorb because they are natural to Python. For example, some methods that return multiple values via argument pointers in C++ will return a tuple of values in Python.
There is still much to be done for wxPython, many classes still need to be mirrored. Also, wxWindows is still somewhat of a moving target so it is a bit of an effort just keeping wxPython up to date. On the other hand, there are enough of the core classes completed that useful applications can be written.
wxPython is close enough to the C++ version that the majority of the wxPython documentation is actually just notes attached to the C++ documents that describe the places where wxPython is different. There is also a series of sample programs included, and a series of documentation pages that assist the programmer in getting started with wxPython.
"""
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
if __name__ == '__main__':
main()
#----------------------------------------------------------------------------

View File

@@ -1,77 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys
default_page = """
<H1>HTML Viewer</H1>Please select <I>File->Open</I>
to open a HTML file, or edit this page in the
text control below and select <I>File->Update</I>
<P>
The python source can be seen
<a href="%s">here</a>.
""" % (sys.argv[0], )
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
split = wxSplitterWindow(self, -1)
self.html = wxHtmlWindow(split)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
self.txt = wxTextCtrl(split, -1, default_page,
wxDefaultPosition, wxDefaultSize,
wxTE_MULTILINE)
split.SplitHorizontally(self.html, self.txt, size.y/2)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Reset")
menu.Append(1502, "Update HTML")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Back")
menu.Append(1511, "Forward")
mbar.Append(menu, "Go")
self.SetMenuBar(mbar)
self.filename = ""
EVT_MENU(self, 1500, self.OnFileOpen)
EVT_MENU(self, 1501, self.OnFileReset)
EVT_MENU(self, 1502, self.OnFileUpdate)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.OnGoBack)
EVT_MENU(self, 1511, self.OnGoForward)
# A default opening text
self.html.SetPage( default_page )
def OnFileOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.html.LoadPage(self.filename)
def OnFileReset(self, event):
self.html.SetPage( default_page )
self.txt.SetValue( default_page )
def OnFileUpdate(self, event):
self.html.SetPage( self.txt.GetValue() )
def OnGoBack(self, event):
self.html.HistoryBack()
def OnGoForward(self, event):
self.html.HistoryForward()
def OnClose(self,event):
self.Destroy()
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,97 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys,string
# A bunch of simple widgets, all somehow derived from wxWindow
class Widget1(wxWindow):
def __init__(self, parent, param):
wxWindow.__init__(self, parent, -1)
self.text = wxTextCtrl(self, -1, param['param_str'], wxPoint(5,5),
wxSize(200,150), wxTE_MULTILINE)
but = wxButton(self, 1001, "Click me", wxPoint(50,160), wxSize(100,30))
EVT_BUTTON(self, 1001, self.OnButton)
self.SetSize(wxSize(210,200))
def OnButton(self, event):
self.text.AppendText( "Click!\n" )
class Widget2(wxButton):
def __init__(self, parent, param):
wxButton.__init__(self, parent, int(param['id']), param['title'])
class Widget3(wxTextCtrl):
def __init__(self, parent, param):
wxTextCtrl.__init__(self, parent, -1, "No clicks")
self.clicked = 0;
EVT_BUTTON(parent, int(param['button_id']), self.OnButton)
def OnButton(self, event):
self.clicked = self.clicked + 1
self.SetValue("%d clicks" % (self.clicked,))
# make the widgets known in the widget module (aka htmlc)
widget.Widget1 = Widget1
widget.Widget2 = Widget2
widget.Widget3 = Widget3
# our default page
default_page = """
<H2>wxPython widgets go HTML</H2>
A bunch of wxPython widgets are scattered on this HTML page.
Here's one:
<center><python class="Widget1" greeting="Hello World"></center>
<hr>
Here's another:
<center><python class="Widget2" float=70 id=1002 title="Button A"></center>
It should always take up 70% of the page width.
<p>And then there's this, listening to button A:
<python class="Widget3" button_id=1002></p>
"""
# our explanation
apology = """
For some bizarre reason, it takes forever and a day to display the
widgets if they are constructed in the frame's constructor. This
only happens in MSW, wxGTK works fine.
<p>Select <I>File->Show it</I> to draw the widgets."""
default_page = default_page + "The HTML code for this page is\n <pre>" + default_page + "</pre>"
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
self.html = wxHtmlWindow(self)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Show it")
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
EVT_MENU(self, 1500, self.OnShowIt)
EVT_MENU(self, 1503, self.OnClose)
self.SetMenuBar(mbar)
# change apology below to default_page, if you dare!
self.html.SetPage( default_page )
def OnClose(self,event):
self.Destroy()
def OnShowIt(self,event):
self.html.SetPage( default_page )
# now quickly remove the menu option, to hide that
# other bug; namely that widgets aren't removed when the
# HTML page is.
self.GetMenuBar().Enable(1500, FALSE)
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,158 +0,0 @@
from wxPython.wx import *
try:
from wxPython.glcanvas import *
haveGLCanvas = true
except ImportError:
haveGLCanvas = false
#----------------------------------------------------------------------
if not haveGLCanvas:
def runTest(frame, nb, log):
dlg = wxMessageDialog(frame, 'The wxGLCanvas has not been included with this build of wxPython!',
'Sorry', wxOK | wxICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
else:
def runTest(frame, nb, log):
#win = TestGLCanvas(nb)
#return win
win = wxFrame(frame, -1, "GL Cube", wxDefaultPosition, wxSize(400,300))
canvas = TestGLCanvas(win)
frame.otherWin = win
win.Show(true)
return None
class TestGLCanvas(wxGLCanvas):
def __init__(self, parent):
wxGLCanvas.__init__(self, parent, -1)
EVT_ERASE_BACKGROUND(self, self.OnEraseBackground)
self.init = false
def OnEraseBackground(self, event):
pass # Do nothing, to avoid flashing.
def OnSize(self, event):
size = self.GetClientSize()
if self.GetContext() != 'NULL':
self.SetCurrent()
glViewport(0, 0, size.width, size.height)
def OnPaint(self, event):
dc = wxPaintDC(self)
ctx = self.GetContext()
if ctx == "NULL": return
self.SetCurrent()
if not self.init:
self.InitGL()
self.init = true
# clear color and depth buffers
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
# draw six faces of a cube
glBegin(GL_QUADS)
glNormal3f( 0.0, 0.0, 1.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f(-0.5, 0.5, 0.5)
glVertex3f(-0.5,-0.5, 0.5)
glVertex3f( 0.5,-0.5, 0.5)
glNormal3f( 0.0, 0.0,-1.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f(-0.5, 0.5,-0.5)
glVertex3f( 0.5, 0.5,-0.5)
glVertex3f( 0.5,-0.5,-0.5)
glNormal3f( 0.0, 1.0, 0.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f( 0.5, 0.5,-0.5)
glVertex3f(-0.5, 0.5,-0.5)
glVertex3f(-0.5, 0.5, 0.5)
glNormal3f( 0.0,-1.0, 0.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f( 0.5,-0.5,-0.5)
glVertex3f( 0.5,-0.5, 0.5)
glVertex3f(-0.5,-0.5, 0.5)
glNormal3f( 1.0, 0.0, 0.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f( 0.5,-0.5, 0.5)
glVertex3f( 0.5,-0.5,-0.5)
glVertex3f( 0.5, 0.5,-0.5)
glNormal3f(-1.0, 0.0, 0.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f(-0.5,-0.5, 0.5)
glVertex3f(-0.5, 0.5, 0.5)
glVertex3f(-0.5, 0.5,-0.5)
glEnd()
self.SwapBuffers()
def InitGL(self):
# set viewing projection
glMatrixMode(GL_PROJECTION);
glFrustum(-0.5, 0.5, -0.5, 0.5, 1.0, 3.0);
# position viewer
glMatrixMode(GL_MODELVIEW);
glTranslatef(0.0, 0.0, -2.0);
# position object
glRotatef(30.0, 1.0, 0.0, 0.0);
glRotatef(30.0, 0.0, 1.0, 0.0);
glEnable(GL_DEPTH_TEST);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);
overview = """\
"""
#----------------------------------------------------------------------
def _test():
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "GL Cube", wxDefaultPosition, wxSize(400,300))
win = TestGLCanvas(frame)
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
app = MyApp(0)
app.MainLoop()
if __name__ == '__main__':
_test()

View File

@@ -1,79 +0,0 @@
from wxPython.wx import *
#---------------------------------------------------------------------------
class TestGrid(wxGrid):
def __init__(self, parent, log):
wxGrid.__init__(self, parent, -1)
self.log = log
self.CreateGrid(16, 16)
self.SetColumnWidth(3, 200)
self.SetRowHeight(4, 45)
self.SetCellValue("First cell", 0, 0)
self.SetCellValue("Another cell", 1, 1)
self.SetCellValue("Yet another cell", 2, 2)
self.SetCellTextFont(wxFont(12, wxROMAN, wxITALIC, wxNORMAL), 0, 0)
self.SetCellTextColour(wxRED, 1, 1)
self.SetCellBackgroundColour(wxCYAN, 2, 2)
self.UpdateDimensions()
self.AdjustScrollbars()
EVT_GRID_SELECT_CELL(self, self.OnSelectCell)
EVT_GRID_CELL_CHANGE(self, self.OnCellChange)
EVT_GRID_CELL_LCLICK(self, self.OnCellClick)
EVT_GRID_LABEL_LCLICK(self, self.OnLabelClick)
self.SetEditInPlace(true)
#print self.GetCells()
def OnSelectCell(self, event):
self.log.WriteText("OnSelectCell: (%d, %d)\n" % (event.m_row, event.m_col))
def OnCellChange(self, event):
self.log.WriteText("OnCellChange: (%d, %d)\n" % (event.m_row, event.m_col))
def OnCellClick(self, event):
self.log.WriteText("OnCellClick: (%d, %d)\n" % (event.m_row, event.m_col))
def OnLabelClick(self, event):
self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
#---------------------------------------------------------------------------
def runTest(frame, nb, log):
win = TestGrid(nb, log)
return win
#---------------------------------------------------------------------------
overview = """\
wxGrid is a class for displaying and editing tabular information.
wxGrid()
-----------------
wxGrid(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style=0, const wxString& name="grid")
Constructor. Before using a wxGrid object, you must call CreateGrid to set up the required rows and columns.
"""

View File

@@ -1,84 +0,0 @@
from wxPython.wx import *
import ColorPanel
#----------------------------------------------------------------------------
def runTest(frame, nb, log):
testWin = wxNotebook(nb, -1)
win = ColorPanel.ColoredPanel(testWin, wxBLUE)
testWin.AddPage(win, "Blue")
st = wxStaticText(win, -1,
"You can put nearly any type of window here!",
wxPoint(10, 10))
st.SetForegroundColour(wxWHITE)
st.SetBackgroundColour(wxBLUE)
win = ColorPanel.ColoredPanel(testWin, wxRED)
testWin.AddPage(win, "Red")
win = ColorPanel.ColoredPanel(testWin, wxGREEN)
testWin.AddPage(win, "Green")
win = ColorPanel.ColoredPanel(testWin, wxCYAN)
testWin.AddPage(win, "Cyan")
win = ColorPanel.ColoredPanel(testWin, wxWHITE)
testWin.AddPage(win, "White")
win = ColorPanel.ColoredPanel(testWin, wxBLACK)
testWin.AddPage(win, "Black")
win = ColorPanel.ColoredPanel(testWin, wxNamedColour('MIDNIGHT BLUE'))
testWin.AddPage(win, "MIDNIGHT BLUE")
win = ColorPanel.ColoredPanel(testWin, wxNamedColour('INDIAN RED'))
testWin.AddPage(win, "INDIAN RED")
return testWin
#----------------------------------------------------------------------------
overview = """\
This class represents a notebook control, which manages multiple windows with associated tabs.
To use the class, create a wxNotebook object and call AddPage or InsertPage, passing a window to be used as the page. Do not explicitly delete the window for a page that is currently managed by wxNotebook.
wxNotebook()
-------------------------
Default constructor.
wxNotebook(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size, long style = 0, const wxString& name = "notebook")
Constructs a notebook control.
Parameters
-------------------
parent = The parent window. Must be non-NULL.
id = The window identifier.
pos = The window position.
size = The window size.
style = The window style. Its value is a bit list of zero or more of wxTC_MULTILINE, wxTC_RIGHTJUSTIFY, wxTC_FIXEDWIDTH and wxTC_OWNERDRAW.
"""

View File

@@ -1,5 +0,0 @@
sourcedir : .
builddir : .
rpmdir : .
srcrpmdir : .

View File

@@ -1,32 +0,0 @@
#!/bin/bash
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -f wxPython.spec.in ]; then
echo "Please run this script from the directory containing the wxPython.spec.in file."
exit 1
fi
strip /usr/lib/python1.5/site-packages/wxPython/*.so
strip /usr/lib/libwxPyHelpers.so
cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
mkdir /usr/doc/wxPython-$1
cp ../README.txt /usr/doc/wxPython-$1
cp ../../../docs/preamble.txt /usr/doc/wxPython-$1
cp ../../../docs/licence.txt /usr/doc/wxPython-$1
cp ../../../docs/licendoc.txt /usr/doc/wxPython-$1
cp ../../../docs/lgpl.txt /usr/doc/wxPython-$1
cp ../../../docs/gpl.txt /usr/doc/wxPython-$1
rpm -bb wxPython.spec
mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
rm -r /usr/doc/wxPython-$1

View File

@@ -1,36 +0,0 @@
#!/bin/bash
#----------------------------------------------------------------------
# Make a source distribution as a tar.gz file. This script should be
# run from the directory that holds the wxPython dir (../..) and be
# given a version number as an parameter. The best way to do this is
# run "make dist" in the wxPython/src/ directory.
#----------------------------------------------------------------------
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -d wxPython ]; then
echo "Please run this script from the directory containing the wxPython sources."
exit 1
fi
rm -f wxPython/distrib/filelist
for x in `cat wxPython/distrib/wxPython.rsp`; do
ls $x >> wxPython/distrib/filelist
done
tar cf wxPython/distrib/dist-temp.tar -T wxPython/distrib/filelist
cd wxPython/distrib
tar xf dist-temp.tar
rm dist-temp.tar
mv wxPython wxPython-$1
tar cvf wxPython-$1.tar wxPython-$1
gzip wxPython-$1.tar
rm -rf wxPython-$1

View File

@@ -1,102 +0,0 @@
wxPython/*.txt
wxPython/demo/*.py
wxPython/demo/bitmaps/*.bmp
wxPython/demo/bitmaps/*.ico
wxPython/demo/bitmaps/*.gif
wxPython/demo/bitmaps/*.png
wxPython/demo/bitmaps/*.jpg
wxPython/demo/README.txt
wxPython/demo/*.xml
wxPython/distrib/build.py
wxPython/lib/*.py
wxPython/lib/*.txt
wxPython/lib/sizers/*.py
wxPython/lib/sizers/*.txt
wxPython/src/build.cfg
wxPython/src/*.i
wxPython/src/*.py
wxPython/src/*.cpp
wxPython/src/*.c
wxPython/src/*.h
wxPython/src/*.ico
wxPython/src/*.def
wxPython/src/*.rc
wxPython/src/msw/*.cpp
wxPython/src/msw/*.h
wxPython/src/msw/*.py
wxPython/src/gtk/*.cpp
wxPython/src/gtk/*.h
wxPython/src/gtk/*.py
wxpython/src/motif/*.cpp
wxPython/src/motif/*.h
wxPython/src/motif/*.py
wxPython/modules/html/build.cfg
wxPython/modules/html/*.i
wxPython/modules/html/*.py
wxPython/modules/html/*.cpp
wxPython/modules/html/*.c
wxPython/modules/html/*.h
wxPython/modules/html/*.def
wxPython/modules/html/*.rc
wxPython/modules/html/msw/*.cpp
wxPython/modules/html/msw/*.h
wxPython/modules/html/msw/*.py
wxPython/modules/html/gtk/*.cpp
wxPython/modules/html/gtk/*.h
wxPython/modules/html/gtk/*.py
wxPython/modules/glcanvas/build.cfg
wxPython/modules/glcanvas/*.i
wxPython/modules/glcanvas/*.py
wxPython/modules/glcanvas/*.cpp
wxPython/modules/glcanvas/*.c
wxPython/modules/glcanvas/*.h
wxPython/modules/glcanvas/*.def
wxPython/modules/glcanvas/*.rc
wxPython/modules/glcanvas/msw/*.cpp
wxPython/modules/glcanvas/msw/*.h
wxPython/modules/glcanvas/msw/*.py
wxPython/modules/glcanvas/gtk/*.cpp
wxPython/modules/glcanvas/gtk/*.h
wxPython/modules/glcanvas/gtk/*.py
wxPython/modules/utils/build.cfg
wxPython/modules/utils/*.i
wxPython/modules/utils/*.py
wxPython/modules/utils/*.cpp
wxPython/modules/utils/*.c
wxPython/modules/utils/*.h
wxPython/modules/utils/*.def
wxPython/modules/utils/*.rc
wxPython/modules/utils/msw/*.cpp
wxPython/modules/utils/msw/*.h
wxPython/modules/utils/msw/*.py
wxPython/modules/utils/gtk/*.cpp
wxPython/modules/utils/gtk/*.h
wxPython/modules/utils/gtk/*.py
wxPython/modules/ogl/build.cfg
wxPython/modules/ogl/*.i
wxPython/modules/ogl/*.py
wxPython/modules/ogl/*.cpp
wxPython/modules/ogl/*.c
wxPython/modules/ogl/*.h
wxPython/modules/ogl/*.def
wxPython/modules/ogl/*.rc
wxPython/modules/ogl/msw/*.cpp
wxPython/modules/ogl/msw/*.h
wxPython/modules/ogl/msw/*.py
wxPython/modules/ogl/gtk/*.cpp
wxPython/modules/ogl/gtk/*.h
wxPython/modules/ogl/gtk/*.py

View File

@@ -1,53 +0,0 @@
Summary: Cross platform GUI toolkit for use with the Python language.
Name: wxPython
Version: __VERSION__
Release: 1
Copyright: wxWindows
Group: Development/Languages/Python
Source: http://alldunn.com/wxPython/wxPython-__VERSION__.tar.gz
Packager: Robin Dunn <robin@alldunn.com>
Vendor: Total Control Software
Requires: python >= 1.5.1
Prefix: /usr/lib/python1.5/site-packages
%description
This Python package consists of an extension module that wraps around the
wxWindows C++ class library and provides a cross platform GUI toolkit for
use with Python. Currently supported platforms are Win32 and Unix/GTK/X.
Python is an interpreted, interactive, object-oriented programming language.
Python combines remarkable power with very clear syntax. It has modules,
classes, exceptions, very high level dynamic data types, and dynamic typing.
There are interfaces to many system calls and libraries, and new built-in
modules are easily written in C or C++. Python is also usable as an
extension language for applications that need a programmable interface.
#%prep
#%setup
#cd wxPython-__VERSION__
#make -f Makefile.pre.in boot
#
#%build
#make
#
#
#%install
#make install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc /usr/doc/wxPython-__VERSION__
/usr/lib/libwxPyHelpers.so
/usr/lib/python1.5/site-packages/wxPython

Binary file not shown.

View File

@@ -1,17 +0,0 @@
@echo off
zip -@ -r wxPython\wxPython-src-%1.zip < wxPython\distrib\wxPython.rsp
mkdir wxPython\docs
copy %WXWIN%\docs\html\wx\*.gif wxPython\docs
copy %WXWIN%\docs\html\wx\*.htm wxPython\docs
copy wxPython\docs\wx.htm wxPython\docs\index.htm
zip -r wxPython\wxPython-docs-%1.zip wxPython\docs
del /y wxPython\docs\*.*
rmdir wxPython\docs
move /R wxPython\*.zip wxPython\distrib

View File

@@ -1,18 +0,0 @@
#----------------------------------------------------------------------------
# Name: __init__.py
# Purpose: The presence of this file turns this directory into a
# Python package.
#
# Author: Robin Dunn
#
# Created: 18-May-1999
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
from sizer import *
from box import *
from border import *
#----------------------------------------------------------------------------

View File

@@ -1,14 +0,0 @@
Modules subdir, more info later...
stubs contains a template for new modules.
html, lseditor are more or less usuable.
glcanvas is moved from the main src directory.
Note, there are no SWIG generated files in CVS yet. I don't expect them to
be useful at this stage, since you can't hack this stuff without a working &
patched up SWIG anyway. Besides, those big files really bog down my phone
line.
Harm van der Heijden, Aug 11, 1999.

View File

@@ -1,24 +0,0 @@
# -*- python -*-
import sys
MODULE = 'glcanvasc'
SWIGFILES = ['glcanvas.i', ]
# Special action; for win32 we require you make the glcanvas lib. The
# makefile will copy it to WXWIN\lib
# Unix make system isn't so advanced, so we'll go looking for the source
# file ourselves...
if sys.platform == 'win32':
OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\win'
else:
SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\
" if you have native GL!"
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\gtk'
OTHERLIBS = "-lMesaGL -lMesaGLU"
OTHERRULES = """
$(GENCODEDIR)/_glcanvas.cpp :
cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@
"""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +0,0 @@
*.exp
*.lib
*.obj
*.pch
Makefile
Makefile.pre
Setup
build.local
config.c
htmlc.ilk
htmlc.pyd
sedscript

View File

@@ -1,23 +0,0 @@
Known bugs
html, all:
- keys can move the vertical scrollbar, but the window moveth not.
problem in wxHTML.
- widgets are not removed when the HTML contents is changed
(this can be fixed by adding ~HtmlWidgetCell { wnd->Destroy(); } )
- potential problem with the use of ThreadState in html.i
(mainly because I don't really know what I'm doing there)
html, msw:
- vertical scrollbar behaves erratically when content smaller than
window
- page with widgets takes forever to draw when constructed
in frame constructor
- sometimes the python scripts with html crash on startup, before
the window is displayed (illegal operation). this seems mainly to
happen when the various libs are not yet in the disk cache. race
condition?

View File

@@ -1,11 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
html
-- minimal wrap of Vaclaf Slavik's wxHTML (now part of
wxWindows); only parts of the wxHtmlWindow class are used.
Testsample htmlview.py.
There's also a python tag handler, see htmlwidget.py for
a demonstration.

View File

@@ -1,6 +0,0 @@
# -*- python -*-
MODULE = 'htmlc'
SWIGFILES = ['html.i', ]
PYFILES = ['htmlhelper.py']

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,121 +0,0 @@
# This file was created automatically by SWIG.
import htmlc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx,htmlhelper
widget = htmlc
class HtmlHistoryItemPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
return val
def SetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C HtmlHistoryItem instance at %s>" % (self.this,)
class HtmlHistoryItem(HtmlHistoryItemPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
self.thisown = 1
class wxHtmlWindowPtr(wxScrolledWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def SetPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
return val
def LoadPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
return val
def GetOpenedPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
return val
def SetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
return val
def GetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
if val: val = wxFramePtr(val)
return val
def SetRelatedStatusBar(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
return val
def SetFonts(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
return val
def SetTitle(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
return val
def SetBorders(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
return val
def HistoryBack(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
return val
def HistoryForward(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
return val
def HistoryClear(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxHtmlWindow instance at %s>" % (self.this,)
class wxHtmlWindow(wxHtmlWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
wx._StdOnScrollCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,259 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: html.i
// Purpose: SWIG definitions of html classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module html
%{
#include "helpers.h"
#include <wx/html/htmlwin.h>
#include <wx/image.h>
#include <wx/fs_zip.h>
#include <wx/fs_inet.h>
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%extern wx.i
%extern windows.i
%extern _defs.i
%extern events.i
//%extern windows2.i
//%extern windows3.i
//%extern frames.i
//%extern misc.i
//%extern gdi.i
//%extern controls.i
%{
#ifdef __WXMSW__
static wxString wxPyEmptyStr("");
static wxPoint wxPyDefaultPosition(wxDefaultPosition);
static wxSize wxPyDefaultSize(wxDefaultSize);
#endif
static PyThreadState* wxPyThreadState;
%}
%pragma(python) code = "import wx,htmlhelper"
%pragma(python) code = "widget = htmlc"
%{
static PyObject* mod_dict = NULL; // will be set by init
#include <wx/html/mod_templ.h>
TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
TAG_HANDLER_PROC(tag)
{
wxWindow *wnd;
wxString errmsg;
char pbuf[256];
int fl = 0;
while (1) {
#ifdef WXP_WITH_THREAD
PyEval_RestoreThread(wxPyThreadState);
#endif
if (tag.HasParam("FLOAT"))
tag.ScanParam("FLOAT", "%i", &fl);
PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
if (pyfunc == NULL) {
errmsg = "Could not find object WidgetStarter";
break;
}
if (! PyCallable_Check(pyfunc)) {
errmsg = "WidgetStarter does not appear to be callable";
break;
}
SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxHtmlWindow_p");
PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
(const char*)tag.GetAllParams());
if (! arglist) {
errmsg = "Failed making argument list";
break;
}
PyObject* ret = PyEval_CallObject(pyfunc, arglist);
Py_DECREF(arglist);
if (ret == NULL) {
errmsg = "An error occured while calling WidgetStarter";
if (PyErr_Occurred())
PyErr_Print();
break;
}
wnd = NULL;
if (PyString_Check(ret)) {
char* thisc = PyString_AsString(ret);
SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
}
Py_DECREF(ret);
if (! wnd) {
errmsg = "Could not make a wxWindow pointer from return ptr";
break;
}
#ifdef WXP_WITH_THREAD
PyEval_SaveThread();
#endif
wnd -> Show(TRUE);
m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
return FALSE;
}
/* we got out of the loop. Must be an error. Show a box stating it. */
#ifdef WXP_WITH_THREAD
PyEval_SaveThread();
#endif
wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
errmsg, wxPoint(0,0),
wxSize(300, 100), wxTE_MULTILINE );
wnd -> Show(TRUE);
m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
return FALSE;
}
TAG_HANDLER_END(PYTHONTAG)
TAGS_MODULE_BEGIN(PythonTag)
TAGS_MODULE_ADD(PYTHONTAG)
TAGS_MODULE_END(PythonTag)
// Note: see also the init function where we add the module!
%}
//---------------------------------------------------------------------------
// item of history list
class HtmlHistoryItem
{
public:
HtmlHistoryItem(const char* p, const char* a);
int GetPos() const {return m_Pos;}
void SetPos(int p) {m_Pos = p;}
const wxString& GetPage() const ;
const wxString& GetAnchor() const ;
};
class wxHtmlWindow : public wxScrolledWindow
{
public:
wxHtmlWindow(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxPyDefaultPosition,
const wxSize& size = wxPyDefaultSize,
int flags=wxHW_SCROLLBAR_AUTO,
const char* name = "htmlWindow");
%pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
%pragma(python) addtomethod = "__init__:wx._StdOnScrollCallbacks(self)"
bool SetPage(const char* source);
// Set HTML page and display it. !! source is HTML document itself,
// it is NOT address/filename of HTML document. If you want to
// specify document location, use LoadPage() istead
// Return value : FALSE if an error occured, TRUE otherwise
bool LoadPage(const char* location);
// Load HTML page from given location. Location can be either
// a) /usr/wxGTK2/docs/html/wx.htm
// b) http://www.somewhere.uk/document.htm
// c) ftp://ftp.somesite.cz/pub/something.htm
// In case there is no prefix (http:,ftp:), the method
// will try to find it itself (1. local file, then http or ftp)
// After the page is loaded, the method calls SetPage() to display it.
// Note : you can also use path relative to previously loaded page
// Return value : same as SetPage
wxString GetOpenedPage() const {return m_OpenedPage;}
// Returns full location of opened page
void SetRelatedFrame(wxFrame* frame, const char* format);
// sets frame in which page title will be displayed. Format is format of
// frame title, e.g. "HtmlHelp : %s". It must contain exactly one %s
wxFrame* GetRelatedFrame() const;
void SetRelatedStatusBar(int bar);
// after(!) calling SetRelatedFrame, this sets statusbar slot where messages
// will be displayed. Default is -1 = no messages.
void SetFonts(wxString normal_face, int normal_italic_mode, wxString fixed_face, int fixed_italic_mode, int *sizes);
// sets fonts to be used when displaying HTML page.
// *_italic_mode can be either wxSLANT or wxITALIC
void SetTitle(const char* title);
// Sets the title of the window
// (depending on the information passed to SetRelatedFrame() method)
void SetBorders(int b);
// Sets space between text and window borders.
//virtual void ReadCustomization(wxConfigBase *cfg, wxString path = wxEmptyString);
// saves custom settings into cfg config. it will use the path 'path'
// if given, otherwise it will save info into currently selected path.
// saved values : things set by SetFonts, SetBorders.
//virtual void WriteCustomization(wxConfigBase *cfg, wxString path = wxEmptyString);
// ...
bool HistoryBack();
bool HistoryForward();
// Goes to previous/next page (in browsing history)
// Returns TRUE if successful, FALSE otherwise
void HistoryClear();
// Resets history
//wxHtmlContainerCell* GetInternalRepresentation() const;
// Returns pointer to conteiners/cells structure.
// It should be used ONLY when printing
//static void AddFilter(wxHtmlFilter *filter);
// Adds input filter
/* This function needs to be eventified! */
//virtual void OnLinkClicked(const char* link);
// called when users clicked on hypertext link. Default behavior is to
// call LoadPage(loc)
//static void CleanUpStatics();
// cleans static variables
};
//---------------------------------------------------------------------------
%init %{
/* This is a bit cheesy. SWIG happens to call the dictionary d...
* I save it here, 'cause I don't know how to get it back later! */
mod_dict = d;
wxPyThreadState = PyThreadState_Get();
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
/* specifically add our python tag handler; it doesn't seem to
* happen by itself... */
wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
// Until wxFileSystem is wrapped...
#if wxUSE_FS_ZIP
wxFileSystem::AddHandler(new wxZipFSHandler);
#endif
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
inithtmlc

View File

@@ -1,59 +0,0 @@
#
# htmlhelper.py
#
# A few helper functions for putting wxPython widgets in html pages
#
# Harm van der Heijden, 11 aug 1999.
import wx
import string
import htmlc
# Function to parse a param string (of the form 'item=value item2="value etc"'
# and creates a dictionary
def _param2dict(param):
i = 0; j = 0; s = len(param); d = {}
d['param_str'] = param
while 1:
while i<s and param[i] == " " : i = i+1
if i>=s: break
j = i
while j<s and param[j] != "=": j=j+1
if j+1>=s:
break
word = param[i:j]
i=j+1
if (param[i] == '"'):
j=i+1
while j<s and param[j] != '"' : j=j+1
if j == s: break
val = param[i+1:j]
elif (param[i] != " "):
j=i+1
while j<s and param[j] != " " : j=j+1
val = param[i:j]
else:
val = ""
i=j+1
d[string.lower(word)] = val
return d
# This function gets called by the <python> tag handler.
# Arguments are the parent (wxHtmlWindow) SWIG pointer (in python, a string)
# and a string containing the parameters.
# The return value must be the SWIG pointer of the created widget (the 'this'
# attribute in python). The widget must be derived from a wxWindow or one
# of its descendants.
def _WidgetStarter(parentptr, param):
# create a python instance of the parent
parent = wx.wxWindowPtr(parentptr)
# try to find the widget class in the htmlwinc (=htmlwidget) module
dict = _param2dict(param)
classname = dict['class']
obj = htmlc.__dict__[classname]
# now create the class with arguments parent, dictionary
cls = apply(obj, (parent, dict))
# return the class instance's pointer
return cls.this
htmlc.WidgetStarter = _WidgetStarter

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,121 +0,0 @@
# This file was created automatically by SWIG.
import htmlc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx,htmlhelper
widget = htmlc
class HtmlHistoryItemPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
return val
def SetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C HtmlHistoryItem instance at %s>" % (self.this,)
class HtmlHistoryItem(HtmlHistoryItemPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
self.thisown = 1
class wxHtmlWindowPtr(wxScrolledWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def SetPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
return val
def LoadPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
return val
def GetOpenedPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
return val
def SetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
return val
def GetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
if val: val = wxFramePtr(val)
return val
def SetRelatedStatusBar(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
return val
def SetFonts(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
return val
def SetTitle(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
return val
def SetBorders(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
return val
def HistoryBack(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
return val
def HistoryForward(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
return val
def HistoryClear(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxHtmlWindow instance at %s>" % (self.this,)
class wxHtmlWindow(wxHtmlWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
wx._StdOnScrollCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,77 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys
default_page = """
<H1>HTML Viewer</H1>Please select <I>File->Open</I>
to open a HTML file, or edit this page in the
text control below and select <I>File->Update</I>
<P>
The python source can be seen
<a href="%s">here</a>.
""" % (sys.argv[0], )
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
split = wxSplitterWindow(self, -1)
self.html = wxHtmlWindow(split)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
self.txt = wxTextCtrl(split, -1, default_page,
wxDefaultPosition, wxDefaultSize,
wxTE_MULTILINE)
split.SplitHorizontally(self.html, self.txt, size.y/2)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Reset")
menu.Append(1502, "Update HTML")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Back")
menu.Append(1511, "Forward")
mbar.Append(menu, "Go")
self.SetMenuBar(mbar)
self.filename = ""
EVT_MENU(self, 1500, self.OnFileOpen)
EVT_MENU(self, 1501, self.OnFileReset)
EVT_MENU(self, 1502, self.OnFileUpdate)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.OnGoBack)
EVT_MENU(self, 1511, self.OnGoForward)
# A default opening text
self.html.SetPage( default_page )
def OnFileOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.html.LoadPage(self.filename)
def OnFileReset(self, event):
self.html.SetPage( default_page )
self.txt.SetValue( default_page )
def OnFileUpdate(self, event):
self.html.SetPage( self.txt.GetValue() )
def OnGoBack(self, event):
self.html.HistoryBack()
def OnGoForward(self, event):
self.html.HistoryForward()
def OnClose(self,event):
self.Destroy()
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,97 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys,string
# A bunch of simple widgets, all somehow derived from wxWindow
class Widget1(wxWindow):
def __init__(self, parent, param):
wxWindow.__init__(self, parent, -1)
self.text = wxTextCtrl(self, -1, param['param_str'], wxPoint(5,5),
wxSize(200,150), wxTE_MULTILINE)
but = wxButton(self, 1001, "Click me", wxPoint(50,160), wxSize(100,30))
EVT_BUTTON(self, 1001, self.OnButton)
self.SetSize(wxSize(210,200))
def OnButton(self, event):
self.text.AppendText( "Click!\n" )
class Widget2(wxButton):
def __init__(self, parent, param):
wxButton.__init__(self, parent, int(param['id']), param['title'])
class Widget3(wxTextCtrl):
def __init__(self, parent, param):
wxTextCtrl.__init__(self, parent, -1, "No clicks")
self.clicked = 0;
EVT_BUTTON(parent, int(param['button_id']), self.OnButton)
def OnButton(self, event):
self.clicked = self.clicked + 1
self.SetValue("%d clicks" % (self.clicked,))
# make the widgets known in the widget module (aka htmlc)
widget.Widget1 = Widget1
widget.Widget2 = Widget2
widget.Widget3 = Widget3
# our default page
default_page = """
<H2>wxPython widgets go HTML</H2>
A bunch of wxPython widgets are scattered on this HTML page.
Here's one:
<center><python class="Widget1" greeting="Hello World"></center>
<hr>
Here's another:
<center><python class="Widget2" float=70 id=1002 title="Button A"></center>
It should always take up 70% of the page width.
<p>And then there's this, listening to button A:
<python class="Widget3" button_id=1002></p>
"""
# our explanation
apology = """
For some bizarre reason, it takes forever and a day to display the
widgets if they are constructed in the frame's constructor. This
only happens in MSW, wxGTK works fine.
<p>Select <I>File->Show it</I> to draw the widgets."""
default_page = default_page + "The HTML code for this page is\n <pre>" + default_page + "</pre>"
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
self.html = wxHtmlWindow(self)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Show it")
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
EVT_MENU(self, 1500, self.OnShowIt)
EVT_MENU(self, 1503, self.OnClose)
self.SetMenuBar(mbar)
# change apology below to default_page, if you dare!
self.html.SetPage( default_page )
def OnClose(self,event):
self.Destroy()
def OnShowIt(self,event):
self.html.SetPage( default_page )
# now quickly remove the menu option, to hide that
# other bug; namely that widgets aren't removed when the
# HTML page is.
self.GetMenuBar().Enable(1500, FALSE)
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,13 +0,0 @@
*.exp
*.lib
*.obj
*.pch
Makefile
Makefile.pre
Setup
build.local
config.c
lseditorc.ilk
lseditorc.pyd
sedscript

View File

@@ -1,6 +0,0 @@
Known bugs/features
editor, all:
- (missing feature, really) syntax highlighting data is
compile time.

View File

@@ -1,340 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View File

@@ -1,13 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
lseditorplugin
-- minimal wrap of Alexanders Gluchovas' editor plugin. The code was
ransacked from the wxStudio (http://wxstudio.linuxbox.com) project.
Since the editor is released under the Gnu Public License, this
module, as a derivative work, is also released under this licence
and NOT THE WXWINDOWS LICENSE. See the file COPYING for details.
the file 'editor.py' contains a sample implementation using the
editorplugin object.

View File

@@ -1,9 +0,0 @@
# -*- python -*-
MODULE = 'lseditorc'
SWIGFILES = ['lseditor.i']
SOURCES = ['finddlg.cpp', 'lseditorpl.cpp', 'markup.cpp', 'plugin.cpp',
'sourcepainter.cpp', 'tdefs.cpp']

View File

@@ -1,82 +0,0 @@
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have alloca, as a function or macro. */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#define HAVE_ALLOCA_H 1
/* Define as __inline if that's what the C compiler calls it. */
/* #undef inline */
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your <sys/time.h> declares struct tm. */
/* #undef TM_IN_SYS_TIME */
/* Define to use template STL (vs. wxSTL) */
#define wxUSE_TEMPLATE_STL 1
/* Define to use framelayout library */
/* #undef wxsUSE_FRAME_LAYOUT */
/* Define to use class-info plugin */
#define wxsUSE_CLASS_INFO 1
/* Define to use window manager plugin */
#define wxsUSE_WINDOWMANAGER 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "wxStudio"
/* Version number of package */
#define VERSION "0.0.2"

View File

@@ -1,262 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 07/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __CONTROLAREA_G__
#define __CONTROLAREA_G__
#ifdef __GNUG__
#pragma interface "controlarea.h"
#endif
#include "wx/defs.h"
#include "wx/window.h"
#include "wx/string.h"
#define WXCONTROLAREA_VERSION 1.0
// layout types for title bars of the tabs
// (are selected up by evaluating the available free space )
class twTabInfo; // forward decl.
#define wxTITLE_IMG_AND_TEXT 0
#define wxTITLE_IMG_ONLY 1
#define wxTITLE_BORDER_ONLY 2
/*
* class manages and decorates contained "tab"-windows.
* Draws decorations similar to those in "Project Workplace"
* of Microsoft Developer Studio 4.xx
*/
class wxTabbedWindow : public wxPanel
{
DECLARE_DYNAMIC_CLASS( wxTabbedWindow )
public:
friend class wxTabbedWindowSerializer;
wxList mTabs;
int mActiveTab;
int mTitleHeight;
int mLayoutType;
void HideInactiveTabs( bool andRepaint );
// overrride,to provide different font for tab-labels
virtual wxFont GetLabelingFont();
// FOR NOW:: scrollbars are actually related to wxPaggedWindow
wxScrollBar* mpTabScroll;
wxScrollBar* mpHorizScroll;
wxScrollBar* mpVertScroll;
public:
// public properties (invoke ReclaclLayout(TRUE) to apply changes)
wxPen mWhitePen; // default: RGB(255,255,255)
wxPen mLightPen; // wxSYS_COLOUR_3DHIGHLIGHT
wxPen mGrayPen; // wxSYS_COLOUR_3DFACE
wxPen mDarkPen; // wxSYS_COLOUR_3DSHADOW
wxPen mBlackPen; // default: RGB( 0, 0, 0)
int mVertGap; // default: 3
int mHorizGap; // default: 5
int mTitleVertGap; // default: 3
int mTitleHorizGap; // default: 4
int mImageTextGap; // default: 2
int mFirstTitleGap; // default: 11
int mBorderOnlyWidth; // default: 8
// notifications (can be handled by derivatives)
virtual void OnTabAdded( twTabInfo* pInfo ) {}
virtual void SizeTabs(int x,int y, int width, int height, bool repant);
public:
wxTabbedWindow();
virtual ~wxTabbedWindow();
// tabs can be also added when the window is
// already displayed - "on the fly"
virtual void AddTab( wxWindow* pContent, // contained window
wxString tabText, // tab label
wxString imageFileName = "", // if "", only text label is displayed
long imageType = wxBITMAP_TYPE_BMP );
// NOTE:: if this AddTab(..) overload is called, the
// image bitmap will not be serialized (if performed),
// use the above method instead, so that images could
// be restored using the given file names
virtual void AddTab( wxWindow* pContent,
wxString tabText,
wxBitmap* pImage = NULL );
virtual void RemoveTab( int tabNo );
/* misc accessors */
virtual int GetTabCount();
virtual wxWindow* GetTab( int tabNo );
virtual wxWindow* GetActiveTab();
virtual void SetActiveTab( int tabNo );
void DrawShadedRect( int x, int y, int width, int height,
wxPen& upperPen, wxPen& lowerPen, wxDC& dc );
virtual void DrawDecorations( wxDC& dc );
// return -1, if non of the title bars was hitted,
// otherwise the index of the hitted tab title bar
virtual int HitTest( const wxPoint& pos );
// should be invoked to redisplay window with changed properties
virtual void RecalcLayout( bool andRepaint = TRUE );
// event handlers
void OnPaint( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnBkErase( wxEraseEvent& event );
void OnLButtonDown( wxMouseEvent& event );
DECLARE_EVENT_TABLE()
};
/*
* class manages and decorates contained "sheets" (or pages).
* Draws decorations similar to those in "Output window"
* of Microsoft Developer Studio 4.xx
*/
class wxPaggedWindow : public wxTabbedWindow
{
DECLARE_DYNAMIC_CLASS( wxPaggedWindow )
protected:
bool mScrollEventInProgress;
// drag&drop state variables
bool mIsDragged;
int mDagOrigin;
wxCursor mResizeCursor;
wxCursor mNormalCursor;
bool mCursorChanged;
int mOriginalTitleRowLen;
void DrawPaperBar( twTabInfo& tab, int x, int y,
wxBrush& brush, wxPen& pen, wxDC& dc );
int GetWholeTabRowLen();
// adjusts scorllbars to fit around tabs
virtual void OnTabAdded( twTabInfo* pInfo );
// sets smaller font for page-labels
virtual wxFont GetLabelingFont();
public:
int mTitleRowStart;
int mResizeNailGap;
int mTabTrianGap;
int mTitleRowLen; // actual title row length
int mAdjustableTitleRowLen; // setup by dragging mini-sash
// with the mosue pointer
int mCurentRowOfs;
wxBrush mGrayBrush;
wxBrush mWhiteBrush;
public:
wxPaggedWindow();
~wxPaggedWindow();
// NOTE:: use public methods of the base class
// to add "pages" to this window
/* misc accessors */
// below two methods should be called after
// the tabs were added (AddTab(..)). Set up
// these scrollbars to match the needs of the
// tabs added into this area
wxScrollBar& GetVerticalScrollBar();
wxScrollBar& GetHorizontalScrollBar();
virtual void DrawDecorations( wxDC& dc );
// return -1, if non of the title bars was hitted,
// otherwise the index of the hitted tab title bar
virtual int HitTest( const wxPoint& pos );
virtual void RecalcLayout( bool andRepaint = TRUE );
// event handlers
void OnPaint( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnLButtonDown( wxMouseEvent& event );
void OnLButtonUp ( wxMouseEvent& event );
void OnMouseMove ( wxMouseEvent& event );
void OnScroll ( wxScrollEvent& event );
DECLARE_EVENT_TABLE()
};
// helper structure of wxTabbedWindow
class twTabInfo : public wxObject
{
DECLARE_DYNAMIC_CLASS( twTabInfo )
public:
twTabInfo();
~twTabInfo();
int ImgWidth();
int ImgHeight();
int ImageToTxtGap( int prefGap );
bool HasImg();
wxBitmap& GetImg();
bool HasText();
wxString& GetText();
wxWindow& GetContent();
public:
wxWindow* mpContent;
wxBitmap mBitMap;
wxString mText;
wxSize mDims;
// used for serialization
wxString mImageFile;
long mImageType;
};
#endif

View File

@@ -1,153 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: editorbase.h
// Purpose: General interfaces for editor plug-ins.
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
#ifndef __EDITORBASE_G__
#define __EDITORBASE_G__
#include "plugin.h"
#include "wx/window.h"
class wxsSourceEditorPlugin : public wxsComponent
{
protected:
string mFileName;
public:
/*** overridables (with default implementations) ***/
// user-level commands
virtual void OnOpen( const string& fname ) = 0;
virtual void OnSave( const string& fname ) = 0;
virtual void OnCopy() {}
virtual void OnCut() {}
virtual void OnPaste() {}
virtual void OnDelete() {}
virtual void OnUndo() {}
virtual void OnRedo() {}
virtual void SelectAll() {}
// NOTE:: column -1 should result cursor to appear
// at the start of the first word in the line (if any)
virtual void OnGotoLine( int lineNo, int column = -1 ) {}
// should invoke editor's own "goto-line" dialog
virtual void OnGotoLine() {}
virtual void OnProperties() {}
virtual void OnFind() {}
virtual void OnFindNext() {}
virtual void OnFindPrevious() {}
virtual void OnReplace() {}
virtual void OnToggleBookmark() {}
virtual void OnNextBookmark() {}
virtual void OnPreviousBookmark() {}
virtual void OnShowBookmarks() {}
virtual void SetCheckpoint() {}
virtual bool CheckpointModified() { return TRUE; }
// UI-updates
virtual bool CanCopy() { return FALSE; }
virtual bool CanCut() { return FALSE; }
virtual bool CanPaste() { return FALSE; }
virtual bool CanUndo() { return FALSE; }
virtual bool CanRedo() { return FALSE; }
// accesed by framework
virtual bool IsModified() { return TRUE; }
// returned buffer is NULL, if operation is not supported
// by this concrete editor
virtual void GetAllText( char** ppBuf, size_t* length )
{ *ppBuf = NULL; *length = 0; }
virtual string FindWordAtCursor() = 0;
// returned line and column are -1s, if operation
// is not supported this concrete editor
virtual void GetCursorPos( int* line, int* column )
{ *line = -1; *column = -1; }
virtual void GetPagePos( int* line, int* column )
{ *line = -1; *column = -1; }
virtual void SetCursorPos( int line, int column ) {}
// returned buffer is NULL, if operation is not supported
// by this concrete editor,
// (NOTE: range is given from "fromLine", but not
// including tillLine, [fomrLine,tillLine) )
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length )
{ ppBuf = NULL; }
virtual void InsertText( int line, int column,
char* text, size_t lenght )
{}
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn )
{}
virtual void PositionToXY( int line, int column, int* x, int* y )
{ *x = -1; *y = -1; }
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn )
{ *fromLine = -1; // not supported by default
}
virtual wxSize GetCharacterSize() { return wxSize(-1,-1); }
virtual bool IsUnixText()
// default impl., actual implementation should use auto-detection
#ifdef __WINDOWS__
{ return FALSE; }
#else
{ return TRUE; }
#endif
// requests editor to keep cursor blinking, even when
// the window has lost it's focus
virtual void HoldCursor( bool hold )
{}
virtual string GetFileName() { return mFileName; }
virtual void SetFileName( const string& fname ) { mFileName = fname; }
// overriden methods of wxStudioPluginBase
virtual WXS_PLUGIN_TYPE GetType() {return WXS_EDITOR_PLUGIN;}
virtual string GetCategory() { return "Editor";}
};
#endif
// __EDITORBASE_G__

View File

@@ -1,146 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 08/05/1999
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "finddlg.h"
/***** Implementation for class wxFindTextDialog *****/
//#define wxID_OK 3453453
BEGIN_EVENT_TABLE( wxFindTextDialog, wxDialog )
// FIXME:: why OnOk() is not called??
//EVT_BUTTON( wxID_OK, wxFindTextDialog::OnOK )
EVT_CHAR_HOOK(wxFindTextDialog::OnKeyHook)
END_EVENT_TABLE()
wxString wxFindTextDialog::mLastExpr;
bool wxFindTextDialog::mMatchCase = TRUE;
bool wxFindTextDialog::mMatchWord = FALSE;
StrListT wxFindTextDialog::mExprList;
// FIXME:: workaround for mystic. crashes wiht MSDev4.0
static wxComboBox* __gpCombo = NULL;
wxFindTextDialog::wxFindTextDialog( wxWindow* parent, const string& expr )
: wxDialog( parent, -1, "Find",
wxDefaultPosition, wxSize( 335, 130 ),
wxDIALOG_MODAL | wxCAPTION | wxTAB_TRAVERSAL |
wxDEFAULT_DIALOG_STYLE
)
{
mLastExpr = expr;
int leftMargin = 20;
int inputY = 20;
int inputWidth = 200;
wxStaticText* pStatic =
new wxStaticText( this, -1, "Fi&nd what:",
wxPoint( leftMargin, inputY ) );
int checkY = inputY + 25;
mpWordCheck = new wxCheckBox( this, -1, "Match &whole word only",
wxPoint( leftMargin, checkY ) );
mpCaseCheck = new wxCheckBox( this, -1, "Match &case",
wxPoint( leftMargin, checkY + 20 ) );
mpCaseCheck->SetValue( mMatchCase );
mpWordCheck->SetValue( mMatchWord );
int btnX = inputWidth + leftMargin + 23;
int btnY = inputY - 4;
wxSize btnSize( 70, 25 );
wxButton* pOkBtn = new wxButton( this, wxID_OK, "&Find",
wxPoint( btnX, btnY ), btnSize );
wxButton* pCancelBtn = new wxButton( this, wxID_CANCEL, "&Cancel",
wxPoint( btnX, btnY + 10 + btnSize.y ), btnSize );
__gpCombo = new wxComboBox( this, -1, mLastExpr,
wxPoint( leftMargin + 60, inputY - 2 ),
wxSize( inputWidth - 50, 20 ) );
for( size_t i = 0; i != mExprList.size(); ++i )
__gpCombo->Append( mExprList[i] );
pOkBtn->SetDefault();
__gpCombo->SetFocus();
Center( wxBOTH );
}
void wxFindTextDialog::SetExpr( const wxString& expr )
{
mLastExpr = expr;
__gpCombo->SetValue( mLastExpr );
}
wxComboBox* wxFindTextDialog::GetCombo()
{
return __gpCombo;
}
bool wxFindTextDialog::TransferDataFromWindow()
{
mLastExpr = GetCombo()->GetValue();
mMatchCase = mpCaseCheck->GetValue();
mMatchWord = mpWordCheck->GetValue();
if ( mLastExpr != "" )
{
for( size_t i = 0; i != mExprList.size(); ++i )
if ( mExprList[i] == mLastExpr )
return TRUE;
}
if ( mExprList.size() > 20 )
mExprList.pop_back();
mExprList.push_back( mLastExpr );
return TRUE;
}
void wxFindTextDialog::OnKeyHook( wxKeyEvent& event )
{
if ( event.m_keyCode == WXK_RETURN )
{
TransferDataFromWindow();
EndModal( wxID_OK );
}
else
event.Skip();
}

View File

@@ -1,38 +0,0 @@
#ifndef __FINDDLG_G__
#define __FINDDLG_G__
#include "wx/dialog.h"
#include "wx/checkbox.h"
#include "wx/combobox.h"
#include "wxstldefs.h"
class wxFindTextDialog : public wxDialog
{
public:
static wxString mLastExpr;
static bool mMatchCase;
static bool mMatchWord;
static StrListT mExprList;
wxCheckBox* mpCaseCheck;
wxCheckBox* mpWordCheck;
public:
wxFindTextDialog( wxWindow* parent, const string& expr = "" );
bool MatchWordOn() { return mMatchWord; }
bool MatchCaseOn() { return mMatchCase; }
wxString GetExpr() { return mLastExpr; }
void SetExpr( const wxString& expr );
wxComboBox* GetCombo();
virtual bool TransferDataFromWindow();
void OnKeyHook( wxKeyEvent& event );
DECLARE_EVENT_TABLE()
};
#endif

View File

@@ -1 +0,0 @@
*~

File diff suppressed because it is too large Load Diff

View File

@@ -1,189 +0,0 @@
# This file was created automatically by SWIG.
import lseditorc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx
class wxsLSEditorPluginPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,lseditorc=lseditorc):
if self.thisown == 1 :
lseditorc.delete_wxsLSEditorPlugin(self)
def Create(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_Create,(self,) + _args, _kwargs)
return val
def OnOpen(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnOpen,(self,) + _args, _kwargs)
return val
def OnSave(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnSave,(self,) + _args, _kwargs)
return val
def OnCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCopy,(self,) + _args, _kwargs)
return val
def OnCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCut,(self,) + _args, _kwargs)
return val
def OnPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPaste,(self,) + _args, _kwargs)
return val
def OnDelete(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnDelete,(self,) + _args, _kwargs)
return val
def OnUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnUndo,(self,) + _args, _kwargs)
return val
def OnRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnRedo,(self,) + _args, _kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SelectAll,(self,) + _args, _kwargs)
return val
def OnGotoLine(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnGotoLine,(self,) + _args, _kwargs)
return val
def OnProperties(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnProperties,(self,) + _args, _kwargs)
return val
def OnFind(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFind,(self,) + _args, _kwargs)
return val
def OnFindNext(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindNext,(self,) + _args, _kwargs)
return val
def OnFindPrevious(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindPrevious,(self,) + _args, _kwargs)
return val
def OnReplace(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnReplace,(self,) + _args, _kwargs)
return val
def OnToggleBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnToggleBookmark,(self,) + _args, _kwargs)
return val
def OnNextBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnNextBookmark,(self,) + _args, _kwargs)
return val
def OnPreviousBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPreviousBookmark,(self,) + _args, _kwargs)
return val
def OnShowBookmarks(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnShowBookmarks,(self,) + _args, _kwargs)
return val
def SetCheckpoint(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCheckpoint,(self,) + _args, _kwargs)
return val
def CheckpointModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CheckpointModified,(self,) + _args, _kwargs)
return val
def CanCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCopy,(self,) + _args, _kwargs)
return val
def CanCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCut,(self,) + _args, _kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanPaste,(self,) + _args, _kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanUndo,(self,) + _args, _kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanRedo,(self,) + _args, _kwargs)
return val
def GetName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetName,(self,) + _args, _kwargs)
return val
def IsModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsModified,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def SetFileName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetFileName,(self,) + _args, _kwargs)
return val
def HoldCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_HoldCursor,(self,) + _args, _kwargs)
return val
def FindWordAtCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_FindWordAtCursor,(self,) + _args, _kwargs)
return val
def GetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCursorPos,(self,) + _args, _kwargs)
return val
def SetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCursorPos,(self,) + _args, _kwargs)
return val
def GetPagePos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetPagePos,(self,) + _args, _kwargs)
return val
def GetText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetText,(self,) + _args, _kwargs)
return val
def InsertText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_InsertText,(self,) + _args, _kwargs)
return val
def DeleteText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_DeleteText,(self,) + _args, _kwargs)
return val
def PositionToXY(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_PositionToXY,(self,) + _args, _kwargs)
return val
def GetSelectionRange(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetSelectionRange,(self,) + _args, _kwargs)
return val
def GetCharacterSize(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCharacterSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def IsUnixText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsUnixText,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxsLSEditorPlugin instance at %s>" % (self.this,)
class wxsLSEditorPlugin(wxsLSEditorPluginPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(lseditorc.new_wxsLSEditorPlugin,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,150 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: utils.i
// Purpose: SWIG definitions of various utility classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module lseditor
%{
#include "helpers.h"
#include "lseditorpl.h"
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%extern wx.i
%extern windows.i
%extern windows2.i
%extern windows3.i
%extern frames.i
%extern _defs.i
%extern misc.i
%extern gdi.i
%extern controls.i
%extern events.i
%{
#ifdef SEPARATE
wxString wxPyEmptyStr("");
#endif
%}
%pragma(python) code = "import wx"
//---------------------------------------------------------------------------
class wxsLSEditorPlugin
{
public:
wxsLSEditorPlugin();
~wxsLSEditorPlugin();
void Create( wxWindow* parent, wxWindowID id );
virtual void OnOpen( const char* fname );
virtual void OnSave( const char* fname );
virtual void OnCopy();
virtual void OnCut();
virtual void OnPaste();
virtual void OnDelete();
void OnUndo();
void OnRedo();
void SelectAll();
void OnGotoLine( int lineNo, int column = 0 );
void OnGotoLine();
void OnProperties();
void OnFind();
void OnFindNext();
void OnFindPrevious();
void OnReplace();
virtual void OnToggleBookmark();
virtual void OnNextBookmark();
virtual void OnPreviousBookmark();
virtual void OnShowBookmarks();
virtual void SetCheckpoint();
virtual bool CheckpointModified();
// UI-updates
bool CanCopy();
bool CanCut();
bool CanPaste();
bool CanUndo();
bool CanRedo();
// accesed by framework
virtual string GetName(){ return "Alex's Language Sensitive Editor"; }
virtual bool IsModified();
virtual wxWindow* GetWindow();
//virtual void GetAllText( char** ppBuf, size_t* length );
virtual void SetFileName( const char* fname );
virtual void HoldCursor( bool hold );
//virtual wxsPluginBase* Clone() { return new wxsLSEditorPlugin(); };
virtual string FindWordAtCursor();
virtual void GetCursorPos( int* line, int* column );
virtual void SetCursorPos( int line, int column );
virtual void GetPagePos( int* line, int* column );
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length );
virtual void InsertText( int line, int column,
char* text, size_t lenght );
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn );
virtual void PositionToXY( int line, int column, int* x, int* y );
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn );
virtual wxSize GetCharacterSize();
virtual bool IsUnixText();
// some extras (just in case..)
//wxTextEditorModel& GetModel();
//wxTextEditorView& GetView();
};
//---------------------------------------------------------------------------
%init %{
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
initlseditorc

View File

@@ -1,344 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: lseditorpl.cpp
// Purpose: Language-sensative editor plugin for wxStudio
// Copyright: (c) Aleksandars Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "lseditorpl.h"
#include "tdefs.h"
/***** Impelmentation for class wxsLSEditorPlugin *****/
wxsLSEditorPlugin::wxsLSEditorPlugin()
: mpModel( NULL ),
mpView( NULL )
{}
wxsLSEditorPlugin::~wxsLSEditorPlugin()
{
// view is destroyed by wxWindows along
// with it's owned model
}
void wxsLSEditorPlugin::Create( wxWindow* parent, wxWindowID id )
{
mpModel = new wxTextEditorModel();
mpView = new wxTextEditorView( parent, id, mpModel );
mpModel->AddView( mpView );
mpView->Activate();
mpView->AddPinPainter( new TBreakpointPainter() );
mpView->SyncScrollbars();
}
void wxsLSEditorPlugin::OnOpen( const string& fname )
{
mpModel->LoadTextFromFile( fname );
SetFileName( fname );
}
void wxsLSEditorPlugin::OnSave( const string& fname )
{
mpModel->SaveTextToFile( fname );
}
void wxsLSEditorPlugin::OnCopy()
{
mpModel->OnCopy();
}
void wxsLSEditorPlugin::OnCut()
{
mpModel->OnCut();
}
void wxsLSEditorPlugin::OnPaste()
{
mpModel->OnPaste();
}
void wxsLSEditorPlugin::OnDelete()
{
mpModel->OnDelete();
}
void wxsLSEditorPlugin::OnUndo()
{
mpModel->OnUndo();
}
void wxsLSEditorPlugin::OnRedo()
{
mpModel->OnRedo();
}
void wxsLSEditorPlugin::SelectAll()
{
mpModel->OnSelectAll();
}
void wxsLSEditorPlugin::OnGotoLine()
{
mpModel->OnGotoLine();
}
void wxsLSEditorPlugin::OnGotoLine( int lineNo, int column )
{
mpModel->ResetSelection();
mpModel->OnGotoLine( lineNo, column );
}
void wxsLSEditorPlugin::OnProperties()
{
// not impl.
}
void wxsLSEditorPlugin::OnFind()
{
mpModel->OnFind();
}
void wxsLSEditorPlugin::OnFindNext()
{
mpModel->OnFindNext();
}
void wxsLSEditorPlugin::OnFindPrevious()
{
mpModel->OnFindPrevious();
}
void wxsLSEditorPlugin::OnReplace()
{
// not impl.
}
void wxsLSEditorPlugin::OnToggleBookmark()
{
mpModel->OnToggleBookmark();
}
void wxsLSEditorPlugin::OnNextBookmark()
{
mpModel->OnNextBookmark();
}
void wxsLSEditorPlugin::OnPreviousBookmark()
{
mpModel->OnPreviousBookmark();
}
void wxsLSEditorPlugin::OnShowBookmarks()
{
// not impl.
}
void wxsLSEditorPlugin::SetCheckpoint()
{
mpModel->SetCheckpoint();
}
bool wxsLSEditorPlugin::CheckpointModified()
{
return mpModel->CheckpointModified();
}
// UI-updates
bool wxsLSEditorPlugin::CanCopy()
{
return mpModel->CanCopy();
}
bool wxsLSEditorPlugin::CanCut()
{
return mpModel->CanCopy();
}
bool wxsLSEditorPlugin::CanPaste()
{
return mpModel->CanPaste();
}
bool wxsLSEditorPlugin::CanUndo()
{
return mpModel->CanUndo();
}
bool wxsLSEditorPlugin::CanRedo()
{
return mpModel->CanRedo();
}
// accesed by framework
bool wxsLSEditorPlugin::IsModified()
{
return mpModel->IsModified();
}
wxWindow* wxsLSEditorPlugin::GetWindow()
{
return mpView;
}
void wxsLSEditorPlugin::GetAllText( char** ppBuf, size_t* length )
{
mpModel->GetAllText( ppBuf, *length );
}
void wxsLSEditorPlugin::SetFileName( const string& fname )
{
mFileName = fname;
if ( mpView )
mpView->SetName( fname );
}
void wxsLSEditorPlugin::HoldCursor( bool hold )
{
mpView->HoldCursor( hold );
}
string wxsLSEditorPlugin::FindWordAtCursor()
{
mpModel->OnSelectWord();
char* buf = NULL; size_t len = 0;
mpModel->GetSelection( &buf, len );
if ( buf )
{
string word = string( buf, 0, len );
delete [] buf;
return word;
}
else
return "";
}
void wxsLSEditorPlugin::GetCursorPos( int* line, int* column )
{
TPosition pos = mpModel->GetCursor();
*line = (int)pos.mRow;
*column = (int)pos.mCol;
}
void wxsLSEditorPlugin::SetCursorPos( int line, int column )
{
mpModel->OnGotoLine( line, column );
}
void wxsLSEditorPlugin::GetPagePos( int* line, int* column )
{
TPosition pos = mpView->GetPagePos();
*line = pos.mRow;
*column = pos.mCol;
}
void wxsLSEditorPlugin::GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length )
{
mpModel->GetTextFromRange( TPosition( fromLine, fromColumn ),
TPosition( tillLine, tillColumn ),
ppBuf, *length );
}
void wxsLSEditorPlugin::InsertText( int line, int column,
char* text, size_t lenght )
{
mpModel->InsertText( TPosition( line, column ),
text, lenght );
}
void wxsLSEditorPlugin::DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn )
{
mpModel->DeleteRange( TPosition( fromLine, fromColumn ),
TPosition( tillLine, tillColumn ) );
}
void wxsLSEditorPlugin::PositionToXY( int line, int column, int* x, int* y )
{
TPosition scrPos;
mpView->TextPosToScreenPos( TPosition( line, column ), scrPos );
mpView->ScreenPosToPixels( scrPos, *x, *y );
*y += mpView->mCharDim.y; // lower-right corner
}
void wxsLSEditorPlugin::GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn )
{
TPosition start = mpModel->GetStartOfSelection();
TPosition end = mpModel->GetEndOfSelection();
*fromLine = (int)start.mRow;
*fromColumn = (int)start.mCol;
*tillLine = (int)end.mRow;
*tillColumn = (int)end.mCol;
}
wxSize wxsLSEditorPlugin::GetCharacterSize()
{
return mpView->GetCharacterSize();
}
bool wxsLSEditorPlugin::IsUnixText()
{
return mpModel->IsUnixText();
}
wxTextEditorModel& wxsLSEditorPlugin::GetModel()
{
return *mpModel;
}
wxTextEditorView& wxsLSEditorPlugin::GetView()
{
return *mpView;
}

View File

@@ -1,133 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: nativeeditorpl.h
// Purpose: Language-sensative editor plugin for wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __LSEDITORPL_G__
#define __LSEDITORPL_G__
#include "editorpl.h"
class wxTextEditorModel;
class wxTextEditorView;
class wxsLSEditorPlugin : public wxsSourceEditorPlugin
{
protected:
wxTextEditorModel* mpModel;
wxTextEditorView* mpView;
public:
wxsLSEditorPlugin();
~wxsLSEditorPlugin();
void Create( wxWindow* parent, wxWindowID id );
virtual void OnOpen( const string& fname );
virtual void OnSave( const string& fname );
virtual void OnCopy();
virtual void OnCut();
virtual void OnPaste();
virtual void OnDelete();
void OnUndo();
void OnRedo();
void SelectAll();
void OnGotoLine( int lineNo, int column = 0 );
void OnGotoLine();
void OnProperties();
void OnFind();
void OnFindNext();
void OnFindPrevious();
void OnReplace();
virtual void OnToggleBookmark();
virtual void OnNextBookmark();
virtual void OnPreviousBookmark();
virtual void OnShowBookmarks();
virtual void SetCheckpoint();
virtual bool CheckpointModified();
// UI-updates
bool CanCopy();
bool CanCut();
bool CanPaste();
bool CanUndo();
bool CanRedo();
// accesed by framework
virtual string GetName(){ return "Alex's Language Sensitive Editor"; }
virtual bool IsModified();
virtual wxWindow* GetWindow();
virtual void GetAllText( char** ppBuf, size_t* length );
virtual void SetFileName( const string& fname );
virtual void HoldCursor( bool hold );
virtual wxsPluginBase* Clone() { return new wxsLSEditorPlugin(); };
virtual string FindWordAtCursor();
virtual void GetCursorPos( int* line, int* column );
virtual void SetCursorPos( int line, int column );
virtual void GetPagePos( int* line, int* column );
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length );
virtual void InsertText( int line, int column,
char* text, size_t lenght );
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn );
virtual void PositionToXY( int line, int column, int* x, int* y );
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn );
virtual wxSize GetCharacterSize();
virtual bool IsUnixText();
// some extras (just in case..)
wxTextEditorModel& GetModel();
wxTextEditorView& GetView();
};
#endif
// __LSEDITORPL_G__

View File

@@ -1,46 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "markup.h"
static TagStructT htmlTags[] =
{
{ "<b>","</b>" }, // 0
{ "<i>","</i>" }, // 1
{ "<pre>","</pre>" }, // 2
{ "<font color=\"#000000\">","</font>" }, // 3
{ "<font color=\"#8F0000\">","</font>" }, // 4
{ "<font color=\"#008F00\">","</font>" }, // 5
{ "<font color=\"#0000CF\">","</font>" }, // 6
{ "<p>","</p>" }, // 7
{ "<br>","" }, // 8
{ "<h1>","</h1>" }, // 9
{ "<h2>","</h2>" }, // 10
{ "<h3>","</h3>" }, // 11
{ "<ul>","</ul>" }, // 12
{ "<li>","</li>" }, // 13
};
MarkupTagsT get_HTML_markup_tags()
{
return htmlTags;
}

View File

@@ -1,51 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
#ifndef __MARKUP_G__
#define __MARKUP_G__
// indicies for the MarkupTagsT array
#define TAG_BOLD 0
#define TAG_ITALIC 1
#define TAG_FIXED_FONT 2
#define TAG_BLACK_FONT 3
#define TAG_RED_FONT 4
#define TAG_GREEN_FONT 5
#define TAG_BLUE_FONT 6
#define TAG_PARAGRAPH 7
#define TAG_NEW_LINE 8
#define TAG_HEADING_1 9
#define TAG_HEADING_2 10
#define TAG_HEADING_3 11
#define TAG_ITEM_LIST 12
#define TAG_LIST_ITEM 13
struct TagStructT
{
char* start; // tag that starts style
char* end; // tag that finishes style
};
// tag array
typedef TagStructT* MarkupTagsT;
// returns array of TagStructT with tag strings for HTML
MarkupTagsT get_HTML_markup_tags();
// MarkupTagsT get_PostScript_markup_tags();
// MarkupTagsT get_Latex_markup_tags();
#endif

View File

@@ -1 +0,0 @@
*~

File diff suppressed because it is too large Load Diff

View File

@@ -1,189 +0,0 @@
# This file was created automatically by SWIG.
import lseditorc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx
class wxsLSEditorPluginPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,lseditorc=lseditorc):
if self.thisown == 1 :
lseditorc.delete_wxsLSEditorPlugin(self)
def Create(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_Create,(self,) + _args, _kwargs)
return val
def OnOpen(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnOpen,(self,) + _args, _kwargs)
return val
def OnSave(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnSave,(self,) + _args, _kwargs)
return val
def OnCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCopy,(self,) + _args, _kwargs)
return val
def OnCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCut,(self,) + _args, _kwargs)
return val
def OnPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPaste,(self,) + _args, _kwargs)
return val
def OnDelete(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnDelete,(self,) + _args, _kwargs)
return val
def OnUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnUndo,(self,) + _args, _kwargs)
return val
def OnRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnRedo,(self,) + _args, _kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SelectAll,(self,) + _args, _kwargs)
return val
def OnGotoLine(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnGotoLine,(self,) + _args, _kwargs)
return val
def OnProperties(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnProperties,(self,) + _args, _kwargs)
return val
def OnFind(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFind,(self,) + _args, _kwargs)
return val
def OnFindNext(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindNext,(self,) + _args, _kwargs)
return val
def OnFindPrevious(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindPrevious,(self,) + _args, _kwargs)
return val
def OnReplace(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnReplace,(self,) + _args, _kwargs)
return val
def OnToggleBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnToggleBookmark,(self,) + _args, _kwargs)
return val
def OnNextBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnNextBookmark,(self,) + _args, _kwargs)
return val
def OnPreviousBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPreviousBookmark,(self,) + _args, _kwargs)
return val
def OnShowBookmarks(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnShowBookmarks,(self,) + _args, _kwargs)
return val
def SetCheckpoint(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCheckpoint,(self,) + _args, _kwargs)
return val
def CheckpointModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CheckpointModified,(self,) + _args, _kwargs)
return val
def CanCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCopy,(self,) + _args, _kwargs)
return val
def CanCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCut,(self,) + _args, _kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanPaste,(self,) + _args, _kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanUndo,(self,) + _args, _kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanRedo,(self,) + _args, _kwargs)
return val
def GetName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetName,(self,) + _args, _kwargs)
return val
def IsModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsModified,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def SetFileName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetFileName,(self,) + _args, _kwargs)
return val
def HoldCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_HoldCursor,(self,) + _args, _kwargs)
return val
def FindWordAtCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_FindWordAtCursor,(self,) + _args, _kwargs)
return val
def GetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCursorPos,(self,) + _args, _kwargs)
return val
def SetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCursorPos,(self,) + _args, _kwargs)
return val
def GetPagePos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetPagePos,(self,) + _args, _kwargs)
return val
def GetText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetText,(self,) + _args, _kwargs)
return val
def InsertText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_InsertText,(self,) + _args, _kwargs)
return val
def DeleteText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_DeleteText,(self,) + _args, _kwargs)
return val
def PositionToXY(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_PositionToXY,(self,) + _args, _kwargs)
return val
def GetSelectionRange(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetSelectionRange,(self,) + _args, _kwargs)
return val
def GetCharacterSize(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCharacterSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def IsUnixText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsUnixText,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxsLSEditorPlugin instance at %s>" % (self.this,)
class wxsLSEditorPlugin(wxsLSEditorPluginPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(lseditorc.new_wxsLSEditorPlugin,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,58 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wxsplbase.cpp
// Purpose: General interfaces for all plug-ins in wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "plugin.h"
/***** Implementation for class wxStudioPluginManager *****/
void wxsPluginManager::RegisterMenuCommand( const wxString& itemName,
const wxString& menuName,
int id,
wxsPluginBase* forPlugin )
{
// TBD::
}
void wxsPluginManager::UnregisterPlugin( wxsPluginBase* plugin )
{
// TBD::
}
/***** Implementation for class wxStudioPluginBase *****/
wxsPluginBase::wxsPluginBase()
{}
wxsPluginBase::~wxsPluginBase()
{}
wxsPluginManager& wxsPluginBase::GetPluginManager()
{
wxASSERT( mpPluginMgr );
return *mpPluginMgr;
}
void wxsPluginBase::SetPluginManager( wxsPluginManager* pMgr )
{
mpPluginMgr = pMgr;
}

View File

@@ -1,98 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wxsplbase.h
// Purpose: General interfaces for all plug-ins in wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
#ifndef __PLUGIN_G__
#define __PLUGIN_G__
#include "wxstldefs.h"
#include "wxsdefs.h"
class wxsPluginBase;
typedef wxsPluginBase* wxsPluginBasePtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsPluginBasePtrT> wxsPluginListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY(wxsPluginBasePtrT) wxsPluginListT;
#endif
class wxsPluginManager : public wxObject
{
public:
wxsPluginListT& GetPlugins();
// allows to present plugin-specific features
// as items in the menu-bar
void RegisterMenuCommand( const string& itemName,
const string& menuName,
int id,
wxsPluginBase* forPlugin );
// should be called by plugin, when it's being destroyed
void UnregisterPlugin( wxsPluginBase* plugin );
};
// Used by create settings panel:
enum {
WXS_SETTINGS_GLOBAL,
WXS_SETTINGS_PROJECT
};
class wxsPluginBase : public wxObject
{
protected:
wxsPluginManager* mpPluginMgr;
public:
wxsPluginBase();
virtual ~wxsPluginBase();
virtual void InitPlugin() {}
// utilities
wxsPluginManager& GetPluginManager();
void SetPluginManager( wxsPluginManager* mgr );
// overridables
// Current Types = UNKNOWN,EDITOR,CLASSBROWSER,FILEBROWSER,CLASSINFO,TOOL
virtual WXS_PLUGIN_TYPE GetType() = 0;
virtual string GetCategory() = 0;
virtual string GetName() = 0;
// will return a help panel
virtual wxWindow* CreateSettingsPanel(wxWindow *parent, int type) {return NULL;}
virtual wxsPluginBase* Clone() = 0;
virtual string Command( const string& name, const string& args )
{ return "NO_SUPPORTED"; }
};
// base clas for all plugins which are presented as windows
class wxsComponent : public wxsPluginBase
{
public:
virtual void Create( wxWindow* parent, wxWindowID id ) = 0;
virtual wxWindow* GetWindow() = 0;
};
#endif
// __PLUGIN_G__

View File

@@ -1,696 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "config.h"
#if defined( wxUSE_TEMPLATE_STL )
#include <map>
using namespace std;
#else
#include <wxstlac.h>
#endif
#include "sourcepainter.h"
const int MAX_KEYWORD_LEN = 16;
struct KeywordT
{
char keyWord[MAX_KEYWORD_LEN];
int rank;
};
// source fragment ranks :
// 0 - nomral text
// 1 - basic types
// 2 - reserved words
// multil-language keywords map
static KeywordT __gKeyWords[] =
{
{ "for", 1 },
{ "FOR", 1 },
{ "For", 1 },
{ "next", 1 },
{ "Next", 1 },
{ "NEXT", 1 },
{ "if", 1 },
{ "If", 1 },
{ "IF", 1 },
{ "then", 1 },
{ "Then", 1 },
{ "THEN", 1 },
{ "else", 1 },
{ "Else", 1 },
{ "ELSE", 1 },
{ "do", 1 },
{ "Do", 1 },
{ "DO", 1 },
{ "break", 1 },
{ "Break", 1 },
{ "BREAK", 1 },
{ "continue", 1 },
{ "goto", 1 },
{ "Goto", 1 },
{ "GOTO", 1 },
{ "switch", 1 },
{ "default", 1 },
{ "case", 1 },
{ "repeat", 1 },
{ "Repeat", 1 },
{ "REPEAT", 1 },
{ "until", 1 },
{ "Until", 1 },
{ "UNTIL", 1 },
{ "return", 1 },
{ "Return", 1 },
{ "RETURN", 1 },
{ "unit", 1 },
{ "Unit", 1 },
{ "UNIT", 1 },
{ "procedure", 1 },
{ "Procedure", 1 },
{ "PROCEDURE", 1 },
{ "function", 1 },
{ "Function", 1 },
{ "FUNCTION", 1 },
{ "begin", 1 },
{ "Begin", 1 },
{ "BEGIN", 1 },
{ "End", 1 },
{ "END", 1 },
////////////////////////////////////////////////////
{ "enum", 1 },
{ "static", 1 },
{ "const", 1 },
{ "mutable", 1 },
{ "volatile", 1 },
{ "__asm", 1 },
{ "asm", 1 },
{ "typeid", 1 },
{ "sizeof", 1 },
{ "typeof", 1 },
{ "native", 1 },
{ "#include", 1 },
{ "#define", 1 },
{ "#def", 1 },
{ "#undef", 1 },
{ "#ifdef", 1 },
{ "#ifndef", 1 },
{ "#if", 1 },
{ "#endif", 1 },
{ "#elif", 1 },
{ "#else", 1 },
{ "#pragma", 1 },
{ "#line", 1 },
{ "package", 1 },
{ "import", 1 },
{ "export", 1 },
////////////////////////////////////////////////////
{ "dynamic_cast", 1 },
{ "const_cast", 1 },
//////// some hacks for VB /////////
{ "sub", 1 },
{ "Sub", 1 },
{ "SUB", 1 },
{ "as", 1 },
{ "As", 1 },
{ "AS", 1 },
/////// data types ///////
{ "int" , 1 },
{ "integer", 1 },
{ "Integer", 1 },
{ "INTEGER", 1 },
{ "real", 1 },
{ "Real", 1 },
{ "REAL", 1 },
{ "float", 1 },
{ "Float", 1 },
{ "FLOAT", 1 },
{ "char", 1 },
{ "Char", 1 },
{ "CHAR", 1 },
{ "register", 1 },
{ "string", 1 },
{ "String", 1 },
{ "STRING", 1 },
{ "array", 1 },
{ "Array", 1 },
{ "ARRAY", 1 },
{ "packed", 1 },
{ "Packed", 1 },
{ "PACKED", 1 },
{ "property", 1 },
{ "Property", 1 },
{ "PROPERTY", 1 },
{ "unsigned", 1 },
{ "long", 1 },
{ "double", 1 },
{ "short", 1 },
{ "bool", 1 },
{ "longint", 1 },
{ "Longint", 1 },
{ "LONGINT", 1 },
{ "extended", 1 },
{ "Extended", 1 },
{ "EXTENTED", 1 },
{ "pointer", 1 },
{ "Pointer", 1 },
{ "POINTER", 1 },
{ "and", 1 },
{ "And", 1 },
{ "AND", 1 },
{ "or", 1 },
{ "Or", 1 },
{ "OR", 1 },
{ "xor", 1 },
{ "Xor", 1 },
{ "XOR", 1 },
{ "void", 1 },
{ "__stdcall", 1 },
{ "__declspec", 1 },
{ "extern", 1 },
{ "stdcall", 1 },
{ "dllimport", 1 },
{ "dllexport", 1 },
{ "__cdecl", 1 },
{ "cdecl", 1 },
{ "template", 1 },
{ "typedef", 1 },
{ "naked", 1 },
{ "try", 1 },
{ "catch", 1 },
{ "throw", 2 }, // C++
{ "throws", 1 }, // Java
{ "finalize", 1 },
// "STL-suport"
{ "size_t", 1 },
{ "NPOS", 1 },
{ "vector", 1 },
{ "list", 1 },
{ "map", 1 },
{ "multimap", 1 },
{ "external", 1 },
{ "External", 1 },
{ "EXTERNAL", 1 },
//////////// meta-information //////////////
{ "virtual", 2 },
{ "Virtual", 2 },
{ "override", 2 },
{ "Override", 2 },
{ "class", 2 },
{ "Class", 2 },
{ "CLASS", 2 },
{ "struct", 2 },
{ "union", 2 },
{ "record", 2 },
{ "Record", 2 },
{ "RECORD", 2 },
{ "form", 1 },
{ "Form", 1 },
{ "FORM", 1 },
{ "namespace", 2 },
{ "interface" , 2 },
{ "abstract", 2 },
{ "Interface" , 2 },
{ "INTERFACE" , 2 },
{ "implementation", 2 },
{ "Implementation", 2 },
{ "IMPLEMENTATION", 2 },
{ "label", 2 },
{ "Label", 2 },
{ "LABEL", 2 },
{ "implements", 2 },
{ "extends", 2 },
{ "public", 2 },
{ "private", 2 },
{ "protected", 2 },
{ "this", 1 },
{ "This", 1 },
{ "THIS", 1 },
{ "new", 1 },
{ "New", 1 },
{ "NEW", 1 },
{ "delete", 2 },
{ "inline", 2 },
{ "operator", 1 },
{ "Inherited", 2 },
{ "Inherited", 2 },
{ "final", 2 },
{ "implements", 2 },
{ "super", 2 },
// even more...
{ "java", 2 },
{ "Java", 2 },
{ "JAVA", 2 },
{ "delphi", 2 },
{ "Delphi", 2 },
{ "SmallTalk", 2 },
{ "Smalltalk", 2 },
{ "smalltalk", 2 },
{ "assembler", 2 },
{ "Assembler", 2 },
{ "Basic", 2 },
{ "BASIC", 2 },
{ "basic", 2 },
{ "CORBA", 2 },
{ "COBOL", 2 },
{ "ADA", 2 },
{ "LISP", 2 },
// just for fun...
{ "life", 2 },
{ "sucks", 2 },
{ "rules", 2 },
{ "Quake", 2 },
{ "QuakeWorld", 2 },
{ "[ag_slammer]",2 },
{ "Aleksandras", 2 },
{ "Gluchovas" , 2 },
{ "Alex", 2 },
{ "alex", 2 },
{ "aleks", 2 },
{ "aleksas", 3 },
{ "AlexSoft", 2 },
{ "Alexsoft", 2 },
{ "SpringSky", 2 },
{ "SK_Team", 2 },
{ "soften", 2 },
{ "UB40", 2 },
{ "U96", 2 }
};
struct less_c_str
{
inline bool operator()( char* x, char* y) const
{ return ( strcmp( x,y ) < 0 );
}
};
#if defined( wxUSE_TEMPLATE_STL )
typedef map< char*, char*, less_c_str > KeywordMapT;
#else
typedef char* CharPtrT;
typedef WXSTL_MAP( CharPtrT, CharPtrT ,less_c_str) KeywordMapT;
#endif
static KeywordMapT __gMultiLangMap;
static int __gMapReady = 0;
void check_keyword_map( int keywordMapNr )
{
if ( !__gMapReady )
{
__gMapReady = 1;
// "make sure" the address of the first member of non-polimorphic class
// coinsides with the address of the instance
KeywordT dummy;
if ( (char*)& dummy != &dummy.keyWord[0] )
throw;
int size = sizeof(__gKeyWords) / sizeof( KeywordT );
for( int i = 0; i != size; ++i )
__gMultiLangMap.insert(
KeywordMapT::value_type( (char*)&__gKeyWords[i],
(char*)&__gKeyWords[i]
)
);
}
}
int get_rank( char* start, char* end )
{
// FIXME:: what if end is no longer leagal adress?
char tmp = *end;
*end = '\0'; // put temporary terminator
KeywordMapT::iterator i;
if ( (i = __gMultiLangMap.find( start ) ) != __gMultiLangMap.end() )
{
KeywordT* pKey = (KeywordT*)(*i).second;
*end = tmp;
return pKey->rank;
}
else
{
*end = tmp;
return 0;
}
}
static inline void store_range( IntListT& results, int rank, int range_len )
{
if ( !range_len ) return;
results.push_back ( ( rank << 16 ) | ( range_len ) );
}
#define STORE_RANGE store_range( results, cur_rank, cur_range_len );\
cur_rank = cur_range_len = 0;
#define NEXT_CHAR cur_range_len++; \
++cur; \
continue;
static inline int is_alpha( char ch )
{
return ( (( ch >= '_' ) && ( ch <= 'z' )) ||
(( ch >= 'A' ) && ( ch <= 'Z' ))
);
}
// _ . .
// Ziema atEjo netikEtai
static void heighlight_syntax( char* str, int strLen,
IntListT& results, bool& isComment )
{
bool isMultiline = 0;
char* cur = str;
char* end = str + strLen;
int cur_rank = ( isComment == 1 ) ? RANK_GREEN : RANK_BLACK;
int cur_range_len = 0;
while ( cur != end )
{
int has_next = ( cur+1 != end );
if ( isComment )
{
if ( *cur == '*' )
if ( has_next && *(cur+1) == '/' )
{
// turn off multiline comment mode
cur += 2;
cur_range_len += 2;
isComment = 0;
isMultiline = 0;
STORE_RANGE;
continue;
}
++cur_range_len;
++cur;
continue;
}
/*
if ( *cur == 10 )
if ( isComment )
if ( isMultiline )
{
cur_rank = RANK_GREEN;
cur_range_len = end - cur;
STORE_RANGE;
isComment = 0;
isMultiline = 0;
continue;
}*/
if ( *cur == '/' )
{
if ( has_next )
{
if ( *(cur+1) == '/' )
{
STORE_RANGE;
char* eol = cur;
while ( eol < end && *eol != 10 )
++eol;
cur_rank = RANK_GREEN;
cur_range_len = eol - cur;
cur = eol;
STORE_RANGE;
continue;
}
if ( *(cur+1) == '*' )
{
STORE_RANGE;
cur_rank = RANK_GREEN;
cur_range_len = 2;
isComment = 1;
cur += 2;
isMultiline = 1;
continue;
}
}
NEXT_CHAR;
}
if ( ( is_alpha( *cur ) || *(cur) == '#' )
&& has_next
)
{
if ( is_alpha( *(cur+1) ) )
{
char* start = cur;
cur += 2;
while ( cur != end && is_alpha(*cur) ) ++cur;
int wordRank;
if ( (wordRank = get_rank( start, cur )) > 0 )
{
STORE_RANGE;
store_range( results, wordRank, int(cur-start) );
cur_rank = cur_range_len = 0;
continue;
}
cur_range_len += ( cur-start );
continue;
}
else
NEXT_CHAR;
}
NEXT_CHAR;
}
if ( cur_range_len > 0 ) STORE_RANGE;
}
/***** Implementation for class SourcePainter ******/
SourcePainter::SourcePainter( bool assembleResultString )
: mCollectResultsOn( assembleResultString ),
mIsInComment( FALSE ),
mCommentIsMultiline( FALSE )
{
check_keyword_map(0);
}
void SourcePainter::ProcessSource( char* src, int srcLen )
{
// TBD:: multilne state...
heighlight_syntax( src, srcLen, mBlocks, mIsInComment );
if ( mCollectResultsOn )
mResultStr += string( src, srcLen );
}
void SourcePainter::SetState( bool isInComment,
bool commentIsMultiline )
{
mIsInComment = isInComment;
mCommentIsMultiline = commentIsMultiline;
}
void SourcePainter::Init(bool assembleResultString)
{
mIsInComment = 0;
mCommentIsMultiline = 0;
mCollectResultsOn = assembleResultString;
mResultStr = "";
mBlocks.erase( mBlocks.begin(), mBlocks.end() );
}
static int rank_tags_map[] =
{
TAG_BLACK_FONT,
TAG_BLUE_FONT,
TAG_RED_FONT,
TAG_GREEN_FONT
};
void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
{
// this method works, only if results of processing
// are collected
ASSERT( mCollectResultsOn );
result = "";
int pos = 0;
for( size_t i = 0; i != mBlocks.size(); ++i )
{
int desc = mBlocks[i];
int len = desc & 0xFFFF;
int rank = (desc >> 16) & 0xFFFF;
result += tags[ rank_tags_map[rank] ].start;
for( int n = 0; n != len; ++n )
result += mResultStr[pos+n];
pos += len;
result += tags[ rank_tags_map[rank] ].end;
}
}
IntListT& SourcePainter::GetBlocks()
{
return mBlocks;
}
bool SourcePainter::IsKeyword( char* word, int wordLen )
{
check_keyword_map(0);
int rank = get_rank( word, word + wordLen );
return ( rank == RANK_BLUE || rank == RANK_RED );
}

View File

@@ -1,109 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __SOURCEPAINTER_G__
#define __SOURCEPAINTER_G__
#ifndef ASSERT
#define ASSERT(x) if (!(x)) throw
#endif
#include "wxstldefs.h"
#include "markup.h" // import MarkupTagsT definition
// "colored" codes for highlighted blocks
#define RANK_BLACK 0 // common source fragments
#define RANK_BLUE 1 // basic types
#define RANK_RED 2 // reserved words
#define RANK_GREEN 3 // comments
// colored block description format :
// int( ( rank << 16 ) | ( source_range_len ) )
inline int get_src_block_rank( int block )
{
return (block >> 16) & 0xFFFF;
}
inline int get_src_block_len( int block )
{
return block & 0xFFFF;
}
// FOR NOW:: no lagnguage-map selection
// source code syntax heighlighter (CPP+JAVA+VB+PASCAL)
class SourcePainter
{
protected:
string mResultStr;
IntListT mBlocks;
bool mCollectResultsOn;
// state variables
bool mIsInComment;
bool mCommentIsMultiline;
public:
// assembleResultString == TRUE - instructs painter
// to collect each chunk of srouce passed to ProcessSource(),
// so that results cann be futher obtained in a single string
// instead of vector of block descriptions
SourcePainter( bool assembleResultString = TRUE );
virtual ~SourcePainter() {}
// can be called multiple times (e.g. on each source line)
virtual void ProcessSource( char* src, int srcLen );
// method, for manually adjusting state of source painter
virtual void SetState( bool isInComment,
bool commentIsMultiline );
// reinitializes object - clears results of previouse processing
virtual void Init( bool assembleResultString = TRUE );
// generates string of highlighted source for the scipting
// language given by "tags" argument
virtual void GetResultString(string& result, MarkupTagsT tags);
// returns vector of block descriptors, see IntListT definition
// (block descriptors can be used for fast custom hightlighted text generation)
virtual IntListT& GetBlocks();
// NOTE:: static method
// returns if the given word is a reserved word or basic type identifier
static bool IsKeyword( char* word, int wordLen );
};
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,903 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 03/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __TDEFS_G__
#define __TDEFS_G__
// should be compiled with wxSTL-v.1.2 (or higher)
#include "wxstldefs.h"
#if defined( wxUSE_TEMPLATE_STL )
#include <vector>
#include <list>
#else
#include "wxstlvec.h"
#include "wxstllst.h"
#endif
#include "wx/window.h"
#include "wx/scrolbar.h"
#include "sourcepainter.h"
#define NPOS ((size_t)(-1))
class wxTextEditorModel;
class wxTextEditorView;
/*
* class represents column-row position in the source text,
* may refere to the column past the end-of-line,
* but should not point past the last-line in the text
*/
class TPosition
{
public:
size_t mRow;
size_t mCol;
inline TPosition() : mRow(0), mCol(0) {}
inline TPosition( size_t row, size_t col )
: mRow( row ), mCol( col ) {}
inline bool operator>( const TPosition& rhs ) const
{
if ( mRow == rhs.mRow ) return mCol > rhs.mCol;
else
return mRow > rhs.mRow;
}
inline bool operator<( const TPosition& rhs ) const
{
if ( mRow == rhs.mRow ) return mCol < rhs.mCol;
else
return mRow < rhs.mRow;
}
};
class TRange
{
public:
TPosition mFrom;
TPosition mTill;
TRange() {}
TRange( const TPosition& from, const TPosition& till )
: mFrom( from ), mTill( till )
{}
};
inline bool operator==( const TPosition& lhs, const TPosition& rhs )
{
return lhs.mRow == rhs.mRow && lhs.mCol == rhs.mCol;
}
// FOR NOW:: bigger ones...
#define MAX_BLOCK_LEN (1024*164)
#define BALANCED_BLOCK_LEN (1024*152)
#define FILLED_BLOCK_LEN (1024*148)
// FOR NOW::
#define T_ASSERT( x ) if ( !(x) ) throw;
// to speed up debug v. :
#define is_eol_char( ch ) ( ch == (char)10 )
#define is_DOS_eol_char( ch ) ( ch == (char)13 )
// the target-platfrom eol-marking is selected when
// new text document is created or auto-detection
// failed to determine the text-format (e.g. no EOLs found at all)
#if defined(__WINDOWS__) || defined(__WXMSW__)
#define IS_UNIX_TEXT_BY_DEFAULT FALSE
#else
#define IS_UNIX_TEXT_BY_DEFAULT TRUE
#endif
//inline bool is_eol_char( char ch ) { return ch == 10 && ch == 13 ; }
/*
* Class contains single fragment of the source text, which
* may grow or shrink in the process of editing. Blocks always
* start at the begining of the line and end at eol, i.e. lines
* are not broken among blocks
*/
class TBlock
{
public:
char mBuf[MAX_BLOCK_LEN];
size_t mTextLen;
size_t mRowCount;
TBlock() : mTextLen(0), mRowCount(0) { mBuf[0] = '\0'; }
void RecalcBlockProperties();
bool operator==( const TBlock& blk ) const { return this == &blk; }
bool operator!=( const TBlock& blk ) const { return this != &blk; }
bool operator<( const TBlock& blk ) const { return TRUE; }
bool operator>( const TBlock& blk ) const { return FALSE; }
};
/*
* captures info about mutable command
*/
class TCommand
{
public:
TCommand() : mType(-1) {}
TCommand( int type ) : mType( type ) {}
~TCommand() {}
int mType;
char* mData;
size_t mDataLen;
TRange mRange;
// positions of cursor before and after executions of this command
TPosition mPrePos;
TPosition mPostPos;
};
enum TEXT_EDITOR_COMMAND
{
TCMD_INSERT,
TCMD_DELETE
};
enum TEXT_CHANGE_TYPE
{
CT_MODIFIED,
CT_DELETED,
CT_INSERTED
};
class wxTextEditorView;
// STL-list is used for managing blocks, since it's alg. collects
// removed elements into a free-list, from which they
// can be reclaimed later, that way heap-fragmentation may be reduced
#if defined( wxUSE_TEMPLATE_STL )
typedef list<TBlock> TBlockListT;
typedef vector<TCommand*> TCommandListT;
typedef vector<wxTextEditorView*> TextViewListT;
#else
typedef WXSTL_LIST( TBlock ) TBlockListT;
typedef TCommand* TCommandPtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TCommandPtrT ) TCommandListT;
typedef wxTextEditorView* TextViewPtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TextViewPtrT ) TextViewListT;
#endif
typedef TBlockListT::iterator TBlockIteratorT;
/*
* class shields the higher-level operations from direct access
* to blocks of fragmented in-memory buffers
*/
class TTextIterator
{
public:
TBlockIteratorT mBlockIter;
TBlockIteratorT mEndOfListIter;
TPosition mPos;
size_t mActualRow;
size_t mFirstRowInBlock;
char* mpCurRowStart;
bool mIsEof;
public:
TTextIterator();
char GetChar();
bool IsEol();
bool IsEof();
bool IsLastLine();
int GetDistFromEol();
void NextChar();
void PreviousChar();
void NextWord();
void PreviousWord();
void ToEndOfLine();
void ToStartOfLine();
bool IsInLastBlock();
// accesors
size_t GetLineLen();
TPosition GetPosition();
char* GetClosestPos();
char* GotoClosestPos();
inline char* GetBlockStart() { return (*mBlockIter).mBuf; }
inline char* GetBlockEnd() { return (*mBlockIter).mBuf + (*mBlockIter).mTextLen; }
bool DetectUnixText();
// adjust this member to add specific separators,
// the default value is : ",.()[]\t\\+-*/|=<>:;\t\n~?!%"
static string mSeparators;
static bool IsSeparator( char ch );
};
class wxTextEditorModel;
class TTextChangeListenerBase
{
public:
virtual void OnTextChanged( wxTextEditorModel* pModel, size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct ) = 0;
};
class TCppJavaHighlightListener : public TTextChangeListenerBase
{
protected:
wxTextEditorModel* mpModel; // is set up temporarely
enum { IN_COMMENT_STATE, OUT_OF_COMMENT_STATE };
public:
virtual void OnTextChanged( wxTextEditorModel* pModel, size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct );
};
/*
* Base class for user-defined "bookmarks" within the source-text, bookmarks
* are automatically repositioned or deleted as the text is edited. Class
* can be subclassed to add pin-specific data (e.g. breakpoint information)
*/
class TPinBase
{
public:
int mTypeCode;
size_t mRow;
public:
TPinBase()
: mTypeCode(-1), mRow(NPOS) {}
TPinBase( int typeCode, size_t row )
: mTypeCode( typeCode ), mRow( row ) {}
size_t GetRow() { return mRow; }
int GetTypeCode() { return mTypeCode; }
virtual ~TPinBase() {}
};
// "recommened" type-code ranges for custom pins
#define HIHGLIGHTING_PINS_TC_STARRT 50
#define OTHER_PINS_TC_START 100
inline bool operator<( const TPinBase& lhs, TPinBase& rhs )
{ return lhs.mRow < rhs.mRow; }
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<TPinBase*> PinListT;
typedef vector<TTextChangeListenerBase*> ChangeListenerListT;
#else
typedef TPinBase* TPinBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TPinBasePtrT ) PinListT;
typedef TTextChangeListenerBase* TTextChangeListenerBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TTextChangeListenerBasePtrT ) ChangeListenerListT;
#endif
/* OLD STUFF::
struct TPinBaseCompareFunctor
{
inline int operator()(const TPinBasePtrT* x, const TPinBasePtrT*& y ) const
{
return x->mLine < y->mLine;
}
};
typedef WXSTL_MULTIMAP( TPinBasePtrT, TPinBasePtrT, TPinBaseCompareFunctor ) PinMapT;
typedef PinMapT::iterator PinIteratorT;
*/
/*
* Class manages access and manpulation of in-memory text. Can
* be accessed by multiple views, only one of which can be active
* at a time.
*/
class wxTextEditorModel
{
protected:
TBlockListT mBlocks;
TCommandListT mCommands;
size_t mCurCommand;
TextViewListT mViews;
wxTextEditorView* mpActiveView;
PinListT mPins;
bool mIsUnixText;
ChangeListenerListT mChangeListeners;
public:
/*** public properties ***/
bool mTextChanged;
size_t mChangedFromRow;
size_t mChangedTillRow;
bool mWasChanged; // TRUE, if any content has been changed
TPosition mCursorPos;
TPosition mPrevSelectionStart;
TPosition mPrevSelectionEnd;
TPosition mPrevCursorPos;
TPosition mSelectionStart;
TPosition mSelectionEnd;
size_t mRowsPerPage;
bool mIsReadOnly; // default: FALSE
bool mIsModified;
bool mInsertMode; // default: TRUE
bool mAutoIndentMode; // default: TRUE
bool mSmartIndentMode; // default: TRUE
bool mIsSelectionEditMode; // default: TRUE
size_t mTabSize; // default: 4
StrListT mSearchExprList;
string mLastFindExpr;
bool mCheckPointDestroyed;
size_t mCheckPointCmdNo;
protected:
size_t GetLineCountInRange( char* from, char* till );
// two lowest-level operations
void DoInsertText ( const TPosition& pos, char* text, size_t len, TRange& actualRange );
void DoDeleteRange( const TPosition& from, const TPosition& till, TRange& actualRange );
void DoExecuteNewCommand( TCommand& cmd );
void DoReexecuteCommand( TCommand& cmd );
void DoUnexecuteCommand( TCommand& cmd );
void ExecuteCommand( TCommand* pCmd );
// to methods enabling grouping of undo-able commands
bool CanPrependCommand( TCommand* pCmd );
void PrependCommand( TCommand* pCmd );
void SetPostPos( const TPosition& pos );
void UndoImpl();
void RedoImpl();
void StartBatch();
void FinishBatch();
void CheckSelection();
void TrackSelection();
void NotifyView();
void NotifyAllViews();
void NotifyTextChanged( size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct );
void NotifyTextChanged( TPosition from, TPosition till, TEXT_CHANGE_TYPE ct );
void ArrangePositions( TPosition& upper, TPosition& lower );
void ArrangePositions( size_t& upper, size_t& lower );
void MergeChange( size_t fromRow, size_t nRows );
void PrepreForCommand();
size_t TextToScrColumn( const TPosition& pos );
size_t ScrToTextColumn( TPosition pos );
void DoMoveCursor( int rows, int cols );
public:
wxTextEditorModel();
virtual ~wxTextEditorModel();
// utilities
char* AllocCharacters( size_t n );
char* AllocCharacters( size_t n, const char* srcBuf );
void FreeCharacters( char* buf );
void DeleteSelection();
TTextIterator CreateIterator( const TPosition& pos );
void DeleteRange( const TPosition& from, const TPosition& till );
void InsertText( const TPosition& pos, const char* text, size_t len );
void GetTextFromRange( const TPosition& from, const TPosition& till, char** text, size_t& textLen );
void LoadTextFromFile( const wxString& fname );
void SaveTextToFile( const wxString& fname );
void ResetSelection();
void ClearUndoBuffer();
void DeleteAllText();
void GetAllText( char** text, size_t& textLen );
void SetSelectionEditMode( bool editIsOn );
/*** user-level commands ***/
// mutable (undoable) commands
void OnInsertChar( char ch );
void OnDelete();
void OnDeleteBack();
void OnDeleteLine();
void OnShiftSelectionIndent( bool left );
// clipboard functions
void OnCopy();
void OnPaste();
void OnCut();
bool CanCopy();
bool CanPaste();
// undo-redo
bool CanUndo();
bool CanRedo();
void OnUndo();
void OnRedo();
// imutable commands
void OnMoveLeft();
void OnMoveRight();
void OnMoveUp();
void OnMoveDown();
void OnWordLeft();
void OnWordRight();
void OnMoveToPosition( const TPosition& pos );
void OnEndOfLine();
void OnStartOfLine();
void OnPageUp();
void OnPageDown();
void OnSlideUp();
void OnSlideDown();
void OnStartOfText();
void OnEndOfText();
void OnSelectWord();
void OnSelectAll();
// bookmarks
void OnToggleBookmark();
void OnNextBookmark();
void OnPreviousBookmark();
// search
bool OnFind();
bool OnFindNext();
bool OnFindPrevious();
void OnGotoLine( int line, int col );
void OnGotoLine();
// status
bool IsReadOnly();
bool IsModified();
bool IsInsertMode();
// check-pointin
void SetCheckpoint();
bool CheckpointModified();
// accessors
TPosition GetStartOfSelection();
TPosition GetEndOfSelection();
TPosition GetCursor();
size_t GetTotalRowCount();
bool SelectionIsEmpty();
bool IsLastLine( const TPosition& pos );
bool IsUnixText() { return mIsUnixText; }
void GetSelection( char** text, size_t& textLen );
void SetStartOfSelection( const TPosition& pos );
void SetEndOfSelection( const TPosition& pos );
void SetCursor( const TPosition& pos );
void AddView( wxTextEditorView* pView );
void RemoveView( wxTextEditorView* pView );
void SetActiveView( wxTextEditorView* pView );
wxTextEditorView* GetActiveView();
void SetRowsPerPage( size_t n );
void AddPin( TPinBase* pPin );
PinListT& GetPins();
// returns NPOS, if non
size_t FindFirstPinInRange( size_t fromRow, size_t tillRow );
size_t FindNextPinFrom( size_t fromRow );
size_t FindPreviousPinFrom( size_t fromRow );
size_t GetPinNoAt( size_t row, int pinTypeCode );
TPinBase* GetPinAt( size_t row, int pinTypeCode );
void RemovePinAt( size_t row, int pinTypeCode );
void AddChangeListener( TTextChangeListenerBase* pListener );
};
class TCursorTimer;
class wxTextEditorView;
class TPinPainterBase : public wxObject
{
public:
int mPinTypeCode;
public:
TPinPainterBase( int pinTc ) : mPinTypeCode( pinTc ) {}
TPinPainterBase() : mPinTypeCode( -1 ) {}
inline int GetPinTypeCode() { return mPinTypeCode; }
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim ) = 0;
};
/*
* a couple very common ping objects/painters
*/
#define BOOKMARK_PIN_TC (OTHER_PINS_TC_START)
#define BRKPOINT_PIN_TC (BOOKMARK_PIN_TC + 1)
class TBookmarkPainter : public TPinPainterBase
{
protected:
wxBrush mBkBrush;
public:
TBookmarkPainter();
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim );
};
class TBookmarkPin : public TPinBase
{
public:
TBookmarkPin( size_t row )
: TPinBase( BOOKMARK_PIN_TC, row )
{}
static int GetPinTypeCode() { return BOOKMARK_PIN_TC; }
};
class TBreakpointPainter : public TPinPainterBase
{
protected:
wxBrush mBkBrush;
public:
TBreakpointPainter();
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim );
};
class TBreakpointPin : public TPinBase
{
public:
TBreakpointPin( size_t row )
: TPinBase( BRKPOINT_PIN_TC, row )
{}
static int GetPinTypeCode() { return BRKPOINT_PIN_TC; }
};
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<TPinPainterBase*> PinPainterListT;
#else
typedef TPinPainterBase* TPinPainterBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TPinPainterBasePtrT ) PinPainterListT;
#endif
/*
* Class displays graphical view of data contained in wxTextModel
*/
class wxTextEditorView : public wxScrolledWindow
{
protected:
wxTextEditorModel* mpModel;
TPosition mSelectionStart;
TPosition mSelectionEnd;
TPosition mCursorPos;
TPosition mLastViewStart;
size_t mLastRowsTotal;
size_t mRowsPerPage;
size_t mColsPerPage;
static char* mpLineBuffer;
static size_t mpLineBufferLen;
bool mFullRefreshPending;
bool mAdjustScrollPending;
wxFont mFont;
bool mScrollingOn; // default: TRUE
bool mCursorOn; // default: TRUE;
bool mLTMode; // line-tracking mode
// (when the whole line is coloured,
// instead of showing blinking cursor position)
wxColour mLTColour; // fill-colour for LT-mode
bool mDragStarted;
char* mpDraggedText;
bool mOwnsModel;
wxString mFragment; // reused heap-buffer
// for coloured fragments
SourcePainter* mpPainter;
PinPainterListT mPinPainters;
TTextIterator mCashedIter;
static TCursorTimer* mpTimer;
public: /*** public properties ***/
int mLeftMargin; // default: 20
int mRightMargin; // default: 0
int mTopMargin; // default: 0
int mBottomMargin; // default: 0
int mMaxColumns; // default: 500
TPosition mPagePos;
// color-scheme properties
wxColour mNormalTextCol;
wxColour mIndentifierTextCol;
wxColour mReservedWordTextCol;
wxColour mCommentTextCol;
wxColour mNormalBkCol;
wxColour mSelectionFgCol;
wxColour mSelectionBkCol;
wxBrush mNormalBkBrush;
wxBrush mSelectedBkBrush;
// accessed by timer
TPosition mCursorScrPos;
wxSize mCharDim;
protected:
char* GetLineBuffer( size_t len );
virtual void PaintDecorations( size_t fromRow, size_t tillRow, wxDC& dc, TTextIterator& iter );
virtual void PaintRows( size_t fromRow, size_t tillRow, wxDC& dc );
void ObtainFontProperties();
bool IsActiveView();
void SetTextDefaults();
void RecalcPagingInfo();
TPinPainterBase* FindPainterForPin( TPinBase& pin );
public:
wxTextEditorView( wxWindow* parent, wxWindowID id = -1,
wxTextEditorModel* pModel = NULL,
int wndStyle = wxSUNKEN_BORDER,
bool ownsModel = TRUE );
~wxTextEditorView();
/*** setup methods ***/
void SetModel( wxTextEditorModel* pModel );
// sets custom syntax-higlighting implementation
void SetSourcePainter( SourcePainter* pPainter );
void AddPinPainter( TPinPainterBase* pPainter );
void SetDefaultFont( const wxFont& font );
wxFont& GetDefaultFont();
wxSize GetCharacterSize() { return mCharDim; }
size_t GetRowsPerPage() { return mRowsPerPage; }
void SetRowsPerPage( size_t n );
void SetMaxColumns( size_t n );
void SetLineTrackingMode( bool on, const wxColour& col = wxColour(255,255,0) );
void EnableCursor( bool enable );
void EnableScrollbars( bool enable );
void SetColours( const wxColour& normalBkCol,
const wxColour& selectedBkCol,
const wxColour& selectedTextCol );
void SetHeighlightingColours( const wxColour& normalTextCol,
const wxColour& identifierTextCol,
const wxColour& reservedWordTextCol,
const wxColour& commentTextCol );
void SetMargins( int top, int left, int bottom, int right );
// notifications from editor-model:
void OnModelChanged();
void ScrollView( int rows, int cols );
// accessors
void Activate();
void Deactivate();
// event handlers
#if (( wxVERSION_NUMBER < 2100 ) || (( wxVERSION_NUMBER == 2100 ) && (wxBETA_NUMBER <= 4)))
void OnScroll( wxScrollEvent& event );
#else
void OnScroll( wxScrollWinEvent& event );
#endif
void OnPaint ( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnEraseBackground( wxEraseEvent& event );
void OnLButtonDown( wxMouseEvent& event );
void OnLButtonUp ( wxMouseEvent& event );
void OnMotion ( wxMouseEvent& event );
void OnDblClick ( wxMouseEvent& event );
void OnSetFocus( wxFocusEvent& event );
void OnKillFocus( wxFocusEvent& event );
// requests editor to keep cursor blinking, even when
// the window has lost it's focus
void HoldCursor( bool hold );
// FOR NOW:: hard-coded key-bindings
void OnChar( wxKeyEvent& event );
void OnKeyDown( wxKeyEvent& event );
// utilities
virtual void SyncViewPortPosition();
virtual void SyncScrollbars();
virtual void PositionCursor();
void TextPosToScreenPos( const TPosition& txtPos, TPosition& scrPos );
void ScreenPosToTextPos( const TPosition& scrPos, TPosition& txtPos );
void ScreenPosToPixels ( const TPosition& scrPos, int& x, int& y );
void PixelsToScrPos ( int x, int y, int& scrRow, int& scrCol );
void PixelsToTextPos ( int x, int y, TPosition& textPos );
bool IsClipboardCmd( wxKeyEvent& key );
TPosition GetPagePos() { return mPagePos; }
DECLARE_EVENT_TABLE()
};
// TODO:: mutex class should be used to avoid race on updates
class TCursorTimer : public wxTimer
{
protected:
wxTextEditorView* mpView;
volatile bool mIsLocked;
volatile bool mIsShown;
volatile bool mStarted;
wxBrush mBrush;
bool mMissOneTick;
int mBlinkInterval; // default: 500mills
protected:
void DrawCursor();
public:
TCursorTimer();
virtual void Notify();
void SetView( wxTextEditorView* pView );
wxTextEditorView* GetView();
void HideCursor( bool forceHide = FALSE );
void ShowCursor( bool forceShow = FALSE );
void SetIsShown( bool isShown );
void Lock();
void Unlock();
};
#endif // __TDEFS_G__

View File

@@ -1,118 +0,0 @@
from wxPython.wx import *
from wxPython.lseditor import *
class LSEditorFrame(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.editor = wxsLSEditorPlugin()
self.editor.Create(self, -1)
self.SetMenuBar(self.GetDefaultMenuBar())
self.CreateStatusBar()
self.SetDefaultEvents()
self.filename = ""
def GetDefaultMenuBar(self):
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Save")
menu.Append(1502, "SaveAs")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Copy")
menu.Append(1511, "Cut")
menu.Append(1512, "Paste")
menu.AppendSeparator()
menu.Append(1513, "Delete")
menu.AppendSeparator()
menu.Append(1514, "Undo")
menu.Append(1515, "Redo")
menu.AppendSeparator()
menu.Append(1516, "Find...")
menu.Append(1517, "Find Next")
menu.Append(1518, "Find Previous")
menu.Append(1519, "Replace...")
mbar.Append(menu, "Edit")
menu = wxMenu()
menu.Append(1520, "Toggle")
menu.Append(1521, "Next")
menu.Append(1522, "Prev")
mbar.Append(menu, "Bookmarks")
return mbar
def SetDefaultEvents(self):
EVT_MENU(self, 1500, self.evt_OnOpen)
EVT_MENU(self, 1501, self.evt_OnSave)
EVT_MENU(self, 1502, self.evt_OnSaveAs)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.evt_OnCopy)
EVT_MENU(self, 1511, self.evt_OnCut)
EVT_MENU(self, 1512, self.evt_OnPaste)
EVT_MENU(self, 1513, self.evt_OnDelete)
EVT_MENU(self, 1514, self.evt_OnUndo)
EVT_MENU(self, 1515, self.evt_OnRedo)
EVT_MENU(self, 1516, self.evt_OnFind)
EVT_MENU(self, 1517, self.evt_OnFindNext)
EVT_MENU(self, 1518, self.evt_OnFindPrevious)
EVT_MENU(self, 1519, self.evt_OnReplace)
EVT_MENU(self, 1520, self.evt_OnToggle)
EVT_MENU(self, 1521, self.evt_OnNext)
EVT_MENU(self, 1522, self.evt_OnPrev)
#EVT_MENU(self, 15, self.evt_)
#EVT_MENU(self, 15, self.evt_)
def evt_OnOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.editor.OnOpen(self.filename)
def evt_OnSaveAs(self, event):
dlg = wxFileDialog(NULL, "Save As", self.filename)
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.editor.OnSave(self.filename)
def evt_OnSave(self, event):
if self.filename:
self.editor.OnSave(self.filename)
else:
self.evt_OnSaveAs(None)
def OnClose(self,event):
self.Destroy()
def evt_OnCopy(self,event):
self.editor.OnCopy()
def evt_OnCut(self,event):
self.editor.OnCut()
def evt_OnPaste(self,event):
self.editor.OnPaste()
def evt_OnDelete(self,event):
self.editor.OnDelete()
def evt_OnUndo(self,event):
self.editor.OnUndo()
def evt_OnRedo(self,event):
self.editor.OnRedo()
def evt_OnToggle(self,event):
self.editor.OnToggleBookmark()
def evt_OnNext(self,event):
self.editor.OnNextBookmark()
def evt_OnPrev(self,event):
self.editor.OnPreviousBookmark()
def evt_OnFind(self,event):
self.editor.OnFind()
def evt_OnFind(self,event):
self.editor.OnFind()
def evt_OnFindNext(self,event):
self.editor.OnFindNext()
def evt_OnFindPrevious(self,event):
self.editor.OnFindPrevious()
self.SetStatusText("OnFindPrevious: Not implemented")
def evt_OnReplace(self,event):
self.editor.OnReplace()
self.SetStatusText("OnReplace: Not implemented")
class MyApp(wxApp):
def OnInit(self):
frame = LSEditorFrame(NULL, -1, "Editor")
frame.Show(TRUE)
return TRUE
App = MyApp(0)
App.MainLoop()

View File

@@ -1,374 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 24/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSDEFS_G__
#define __WXSDEFS_G__
#include <config.h>
#include "controlarea.h"
#ifdef wxUSE_TEMPLATE_STL
#include <vector>
#include <map>
//using std::map;
//using std::vector;
using namespace std;
#else
#include "wxstldefs.h" // imports predefine StrListT, IntListT containers
#include "wxstlac.h"
#endif
class wxsProject;
class wxsComponent;
class wxsWorkplace;
class wxsOpenedFileInfo;
class wxsWorkplaceListener;
class wxsSourceEditorPlugin;
class wxsSourceInfoPlugin;
class wxsAppListener;
class wxsAppInterface;
class wxFrame;
typedef wxsWorkplaceListener* wxsWorkplaceListenerPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsWorkplaceListenerPtrT> wxsWorkplaceListenerListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsWorkplaceListenerPtrT ) wxsWorkplaceListenerListT;
#endif
// IDs for the controls and the menu commands
enum
{
// menu items
WXS_Quit = 3300, // FIXEM:: ids..
WXS_About,
WXS_Open,
WXS_Close,
WXS_OpenWorkplace,
WXS_Save,
WXS_SaveAs,
WXS_SaveAll,
WXS_CloseWorkplace,
WXS_SaveWorkplace,
WXS_NewProject,
WXS_ShowTips,
WXS_Undo = 9000,
WXS_NextWindow,
WXS_PreviousWindow,
WXS_CloseWindow,
WXS_ListWindows,
WXS_UpdateBrowser,
WXS_ToggleWorkplaceWindow,
WXS_InsertFiles,
WXS_Test,
WXS_Settings,
WXS_ClassView,
WXS_FileView,
WXS_GotoEditor,
WXS_Test1,
WXS_Test2,
// controls start here (the numbers are, of course, arbitrary)
WXS_Text = 1000,
ID_EDIT_UNDO,
ID_EDIT_REDO,
ID_EDIT_CUT,
ID_EDIT_COPY,
ID_EDIT_PASTE,
ID_EDIT_DELETE,
ID_EDIT_SELECT_ALL,
ID_EDIT_FIND,
ID_EDIT_FIND_NEXT,
ID_EDIT_REPLACE,
ID_EDIT_GOTO,
ID_EDIT_TOGGLE_BM,
ID_EDIT_NEXT_BM,
ID_EDIT_PREV_BM,
ID_EDIT_TOGGLE_BRKPNT,
ID_EDIT_BOOKMARKS,
ID_EDIT_SETFONT,
ID_LEFT_SASH,
ID_BOTTOM_SASH
};
// bitmaps/icons
enum WXS_ICON_ENUM{
WXS_ICON_class = 1,
WXS_ICON_priv_mtd,
WXS_ICON_prot_mtd,
WXS_ICON_pub_mtd,
WXS_ICON_priv_mtd_def,
WXS_ICON_prot_mtd_def,
WXS_ICON_pub_mtd_def,
WXS_ICON_priv_var,
WXS_ICON_prot_var,
WXS_ICON_pub_var,
WXS_ICON_pub_pure_mtd,
WXS_ICON_file,
WXS_ICON_folder,
WXS_ICON_mru_folder,
WXS_ICON_class_gray,
WXS_ICON_file_gray,
};
typedef char* CharPtrT;
struct UU_cmp
{
inline int operator()(const CharPtrT x, const CharPtrT y ) const { return 0; }
};
typedef wxBitmap* wxBitmapPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef map<WXS_ICON_ENUM, wxBitmapPtrT> WXS_BitmapsMapT;
#else
typedef WXSTL_MAP( WXS_ICON_ENUM, wxBitmapPtrT,
LESS_THEN_FUNCTOR(WXS_ICON_ENUM) ) WXS_BitmapsMapT;
#endif
extern WXS_BitmapsMapT WXS_Bitmaps;
#define WXS_ICON(name) (*WXS_Bitmaps[WXS_ICON_##name])
// very general file categories
enum WXS_FILE_CATEGORY
{
WXS_UNKNOWN_FILE,
WXS_SOURCE_FILE,
WXS_RESOURCE_FILE,
WXS_DOCUMENTATION_FILE,
WXS_CONFIGURAITON_FILE
};
enum WXS_PLUGIN_TYPE
{
WXS_UNKNOWN_PLUGIN,
WXS_EDITOR_PLUGIN,
WXS_CLASSINFO_PLUGIN,
WXS_CLASSBROWSER_PLUGIN,
WXS_FILEBROWSER_PLUGIN,
WXS_TOOL_PLUGIN,
WXS_OUTPUTTOOL_PLUGIN
};
class wxsAppListener
{
public:
virtual void OnWindowSwitched( wxWindow* fromWnd, wxWindow* toWnd ) {};
virtual bool OnCloseWindow( wxWindow* wnd ) { return TRUE; }
virtual void OnTabSwitched() {};
virtual void OnPageSwitched() {};
};
class wxsAppInterface
{
public:
virtual void SetAppListener(wxsAppListener* pLsn) = 0;
virtual void AddEditor(wxsSourceEditorPlugin* editor,wxString title,wxBitmap* pImage = NULL) = 0;
virtual void ActivateEditor( wxsSourceEditorPlugin* editor ) = 0;
virtual void CloseEditor( wxsSourceEditorPlugin* editor ) = 0;
virtual void ShowNextWindow() = 0;
virtual void ShowPreviousWindow() = 0;
virtual void CloseActiveWindow() = 0;
virtual void CloseWindow( wxWindow* wnd ) = 0;
virtual void ShowWindowList() = 0;
virtual wxWindow* GetActiveWindow() = 0;
virtual wxTabbedWindow* GetTabbedWindow() = 0;
virtual void AddTab(wxsComponent* pContent, wxString tabText, wxBitmap* pImage = NULL) = 0;
virtual void ShowNextTab() = 0;
virtual wxPaggedWindow* GetPaggedWindow() = 0;
virtual void AddPage(wxsComponent* pContent, wxString tabText, wxBitmap* pImage = NULL) = 0;
virtual void ShowNextPage() = 0;
virtual wxFrame* GetMainFrame() = 0;
virtual void SetStatusText( const string& text ) = 0;
static wxsAppInterface& GetInstance();
protected:
static wxsAppInterface* mpInstance;
friend wxsAppInterface& wxsGetApp();
};
// short-cut for wxsAppInterface::GetInstance()
wxsAppInterface& wxsGetApp();
class wxsWorkplaceListener : public wxObject
{
public:
virtual void OnSubprojectAdded( wxsProject& subPrj, wxsProject& toPrj ) {}
virtual void OnSubprojectRemoved( wxsProject& subPrj, wxsProject& fromPrj ) {}
virtual void OnProjectCreated( wxsProject& prj ) {}
virtual void OnRootProjectLoaded() {}
virtual void OnRootProjectClosed() {}
virtual void OnFilesAddedToProject( wxsProject& prj, StrListT& files, WXS_FILE_CATEGORY cat ) {}
virtual void OnFilesRemovedFromProject( wxsProject& prj, StrListT& files, WXS_FILE_CATEGORY cat ) {}
virtual void OnFileContentChanged( wxsProject& prj, const string& file, WXS_FILE_CATEGORY cat,
char* newContent, size_t len ) {}
virtual void OnFileOpened( wxsOpenedFileInfo& file ) {}
};
typedef wxsProject* wxsProjectPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsProjectPtrT> wxsProjectListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsProjectPtrT ) wxsProjectListT;
#endif
class wxsProject : public wxObject
{
public:
// Basic project info
virtual void SetName(const string& name) = 0;
virtual void SetFileName(const string& fname) = 0;
virtual void SetDescription(const string& desc) = 0;
virtual void SetLanguage(const string& lang) = 0;
virtual string GetName() = 0;
virtual string GetFileName() = 0;
virtual string GetDescription() = 0;
virtual string GetLanguage() = 0;
// File manipulation
virtual bool AddFile( const string& file) = 0;
virtual bool RemoveFile ( const string& file ) = 0;
virtual StrListT GetFiles() = 0;
// Sub-Project manipulation
virtual void AddSubproject( wxsProject* subPrj) = 0;
virtual void RemoveSubproject( wxsProject* subPrj) = 0;
virtual wxsProjectListT& GetSubprojects() = 0;
// Transient information (parent only exists when loaded
virtual void SetParent( wxsProject* parentPrj) = 0;
virtual wxsProject* GetParent() = 0;
// configuration info storage
virtual string CreateConfig ( const string& file = "" ) = 0;
virtual bool SetCurrentConfig ( const string& configkey ) = 0;
virtual bool AddConfigValue( const string& key, string& value) = 0;
virtual bool SetConfigValue( const string& key, string& value) = 0;
virtual bool RemoveConfigValue( const string& key ) = 0;
virtual string GetConfigValue ( const string& key ) = 0;
};
class wxsOpenedFileInfo : public wxObject
{
public:
string mFullName;
wxsProject* mpProject; // NULL, if file does not belong to any project
wxsSourceEditorPlugin* mpEditor;
WXS_FILE_CATEGORY mCategory;
bool mIsSaved;
public:
wxsOpenedFileInfo() : mIsSaved( TRUE ), mpProject( NULL ) {}
wxsProject* GetProject() { return mpProject; }
const string& GetFullName() { return mFullName; }
wxsSourceEditorPlugin& GetEditor() { return *mpEditor; }
WXS_FILE_CATEGORY GetCategory() { return mCategory; }
};
typedef wxsOpenedFileInfo* wxsOpenedFileInfoPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsOpenedFileInfoPtrT> wxsOpenedFileInfoListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsOpenedFileInfoPtrT ) wxsOpenedFileInfoListT;
#endif
// abstract interface
class wxsWorkplace : public wxObject
{
public:
virtual void CreateProject( const string& name, const string& projectFile, const wxsProject* parent=NULL) = 0;
virtual void LoadRootProject( const string& projectFile ) = 0;
virtual void SaveProject( wxsProject& prj ) = 0;
virtual void CloseRootProject() = 0;
virtual wxsProject& GetRootProject() = 0;
virtual wxsProject* FindProjectByName( const string& name ) = 0;
virtual wxsOpenedFileInfo* FindFileByEditor( wxsSourceEditorPlugin& editor ) = 0;
virtual void AddWorkpalceListener( wxsWorkplaceListener* pListener ) = 0;
virtual void AddSubproject( wxsProject& intoPrj,const string& projectFile ) = 0;
virtual void RemoveSubproject( wxsProject& prj ) = 0;
virtual void AddFilesToProject( wxsProject& prj, StrListT& files ) = 0;
virtual void RemoveFilesFromProject( wxsProject& prj, StrListT& files ) = 0;
virtual void NotifyFileContentChanged( wxsProject& prj, const string& file,
char* newContent, size_t len ) = 0;
virtual void NotifyFileContentChanged( wxsOpenedFileInfo& info ) = 0;
virtual void NotifyEditorDeactivated( wxsSourceEditorPlugin& editor ) = 0;
// if pPrj is NULL, the specified file does not belong to any projects,
// i.e. it blongs to the workplace
virtual wxsOpenedFileInfo*
OpenFileInEditor( const string& file, wxsProject* pPrj = NULL,
int line = -1, int column = -1) = 0;
virtual void GetCurrentFileContent( wxsProject& prj, const string& file,
char** buf, size_t& len
) = 0;
// returns FALSE, if source was already up-to-date
virtual bool SyncSourceInfo() = 0;
virtual wxsProject* FindSubproject( wxsProject& parentPrj, const string& prjName ) = 0;
virtual wxsOpenedFileInfo* FindOpenedFile( const string& name ) = 0;
virtual bool FileIsOpened( wxsProject& prj, const string& file ) = 0;
virtual wxsSourceEditorPlugin* GetSourceEditor( wxsProject& prj, const string& file ) = 0;
virtual wxsSourceInfoPlugin* GetSourceInfoPlugin() = 0;
static wxsWorkplace& GetInstance() { return *wxsWorkplace::mpInstance; }
virtual wxsOpenedFileInfoListT& GetOpenedFiles() = 0;
virtual wxsOpenedFileInfo* GetActiveFile() = 0;
virtual void SaveFile( wxsOpenedFileInfo& info ) = 0;
virtual void SaveAllFiles() = 0;
virtual bool CloseFile( wxsOpenedFileInfo& info, bool closeWindow = TRUE ) = 0;
virtual bool CloseAllFiles() = 0;
virtual bool CloseInProgress() = 0;
virtual WXS_FILE_CATEGORY GetFileCategory( const string& file ) = 0;
protected:
static wxsWorkplace* mpInstance;
friend wxsWorkplace& wxsGetWorkplace();
};
// short-cut for wxsWorkplace::GetInstance()
wxsWorkplace& wxsGetWorkplace();
#endif

View File

@@ -1,659 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLAC_G__
#define __WXSTLAC_G__
#include <stddef.h>
#include <sys/types.h>
#include <memory.h>
#include <limits.h>
#include <new>
// the below macro used internally (see actual interface after this macro)
// arguments:
//
// ARG_IS_UNIQUE
// ASSOC_CONT_CLASS_NAME
//
// ARG_VALUE_TYPE
// ARG_KEY_TYPE
// ARG_ACTUAL_VALUE_TYPE
//
// _KEY_NAME
// _VALUE_NAME
//
// _X_KEY_NAME
// _X_VALUE_NAME
//
// _INSERT_METHOD_DEFINITION
#define __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE, \
FUNCTOR,\
ASSOC_CONT_CLASS_NAME, \
ARG_VALUE_TYPE, \
ARG_KEY_TYPE, \
ARG_ACTUAL_VALUE_TYPE, \
_KEY_NAME, \
_VALUE_NAME, \
_X_KEY_NAME, \
_X_VALUE_NAME, \
_INSERT_METHOD_DEFINITION \
) class \
ASSOC_CONT_CLASS_NAME\
{\
protected:\
\
public:\
typedef ARG_VALUE_TYPE value_type;\
typedef ARG_KEY_TYPE key_type;\
typedef ARG_ACTUAL_VALUE_TYPE actual_value_type;\
\
typedef value_type* pointer;\
typedef value_type& reference;\
\
typedef const value_type& const_reference;\
\
typedef FUNCTOR key_compare;\
typedef key_compare Compare;\
\
protected:\
\
struct tree_node \
{\
tree_node* mpParent;\
tree_node* mpLeft;\
tree_node* mpRight;\
\
value_type mData;\
};\
\
typedef tree_node* node_ref_type;\
\
node_ref_type mpRoot;\
node_ref_type mpLeftMost;\
node_ref_type mpRightMost;\
\
node_ref_type mpFreeListHead;\
int mKeyIsUnique;\
\
key_compare mCmpFunctorObj;\
\
public:\
\
static inline node_ref_type next( node_ref_type pNode )\
{\
if ( pNode->mpRight ) \
{\
pNode = pNode->mpRight;\
\
while ( pNode->mpLeft ) pNode = pNode->mpLeft;\
\
return pNode;\
}\
else\
if ( pNode->mpParent )\
{\
if ( pNode == pNode->mpParent->mpLeft )\
\
return pNode->mpParent;\
\
pNode = pNode->mpParent;\
\
node_ref_type prevNode = pNode;\
pNode = pNode->mpParent;\
\
while(pNode)\
{\
if ( pNode->mpRight &&\
pNode->mpRight != prevNode\
) return pNode;\
\
prevNode = pNode;\
pNode= pNode->mpParent;\
}\
\
return 0;\
}\
else\
return 0;\
}\
\
static inline node_ref_type prev( node_ref_type pNode )\
{\
if ( pNode->mpLeft ) \
{\
pNode = pNode->mpLeft;\
\
while ( pNode->mpRight ) pNode = pNode->mpRight;\
\
return pNode;\
}\
else\
if ( pNode->mpParent )\
{\
if ( pNode == pNode->mpParent->mpRight )\
return pNode->mpParent;\
\
pNode = pNode->mpParent;\
\
node_ref_type prevNode = pNode;\
pNode = pNode->mpParent;\
\
while(pNode)\
{\
if ( pNode->mpLeft &&\
pNode->mpLeft != prevNode\
) return pNode;\
\
prevNode = pNode;\
pNode= pNode->mpParent;\
}\
\
return 0;\
}\
else \
return 0;\
}\
\
protected:\
\
inline int are_equel( const key_type& x, const key_type& y ) const\
{\
mCmpFunctorObj(x,y);\
return ( !mCmpFunctorObj(x,y) && !mCmpFunctorObj(y,x) );\
}\
\
inline int is_less( const key_type& x, const key_type& y ) const\
{\
return mCmpFunctorObj(x,y);\
}\
\
static inline const actual_value_type& value( node_ref_type pNode )\
{\
return pNode->_VALUE_NAME;\
}\
\
static inline const key_type& key( node_ref_type pNode )\
{\
return pNode->_KEY_NAME;\
}\
\
inline node_ref_type AllocNode() \
{ \
if ( mpFreeListHead ) \
{\
node_ref_type pFreeNode = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpLeft;\
\
return pFreeNode;\
}\
else\
{\
char* pHeapBlock = new char[sizeof(tree_node)];\
\
return (node_ref_type)pHeapBlock;\
}\
}\
\
inline void DestroyFreeList()\
{\
while ( mpFreeListHead )\
{\
node_ref_type tmp = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpLeft;\
\
delete [](char*)tmp;\
}\
}\
\
inline void RecycleNode( node_ref_type pNode ) \
{\
pNode->mpLeft = mpFreeListHead;\
mpFreeListHead = pNode;\
}\
\
inline node_ref_type do_insert(const value_type& x = value_type() )\
{\
node_ref_type pNewNode = AllocNode();\
\
pNewNode->mpParent = \
pNewNode->mpLeft =\
pNewNode->mpRight = 0;\
\
node_ref_type pCurrent = mpRoot;\
node_ref_type pParent = 0;\
\
while (pCurrent) \
{\
if ( mKeyIsUnique && are_equel( _X_KEY_NAME, key(pCurrent) ) )\
{\
RecycleNode(pNewNode);\
return 0;\
}\
\
pParent = pCurrent;\
\
pCurrent = is_less( _X_KEY_NAME, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
}\
\
pNewNode->mpParent = pParent;\
\
if(pParent)\
\
if( is_less(_X_KEY_NAME, key(pParent) ) )\
\
pParent->mpLeft = pNewNode;\
else\
pParent->mpRight = pNewNode;\
else\
mpRoot = pNewNode;\
\
new ( &pNewNode->_KEY_NAME ) key_type(_X_KEY_NAME);\
new ( &pNewNode->_VALUE_NAME ) actual_value_type(_X_VALUE_NAME);\
\
if ( prev(pNewNode) == 0 ) mpLeftMost = pNewNode;\
if ( next(pNewNode) == 0 ) mpRightMost = pNewNode;\
\
return pNewNode;\
}\
\
friend class iterator;\
\
public:\
\
class iterator;\
class const_iterator;\
\
class iterator \
{\
public:\
node_ref_type mpNode;\
friend class CONT_CLASS_NAME;\
friend class const_iterator;\
friend class const_reverse_iterator;\
\
inline iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
inline iterator() {}\
inline int operator==( const iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
inline int operator!=( const iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const iterator& operator=( const iterator& other )\
{\
mpNode = other.mpNode;\
return *this;\
}\
\
inline const iterator& operator--() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return *this;\
}\
\
inline iterator operator--(int)\
{\
iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return tmp;\
}\
\
inline const iterator& operator++() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return *this;\
}\
\
inline iterator operator++(int)\
{\
iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return tmp;\
}\
\
inline reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_iterator \
{\
public:\
node_ref_type mpNode;\
friend class CONT_CLASS_NAME;\
friend class const_reverse_iterator;\
\
inline const_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
inline const_iterator() {}\
\
inline int operator==( const const_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
inline int operator!=( const const_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline const_iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const_iterator( const const_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_iterator& operator=( const const_iterator& other )\
{\
mpNode = other.mpNode;\
return *this;\
}\
\
inline const const_iterator& operator--() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return *this;\
}\
\
inline const_iterator operator--(int)\
{\
const_iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return tmp;\
}\
\
inline const const_iterator& operator++() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return *this;\
}\
\
inline const_iterator operator++(int)\
{\
const_iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
public:\
\
inline ASSOC_CONT_CLASS_NAME( key_compare cmpFunctorObj = key_compare(),\
int keyIsUnique = ARG_IS_UNIQUE )\
: mpFreeListHead( 0 ),\
mKeyIsUnique( keyIsUnique ),\
mCmpFunctorObj( cmpFunctorObj )\
{\
mpLeftMost = 0;\
mpRightMost = 0;\
mpRoot = 0;\
}\
\
inline ~ASSOC_CONT_CLASS_NAME() \
{ \
erase( begin(), end() ); \
\
DestroyFreeList();\
}\
\
inline iterator begin() { return mpLeftMost; }\
inline iterator end() { return 0; }\
\
inline const_iterator begin() const { return mpLeftMost; }\
inline const_iterator end() const { return 0; }\
\
inline iterator lower_bound( const key_type& x )\
{ \
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
node_ref_type pParent = pCurrent;\
\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
\
if ( !pCurrent ) return (pParent);\
}\
\
return begin();\
}\
\
inline const_iterator lower_bound( const key_type& x ) const\
\
{ return const_iterator( lower_bound(x).mpNode ); }\
\
inline iterator upper_bound( const key_type& x )\
{\
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
node_ref_type pParent = pCurrent;\
\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
\
if ( !pCurrent ) return next(pParent);\
}\
\
return end();\
}\
\
inline iterator find( const key_type& x ) const\
{\
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
}\
\
return iterator(0);\
}\
\
inline actual_value_type& operator[]( const key_type x ) const\
\
{ return find(x).mpNode->_VALUE_NAME; }\
\
inline void erase(iterator first, iterator last)\
{\
if ( first.mpNode == 0 ) return;\
\
while( first != last ) \
{\
iterator next = first;\
++next;\
erase( first );\
first = next;\
}\
}\
\
inline void erase(iterator position)\
{\
if ( position.mpNode == 0 ) return;\
\
node_ref_type pZ = position.mpNode;\
node_ref_type pX, pY;\
\
if ( pZ == mpLeftMost ) mpLeftMost = next(pZ);\
if ( pZ == mpRightMost ) mpRightMost = prev( pZ );\
\
if ( !pZ->mpLeft || !pZ->mpRight )\
\
pY = pZ;\
else \
{\
pY = pZ->mpRight;\
\
while (pY->mpLeft) \
\
pY = pY->mpLeft;\
}\
\
if ( pY->mpLeft)\
\
pX = pY->mpLeft;\
else\
pX = pY->mpRight;\
\
if ( pX ) pX->mpParent = pY->mpParent;\
\
if (pY->mpParent)\
\
if (pY == pY->mpParent->mpLeft )\
\
pY->mpParent->mpLeft = pX;\
else\
pY->mpParent->mpRight = pX;\
else\
mpRoot = pX;\
\
node_ref_type toRemove = 0;\
\
if (pY != pZ) {\
\
pY->mpLeft = pZ->mpLeft;\
\
if (pY->mpLeft) pY->mpLeft->mpParent = pY;\
\
pY->mpRight = pZ->mpRight;\
\
if ( pY->mpRight ) \
\
pY->mpRight->mpParent = pY;\
\
pY->mpParent = pZ->mpParent;\
\
if (pZ->mpParent)\
\
if (pZ == pZ->mpParent->mpLeft)\
\
pZ->mpParent->mpLeft = pY;\
else\
pZ->mpParent->mpRight = pY;\
else\
mpRoot = pY;\
\
toRemove = pZ;\
} \
else \
toRemove = pY;\
\
\
RecycleNode( toRemove );\
}\
\
_INSERT_METHOD_DEFINITION\
}
// do not undefine ___WXSTL_COMMA, where associated containers are defined!
// (it is used as workaround for constraints of C-Preprocessor's nested macros)
#define ___WXSTL_COMMA ,
#define __DEFINE_MAP(ARG_IS_UNIQUE, KEY_TYPE, VAL_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLMAP_##KEY_TYPE##VAL_TYPE##ARG_IS_UNIQUE, \
struct key_value_pair { KEY_TYPE first ; \
VAL_TYPE second;\
key_value_pair() {}\
key_value_pair( const KEY_TYPE& key ___WXSTL_COMMA const VAL_TYPE& value ) \
: first(key) ___WXSTL_COMMA second( value ) {} \
} , \
KEY_TYPE,\
VAL_TYPE,\
mData.first, mData.second, x.first, x.second, \
struct insert_result_iterator\
{\
iterator first;\
int second;\
};\
inline insert_result_iterator insert( const value_type& x )\
{\
insert_result_iterator result;\
\
result.first = do_insert(x);\
result.second = ( result.first == end() ) ? 0 : 1;\
\
return result;\
} )
#define __DEFINE_SET(ARG_IS_UNIQUE, KEY_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLSET_##TYPE##ARG_IS_UNIQUE, \
KEY_TYPE,\
KEY_TYPE,\
KEY_TYPE,\
mData, mData, x, x, \
struct insert_result_iterator\
{\
iterator first;\
int second;\
};\
inline insert_result_iterator insert( const value_type& x )\
{\
insert_result_iterator result;\
\
result.first = do_insert(x);\
result.second = ( result.first == end() ) ? 0 : 1;\
\
return result;\
} )
// helper macros to create functor objects for associative containers of the given type
#define LESS_THEN_FUNCTOR(TYPE) struct \
{ inline int operator()(const TYPE& x, const TYPE& y ) const { return x < y; } }
#define GREATER_THEN_FUNCTOR(TYPE) struct \
{ inline int operator()(const TYPE& x, const TYPE& y ) const { return x > y; } }
// functor argument should be created using the two above macros
// or passing own class with method "operator()(const TYPE&,cosnt TYPE&)" defined in it
#define WXSTL_MAP( KEY_TYPE, VALUE_TYPE, FUNCTOR ) __DEFINE_MAP( 1 ,KEY_TYPE, VALUE_TYPE, FUNCTOR)
#define WXSTL_MULTIMAP( KEY_TYPE, VALUE_TYPE, FUNCTOR ) __DEFINE_MAP( 0 ,KEY_TYPE, VALUE_TYPE, FUNCTOR)
#define WXSTL_SET( KEY_TYPE, FUNCTOR ) __DEFINE_SET( 1 ,KEY_TYPE, FUNCTOR )
#define WXSTL_MULTISET( KEY_TYPE, FUNCTOR ) __DEFINE_SET( 0 ,KEY_TYPE, FUNCTOR )
#endif

View File

@@ -1,49 +0,0 @@
#ifndef __WXSTLDEFS_G__
#define __WXSTLDEFS_G__
#include "config.h"
// defines some very commonly used container types
// for both template and macro-based configurations
#if defined( wxUSE_TEMPLATE_STL )
#include <vector>
using namespace std;
#ifdef WIN32xxx
#include <bstring.h>
#else
//#include <strclass.h>
//#include <string.h>
// For now
#include "wx/string.h"
#define string wxString
#endif
#else
#include "wx/string.h"
#include "wxstlvec.h"
// FOR NOW:: quick n' dirty:
#define string wxString
#endif
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<string> StrListT;
typedef vector<int> IntListT;
#else
typedef WXSTL_VECTOR(string) StrListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(int) IntListT;
#endif
#endif

View File

@@ -1,555 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLLST_G__
#define __WXSTLLST_G__
#include <stddef.h>
#include <sys/types.h>
#include <memory.h>
#include <limits.h>
#include <new>
// VERSION:: 0.2 (copy-constructor/adign-op added)
// FOR NOW:: class-member operators "new" and "delete"
// are ignored by list class, memory allocated
// and freed using global operators
typedef int Type;
// the below macro used internally (see actual interface after this macro)
#define __DEFINE_STL_LIST(listClass,Type) class \
listClass \
{\
public:\
\
typedef Type value_type;\
typedef value_type* pointer;\
typedef const value_type* const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
protected:\
struct list_node\
{\
list_node* mpNext;\
list_node* mpPrev;\
value_type mData;\
};\
\
typedef list_node* node_ref_type;\
\
node_ref_type mpFreeListHead;\
node_ref_type mpTerminator;\
size_type mSize;\
\
inline node_ref_type AllocNode() \
{ \
if ( mpFreeListHead ) \
{\
node_ref_type pFreeNode = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpPrev;\
\
return pFreeNode;\
}\
else\
{\
char* pHeapBlock = new char[sizeof(list_node)];\
\
return (node_ref_type)pHeapBlock;\
}\
}\
\
inline void DestroyFreeList()\
{\
while ( mpFreeListHead )\
{\
node_ref_type tmp = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpPrev;\
\
delete [](char*)tmp;\
}\
}\
\
inline void RecycleNode( node_ref_type pNode ) \
{\
pNode->mpPrev = mpFreeListHead;\
mpFreeListHead = pNode;\
}\
\
public:\
\
class iterator \
{\
public:\
node_ref_type mpNode;\
friend class listClass;\
friend class const_iterator;\
friend class const_reverse_iterator;\
\
protected:\
iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
iterator() {}\
int operator==( const iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const iterator& operator--() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline iterator operator--(int)\
{\
iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const iterator& operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline iterator operator++(int)\
{\
iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_iterator \
{\
protected:\
node_ref_type mpNode;\
friend class listClass;\
\
protected:\
const_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
const_iterator() {}\
int operator==( const const_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const const_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
\
inline const_iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_iterator& operator--() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline const_iterator operator--(int)\
{\
const_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const const_iterator& operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline const_iterator operator++(int)\
{\
const_iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
class reverse_iterator \
{\
public:\
node_ref_type mpNode;\
friend class listClass;\
friend class const_reverse_iterator;\
\
protected:\
reverse_iterator ( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
reverse_iterator() {}\
int operator==( const reverse_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const reverse_iterator& operator--() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
node_ref_type mpNode;\
friend class listClass;\
\
protected:\
const_reverse_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
const_reverse_iterator() {}\
int operator==( const const_reverse_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline const const_reverse_iterator& operator++() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
public:\
\
inline listClass()\
: mpFreeListHead( 0 ),\
mSize(0)\
{\
mpTerminator = AllocNode();\
mpTerminator->mpPrev = mpTerminator->mpNext = mpTerminator;\
}\
\
listClass( const listClass& other )\
{\
mpTerminator = AllocNode();\
mpTerminator->mpPrev = mpTerminator->mpNext = mpTerminator;\
\
for( listClass::const_iterator i = other.begin(); i != other.end(); ++i )\
\
push_back( (*i) );\
}\
\
inline const listClass& operator=( const listClass& rhs ) \
{\
erase( begin(), end() );\
\
for( listClass::const_iterator i = rhs.begin(); i != rhs.end(); ++i )\
\
push_back( (*i) );\
\
return *this;\
}\
\
inline listClass(const_iterator first, const_iterator last)\
: mpFreeListHead( 0 ),\
mSize(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline listClass( size_type n, const value_type& value = value_type() )\
\
{ for( size_t i = 0; i != n; ++n ) push_back( value ); }\
\
inline ~listClass() \
{ \
erase( begin(), end() ); \
\
RecycleNode( mpTerminator );\
DestroyFreeList();\
}\
\
inline iterator begin() { return iterator(mpTerminator->mpNext); }\
\
inline const_iterator begin() const \
{ return const_iterator(mpTerminator->mpNext); }\
\
inline iterator end() { return iterator(mpTerminator); }\
\
inline const_iterator end() const { return const_iterator(mpTerminator); }\
\
inline reverse_iterator rbegin() \
{ return reverse_iterator(mpTerminator->mpPrev); }\
\
inline reverse_iterator rend() \
{ return reverse_iterator(mpTerminator); }\
\
inline const_reverse_iterator rbegin() const\
{ return const_reverse_iterator(mpTerminator->mpPrev); }\
\
inline const_reverse_iterator rend() const\
{ return const_reverse_iterator(mpTerminator); }\
\
inline int empty() const { return (mSize == 0); }\
\
inline size_type size() const { return mSize; }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(list_node); }\
\
inline reference front() { return mpTerminator->mData; }\
\
inline const_reference front() const { return mpTerminator->mData; }\
\
inline reference back() { return mpTerminator->mpPrev->mData; }\
\
inline const_reference back() const { return mpTerminator->mpPrev->mData; }\
\
inline void push_front(const value_type& x) { insert( begin(), x ); }\
\
inline void push_back(const value_type& x) { insert( end(), x ); }\
\
iterator insert(iterator position, const value_type& x = value_type())\
{\
node_ref_type pNew = AllocNode();\
\
node_ref_type pos = *((node_ref_type*)&position);\
\
pNew->mpNext = pos;\
pNew->mpPrev = pos->mpPrev;\
pos->mpPrev->mpNext = pNew;\
pos->mpPrev = pNew;\
\
new (&pNew->mData) value_type(x);\
\
++mSize;\
\
return iterator(pNew);\
}\
\
inline void insert(iterator position, const_iterator first, const_iterator last )\
{\
while( first != last ) insert( position, *first++ );\
}\
\
inline void splice( iterator position, listClass& other )\
{\
if ( other.begin() == other.end() ) return;\
\
node_ref_type pTill = other.mpTerminator->mpPrev;\
node_ref_type pFrom = other.begin().mpNode;\
\
mpTerminator->mpPrev->mpNext = pFrom;\
pFrom->mpPrev = mpTerminator->mpPrev->mpNext;\
\
pTill->mpNext = mpTerminator;\
mpTerminator->mpPrev = pTill;\
\
other.mpTerminator->mpNext = \
other.mpTerminator->mpPrev = other.mpTerminator;\
\
mSize += other.mSize;\
other.mSize = 0;\
}\
\
inline void splice( iterator position, listClass& other, iterator first, iterator last )\
{\
if ( first == last ) return;\
\
size_type sz = 0;\
iterator tmp = first;\
while( tmp != last ) \
{\
++tmp;\
++sz;\
}\
\
mSize += sz;\
other.mSize -= sz;\
\
node_ref_type pPos = position.mpNode;\
node_ref_type pFirst = first.mpNode;\
node_ref_type pLast = last.mpNode;\
node_ref_type pTill = last.mpNode->mpPrev;\
\
pPos->mpPrev->mpNext = pFirst;\
pPos->mpPrev = pTill;\
\
pFirst->mpPrev->mpNext = last.mpNode;\
pLast->mpPrev = pTill;\
\
pFirst->mpPrev = pPos->mpPrev;\
pTill->mpNext = pPos;\
}\
\
inline void pop_front() { erase( begin() ); }\
inline void pop_back() { erase( --end() ); }\
\
inline void erase(iterator position)\
{\
erase( position, ++position );\
}\
\
inline void erase(iterator first, iterator last)\
{\
node_ref_type firstNode = *((node_ref_type*)&first);\
node_ref_type lastNode = *((node_ref_type*)&last);\
\
firstNode->mpPrev->mpNext = lastNode;\
lastNode->mpPrev = firstNode->mpPrev;\
\
while( firstNode != lastNode )\
{\
node_ref_type next = firstNode->mpNext;\
\
typedef value_type value_type_local;\
firstNode->mData.value_type_local::~value_type_local();\
\
RecycleNode( firstNode );\
\
firstNode = next;\
\
--mSize;\
}\
}\
\
inline void remove(const value_type& value)\
{\
for( iterator i = begin(); i != end(); ++i )\
\
if ( (*i) == value ) \
{\
erase( i ); break;\
}\
}\
\
void sort()\
{\
if ( mSize < 2 ) return;\
\
iterator from = begin();\
iterator other_end = end();\
--other_end;\
\
for( size_type i = 0; i != mSize; ++i )\
{\
size_type nSwaps = 0;\
\
iterator next = begin();\
++next;\
\
for( iterator j = begin(); j != other_end; ++j )\
{\
\
if ( (*next) < (*j) )\
{\
value_type tmp = (*j);\
(*j) = (*next);\
(*next) = tmp;\
\
++nSwaps;\
}\
\
++next;\
}\
\
if ( !nSwaps) break;\
\
--other_end;\
}\
}\
}
// defines list class with the given element type
#define WXSTL_LIST(ELEMENT_CLASS) __DEFINE_STL_LIST(\
\
_WXSTL_LIST_##ELEMENT_CLASS, ELEMENT_CLASS )
#endif

View File

@@ -1,857 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLVEC_G__
#define __WXSTLVEC_G__
#include <memory.h>
#include <string.h> // imports memmove()
#include <stddef.h>
#include <sys/types.h>
#include <limits.h>
#include <new>
// the below macro used internally (see actual interface after this macro)
#define __DEFINE_STL_VECTOR_DEEP( vectorClass, Type ) class vectorClass {\
\
public:\
typedef Type value_type;\
typedef value_type* iterator;\
typedef const value_type* const_iterator;\
typedef iterator pointer;\
typedef const iterator const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
protected:\
\
inline void PlacementCopy( const_iterator first, const_iterator last, iterator result )\
{\
while ( first != last ) \
new (result++) value_type(*first++);\
}\
\
inline void ConstructObjects( iterator first, iterator last, const value_type& pattern )\
{\
while( first != last ) \
new (first++) value_type(pattern);\
}\
\
inline void CopyObjects( iterator first, iterator last, iterator result )\
{\
while( first != last ) \
*result++ = *first++;\
}\
\
inline void CopyObjectsBack( iterator first, iterator last, iterator result )\
{\
result += difference_type(last,first);\
\
while( first != last ) \
*(--result) = *(--last);\
}\
\
public:\
\
class reverse_iterator \
{\
friend class vectorClass;\
friend class const_reverse_iterator;\
\
public:\
iterator mpPos;\
\
public:\
\
reverse_iterator() {}\
\
reverse_iterator ( iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
iterator mpPos;\
public:\
\
const_reverse_iterator() {}\
\
const_reverse_iterator( const iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const const_reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const const_reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
protected:\
\
pointer mpStart;\
pointer mpEnd;\
pointer mpEndOfBuf;\
\
protected:\
\
inline void quick_sort(int low, int hi) \
{\
int pivot_index;\
int left, right;\
\
pivot_index = ( !(mpStart[low] < mpStart[low+1])) ? low : (low+1);\
value_type pivot_value = mpStart[pivot_index];\
\
left = low; right = hi;\
do \
{\
while ((left <= hi) && (mpStart[left] < pivot_value)) left++;\
\
while ((right >= low) && (pivot_value < mpStart[right])) right--;\
\
if (left <= right) \
{\
value_type tmp = mpStart[left];\
mpStart[left] = mpStart[right];\
mpStart[right] = tmp;\
\
left++;\
right--;\
}\
\
} while (left <= right);\
if (low < right) quick_sort(low, right);\
if (left < hi) quick_sort(left, hi);\
}\
\
inline void DestructRange( iterator first, iterator last )\
{\
typedef value_type value_type_local;\
\
while ( first != last ) \
{\
first->value_type_local::~value_type_local();\
++first;\
}\
}\
\
inline iterator DoInsert(iterator position, const value_type& x)\
{\
if ( mpEnd < mpEndOfBuf )\
{\
new (mpEnd) value_type(*(mpEnd-1) );\
\
CopyObjectsBack( position, mpEnd, position + 1 );\
\
*position = x;\
\
++mpEnd;\
\
return position;\
}\
\
size_type minBufLen = WXSTL_VECTOR_MIN_BUF_SIZE/sizeof(value_type);\
\
size_type doubledSize = size()*2;\
\
size_type newLen = ( doubledSize < minBufLen ) ? minBufLen : doubledSize;\
\
iterator pNewStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( mpStart, position, pNewStart );\
\
iterator atPosition = pNewStart + difference_type( position - mpStart );\
\
new (atPosition) value_type(x);\
\
iterator newPos = atPosition;\
\
++atPosition;\
\
if ( mpStart ) \
{\
PlacementCopy( position, mpEnd, atPosition );\
DestructRange( mpStart, mpEnd );\
delete [](char*)mpStart;\
}\
\
mpEnd = atPosition + difference_type( mpEnd - position );\
\
mpStart = pNewStart;\
mpEndOfBuf = pNewStart + newLen;\
\
return newPos;\
}\
\
public:\
\
inline vectorClass() : mpStart(0), \
mpEnd(0),\
mpEndOfBuf(0)\
{}\
\
inline vectorClass( const_iterator first, const_iterator last )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline vectorClass( size_type n, const value_type& value = value_type() )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ for( size_type i = 0; i != n; ++i ) push_back( value ); }\
\
inline int operator==( const vectorClass& other )\
{\
size_type sz = size();\
\
if ( sz != other.size() ) return 0;\
\
for( size_type i = 0; i != sz; ++i )\
\
if ( !( (*this)[i] == other[i] ) ) return 0;\
\
return 1;\
\
}\
\
inline const vectorClass& operator=( const vectorClass& other )\
{\
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
\
size_t newLen = difference_type( other.mpEndOfBuf - other.mpStart );\
\
mpStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( other.begin(), other.end(), mpStart );\
\
mpEnd = mpStart + other.size();\
\
mpEndOfBuf = mpStart + newLen;\
\
return *this;\
}\
\
inline vectorClass( const vectorClass& other )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
{\
this->operator=( other );\
}\
\
inline ~vectorClass() \
{ \
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
}\
\
inline iterator begin() { return mpStart; }\
\
inline const_iterator begin() const { return mpStart; }\
\
inline iterator end() { return mpEnd; }\
\
inline const_iterator end() const { return mpEnd; }\
\
inline size_type size() const { return (size_type)difference_type(mpEnd-mpStart); }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(value_type); }\
\
inline size_type capacity() const \
{ return difference_type(mpEndOfBuf-mpStart)/sizeof(value_type); }\
\
inline int empty() const { return mpStart == mpEnd; }\
\
inline reference operator[](size_type n) { return *(mpStart+n); }\
\
inline const_reference operator[](size_type n) const { return *(mpStart+n); }\
\
inline reference front() { return (*mpStart); }\
\
inline const_reference front() const { return (*mpStart); }\
\
inline reference back() { return (*(mpEnd-1)); }\
\
inline const_reference back() const { return (*(mpEnd-1)); }\
\
inline void reserve(size_type n) {}\
\
inline void push_back(const value_type& x)\
{\
if ( mpEnd != mpEndOfBuf ) \
{\
new (mpEnd) value_type(x);\
++mpEnd;\
}\
else\
DoInsert( mpEnd, x );\
}\
\
inline iterator insert(iterator position, const value_type& x = value_type())\
{\
if ( position == mpEnd && mpEnd != mpEndOfBuf )\
{\
new (mpEnd) value_type(x);\
++mpEnd;\
return (mpEnd-1);\
}\
else return DoInsert( position, x );\
}\
\
inline void pop_back()\
{\
DestructRange( mpEnd-1, mpEnd );\
\
--mpEnd;\
}\
\
inline void erase(iterator first, iterator last)\
{\
if ( last == mpEnd )\
{\
DestructRange( first, last );\
mpEnd = first;\
return;\
}\
\
CopyObjects( last, last + difference_type( mpEnd - last ), first );\
\
iterator newEnd = mpEnd - difference_type( last - first );\
DestructRange( newEnd, mpEnd );\
\
mpEnd = newEnd;\
}\
\
inline void erase( iterator position )\
{\
erase( position, position + 1 );\
}\
\
inline void sort()\
{\
if ( size() < 2 ) return;\
quick_sort( 0, size()-1 );\
}\
}
/////////////////////////////// shallow-copy container ///////////////////////
#define __DEFINE_STL_VECTOR_SHALLOW( vectorClass, Type ) class vectorClass {\
\
public:\
typedef Type value_type;\
typedef value_type* iterator;\
typedef const value_type* const_iterator;\
typedef iterator pointer;\
typedef const iterator const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
protected:\
\
inline void PlacementCopy( const_iterator first, const_iterator last, iterator result )\
{\
memcpy(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
inline void ConstructObjects( iterator first, iterator last, const value_type& pattern )\
{\
if ( sizeof(pattern) == 1 )\
\
memset( first, int(difference_type(last-first)/sizeof(value_type)), \
int(*((char*)&pattern)) );\
else\
while( first != last ) \
*first++ = pattern;\
}\
\
inline void CopyObjects( iterator first, iterator last, iterator result )\
{\
memcpy(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
inline void CopyObjectsBack( iterator first, iterator last, iterator result )\
{\
memmove(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
public:\
\
class reverse_iterator \
{\
friend class vectorClass;\
friend class const_reverse_iterator;\
\
public:\
iterator mpPos;\
\
public:\
\
reverse_iterator() {}\
\
reverse_iterator ( iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
iterator mpPos;\
public:\
\
const_reverse_iterator() {}\
\
const_reverse_iterator( const iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const const_reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const const_reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
protected:\
\
pointer mpStart;\
pointer mpEnd;\
pointer mpEndOfBuf;\
\
protected:\
\
inline void quick_sort(int low, int hi) \
{\
int pivot_index;\
int left, right;\
\
pivot_index = ( !(mpStart[low] < mpStart[low+1])) ? low : (low+1);\
value_type pivot_value = mpStart[pivot_index];\
\
left = low; right = hi;\
do \
{\
while ((left <= hi) && (mpStart[left] < pivot_value)) left++;\
\
while ((right >= low) && (pivot_value < mpStart[right])) right--;\
\
if (left <= right) \
{\
value_type tmp = mpStart[left];\
mpStart[left] = mpStart[right];\
mpStart[right] = tmp;\
\
left++;\
right--;\
}\
\
} while (left <= right);\
if (low < right) quick_sort(low, right);\
if (left < hi) quick_sort(left, hi);\
}\
\
inline void DestructRange( iterator first, iterator last )\
{\
}\
\
inline iterator DoInsert(iterator position, const value_type& x)\
{\
if ( mpEnd < mpEndOfBuf )\
{\
new (mpEnd) value_type(*(mpEnd-1) );\
\
CopyObjectsBack( position, mpEnd, position + 1 );\
\
*position = x;\
\
++mpEnd;\
\
return position;\
}\
\
size_type minBufLen = WXSTL_VECTOR_MIN_BUF_SIZE/sizeof(value_type);\
\
size_type doubledSize = size()*2;\
\
size_type newLen = ( doubledSize < minBufLen ) ? minBufLen : doubledSize;\
\
iterator pNewStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( mpStart, position, pNewStart );\
\
iterator atPosition = pNewStart + difference_type( position - mpStart );\
\
new (atPosition) value_type(x);\
\
iterator newPos = atPosition;\
\
++atPosition;\
\
if ( mpStart ) \
{\
PlacementCopy( position, mpEnd, atPosition );\
DestructRange( mpStart, mpEnd );\
delete [](char*)mpStart;\
}\
\
mpEnd = atPosition + difference_type( mpEnd - position );\
\
mpStart = pNewStart;\
mpEndOfBuf = pNewStart + newLen;\
\
return newPos;\
}\
\
public:\
\
inline vectorClass() : mpStart(0), \
mpEnd(0),\
mpEndOfBuf(0)\
{}\
\
inline vectorClass( const_iterator first, const_iterator last )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline vectorClass( size_type n, const value_type& value = value_type() )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ for( size_type i = 0; i != n; ++i ) push_back( value ); }\
\
inline int operator==( const vectorClass& other )\
{\
size_type sz = size();\
\
if ( sz != other.size() ) return 0;\
\
for( size_type i = 0; i != sz; ++i )\
\
if ( !( (*this)[i] == other[i] ) ) return 0;\
\
return 1;\
\
}\
\
inline const vectorClass& operator=( const vectorClass& other )\
{\
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
\
size_t newLen = difference_type( other.mpEndOfBuf - other.mpStart );\
\
mpStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( other.begin(), other.end(), mpStart );\
\
mpEnd = mpStart + other.size();\
\
mpEndOfBuf = mpStart + newLen;\
\
return *this;\
}\
\
inline vectorClass( const vectorClass& other )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
{\
this->operator=( other );\
}\
\
inline ~vectorClass() \
{ \
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
}\
\
inline iterator begin() { return mpStart; }\
\
inline const_iterator begin() const { return mpStart; }\
\
inline iterator end() { return mpEnd; }\
\
inline const_iterator end() const { return mpEnd; }\
\
inline size_type size() const { return (size_type)difference_type(mpEnd-mpStart); }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(value_type); }\
\
inline size_type capacity() const \
{ return difference_type(mpEndOfBuf-mpStart)/sizeof(value_type); }\
\
inline int empty() const { return mpStart == mpEnd; }\
\
inline reference operator[](size_type n) { return *(mpStart+n); }\
\
inline const_reference operator[](size_type n) const { return *(mpStart+n); }\
\
inline reference front() { return (*mpStart); }\
\
inline const_reference front() const { return (*mpStart); }\
\
inline reference back() { return (*(mpEnd-1)); }\
\
inline const_reference back() const { return (*(mpEnd-1)); }\
\
inline void reserve(size_type n) {}\
\
inline void push_back(const value_type& x)\
{\
if ( mpEnd != mpEndOfBuf ) \
{\
new (mpEnd) value_type(x);\
++mpEnd;\
}\
else\
DoInsert( mpEnd, x );\
}\
\
inline iterator insert(iterator position, const value_type& x = value_type())\
{\
if ( position == mpEnd && mpEnd != mpEndOfBuf )\
{\
new (mpEnd) value_type(x);\
++mpEnd;\
return (mpEnd-1);\
}\
else return DoInsert( position, x );\
}\
\
inline void pop_back()\
{\
DestructRange( mpEnd-1, mpEnd );\
\
--mpEnd;\
}\
\
inline void erase(iterator first, iterator last)\
{\
if ( last == mpEnd )\
{\
DestructRange( first, last );\
mpEnd = first;\
return;\
}\
\
CopyObjects( last, last + difference_type( mpEnd - last ), first );\
\
iterator newEnd = mpEnd - difference_type( last - first );\
DestructRange( newEnd, mpEnd );\
\
mpEnd = newEnd;\
}\
\
inline void erase( iterator position )\
{\
erase( position, position + 1 );\
}\
\
inline void sort()\
{\
if ( size() < 2 ) return;\
quick_sort( 0, size()-1 );\
}\
}
// redefine below symbol to change the default allocation unit of vector content buffer
#define WXSTL_VECTOR_MIN_BUF_SIZE 64
// defines vector class, where objects are copied
// using "deep-copy" sematics (i.e. by calling their copy constructors)
#define WXSTL_VECTOR(ELEMENT_CLASS) \
__DEFINE_STL_VECTOR_DEEP(_WXSTL_VECTOR_##ELEMENT_CLASS, ELEMENT_CLASS)
// defines vector class, where objects are copied
// using "shallow-copy" sematics (i.e. instead of calling
// their constructors, memcpy() and memmove() are used to copy their raw data)
#define WXSTL_VECTOR_SHALLOW_COPY(ELEMENT_CLASS) __DEFINE_STL_VECTOR_SHALLOW(_WXSTL_VECTORSC_##ELEMENT_CLASS, ELEMENT_CLASS)
#endif

View File

@@ -1,10 +0,0 @@
sedscript
Makefile.pre
Setup
config.c
Makefile
*.obj
*.pch
*.lib
*.exp

View File

@@ -1,21 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
Makefile.pre.in
A custom Makefile.pre.in, originally by Robin Dunn as part of the
wxPython source distribution. Intented for separate wxPython
modules, it should require little or no modification for other
module projects. In these modules they are all identical, except
the one for glcanvas (copies gtk/glcanvas from elsewhere)
Setup.in
A custom Setup.in for building the modules below. It expects to find
the wxPython source dir in the directory specified by WXP_SRCDIR.
All modules are linked agains libwx_pymodule.so, which should
contain the SWIG runtime code and wxPython's helpers.cpp code.
makefile.vc
Very small makefile (list of variable's really). It has a big
brother, makeinc.vc, in the modules dir which is shared by all
modules and does the real work.

View File

@@ -1 +0,0 @@
*~

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,7 +0,0 @@
Makefile
build.local
utilsc.exp
utilsc.ilk
utilsc.pch
utilsc.pyd
wxp.pch

View File

@@ -1,5 +0,0 @@
# -*- python -*-
MODULE = 'utilsc'
SWIGFILES = ['utils.i', ]

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +0,0 @@
# This file was created automatically by SWIG.
import utilsc
class wxConfigPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,utilsc=utilsc):
if self.thisown == 1 :
utilsc.delete_wxConfig(self)
def DontCreateOnDemand(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DontCreateOnDemand,(self,) + _args, _kwargs)
return val
def DeleteAll(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteAll,(self,) + _args, _kwargs)
return val
def DeleteEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteEntry,(self,) + _args, _kwargs)
return val
def DeleteGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteGroup,(self,) + _args, _kwargs)
return val
def Exists(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Exists,(self,) + _args, _kwargs)
return val
def Flush(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Flush,(self,) + _args, _kwargs)
return val
def GetAppName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetAppName,(self,) + _args, _kwargs)
return val
def GetFirstGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstGroup,(self,) + _args, _kwargs)
return val
def GetFirstEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstEntry,(self,) + _args, _kwargs)
return val
def GetNextGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextGroup,(self,) + _args, _kwargs)
return val
def GetNextEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextEntry,(self,) + _args, _kwargs)
return val
def GetNumberOfEntries(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfEntries,(self,) + _args, _kwargs)
return val
def GetNumberOfGroups(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfGroups,(self,) + _args, _kwargs)
return val
def GetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetPath,(self,) + _args, _kwargs)
return val
def GetVendorName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetVendorName,(self,) + _args, _kwargs)
return val
def HasEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasEntry,(self,) + _args, _kwargs)
return val
def HasGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasGroup,(self,) + _args, _kwargs)
return val
def IsExpandingEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsExpandingEnvVars,(self,) + _args, _kwargs)
return val
def IsRecordingDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsRecordingDefaults,(self,) + _args, _kwargs)
return val
def Read(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Read,(self,) + _args, _kwargs)
return val
def ReadInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadInt,(self,) + _args, _kwargs)
return val
def ReadFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadFloat,(self,) + _args, _kwargs)
return val
def SetExpandEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetExpandEnvVars,(self,) + _args, _kwargs)
return val
def SetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetPath,(self,) + _args, _kwargs)
return val
def SetRecordDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetRecordDefaults,(self,) + _args, _kwargs)
return val
def Write(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Write,(self,) + _args, _kwargs)
return val
def WriteInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteInt,(self,) + _args, _kwargs)
return val
def WriteFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteFloat,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxConfig instance at %s>" % (self.this,)
class wxConfig(wxConfigPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(utilsc.new_wxConfig,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +0,0 @@
# This file was created automatically by SWIG.
import utilsc
class wxConfigPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,utilsc=utilsc):
if self.thisown == 1 :
utilsc.delete_wxConfig(self)
def DontCreateOnDemand(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DontCreateOnDemand,(self,) + _args, _kwargs)
return val
def DeleteAll(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteAll,(self,) + _args, _kwargs)
return val
def DeleteEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteEntry,(self,) + _args, _kwargs)
return val
def DeleteGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteGroup,(self,) + _args, _kwargs)
return val
def Exists(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Exists,(self,) + _args, _kwargs)
return val
def Flush(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Flush,(self,) + _args, _kwargs)
return val
def GetAppName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetAppName,(self,) + _args, _kwargs)
return val
def GetFirstGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstGroup,(self,) + _args, _kwargs)
return val
def GetFirstEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstEntry,(self,) + _args, _kwargs)
return val
def GetNextGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextGroup,(self,) + _args, _kwargs)
return val
def GetNextEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextEntry,(self,) + _args, _kwargs)
return val
def GetNumberOfEntries(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfEntries,(self,) + _args, _kwargs)
return val
def GetNumberOfGroups(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfGroups,(self,) + _args, _kwargs)
return val
def GetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetPath,(self,) + _args, _kwargs)
return val
def GetVendorName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetVendorName,(self,) + _args, _kwargs)
return val
def HasEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasEntry,(self,) + _args, _kwargs)
return val
def HasGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasGroup,(self,) + _args, _kwargs)
return val
def IsExpandingEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsExpandingEnvVars,(self,) + _args, _kwargs)
return val
def IsRecordingDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsRecordingDefaults,(self,) + _args, _kwargs)
return val
def Read(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Read,(self,) + _args, _kwargs)
return val
def ReadInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadInt,(self,) + _args, _kwargs)
return val
def ReadFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadFloat,(self,) + _args, _kwargs)
return val
def SetExpandEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetExpandEnvVars,(self,) + _args, _kwargs)
return val
def SetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetPath,(self,) + _args, _kwargs)
return val
def SetRecordDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetRecordDefaults,(self,) + _args, _kwargs)
return val
def Write(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Write,(self,) + _args, _kwargs)
return val
def WriteInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteInt,(self,) + _args, _kwargs)
return val
def WriteFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteFloat,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxConfig instance at %s>" % (self.this,)
class wxConfig(wxConfigPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(utilsc.new_wxConfig,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,139 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: utils.i
// Purpose: SWIG definitions of various utility classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module utils
%{
#include "helpers.h"
#include <wx/config.h>
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%{
#if defined(__WXMSW__)
static wxString wxPyEmptyStr("");
#endif
%}
%{
static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
PyObject* ret = PyTuple_New(3);
if (ret) {
PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
PyTuple_SET_ITEM(ret, 1, PyString_FromString(str));
PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
}
return ret;
}
%}
//---------------------------------------------------------------------------
class wxConfig {
public:
wxConfig(const wxString& appName = wxPyEmptyStr,
const wxString& vendorName = wxPyEmptyStr,
const wxString& localFilename = wxPyEmptyStr,
const wxString& globalFilename = wxPyEmptyStr,
long style = 0);
~wxConfig();
void DontCreateOnDemand();
bool DeleteAll(); // This is supposed to have been fixed...
bool DeleteEntry(const wxString& key, bool bDeleteGroupIfEmpty = TRUE);
bool DeleteGroup(const wxString& key);
bool Exists(wxString& strName);
bool Flush(bool bCurrentOnly = FALSE);
wxString GetAppName();
// Each of these enumeration methods return a 3-tuple consisting of
// the continue flag, the value string, and the index for the next call.
%addmethods {
PyObject* GetFirstGroup() {
bool cont;
long index = 0;
wxString value;
cont = self->GetFirstGroup(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetFirstEntry() {
bool cont;
long index = 0;
wxString value;
cont = self->GetFirstEntry(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetNextGroup(long index) {
bool cont;
wxString value;
cont = self->GetNextGroup(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetNextEntry(long index) {
bool cont;
wxString value;
cont = self->GetNextEntry(value, index);
return __EnumerationHelper(cont, value, index);
}
}
int GetNumberOfEntries(bool bRecursive = FALSE);
int GetNumberOfGroups(bool bRecursive = FALSE);
wxString GetPath();
wxString GetVendorName();
bool HasEntry(wxString& strName);
bool HasGroup(const wxString& strName);
bool IsExpandingEnvVars();
bool IsRecordingDefaults();
wxString Read(const wxString& key, const wxString& defaultVal = wxPyEmptyStr);
%name(ReadInt)long Read(const wxString& key, long defaultVal = 0);
%name(ReadFloat)double Read(const wxString& key, double defaultVal = 0.0);
void SetExpandEnvVars (bool bDoIt = TRUE);
void SetPath(const wxString& strPath);
void SetRecordDefaults(bool bDoIt = TRUE);
bool Write(const wxString& key, const wxString& value);
%name(WriteInt)bool Write(const wxString& key, long value);
%name(WriteFloat)bool Write(const wxString& key, double value);
};
//---------------------------------------------------------------------------
%init %{
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
initutilsc

View File

@@ -1,95 +0,0 @@
# -*- python -*-
import sys
MODULE = 'wxc'
SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i',
'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i',
'image.i', 'printfw.i',
]
PYFILES = ['__init__.py']
if sys.platform == 'win32':
RESFILE = 1
SOURCES = ['helpers.cpp', 'libpy.c']
LIBS = '$(PYTHONLIB)'
OTHERRULES = """
dist:
cd ..\..
wxPython\distrib\zipit.bat $(VERSION)
"""
else:
DEFAULTRULE = 'default: $(GENCODEDIR) lib$(HELPERLIB)$(SO) $(TARGET)'
OTHERINSTALLTARGETS = 'installLibDemo installHelpers '
OTHERUNINSTALLTARGETS = 'uninstallLibDemo uninstallHelpers '
OTHERRULES = """
lib$(HELPERLIB)$(SO) : helpers.o libpy.o
$(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@
installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
$(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO)
cp $< $@
@echo ---------------------------------------------------------
@echo You may have to run ldconfig, or set an environment
@echo variable in order for $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
@echo to be found at runtime. See your man pages for ld.so or
@echo equivalent.
@echo ---------------------------------------------------------
installLibDemo:
@if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
mkdir $(TARGETDIR)/lib; \\
mkdir $(TARGETDIR)/lib/sizers; \\
mkdir $(TARGETDIR)/demo; \\
mkdir $(TARGETDIR)/demo/bitmaps; \\
cp ../lib/*.py $(TARGETDIR)/lib; \\
cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \\
cp ../demo/*.py $(TARGETDIR)/demo; \\
cp ../lib/*.txt $(TARGETDIR)/lib; \\
cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \\
cp ../demo/*.txt $(TARGETDIR)/demo; \\
cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \\
$(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR); \\
$(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR); \\
fi
uninstallLibDemo:
@if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
rm -rf $(TARGETDIR)/lib; \\
rm -rf $(TARGETDIR)/demo; \\
fi
uninstallHelpers:
rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
#----------------------------------------------------------------------
dist: tgz rpm
tgz:
cd ../..; wxPython/distrib/maketgz $(VERSION)
rpm:
cd ../distrib; ./makerpm $(VERSION)
"""

View File

@@ -1,576 +0,0 @@
/*
* FILE : gtk/misc2.cpp
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Patch 6)
*
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
*
* Do not make changes to this file--changes will be lost!
*
*/
#define SWIGCODE
/* Implementation : PYTHON */
#define SWIGPYTHON
#include <string.h>
#include <stdlib.h>
/* Definitions for Windows/Unix exporting */
#if defined(__WIN32__)
# if defined(_MSC_VER)
# define SWIGEXPORT(a) __declspec(dllexport) a
# else
# if defined(__BORLANDC__)
# define SWIGEXPORT(a) a _export
# else
# define SWIGEXPORT(a) a
# endif
# endif
#else
# define SWIGEXPORT(a) a
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "Python.h"
extern void SWIG_MakePtr(char *, void *, char *);
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
extern char *SWIG_GetPtr(char *, void **, char *);
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
extern PyObject *SWIG_newvarlink(void);
#ifdef __cplusplus
}
#endif
#define SWIG_init initmisc2c
#define SWIG_name "misc2c"
#include "helpers.h"
#include <wx/resource.h>
#include <wx/tooltip.h>
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyList_Check(target)) {
o2 = target;
target = PyList_New(0);
PyList_Append(target, o2);
Py_XDECREF(o2);
}
PyList_Append(target,o);
Py_XDECREF(o);
}
return target;
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return target;
}
extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
static char* wxStringErrorMsg = "string type is required for parameter";
void wxToolTip_Enable(bool flag) {
wxToolTip::Enable(flag);
}
void wxToolTip_SetDelay(long milliseconds) {
wxToolTip::SetDelay(milliseconds);
}
#ifdef __cplusplus
extern "C" {
#endif
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "label","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "name","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
bool _arg0;
int tempbool0;
char *_kwnames[] = { "flag", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
return NULL;
_arg0 = (bool ) tempbool0;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_Enable(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
long _arg0;
char *_kwnames[] = { "milliseconds", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
return NULL;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetDelay(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _result;
wxString * _arg0;
PyObject * _obj0 = 0;
char *_kwnames[] = { "tip", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxToolTip *)new_wxToolTip(*_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _arg0;
wxString * _arg1;
PyObject * _argo0 = 0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","tip", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetTip(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
delete _arg1;
}
return _resultobj;
}
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxString * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = new wxString (wxToolTip_GetTip(_arg0));
wxPy_END_ALLOW_THREADS;
}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
}
return _resultobj;
}
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxToolTip_GetWindow(_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
return _resultobj;
}
static PyMethodDef misc2cMethods[] = {
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL }
};
#ifdef __cplusplus
}
#endif
/*
* This table is used by the pointer type-checker
*/
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
{ "_signed_long","_long",0},
{ "_wxPrintQuality","_int",0},
{ "_wxPrintQuality","_signed_int",0},
{ "_wxPrintQuality","_unsigned_int",0},
{ "_wxPrintQuality","_wxWindowID",0},
{ "_wxPrintQuality","_uint",0},
{ "_wxPrintQuality","_EBool",0},
{ "_wxPrintQuality","_size_t",0},
{ "_class_wxRegionIterator","_wxRegionIterator",0},
{ "_class_wxMenuBar","_wxMenuBar",0},
{ "_class_wxEvtHandler","_wxEvtHandler",0},
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
{ "_wxCursor","_class_wxCursor",0},
{ "_wxMask","_class_wxMask",0},
{ "_wxToolTip","_class_wxToolTip",0},
{ "_wxPen","_class_wxPen",0},
{ "_byte","_unsigned_char",0},
{ "_long","_wxDash",0},
{ "_long","_unsigned_long",0},
{ "_long","_signed_long",0},
{ "_wxImageList","_class_wxImageList",0},
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
{ "_wxDC","_class_wxDC",0},
{ "_size_t","_wxPrintQuality",0},
{ "_size_t","_unsigned_int",0},
{ "_size_t","_int",0},
{ "_size_t","_wxWindowID",0},
{ "_size_t","_uint",0},
{ "_class_wxRealPoint","_wxRealPoint",0},
{ "_class_wxMenuItem","_wxMenuItem",0},
{ "_class_wxPostScriptDC","_wxPostScriptDC",0},
{ "_wxPanel","_class_wxPanel",0},
{ "_class_wxMask","_wxMask",0},
{ "_class_wxToolTip","_wxToolTip",0},
{ "_wxColour","_class_wxColour",0},
{ "_class_wxDialog","_wxDialog",0},
{ "_wxBrush","_class_wxBrush",0},
{ "_uint","_wxPrintQuality",0},
{ "_uint","_size_t",0},
{ "_uint","_unsigned_int",0},
{ "_uint","_int",0},
{ "_uint","_wxWindowID",0},
{ "_wxRect","_class_wxRect",0},
{ "_wxPoint","_class_wxPoint",0},
{ "_wxBitmap","_class_wxBitmap",0},
{ "_wxPyTimer","_class_wxPyTimer",0},
{ "_wxWindowDC","_class_wxWindowDC",0},
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
{ "_EBool","_wxPrintQuality",0},
{ "_EBool","_signed_int",0},
{ "_EBool","_int",0},
{ "_EBool","_wxWindowID",0},
{ "_class_wxRegion","_wxRegion",0},
{ "_wxFont","_class_wxFont",0},
{ "_unsigned_long","_wxDash",0},
{ "_unsigned_long","_long",0},
{ "_class_wxRect","_wxRect",0},
{ "_class_wxDC","_wxDC",0},
{ "_class_wxPyTimer","_wxPyTimer",0},
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
{ "_class_wxPanel","_wxPanel",0},
{ "_signed_int","_wxPrintQuality",0},
{ "_signed_int","_EBool",0},
{ "_signed_int","_wxWindowID",0},
{ "_signed_int","_int",0},
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
{ "_wxMenu","_class_wxMenu",0},
{ "_wxScreenDC","_class_wxScreenDC",0},
{ "_WXTYPE","_short",0},
{ "_WXTYPE","_signed_short",0},
{ "_WXTYPE","_unsigned_short",0},
{ "_class_wxBrush","_wxBrush",0},
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",0},
{ "_class_wxWindow","_wxWindow",0},
{ "_class_wxFont","_wxFont",0},
{ "_wxClientDC","_class_wxClientDC",0},
{ "_class_wxPoint","_wxPoint",0},
{ "_wxRealPoint","_class_wxRealPoint",0},
{ "_signed_short","_WXTYPE",0},
{ "_signed_short","_short",0},
{ "_wxMemoryDC","_class_wxMemoryDC",0},
{ "_wxPaintDC","_class_wxPaintDC",0},
{ "_class_wxWindowDC","_wxWindowDC",0},
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
{ "_class_wxCursor","_wxCursor",0},
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
{ "_unsigned_char","_byte",0},
{ "_class_wxMenu","_wxMenu",0},
{ "_unsigned_int","_wxPrintQuality",0},
{ "_unsigned_int","_size_t",0},
{ "_unsigned_int","_uint",0},
{ "_unsigned_int","_wxWindowID",0},
{ "_unsigned_int","_int",0},
{ "_wxIcon","_class_wxIcon",0},
{ "_wxDialog","_class_wxDialog",0},
{ "_class_wxPen","_wxPen",0},
{ "_short","_WXTYPE",0},
{ "_short","_unsigned_short",0},
{ "_short","_signed_short",0},
{ "_class_wxImageList","_wxImageList",0},
{ "_wxWindowID","_wxPrintQuality",0},
{ "_wxWindowID","_size_t",0},
{ "_wxWindowID","_EBool",0},
{ "_wxWindowID","_uint",0},
{ "_wxWindowID","_int",0},
{ "_wxWindowID","_signed_int",0},
{ "_wxWindowID","_unsigned_int",0},
{ "_int","_wxPrintQuality",0},
{ "_int","_size_t",0},
{ "_int","_EBool",0},
{ "_int","_uint",0},
{ "_int","_wxWindowID",0},
{ "_int","_unsigned_int",0},
{ "_int","_signed_int",0},
{ "_wxSize","_class_wxSize",0},
{ "_wxRegionIterator","_class_wxRegionIterator",0},
{ "_class_wxPaintDC","_wxPaintDC",0},
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
{ "_class_wxIcon","_wxIcon",0},
{ "_class_wxColour","_wxColour",0},
{ "_class_wxScreenDC","_wxScreenDC",0},
{ "_wxPalette","_class_wxPalette",0},
{ "_wxRegion","_class_wxRegion",0},
{ "_class_wxClientDC","_wxClientDC",0},
{ "_class_wxSize","_wxSize",0},
{ "_class_wxBitmap","_wxBitmap",0},
{ "_class_wxMemoryDC","_wxMemoryDC",0},
{ "_wxMenuBar","_class_wxMenuBar",0},
{ "_wxEvtHandler","_class_wxEvtHandler",0},
{ "_wxMenuItem","_class_wxMenuItem",0},
{ "_wxDash","_unsigned_long",0},
{ "_wxDash","_long",0},
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
{ "_class_wxPalette","_wxPalette",0},
{ "_wxWindow","_class_wxWindow",0},
{0,0,0}};
static PyObject *SWIG_globals;
#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT(void) initmisc2c() {
PyObject *m, *d;
SWIG_globals = SWIG_newvarlink();
m = Py_InitModule("misc2c", misc2cMethods);
d = PyModule_GetDict(m);
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
}
}

View File

@@ -1,54 +0,0 @@
# This file was created automatically by SWIG.
import misc2c
from windows import *
from misc import *
from gdi import *
class wxToolTipPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def SetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
return val
def GetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def __repr__(self):
return "<C wxToolTip instance at %s>" % (self.this,)
class wxToolTip(wxToolTipPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
def wxFindWindowByLabel(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
def wxFindWindowByName(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
wxToolTip_Enable = misc2c.wxToolTip_Enable
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
#-------------- VARIABLE WRAPPERS ------------------

File diff suppressed because it is too large Load Diff

View File

@@ -1,213 +0,0 @@
# This file was created automatically by SWIG.
import stattoolc
from misc import *
from windows import *
from gdi import *
from controls import *
from events import *
import wx
class wxStatusBarPtr(wxWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetFieldRect(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetFieldRect,(self,) + _args, _kwargs)
if val: val = wxRectPtr(val) ; val.thisown = 1
return val
def GetFieldsCount(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetFieldsCount,(self,) + _args, _kwargs)
return val
def GetStatusText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetStatusText,(self,) + _args, _kwargs)
return val
def DrawField(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_DrawField,(self,) + _args, _kwargs)
return val
def DrawFieldText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_DrawFieldText,(self,) + _args, _kwargs)
return val
def InitColours(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_InitColours,(self,) + _args, _kwargs)
return val
def SetFieldsCount(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetFieldsCount,(self,) + _args, _kwargs)
return val
def SetStatusText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetStatusText,(self,) + _args, _kwargs)
return val
def SetStatusWidths(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetStatusWidths,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxStatusBar instance at %s>" % (self.this,)
class wxStatusBar(wxStatusBarPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxStatusBar,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
class wxToolBarToolPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,stattoolc=stattoolc):
if self.thisown == 1 :
stattoolc.delete_wxToolBarTool(self)
def __setattr__(self,name,value):
if name == "m_toolStyle" :
stattoolc.wxToolBarTool_m_toolStyle_set(self,value)
return
if name == "m_clientData" :
stattoolc.wxToolBarTool_m_clientData_set(self,value)
return
if name == "m_index" :
stattoolc.wxToolBarTool_m_index_set(self,value)
return
if name == "m_toggleState" :
stattoolc.wxToolBarTool_m_toggleState_set(self,value)
return
if name == "m_isToggle" :
stattoolc.wxToolBarTool_m_isToggle_set(self,value)
return
if name == "m_deleteSecondBitmap" :
stattoolc.wxToolBarTool_m_deleteSecondBitmap_set(self,value)
return
if name == "m_enabled" :
stattoolc.wxToolBarTool_m_enabled_set(self,value)
return
if name == "m_bitmap1" :
stattoolc.wxToolBarTool_m_bitmap1_set(self,value.this)
return
if name == "m_bitmap2" :
stattoolc.wxToolBarTool_m_bitmap2_set(self,value.this)
return
if name == "m_isMenuCommand" :
stattoolc.wxToolBarTool_m_isMenuCommand_set(self,value)
return
if name == "m_shortHelpString" :
stattoolc.wxToolBarTool_m_shortHelpString_set(self,value)
return
if name == "m_longHelpString" :
stattoolc.wxToolBarTool_m_longHelpString_set(self,value)
return
self.__dict__[name] = value
def __getattr__(self,name):
if name == "m_toolStyle" :
return stattoolc.wxToolBarTool_m_toolStyle_get(self)
if name == "m_clientData" :
return stattoolc.wxToolBarTool_m_clientData_get(self)
if name == "m_index" :
return stattoolc.wxToolBarTool_m_index_get(self)
if name == "m_toggleState" :
return stattoolc.wxToolBarTool_m_toggleState_get(self)
if name == "m_isToggle" :
return stattoolc.wxToolBarTool_m_isToggle_get(self)
if name == "m_deleteSecondBitmap" :
return stattoolc.wxToolBarTool_m_deleteSecondBitmap_get(self)
if name == "m_enabled" :
return stattoolc.wxToolBarTool_m_enabled_get(self)
if name == "m_bitmap1" :
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap1_get(self))
if name == "m_bitmap2" :
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap2_get(self))
if name == "m_isMenuCommand" :
return stattoolc.wxToolBarTool_m_isMenuCommand_get(self)
if name == "m_shortHelpString" :
return stattoolc.wxToolBarTool_m_shortHelpString_get(self)
if name == "m_longHelpString" :
return stattoolc.wxToolBarTool_m_longHelpString_get(self)
raise AttributeError,name
def __repr__(self):
return "<C wxToolBarTool instance at %s>" % (self.this,)
class wxToolBarTool(wxToolBarToolPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxToolBarTool,_args,_kwargs)
self.thisown = 1
class wxToolBarPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AddSeparator(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddSeparator,(self,) + _args, _kwargs)
return val
def AddTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddTool,(self,) + _args, _kwargs)
if val: val = wxToolBarToolPtr(val)
return val
def AddSimpleTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddSimpleTool,(self,) + _args, _kwargs)
if val: val = wxToolBarToolPtr(val)
return val
def EnableTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_EnableTool,(self,) + _args, _kwargs)
return val
def GetToolEnabled(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolEnabled,(self,) + _args, _kwargs)
return val
def GetToolLongHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolLongHelp,(self,) + _args, _kwargs)
return val
def GetToolPacking(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolPacking,(self,) + _args, _kwargs)
return val
def GetToolSeparation(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolSeparation,(self,) + _args, _kwargs)
return val
def GetToolShortHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolShortHelp,(self,) + _args, _kwargs)
return val
def GetToolState(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolState,(self,) + _args, _kwargs)
return val
def Realize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_Realize,(self,) + _args, _kwargs)
return val
def SetToolLongHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolLongHelp,(self,) + _args, _kwargs)
return val
def SetToolShortHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolShortHelp,(self,) + _args, _kwargs)
return val
def SetMargins(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetMargins,(self,) + _args, _kwargs)
return val
def SetToolPacking(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolPacking,(self,) + _args, _kwargs)
return val
def SetToolSeparation(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolSeparation,(self,) + _args, _kwargs)
return val
def ToggleTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_ToggleTool,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxToolBar instance at %s>" % (self.this,)
class wxToolBar(wxToolBarPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxToolBar,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

File diff suppressed because it is too large Load Diff

View File

@@ -1,595 +0,0 @@
# This file was created automatically by SWIG.
import windows2c
from misc import *
from gdi import *
from windows import *
from controls import *
from events import *
import wx
class wxGridCellPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,windows2c=windows2c):
if self.thisown == 1 :
windows2c.delete_wxGridCell(self)
def GetTextValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetTextValue,(self,) + _args, _kwargs)
return val
def SetTextValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetTextValue,(self,) + _args, _kwargs)
return val
def GetFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
return val
def SetFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetFont,(self,) + _args, _kwargs)
return val
def GetTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def SetTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetTextColour,(self,) + _args, _kwargs)
return val
def GetBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def SetBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetBackgroundColour,(self,) + _args, _kwargs)
return val
def GetBackgroundBrush(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetBackgroundBrush,(self,) + _args, _kwargs)
if val: val = wxBrushPtr(val)
return val
def GetAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetAlignment,(self,) + _args, _kwargs)
return val
def SetAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetAlignment,(self,) + _args, _kwargs)
return val
def GetCellBitmap(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_GetCellBitmap,(self,) + _args, _kwargs)
if val: val = wxBitmapPtr(val)
return val
def SetCellBitmap(self, *_args, **_kwargs):
val = apply(windows2c.wxGridCell_SetCellBitmap,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxGridCell instance at %s>" % (self.this,)
class wxGridCell(wxGridCellPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windows2c.new_wxGridCell,_args,_kwargs)
self.thisown = 1
class wxGridPtr(wxPanelPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AdjustScrollbars(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_AdjustScrollbars,(self,) + _args, _kwargs)
return val
def AppendCols(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_AppendCols,(self,) + _args, _kwargs)
return val
def AppendRows(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_AppendRows,(self,) + _args, _kwargs)
return val
def BeginBatch(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_BeginBatch,(self,) + _args, _kwargs)
return val
def CellHitTest(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_CellHitTest,(self,) + _args, _kwargs)
return val
def CreateGrid(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_CreateGrid,(self,) + _args, _kwargs)
return val
def CurrentCellVisible(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_CurrentCellVisible,(self,) + _args, _kwargs)
return val
def DeleteCols(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_DeleteCols,(self,) + _args, _kwargs)
return val
def DeleteRows(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_DeleteRows,(self,) + _args, _kwargs)
return val
def EndBatch(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_EndBatch,(self,) + _args, _kwargs)
return val
def GetBatchCount(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetBatchCount,(self,) + _args, _kwargs)
return val
def GetCell(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCell,(self,) + _args, _kwargs)
if val: val = wxGridCellPtr(val)
return val
def GetCellAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCellAlignment,(self,) + _args, _kwargs)
return val
def GetDefCellAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetDefCellAlignment,(self,) + _args, _kwargs)
return val
def GetCellBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCellBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetDefCellBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetDefCellBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetCells(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCells,(self,) + _args, _kwargs)
return val
def GetCellTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCellTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetDefCellTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetDefCellTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetCellTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCellTextFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
return val
def GetDefCellTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetDefCellTextFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
return val
def GetCellValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCellValue,(self,) + _args, _kwargs)
return val
def GetCols(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCols,(self,) + _args, _kwargs)
return val
def GetColumnWidth(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetColumnWidth,(self,) + _args, _kwargs)
return val
def GetCurrentRect(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCurrentRect,(self,) + _args, _kwargs)
if val: val = wxRectPtr(val) ; val.thisown = 1
return val
def GetCursorColumn(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCursorColumn,(self,) + _args, _kwargs)
return val
def GetCursorRow(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetCursorRow,(self,) + _args, _kwargs)
return val
def GetEditable(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetEditable,(self,) + _args, _kwargs)
return val
def GetHorizScrollBar(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetHorizScrollBar,(self,) + _args, _kwargs)
if val: val = wxScrollBarPtr(val)
return val
def GetLabelAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelAlignment,(self,) + _args, _kwargs)
return val
def GetLabelBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetLabelSize(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelSize,(self,) + _args, _kwargs)
return val
def GetLabelTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelTextColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val)
return val
def GetLabelTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelTextFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
return val
def GetLabelValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetLabelValue,(self,) + _args, _kwargs)
return val
def GetRowHeight(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetRowHeight,(self,) + _args, _kwargs)
return val
def GetRows(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetRows,(self,) + _args, _kwargs)
return val
def GetScrollPosX(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetScrollPosX,(self,) + _args, _kwargs)
return val
def GetScrollPosY(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetScrollPosY,(self,) + _args, _kwargs)
return val
def GetTextItem(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetTextItem,(self,) + _args, _kwargs)
if val: val = wxTextCtrlPtr(val)
return val
def GetVertScrollBar(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetVertScrollBar,(self,) + _args, _kwargs)
if val: val = wxScrollBarPtr(val)
return val
def InsertCols(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_InsertCols,(self,) + _args, _kwargs)
return val
def InsertRows(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_InsertRows,(self,) + _args, _kwargs)
return val
def OnActivate(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_OnActivate,(self,) + _args, _kwargs)
return val
def SetCellAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetCellAlignment,(self,) + _args, _kwargs)
return val
def SetDefCellAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetDefCellAlignment,(self,) + _args, _kwargs)
return val
def SetCellBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetCellBackgroundColour,(self,) + _args, _kwargs)
return val
def SetDefCellBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetDefCellBackgroundColour,(self,) + _args, _kwargs)
return val
def SetCellTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetCellTextColour,(self,) + _args, _kwargs)
return val
def SetDefCellTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetDefCellTextColour,(self,) + _args, _kwargs)
return val
def SetCellTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetCellTextFont,(self,) + _args, _kwargs)
return val
def SetDefCellTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetDefCellTextFont,(self,) + _args, _kwargs)
return val
def SetCellValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetCellValue,(self,) + _args, _kwargs)
return val
def SetColumnWidth(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetColumnWidth,(self,) + _args, _kwargs)
return val
def SetDividerPen(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetDividerPen,(self,) + _args, _kwargs)
return val
def SetEditable(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetEditable,(self,) + _args, _kwargs)
return val
def SetGridCursor(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetGridCursor,(self,) + _args, _kwargs)
return val
def SetLabelAlignment(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelAlignment,(self,) + _args, _kwargs)
return val
def SetLabelBackgroundColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelBackgroundColour,(self,) + _args, _kwargs)
return val
def SetLabelSize(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelSize,(self,) + _args, _kwargs)
return val
def SetLabelTextColour(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelTextColour,(self,) + _args, _kwargs)
return val
def SetLabelTextFont(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelTextFont,(self,) + _args, _kwargs)
return val
def SetLabelValue(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetLabelValue,(self,) + _args, _kwargs)
return val
def SetRowHeight(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetRowHeight,(self,) + _args, _kwargs)
return val
def UpdateDimensions(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_UpdateDimensions,(self,) + _args, _kwargs)
return val
def GetEditInPlace(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_GetEditInPlace,(self,) + _args, _kwargs)
return val
def SetEditInPlace(self, *_args, **_kwargs):
val = apply(windows2c.wxGrid_SetEditInPlace,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxGrid instance at %s>" % (self.this,)
class wxGrid(wxGridPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windows2c.new_wxGrid,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
wx._checkForCallback(self, 'OnSelectCell', wxEVT_GRID_SELECT_CELL)
wx._checkForCallback(self, 'OnCreateCell', wxEVT_GRID_CREATE_CELL)
wx._checkForCallback(self, 'OnChangeLabels', wxEVT_GRID_CHANGE_LABELS)
wx._checkForCallback(self, 'OnChangeSelectionLabel', wxEVT_GRID_CHANGE_SEL_LABEL)
wx._checkForCallback(self, 'OnCellChange', wxEVT_GRID_CELL_CHANGE)
wx._checkForCallback(self, 'OnCellLeftClick', wxEVT_GRID_CELL_LCLICK)
wx._checkForCallback(self, 'OnCellRightClick', wxEVT_GRID_CELL_RCLICK)
wx._checkForCallback(self, 'OnLabelLeftClick', wxEVT_GRID_LABEL_LCLICK)
wx._checkForCallback(self, 'OnLabelRightClick', wxEVT_GRID_LABEL_RCLICK)
class wxGridEventPtr(wxEventPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetRow(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_GetRow,(self,) + _args, _kwargs)
return val
def GetCol(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_GetCol,(self,) + _args, _kwargs)
return val
def GetPosition(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_GetPosition,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def ControlDown(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_ControlDown,(self,) + _args, _kwargs)
return val
def ShiftDown(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_ShiftDown,(self,) + _args, _kwargs)
return val
def GetCell(self, *_args, **_kwargs):
val = apply(windows2c.wxGridEvent_GetCell,(self,) + _args, _kwargs)
if val: val = wxGridCellPtr(val)
return val
def __setattr__(self,name,value):
if name == "m_row" :
windows2c.wxGridEvent_m_row_set(self,value)
return
if name == "m_col" :
windows2c.wxGridEvent_m_col_set(self,value)
return
if name == "m_x" :
windows2c.wxGridEvent_m_x_set(self,value)
return
if name == "m_y" :
windows2c.wxGridEvent_m_y_set(self,value)
return
if name == "m_control" :
windows2c.wxGridEvent_m_control_set(self,value)
return
if name == "m_shift" :
windows2c.wxGridEvent_m_shift_set(self,value)
return
if name == "m_cell" :
windows2c.wxGridEvent_m_cell_set(self,value.this)
return
self.__dict__[name] = value
def __getattr__(self,name):
if name == "m_row" :
return windows2c.wxGridEvent_m_row_get(self)
if name == "m_col" :
return windows2c.wxGridEvent_m_col_get(self)
if name == "m_x" :
return windows2c.wxGridEvent_m_x_get(self)
if name == "m_y" :
return windows2c.wxGridEvent_m_y_get(self)
if name == "m_control" :
return windows2c.wxGridEvent_m_control_get(self)
if name == "m_shift" :
return windows2c.wxGridEvent_m_shift_get(self)
if name == "m_cell" :
return wxGridCellPtr(windows2c.wxGridEvent_m_cell_get(self))
raise AttributeError,name
def __repr__(self):
return "<C wxGridEvent instance at %s>" % (self.this,)
class wxGridEvent(wxGridEventPtr):
def __init__(self,this):
self.this = this
class wxNotebookEventPtr(wxNotifyEventPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebookEvent_GetSelection,(self,) + _args, _kwargs)
return val
def GetOldSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebookEvent_GetOldSelection,(self,) + _args, _kwargs)
return val
def SetOldSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebookEvent_SetOldSelection,(self,) + _args, _kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebookEvent_SetSelection,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxNotebookEvent instance at %s>" % (self.this,)
class wxNotebookEvent(wxNotebookEventPtr):
def __init__(self,this):
self.this = this
class wxNotebookPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPageCount(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetPageCount,(self,) + _args, _kwargs)
return val
def SetSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_SetSelection,(self,) + _args, _kwargs)
return val
def AdvanceSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_AdvanceSelection,(self,) + _args, _kwargs)
return val
def GetSelection(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetSelection,(self,) + _args, _kwargs)
return val
def SetPageText(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_SetPageText,(self,) + _args, _kwargs)
return val
def GetPageText(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetPageText,(self,) + _args, _kwargs)
return val
def SetImageList(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_SetImageList,(self,) + _args, _kwargs)
return val
def GetImageList(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetImageList,(self,) + _args, _kwargs)
if val: val = wxImageListPtr(val)
return val
def GetPageImage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetPageImage,(self,) + _args, _kwargs)
return val
def SetPageImage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_SetPageImage,(self,) + _args, _kwargs)
return val
def GetRowCount(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetRowCount,(self,) + _args, _kwargs)
return val
def DeletePage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_DeletePage,(self,) + _args, _kwargs)
return val
def RemovePage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_RemovePage,(self,) + _args, _kwargs)
return val
def DeleteAllPages(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_DeleteAllPages,(self,) + _args, _kwargs)
return val
def AddPage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_AddPage,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_GetPage,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def ResizeChildren(self, *_args, **_kwargs):
val = apply(windows2c.wxNotebook_ResizeChildren,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxNotebook instance at %s>" % (self.this,)
class wxNotebook(wxNotebookPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windows2c.new_wxNotebook,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
class wxSplitterEventPtr(wxCommandEventPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetSashPosition(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterEvent_GetSashPosition,(self,) + _args, _kwargs)
return val
def GetX(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterEvent_GetX,(self,) + _args, _kwargs)
return val
def GetY(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterEvent_GetY,(self,) + _args, _kwargs)
return val
def GetWindowBeingRemoved(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterEvent_GetWindowBeingRemoved,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def SetSashPosition(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterEvent_SetSashPosition,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxSplitterEvent instance at %s>" % (self.this,)
class wxSplitterEvent(wxSplitterEventPtr):
def __init__(self,this):
self.this = this
class wxSplitterWindowPtr(wxWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetBorderSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetBorderSize,(self,) + _args, _kwargs)
return val
def GetMinimumPaneSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetMinimumPaneSize,(self,) + _args, _kwargs)
return val
def GetSashPosition(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetSashPosition,(self,) + _args, _kwargs)
return val
def GetSashSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetSashSize,(self,) + _args, _kwargs)
return val
def GetSplitMode(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetSplitMode,(self,) + _args, _kwargs)
return val
def GetWindow1(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetWindow1,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def GetWindow2(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_GetWindow2,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def Initialize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_Initialize,(self,) + _args, _kwargs)
return val
def IsSplit(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_IsSplit,(self,) + _args, _kwargs)
return val
def SetBorderSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SetBorderSize,(self,) + _args, _kwargs)
return val
def SetSashPosition(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self,) + _args, _kwargs)
return val
def SetSashSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SetSashSize,(self,) + _args, _kwargs)
return val
def SetMinimumPaneSize(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SetMinimumPaneSize,(self,) + _args, _kwargs)
return val
def SetSplitMode(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SetSplitMode,(self,) + _args, _kwargs)
return val
def SplitHorizontally(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self,) + _args, _kwargs)
return val
def SplitVertically(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_SplitVertically,(self,) + _args, _kwargs)
return val
def Unsplit(self, *_args, **_kwargs):
val = apply(windows2c.wxSplitterWindow_Unsplit,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxSplitterWindow instance at %s>" % (self.this,)
class wxSplitterWindow(wxSplitterWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(windows2c.new_wxSplitterWindow,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------
wxGRID_TEXT_CTRL = windows2c.wxGRID_TEXT_CTRL
wxGRID_HSCROLL = windows2c.wxGRID_HSCROLL
wxGRID_VSCROLL = windows2c.wxGRID_VSCROLL
wxEVT_GRID_SELECT_CELL = windows2c.wxEVT_GRID_SELECT_CELL
wxEVT_GRID_CREATE_CELL = windows2c.wxEVT_GRID_CREATE_CELL
wxEVT_GRID_CHANGE_LABELS = windows2c.wxEVT_GRID_CHANGE_LABELS
wxEVT_GRID_CHANGE_SEL_LABEL = windows2c.wxEVT_GRID_CHANGE_SEL_LABEL
wxEVT_GRID_CELL_CHANGE = windows2c.wxEVT_GRID_CELL_CHANGE
wxEVT_GRID_CELL_LCLICK = windows2c.wxEVT_GRID_CELL_LCLICK
wxEVT_GRID_CELL_RCLICK = windows2c.wxEVT_GRID_CELL_RCLICK
wxEVT_GRID_LABEL_LCLICK = windows2c.wxEVT_GRID_LABEL_LCLICK
wxEVT_GRID_LABEL_RCLICK = windows2c.wxEVT_GRID_LABEL_RCLICK

View File

@@ -1,450 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: helpers.h
// Purpose: Helper functions/classes for the wxPython extenaion module
//
// Author: Robin Dunn
//
// Created: 7/1/97
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __wxp_helpers__
#define __wxp_helpers__
#include <wx/wx.h>
//----------------------------------------------------------------------
// if we want to handle threads and Python threads are available...
#if defined(WXP_USE_THREAD) && defined(WITH_THREAD)
#define WXP_WITH_THREAD
#define wxPy_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
#define wxPy_END_ALLOW_THREADS Py_END_ALLOW_THREADS
#else // no Python threads...
#undef WXP_WITH_THREAD
#define wxPy_BEGIN_ALLOW_THREADS
#define wxPy_END_ALLOW_THREADS
#endif
#ifdef WXP_WITH_THREAD
extern PyThreadState* wxPyEventThreadState;
extern bool wxPyInEvent;
#endif
//---------------------------------------------------------------------------
#if defined(__WXMSW__)
# define HELPEREXPORT __declspec(dllexport)
#else
# define HELPEREXPORT
#endif
//----------------------------------------------------------------------
class wxPyApp: public wxApp
{
public:
wxPyApp();
~wxPyApp();
int MainLoop(void);
bool OnInit(void);
//# void AfterMainLoop(void);
};
extern wxPyApp *wxPythonApp;
//----------------------------------------------------------------------
void __wxPreStart();
PyObject* __wxStart(PyObject*, PyObject* args);
extern PyObject* wxPython_dict;
PyObject* __wxSetDictionary(PyObject*, PyObject* args);
void wxPyEventThunker(wxObject*, wxEvent& event);
HELPEREXPORT PyObject* wxPyConstructObject(void* ptr, char* className);
//----------------------------------------------------------------------
#ifndef SWIGCODE
extern "C" void SWIG_MakePtr(char *, void *, char *);
extern "C" char *SWIG_GetPtr(char *, void **, char *);
#endif
#ifdef _MSC_VER
# pragma warning(disable:4800)
#endif
typedef unsigned char byte;
// Non-const versions to keep SWIG happy.
extern wxPoint wxPyDefaultPosition;
extern wxSize wxPyDefaultSize;
extern wxString wxPyEmptyStr;
//----------------------------------------------------------------------
class wxPyCallback : public wxObject {
public:
wxPyCallback(PyObject* func);
~wxPyCallback();
void EventThunker(wxEvent& event);
PyObject* m_func;
};
//---------------------------------------------------------------------------
// class wxPyMenu : public wxMenu {
// public:
// wxPyMenu(const wxString& title = "", PyObject* func=NULL);
// ~wxPyMenu();
// private:
// static void MenuCallback(wxMenu& menu, wxCommandEvent& evt);
// PyObject* func;
// };
//---------------------------------------------------------------------------
class wxPyTimer : public wxTimer {
public:
wxPyTimer(PyObject* callback);
~wxPyTimer();
void Notify();
private:
PyObject* func;
};
//---------------------------------------------------------------------------
class wxPyEvent : public wxCommandEvent {
DECLARE_DYNAMIC_CLASS(wxPyEvent)
public:
wxPyEvent(wxEventType commandType = wxEVT_NULL, PyObject* userData = Py_None);
~wxPyEvent();
void SetUserData(PyObject* userData);
PyObject* GetUserData();
private:
PyObject* m_userData;
};
//---------------------------------------------------------------------------
// This class holds an instance of a Python Shadow Class object and assists
// with looking up and invoking Python callback methods from C++ virtual
// method redirections. For all classes which have virtuals which should be
// overridable in wxPython, a new subclass is created that contains a
// wxPyCallbackHelper.
//---------------------------------------------------------------------------
class HELPEREXPORT wxPyCallbackHelper {
public:
wxPyCallbackHelper();
~wxPyCallbackHelper();
void setSelf(PyObject* self);
bool findCallback(const wxString& name);
int callCallback(PyObject* argTuple);
PyObject* callCallbackObj(PyObject* argTuple);
private:
PyObject* m_self;
PyObject* m_lastFound;
};
//---------------------------------------------------------------------------
// These macros are used to implement the virtual methods that should
// redirect to a Python method if one exists. The names designate the
// return type, if any as well as any parameter types.
//---------------------------------------------------------------------------
#define PYCALLBACK__(PCLASS, CBNAME) \
void CBNAME() { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("()")); \
else \
PCLASS::CBNAME(); \
} \
void base_##CBNAME() { \
PCLASS::CBNAME(); \
}
//---------------------------------------------------------------------------
#define PYPRIVATE \
void _setSelf(PyObject* self) { \
m_myInst.setSelf(self); \
} \
private: wxPyCallbackHelper m_myInst;
//---------------------------------------------------------------------------
#define PYCALLBACK_BOOL_INTINT(PCLASS, CBNAME) \
bool CBNAME(int a, int b) { \
if (m_myInst.findCallback(#CBNAME)) \
return m_myInst.callCallback(Py_BuildValue("(ii)",a,b)); \
else \
return PCLASS::CBNAME(a,b); \
} \
bool base_##CBNAME(int a, int b) { \
return PCLASS::CBNAME(a,b); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK_BOOL_INT(PCLASS, CBNAME) \
bool CBNAME(int a) { \
if (m_myInst.findCallback(#CBNAME)) \
return m_myInst.callCallback(Py_BuildValue("(i)",a)); \
else \
return PCLASS::CBNAME(a); \
} \
bool base_##CBNAME(int a) { \
return PCLASS::CBNAME(a); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK_BOOL_INT_pure(PCLASS, CBNAME) \
bool CBNAME(int a) { \
if (m_myInst.findCallback(#CBNAME)) \
return m_myInst.callCallback(Py_BuildValue("(i)",a)); \
else return false; \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DC(PCLASS, CBNAME) \
void CBNAME(wxDC& a) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(O)", \
wxPyConstructObject(&a, "wxDC"))); \
else \
PCLASS::CBNAME(a); \
} \
void base_##CBNAME(wxDC& a) { \
PCLASS::CBNAME(a); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
void CBNAME(wxDC& a, bool b) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oi)", \
wxPyConstructObject(&a, "wxDC"), (int)b)); \
else \
PCLASS::CBNAME(a, b); \
} \
void base_##CBNAME(wxDC& a, bool b) { \
PCLASS::CBNAME(a, b); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
void CBNAME(wxDC& a, bool b) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oi)", \
wxPyConstructObject(&a, "wxDC"), (int)b)); \
else \
PCLASS::CBNAME(a, b); \
} \
void base_##CBNAME(wxDC& a, bool b) { \
PCLASS::CBNAME(a, b); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__2DBL(PCLASS, CBNAME) \
void CBNAME(double a, double b) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(dd)",a,b)); \
else \
PCLASS::CBNAME(a, b); \
} \
void base_##CBNAME(double a, double b) { \
PCLASS::CBNAME(a, b); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__2DBL2INT(PCLASS, CBNAME) \
void CBNAME(double a, double b, int c, int d) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(ddii)", \
a,b,c,d)); \
else \
PCLASS::CBNAME(a, b, c, d); \
} \
void base_##CBNAME(double a, double b, int c, int d) { \
PCLASS::CBNAME(a, b, c, d); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DC4DBLBOOL(PCLASS, CBNAME) \
void CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oddddi)", \
wxPyConstructObject(&a, "wxDC"), \
b, c, d, e, (int)f)); \
else \
PCLASS::CBNAME(a, b, c, d, e, f); \
} \
void base_##CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
PCLASS::CBNAME(a, b, c, d, e, f); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK_BOOL_DC4DBLBOOL(PCLASS, CBNAME) \
bool CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
if (m_myInst.findCallback(#CBNAME)) \
return m_myInst.callCallback(Py_BuildValue("(Oddddi)", \
wxPyConstructObject(&a, "wxDC"), \
b, c, d, e, (int)f)); \
else \
return PCLASS::CBNAME(a, b, c, d, e, f); \
} \
bool base_##CBNAME(wxDC& a, double b, double c, double d, double e, bool f) {\
return PCLASS::CBNAME(a, b, c, d, e, f); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__BOOL2DBL2INT(PCLASS, CBNAME) \
void CBNAME(bool a, double b, double c, int d, int e) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(idii)", \
(int)a,b,c,d,e)); \
else \
PCLASS::CBNAME(a, b, c, d, e); \
} \
void base_##CBNAME(bool a, double b, double c, int d, int e) { \
PCLASS::CBNAME(a, b, c, d, e); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DC4DBL(PCLASS, CBNAME) \
void CBNAME(wxDC& a, double b, double c, double d, double e) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Odddd)", \
wxPyConstructObject(&a, "wxDC"), \
b, c, d, e)); \
else \
PCLASS::CBNAME(a, b, c, d, e); \
} \
void base_##CBNAME(wxDC& a, double b, double c, double d, double e) {\
PCLASS::CBNAME(a, b, c, d, e); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__DCBOOL(PCLASS, CBNAME) \
void CBNAME(wxDC& a, bool b) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oi)", \
wxPyConstructObject(&a, "wxDC"), \
(int)b)); \
else \
PCLASS::CBNAME(a, b); \
} \
void base_##CBNAME(wxDC& a, bool b) { \
PCLASS::CBNAME(a, b); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__WXCPBOOL2DBL2INT(PCLASS, CBNAME) \
void CBNAME(wxControlPoint* a, bool b, double c, double d, \
int e, int f) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oiddii)", \
wxPyConstructObject(a, "wxControlPoint"),\
(int)b, c, d, e, f)); \
else \
PCLASS::CBNAME(a, b, c, d, e, f); \
} \
void base_##CBNAME(wxControlPoint* a, bool b, double c, double d, \
int e, int f) { \
PCLASS::CBNAME(a, b, c, d, e, f); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__WXCP2DBL2INT(PCLASS, CBNAME) \
void CBNAME(wxControlPoint* a, double b, double c, int d, int e) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(Oddii)", \
wxPyConstructObject(a, "wxControlPoint"),\
b, c, d, e)); \
else \
PCLASS::CBNAME(a, b, c, d, e); \
} \
void base_##CBNAME(wxControlPoint* a, double b, double c, \
int d, int e) { \
PCLASS::CBNAME(a, b, c, d, e); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__2DBLINT(PCLASS, CBNAME) \
void CBNAME(double a, double b, int c) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(ddi)", a,b,c)); \
else \
PCLASS::CBNAME(a, b, c); \
} \
void base_##CBNAME(double a, double b, int c) { \
PCLASS::CBNAME(a, b, c); \
}
//---------------------------------------------------------------------------
#define PYCALLBACK__BOOL2DBLINT(PCLASS, CBNAME) \
void CBNAME(bool a, double b, double c, int d) { \
if (m_myInst.findCallback(#CBNAME)) \
m_myInst.callCallback(Py_BuildValue("(iddi)", (int)a,b,c,d));\
else \
PCLASS::CBNAME(a, b, c, d); \
} \
void base_##CBNAME(bool a, double b, double c, int d) { \
PCLASS::CBNAME(a, b, c, d); \
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif

View File

@@ -1,64 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: misc2.i
// Purpose: Definitions of miscelaneous functions and classes that need
// to know about wxWindow. (So they can't be in misc.i or an
// import loop will happen.)
//
// Author: Robin Dunn
//
// Created: 18-June-1999
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module misc2
%{
#include "helpers.h"
#include <wx/resource.h>
#include <wx/tooltip.h>
%}
//----------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
// Import some definitions of other classes, etc.
%import _defs.i
%import windows.i
//----------------------------------------------------------------------
wxWindow * wxFindWindowByLabel(const wxString& label, wxWindow *parent=NULL);
wxWindow * wxFindWindowByName(const wxString& name, wxWindow *parent=NULL);
//---------------------------------------------------------------------------
// wxToolTip
class wxToolTip {
public:
wxToolTip(const wxString &tip);
void SetTip(const wxString& tip);
wxString GetTip();
// *** Not in the "public" interface void SetWindow(wxWindow *win);
wxWindow *GetWindow();
};
%inline %{
void wxToolTip_Enable(bool flag) {
wxToolTip::Enable(flag);
}
void wxToolTip_SetDelay(long milliseconds) {
wxToolTip::SetDelay(milliseconds);
}
%}
//----------------------------------------------------------------------
//----------------------------------------------------------------------

View File

@@ -1,578 +0,0 @@
/*
* FILE : msw/misc2.cpp
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Build 794)
*
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
*
* Do not make changes to this file--changes will be lost!
*
*/
#define SWIGCODE
/* Implementation : PYTHON */
#define SWIGPYTHON
#include <string.h>
#include <stdlib.h>
/* Definitions for Windows/Unix exporting */
#if defined(__WIN32__)
# if defined(_MSC_VER)
# define SWIGEXPORT(a) __declspec(dllexport) a
# else
# if defined(__BORLANDC__)
# define SWIGEXPORT(a) a _export
# else
# define SWIGEXPORT(a) a
# endif
# endif
#else
# define SWIGEXPORT(a) a
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "Python.h"
extern void SWIG_MakePtr(char *, void *, char *);
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
extern char *SWIG_GetPtr(char *, void **, char *);
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
extern PyObject *SWIG_newvarlink(void);
#ifdef __cplusplus
}
#endif
#define SWIG_init initmisc2c
#define SWIG_name "misc2c"
#include "helpers.h"
#include <wx/resource.h>
#include <wx/tooltip.h>
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyList_Check(target)) {
o2 = target;
target = PyList_New(0);
PyList_Append(target, o2);
Py_XDECREF(o2);
}
PyList_Append(target,o);
Py_XDECREF(o);
}
return target;
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return target;
}
extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
static char* wxStringErrorMsg = "string type is required for parameter";
void wxToolTip_Enable(bool flag) {
wxToolTip::Enable(flag);
}
void wxToolTip_SetDelay(long milliseconds) {
wxToolTip::SetDelay(milliseconds);
}
#ifdef __cplusplus
extern "C" {
#endif
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "label","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "name","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
bool _arg0;
int tempbool0;
char *_kwnames[] = { "flag", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
return NULL;
_arg0 = (bool ) tempbool0;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_Enable(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
long _arg0;
char *_kwnames[] = { "milliseconds", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
return NULL;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetDelay(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _result;
wxString * _arg0;
PyObject * _obj0 = 0;
char *_kwnames[] = { "tip", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxToolTip *)new_wxToolTip(*_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _arg0;
wxString * _arg1;
PyObject * _argo0 = 0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","tip", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetTip(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
delete _arg1;
}
return _resultobj;
}
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxString * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = new wxString (wxToolTip_GetTip(_arg0));
wxPy_END_ALLOW_THREADS;
}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
}
return _resultobj;
}
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxToolTip_GetWindow(_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
return _resultobj;
}
static PyMethodDef misc2cMethods[] = {
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL }
};
#ifdef __cplusplus
}
#endif
/*
* This table is used by the pointer type-checker
*/
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
{ "_signed_long","_long",0},
{ "_wxPrintQuality","_int",0},
{ "_wxPrintQuality","_signed_int",0},
{ "_wxPrintQuality","_unsigned_int",0},
{ "_wxPrintQuality","_wxWindowID",0},
{ "_wxPrintQuality","_uint",0},
{ "_wxPrintQuality","_EBool",0},
{ "_wxPrintQuality","_size_t",0},
{ "_class_wxRegionIterator","_wxRegionIterator",0},
{ "_class_wxMenuBar","_wxMenuBar",0},
{ "_class_wxEvtHandler","_wxEvtHandler",0},
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
{ "_wxCursor","_class_wxCursor",0},
{ "_wxMask","_class_wxMask",0},
{ "_wxToolTip","_class_wxToolTip",0},
{ "_wxPen","_class_wxPen",0},
{ "_byte","_unsigned_char",0},
{ "_long","_wxDash",0},
{ "_long","_unsigned_long",0},
{ "_long","_signed_long",0},
{ "_wxImageList","_class_wxImageList",0},
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
{ "_wxDC","_class_wxDC",0},
{ "_size_t","_wxPrintQuality",0},
{ "_size_t","_unsigned_int",0},
{ "_size_t","_int",0},
{ "_size_t","_wxWindowID",0},
{ "_size_t","_uint",0},
{ "_class_wxRealPoint","_wxRealPoint",0},
{ "_wxPrinterDC","_class_wxPrinterDC",0},
{ "_class_wxMenuItem","_wxMenuItem",0},
{ "_wxPanel","_class_wxPanel",0},
{ "_class_wxMask","_wxMask",0},
{ "_class_wxToolTip","_wxToolTip",0},
{ "_wxColour","_class_wxColour",0},
{ "_class_wxDialog","_wxDialog",0},
{ "_wxBrush","_class_wxBrush",0},
{ "_uint","_wxPrintQuality",0},
{ "_uint","_size_t",0},
{ "_uint","_unsigned_int",0},
{ "_uint","_int",0},
{ "_uint","_wxWindowID",0},
{ "_wxRect","_class_wxRect",0},
{ "_wxPoint","_class_wxPoint",0},
{ "_wxBitmap","_class_wxBitmap",0},
{ "_wxPyTimer","_class_wxPyTimer",0},
{ "_wxWindowDC","_class_wxWindowDC",0},
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
{ "_EBool","_wxPrintQuality",0},
{ "_EBool","_signed_int",0},
{ "_EBool","_int",0},
{ "_EBool","_wxWindowID",0},
{ "_class_wxRegion","_wxRegion",0},
{ "_wxFont","_class_wxFont",0},
{ "_unsigned_long","_wxDash",0},
{ "_unsigned_long","_long",0},
{ "_class_wxRect","_wxRect",0},
{ "_class_wxDC","_wxDC",0},
{ "_class_wxPyTimer","_wxPyTimer",0},
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
{ "_class_wxPanel","_wxPanel",0},
{ "_signed_int","_wxPrintQuality",0},
{ "_signed_int","_EBool",0},
{ "_signed_int","_wxWindowID",0},
{ "_signed_int","_int",0},
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
{ "_wxMetaFileDC","_class_wxMetaFileDC",0},
{ "_wxMenu","_class_wxMenu",0},
{ "_wxScreenDC","_class_wxScreenDC",0},
{ "_WXTYPE","_short",0},
{ "_WXTYPE","_signed_short",0},
{ "_WXTYPE","_unsigned_short",0},
{ "_class_wxBrush","_wxBrush",0},
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",0},
{ "_class_wxWindow","_wxWindow",0},
{ "_class_wxFont","_wxFont",0},
{ "_wxClientDC","_class_wxClientDC",0},
{ "_class_wxPoint","_wxPoint",0},
{ "_wxRealPoint","_class_wxRealPoint",0},
{ "_signed_short","_WXTYPE",0},
{ "_signed_short","_short",0},
{ "_wxMemoryDC","_class_wxMemoryDC",0},
{ "_wxPaintDC","_class_wxPaintDC",0},
{ "_class_wxWindowDC","_wxWindowDC",0},
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
{ "_class_wxCursor","_wxCursor",0},
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
{ "_unsigned_char","_byte",0},
{ "_class_wxMetaFileDC","_wxMetaFileDC",0},
{ "_class_wxMenu","_wxMenu",0},
{ "_unsigned_int","_wxPrintQuality",0},
{ "_unsigned_int","_size_t",0},
{ "_unsigned_int","_uint",0},
{ "_unsigned_int","_wxWindowID",0},
{ "_unsigned_int","_int",0},
{ "_wxIcon","_class_wxIcon",0},
{ "_wxDialog","_class_wxDialog",0},
{ "_class_wxPen","_wxPen",0},
{ "_short","_WXTYPE",0},
{ "_short","_unsigned_short",0},
{ "_short","_signed_short",0},
{ "_class_wxImageList","_wxImageList",0},
{ "_wxWindowID","_wxPrintQuality",0},
{ "_wxWindowID","_size_t",0},
{ "_wxWindowID","_EBool",0},
{ "_wxWindowID","_uint",0},
{ "_wxWindowID","_int",0},
{ "_wxWindowID","_signed_int",0},
{ "_wxWindowID","_unsigned_int",0},
{ "_int","_wxPrintQuality",0},
{ "_int","_size_t",0},
{ "_int","_EBool",0},
{ "_int","_uint",0},
{ "_int","_wxWindowID",0},
{ "_int","_unsigned_int",0},
{ "_int","_signed_int",0},
{ "_wxSize","_class_wxSize",0},
{ "_wxRegionIterator","_class_wxRegionIterator",0},
{ "_class_wxPrinterDC","_wxPrinterDC",0},
{ "_class_wxPaintDC","_wxPaintDC",0},
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
{ "_class_wxIcon","_wxIcon",0},
{ "_class_wxColour","_wxColour",0},
{ "_class_wxScreenDC","_wxScreenDC",0},
{ "_wxPalette","_class_wxPalette",0},
{ "_wxRegion","_class_wxRegion",0},
{ "_class_wxClientDC","_wxClientDC",0},
{ "_class_wxSize","_wxSize",0},
{ "_class_wxBitmap","_wxBitmap",0},
{ "_class_wxMemoryDC","_wxMemoryDC",0},
{ "_wxMenuBar","_class_wxMenuBar",0},
{ "_wxEvtHandler","_class_wxEvtHandler",0},
{ "_wxMenuItem","_class_wxMenuItem",0},
{ "_wxDash","_unsigned_long",0},
{ "_wxDash","_long",0},
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
{ "_class_wxPalette","_wxPalette",0},
{ "_wxWindow","_class_wxWindow",0},
{0,0,0}};
static PyObject *SWIG_globals;
#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT(void) initmisc2c() {
PyObject *m, *d;
SWIG_globals = SWIG_newvarlink();
m = Py_InitModule("misc2c", misc2cMethods);
d = PyModule_GetDict(m);
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
}
}

View File

@@ -1,54 +0,0 @@
# This file was created automatically by SWIG.
import misc2c
from windows import *
from misc import *
from gdi import *
class wxToolTipPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def SetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
return val
def GetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def __repr__(self):
return "<C wxToolTip instance at %s>" % (self.this,)
class wxToolTip(wxToolTipPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
def wxFindWindowByLabel(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
def wxFindWindowByName(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
wxToolTip_Enable = misc2c.wxToolTip_Enable
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,261 +0,0 @@
# This file was created automatically by SWIG.
import stattoolc
from misc import *
from windows import *
from gdi import *
from controls import *
from events import *
import wx
class wxStatusBarPtr(wxWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetFieldRect(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetFieldRect,(self,) + _args, _kwargs)
if val: val = wxRectPtr(val) ; val.thisown = 1
return val
def GetFieldsCount(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetFieldsCount,(self,) + _args, _kwargs)
return val
def GetStatusText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_GetStatusText,(self,) + _args, _kwargs)
return val
def DrawField(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_DrawField,(self,) + _args, _kwargs)
return val
def DrawFieldText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_DrawFieldText,(self,) + _args, _kwargs)
return val
def InitColours(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_InitColours,(self,) + _args, _kwargs)
return val
def SetFieldsCount(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetFieldsCount,(self,) + _args, _kwargs)
return val
def SetStatusText(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetStatusText,(self,) + _args, _kwargs)
return val
def SetStatusWidths(self, *_args, **_kwargs):
val = apply(stattoolc.wxStatusBar_SetStatusWidths,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxStatusBar instance at %s>" % (self.this,)
class wxStatusBar(wxStatusBarPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxStatusBar,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
class wxToolBarToolPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,stattoolc=stattoolc):
if self.thisown == 1 :
stattoolc.delete_wxToolBarTool(self)
def SetSize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarTool_SetSize,(self,) + _args, _kwargs)
return val
def GetWidth(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarTool_GetWidth,(self,) + _args, _kwargs)
return val
def GetHeight(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBarTool_GetHeight,(self,) + _args, _kwargs)
return val
def __setattr__(self,name,value):
if name == "m_toolStyle" :
stattoolc.wxToolBarTool_m_toolStyle_set(self,value)
return
if name == "m_clientData" :
stattoolc.wxToolBarTool_m_clientData_set(self,value)
return
if name == "m_index" :
stattoolc.wxToolBarTool_m_index_set(self,value)
return
if name == "m_x" :
stattoolc.wxToolBarTool_m_x_set(self,value)
return
if name == "m_y" :
stattoolc.wxToolBarTool_m_y_set(self,value)
return
if name == "m_width" :
stattoolc.wxToolBarTool_m_width_set(self,value)
return
if name == "m_height" :
stattoolc.wxToolBarTool_m_height_set(self,value)
return
if name == "m_toggleState" :
stattoolc.wxToolBarTool_m_toggleState_set(self,value)
return
if name == "m_isToggle" :
stattoolc.wxToolBarTool_m_isToggle_set(self,value)
return
if name == "m_deleteSecondBitmap" :
stattoolc.wxToolBarTool_m_deleteSecondBitmap_set(self,value)
return
if name == "m_enabled" :
stattoolc.wxToolBarTool_m_enabled_set(self,value)
return
if name == "m_bitmap1" :
stattoolc.wxToolBarTool_m_bitmap1_set(self,value.this)
return
if name == "m_bitmap2" :
stattoolc.wxToolBarTool_m_bitmap2_set(self,value.this)
return
if name == "m_isMenuCommand" :
stattoolc.wxToolBarTool_m_isMenuCommand_set(self,value)
return
if name == "m_shortHelpString" :
stattoolc.wxToolBarTool_m_shortHelpString_set(self,value)
return
if name == "m_longHelpString" :
stattoolc.wxToolBarTool_m_longHelpString_set(self,value)
return
self.__dict__[name] = value
def __getattr__(self,name):
if name == "m_toolStyle" :
return stattoolc.wxToolBarTool_m_toolStyle_get(self)
if name == "m_clientData" :
return stattoolc.wxToolBarTool_m_clientData_get(self)
if name == "m_index" :
return stattoolc.wxToolBarTool_m_index_get(self)
if name == "m_x" :
return stattoolc.wxToolBarTool_m_x_get(self)
if name == "m_y" :
return stattoolc.wxToolBarTool_m_y_get(self)
if name == "m_width" :
return stattoolc.wxToolBarTool_m_width_get(self)
if name == "m_height" :
return stattoolc.wxToolBarTool_m_height_get(self)
if name == "m_toggleState" :
return stattoolc.wxToolBarTool_m_toggleState_get(self)
if name == "m_isToggle" :
return stattoolc.wxToolBarTool_m_isToggle_get(self)
if name == "m_deleteSecondBitmap" :
return stattoolc.wxToolBarTool_m_deleteSecondBitmap_get(self)
if name == "m_enabled" :
return stattoolc.wxToolBarTool_m_enabled_get(self)
if name == "m_bitmap1" :
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap1_get(self))
if name == "m_bitmap2" :
return wxBitmapPtr(stattoolc.wxToolBarTool_m_bitmap2_get(self))
if name == "m_isMenuCommand" :
return stattoolc.wxToolBarTool_m_isMenuCommand_get(self)
if name == "m_shortHelpString" :
return stattoolc.wxToolBarTool_m_shortHelpString_get(self)
if name == "m_longHelpString" :
return stattoolc.wxToolBarTool_m_longHelpString_get(self)
raise AttributeError,name
def __repr__(self):
return "<C wxToolBarTool instance at %s>" % (self.this,)
class wxToolBarTool(wxToolBarToolPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxToolBarTool,_args,_kwargs)
self.thisown = 1
class wxToolBarPtr(wxControlPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def AddSeparator(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddSeparator,(self,) + _args, _kwargs)
return val
def AddTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddTool,(self,) + _args, _kwargs)
if val: val = wxToolBarToolPtr(val)
return val
def AddSimpleTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_AddSimpleTool,(self,) + _args, _kwargs)
if val: val = wxToolBarToolPtr(val)
return val
def EnableTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_EnableTool,(self,) + _args, _kwargs)
return val
def FindToolForPosition(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs)
if val: val = wxToolBarToolPtr(val)
return val
def GetToolSize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def GetToolBitmapSize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolBitmapSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def SetToolBitmapSize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolBitmapSize,(self,) + _args, _kwargs)
return val
def GetMaxSize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetMaxSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def GetToolEnabled(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolEnabled,(self,) + _args, _kwargs)
return val
def GetToolLongHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolLongHelp,(self,) + _args, _kwargs)
return val
def GetToolPacking(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolPacking,(self,) + _args, _kwargs)
return val
def GetToolSeparation(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolSeparation,(self,) + _args, _kwargs)
return val
def GetToolShortHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolShortHelp,(self,) + _args, _kwargs)
return val
def GetToolState(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_GetToolState,(self,) + _args, _kwargs)
return val
def Realize(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_Realize,(self,) + _args, _kwargs)
return val
def SetToolLongHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolLongHelp,(self,) + _args, _kwargs)
return val
def SetToolShortHelp(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolShortHelp,(self,) + _args, _kwargs)
return val
def SetMargins(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetMargins,(self,) + _args, _kwargs)
return val
def SetToolPacking(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolPacking,(self,) + _args, _kwargs)
return val
def SetToolSeparation(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_SetToolSeparation,(self,) + _args, _kwargs)
return val
def ToggleTool(self, *_args, **_kwargs):
val = apply(stattoolc.wxToolBar_ToggleTool,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxToolBar instance at %s>" % (self.this,)
class wxToolBar(wxToolBarPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(stattoolc.new_wxToolBar,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

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