Compare commits

..

2441 Commits

Author SHA1 Message Date
Bryan Petty
ca7f8f3d51 This commit was manufactured by cvs2svn to create tag 'Py-0-9-3'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/Py-0-9-3@23916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:54:58 +00:00
Patrick K. O'Brien
db90456c7a new minor version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:54:58 +00:00
Robin Dunn
8faa1f356d Increase the initial size of the log window a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:50:49 +00:00
Robin Dunn
4f62b37a95 Fix sample so it works correctly when NUmeric is not installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:43:59 +00:00
Robin Dunn
a8a844ded4 Added Chris Barker's FloatCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:28:19 +00:00
Robin Dunn
72f7f6a467 Fix some refresh issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:53:33 +00:00
Robin Dunn
aaf015186e Use newevent module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:43:31 +00:00
Robin Dunn
f0e615b6ab Updates to wxMaskedEditCtrl.
Added wxMaskedNumCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:29:40 +00:00
Patrick K. O'Brien
3adf0c5b2b whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 13:19:28 +00:00
Patrick K. O'Brien
06f8e28786 Allow stubs to run if called directly. Kevin Altis requested this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 13:14:11 +00:00
Robin Dunn
e4cfa0ee7f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 22:42:42 +00:00
Robin Dunn
31f9c02b94 Fixed typos and SWIG #ifdef stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 22:37:43 +00:00
Robin Dunn
07b0a4da6d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 19:13:51 +00:00
Chris Elliott
8b497a012c compile with motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:56:21 +00:00
Chris Elliott
f531d3c4d4 compile for motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:54:00 +00:00
Vadim Zeitlin
f9a53b0880 no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 13:38:51 +00:00
Julian Smart
7abe75210f Tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 08:20:34 +00:00
Robin Dunn
1aad7d9118 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:37:56 +00:00
Robin Dunn
3a78892d31 Added wxPython.lib.newevent from Miki Tebeka
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:37:40 +00:00
Robin Dunn
5e899a81d9 fixed indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:22:50 +00:00
Robin Dunn
b4d05d410b Applied Patch #775357
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:21:17 +00:00
Robin Dunn
8c5d4072b1 Allow derived classes to prevent default focus handling (by not
calling Skip)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:48:17 +00:00
Robin Dunn
7ba2b66675 Fixes in focus handling related to the AutoComplete window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:42:41 +00:00
Mattia Barbon
74b4ca1c60 Add a couple of wxPerl notes.
Mark keyed wxList methods as deprecated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 19:29:23 +00:00
Robin Dunn
15b6268b64 Install runtime libs to a versioned directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:44:38 +00:00
Robin Dunn
2034324361 Moved the hack for the Carbon header compile error to helpers.h so
other modules will see it if needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:28:19 +00:00
Robin Dunn
cad8feccb8 Added notes about building on Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:26:05 +00:00
Robin Dunn
0bf23aa272 HitTest patch from Alberto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:15:43 +00:00
Robin Dunn
9f1b05c6ed reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:15:11 +00:00
Robin Dunn
5e0a6ccf92 dropped the prerelease flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 16:14:33 +00:00
Robin Dunn
0b51434e6e demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 02:04:38 +00:00
Robin Dunn
d4d9af78c2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 02:03:19 +00:00
Robin Dunn
198c577357 Initialize the default tool width and height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:14:07 +00:00
Robin Dunn
467760b6d4 Recoded images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:04:51 +00:00
Robin Dunn
f3927bf5d3 Changes when/how the wxApp object is created.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:02:36 +00:00
Robin Dunn
f00a46313d Fixed some float --> int conversion warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:30:35 +00:00
Robin Dunn
aa22c8def6 ReSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:29:34 +00:00
Robin Dunn
191845f266 Add wxTrap wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:28:57 +00:00
Robin Dunn
83fbc2a202 Fix a compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:28:31 +00:00
Robin Dunn
935835b927 Fix a return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:28:19 +00:00
Robin Dunn
228401620b Tweak wxCOlour.__repr__ and add wxRegionIterator.__nonzero__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:28:06 +00:00
Robin Dunn
52245f7a59 Catch exception when signal is used in the non-main thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:26:08 +00:00
Robin Dunn
78856556a9 Version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:25:08 +00:00
Robin Dunn
cde2e5f7f3 Change some wxASSERT's to wxCHECK's so the offending code will safely
be skipped instead of causing a crash.  (Backported from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:07:55 +00:00
Robin Dunn
1cca2da448 Init wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:04:45 +00:00
Robin Dunn
5f00f92581 demo tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:02:46 +00:00
Robin Dunn
6be25ecd5c ReSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 21:55:30 +00:00
Robin Dunn
0aae3952c7 Fixed GetPoints. Since wxRealPoint is not an wxObject I can't use the
helper function here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 21:53:33 +00:00
Robin Dunn
0b2c06fef3 Added some missing constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 21:52:17 +00:00
Vadim Zeitlin
0bbf4cf70c fixed bug in DeleteEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 20:36:58 +00:00
Julian Smart
a974cefd4d Must use --disable-fs_inet to prevent chkconf error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:12:46 +00:00
Julian Smart
d093b6cee2 Tweaks for wxMGL RPM production
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:10:12 +00:00
Julian Smart
6784a588c5 More SC makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 10:42:50 +00:00
Julian Smart
9902e8a2f8 Added Symantec files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 10:39:40 +00:00
Chris Elliott
68cbf3f89f fix for gtk swapped colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 09:44:57 +00:00
Chris Elliott
7993dbdd97 SF patch [ 773930 ] Fix for OpenWatcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 09:16:20 +00:00
Julian Smart
455b55a6a8 Fixed precompiled header settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 08:03:58 +00:00
Julian Smart
57b939855d Added missing files to project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 07:52:28 +00:00
Vadim Zeitlin
889285fd21 don't return & in strings returned by GetLabelTop() (closes 687905)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 15:22:15 +00:00
Julian Smart
ec5b49cf64 Corrected date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 12:45:27 +00:00
Vadim Zeitlin
18d69bb3bb regenerated after --rezflags change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 12:03:07 +00:00
Vadim Zeitlin
3c775050a0 fixed wx-config --rezflags output on platforms != Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 11:18:41 +00:00
Julian Smart
bb676f2daf Killed un-dead file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 08:43:12 +00:00
Julian Smart
8bb3c88570 Regenerated configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 08:40:25 +00:00
Vadim Zeitlin
07421d20b5 memory leak fixes in file dialogs (patch 783812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 00:06:05 +00:00
Vadim Zeitlin
032b711c92 backported IPAddress() from HEAD (patch 793048)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:50:10 +00:00
Stefan Neis
144c947fab Testing creation of some typical sub-windows without WS_VISIBLE style
(Those seem to not use it under MSW either...).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 22:58:39 +00:00
Stefan Neis
cda910b673 Configure scripts for all wxWindows-2.4.2 ports on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 21:47:14 +00:00
Stefan Neis
5c44c2ff04 Updated OS/2 specific part of the installation instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 21:17:20 +00:00
Vadim Zeitlin
c8434ee2f4 corrected nativ(e)dlg sample name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 19:39:26 +00:00
Vadim Zeitlin
30097f6f29 updated version to 2.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 19:38:26 +00:00
Stefan Neis
d05a1ebd09 Adapted MAKE_SHELL/MAKESHELL to current make versions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 19:00:31 +00:00
Robin Dunn
44aaf1af69 Check wxSIZE_ALLOW_MINUS_ONE for x and y too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:32:24 +00:00
Václav Slavík
ce720741f0 Fix wxZipFSHandler behaviour when used with relative filenames with ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:51:44 +00:00
Václav Slavík
e0ea65c81b backported intl.cpp fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 21:45:03 +00:00
Robin Dunn
bbb24b614a Prevent possible divide by zero problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 20:27:11 +00:00
Robin Dunn
3e01b8d2cb Patch #809286 and a couple other minor changes to the stc sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 18:40:13 +00:00
Julian Smart
5ea8a0241b Applied patch [ 809066 ] Cleanup for text2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 16:09:29 +00:00
Chris Elliott
cf1ae91a8c fix stctest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 09:06:12 +00:00
Chris Elliott
1ae1842962 fix if unicode bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 07:51:28 +00:00
Vadim Zeitlin
ec58a24047 check whether input stream is readable in OpenFile() (patch 808941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 00:01:08 +00:00
Robin Dunn
ac0f346dca Added DoDragOver and DoDropText from Angelo Mandato, and ensured that
my unicode LoadFile/SaveFile changes were in the .in file this time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 22:28:25 +00:00
Robin Dunn
faa232e903 Added missing }
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 20:40:41 +00:00
Robin Dunn
c7b539b354 Updated wxSTC in 2.4 branch to Scintilla 1.54.
Also includes patches from ABX and new sample from Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 18:14:34 +00:00
Bryan Petty
3bfecd48e0 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 18:14:34 +00:00
Julian Smart
cb3e6a679e Applied patch submitted with bug [ 808130 ] Configure-based builds produce crippled library
Adds
wxUSE_IMAGE_LOADING_IN_MSW
wxUSE_RESOURCE_LOADING_IN_MSW
to configure


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:21:33 +00:00
Julian Smart
539125ef9c Applied patch [ 808125 ] wxString::PrintfV() truncating at 1024 bytes string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:10:16 +00:00
Julian Smart
d1ce423c3e Applied patch [ 808328 ] restore border styles for wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 13:03:27 +00:00
Stefan Csomor
c1cdbd128c clip region fix backported for fast port setter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 11:35:32 +00:00
Vadim Zeitlin
0e3585e9b8 tool windows shouldn't appear on the taskbar (patch 808350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 11:32:09 +00:00
Robin Dunn
75cf127cf9 Added character coding comment for Python 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 20:22:15 +00:00
Robin Dunn
9245f5cd38 Unicode fix from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 20:21:28 +00:00
Vadim Zeitlin
3450d39e45 compilation fix for Unicode && compatibility_2 (bug 807764)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 11:39:26 +00:00
Robin Dunn
2a1d234f6c Updated version number and fixed oglmisc.cpp filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 17:14:03 +00:00
Robin Dunn
05ed6a12d4 Ensure that the native font is initialized so the face name and such
are valid


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:27:47 +00:00
Vadim Zeitlin
72213c85e9 wxNavigationKeyEvent doesn't derive from wxCommandEvent (but from wxEvent)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 11:00:51 +00:00
Vadim Zeitlin
1c4a0ca4c1 backport: adjust m_current when inserting items in the control (patch 799937)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 23:01:58 +00:00
Julian Smart
7e6e96f608 Changed version to 2.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 19:22:35 +00:00
Václav Slavík
e59fcce8b5 backported style flags fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 11:05:52 +00:00
Julian Smart
f8480f281c Applied patch [ 805147 ] GDI objects are not deselected from DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 16:08:47 +00:00
Roman Rolinsky
3dd0697400 slightly changed text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 09:58:37 +00:00
Roman Rolinsky
0e573042c4 Fixed problems with wxStaticBitmap (stock_id attribute, icon type
switching).

Changed some dimensions in properties panel elements.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 09:45:35 +00:00
Robert Roebling
82dc259d6c Filter out triple click events entirely rather than confusing
everyone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 18:37:11 +00:00
Václav Slavík
31aa986e27 backported better classinfo test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 19:20:03 +00:00
Vadim Zeitlin
259da6c52a backported wxHTTPStream EOF fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 16:38:50 +00:00
Robert Roebling
9d7fde109c Test if g_thread alreasy is initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 14:32:25 +00:00
Gilles Depeyrot
652a4489b8 remove gdb debug related configuration option which causes problems with Apple D
eveloper Tools assembler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 05:50:46 +00:00
Robert Roebling
84a4784aba Applied fixes for
memory leaks in file dialog and font dialog
    miniframe drawing prob
    file object for dragging


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 18:02:27 +00:00
Mattia Barbon
3f8d9bc981 Updated Italian translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 14:30:01 +00:00
Stefan Neis
a13500d541 Insure that messages are posted to the main threads event loop,
instead of sending them to the thread-local event loop
        (which typically does not exist under wxWindows).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 17:50:12 +00:00
Stefan Neis
8db2ef43d0 Initialize PM subsystem in every thread, to enable sending messages to the GUI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 12:49:04 +00:00
Mattia Barbon
4066177bfd Added a couple of wxPerl notes. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 22:21:45 +00:00
Chris Elliott
d461d28e0e fix makefile for digitalmars to build taskbar sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 14:35:49 +00:00
Chris Elliott
bbd3070ca3 fix makefile for digitalmars to build joytest sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-03 14:25:13 +00:00
Chris Elliott
1f4514b378 partial fix for digital mars compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 12:54:58 +00:00
Chris Elliott
805a614d5a fix digital mars compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 12:48:54 +00:00
Vadim Zeitlin
849e641411 set array size correctly in wxArrayString::Shrink() (bug 797758)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:55:43 +00:00
Stefan Neis
bf2b70693b Fixed several bugs in threading code for OS/2. Thread sample now working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:44:14 +00:00
Václav Slavík
9fb83fe107 Content-Type parsing should be case insensitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 09:59:00 +00:00
Stefan Csomor
857a68a6a8 masking out yes/no/cancel flags before creating top level window (backport from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 07:46:29 +00:00
Stefan Csomor
3a0bd3d5cd -1 , -1 for SetSelection improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 14:49:11 +00:00
Václav Slavík
9f4a5bc2c7 unknown container now accepts wxNO_FULL_REPAINT_ON_RESIZE flag (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 10:48:41 +00:00
Václav Slavík
6eae09a1aa unknown container now accepts wxNO_FULL_REPAINT_ON_RESIZE flag (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 10:40:43 +00:00
Václav Slavík
c14dc56ac0 wxCheckList -> wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 09:36:54 +00:00
Julian Smart
5eace63e83 Added notes for OnPreparePrinting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 08:47:00 +00:00
Chris Elliott
ca7f743abb fix for d mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:53:48 +00:00
Chris Elliott
b1724637b8 fix for d mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:20:21 +00:00
Chris Elliott
6683f9b239 fix for d mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:09:33 +00:00
Chris Elliott
ee8a3ffa4f fix build for digital mars 8.35 and grid samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:05:41 +00:00
Robin Dunn
b1aaaadc5a avoid a bug in Carbon headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 20:22:05 +00:00
Julian Smart
914a37e5fd Fixed redefinition of i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 18:42:38 +00:00
Julian Smart
6b6a271f4d Fix for missing CCS_VERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 14:27:05 +00:00
Julian Smart
0d8391fdd2 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 10:02:04 +00:00
Stefan Neis
cec2758435 More fixes/improvements for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 11:35:13 +00:00
Stefan Neis
9c075e212d Fixed compile error (seen on OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 10:19:37 +00:00
Stefan Neis
22d0d332bd Removed superfluous conditional include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 09:56:16 +00:00
Stefan Neis
8db75328d6 Minor correction for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 09:52:09 +00:00
Stefan Neis
4be2c4b3a6 Fixes for multithreading handling on OS/2.
Some fixes for autoconf-2.57.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 07:31:06 +00:00
Ron Lee
fb446a01f1 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 16:03:38 +00:00
Ron Lee
8e6cba6943 Updated for 2.4.1.2 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 15:41:59 +00:00
Václav Slavík
945eecbe0f backported HTML tables horizontal size fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 14:47:05 +00:00
Julian Smart
0edd44ba7c Updated XRC tool section.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 08:06:57 +00:00
Stefan Neis
f4e096c56e Compilation fixes for gcc-3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-20 17:02:09 +00:00
Julian Smart
46674d3538 Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:57:13 +00:00
Julian Smart
877708ff94 Applied patch [ 778716 ] Fix resolve in smapi.cpp for UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 15:51:04 +00:00
Chris Elliott
66a7ee10c9 fix bug in directory creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 11:17:25 +00:00
Chris Elliott
de2fb611f7 fix bug in name of implib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 10:30:06 +00:00
Stefan Neis
0ae780c7c3 Completely reworked OS/2 thread implementation.
Moved wxConditionInternal from src/msw/thread.cpp to include/wx/thrimpl.cpp
        to give OS/2 the possibility to reuse the code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 22:57:26 +00:00
Mattia Barbon
4d831c9265 Compilation fixed sor wxUSE_PROTOCOL_FTP/HTTP=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 12:10:15 +00:00
Vadim Zeitlin
ad7462e21d fix bug with entries present in both global and local files (patch 773360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 12:07:03 +00:00
Vadim Zeitlin
0350e78d7c don't create a multiline text control in the text editor (even not under MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 22:20:33 +00:00
Chris Elliott
133dcca6b8 backport changes for D Mars contrib dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 12:25:24 +00:00
Chris Elliott
ddab8bea0a backport changes for D Mars (sample makefiles, mostly untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 12:11:33 +00:00
Chris Elliott
edfbd496c2 backport changes for D Mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 12:06:26 +00:00
Bryan Petty
38046fb37c This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 12:06:26 +00:00
Chris Elliott
04231ab0c4 backport changes for D Mars (sample makefiles, mostly untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:51:27 +00:00
Chris Elliott
809a1985f7 backport changes for D Mars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:48:37 +00:00
Vadim Zeitlin
99654c4ef6 made wxTreeItemIdValue typedef for long, not ulong, so that it is possible to write code working for both 2.4 and 2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 00:59:29 +00:00
Vadim Zeitlin
115cacce0c fixed extraneous scrolling when scrollbars are added/removed (patch 788026; bug 746618)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 23:55:52 +00:00
Vadim Zeitlin
ccecc6542b set LVCFMT_IMAGE, this at least allows to show imageso n the right sidei n the first column too (and fixes bug 787781)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 10:06:02 +00:00
Mattia Barbon
6d8baa7536 Warning fixes for (MinGW) GCC 3.3.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 16:57:35 +00:00
Stefan Csomor
e7cbbff330 two fixes from Justin Bradford
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 14:20:03 +00:00
Stefan Neis
a54c4cc2d1 Added forgotten(?) wxMutexGuiEnter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 17:08:01 +00:00
Vadim Zeitlin
dc1e40c83f don't ignore start parameter in find_last_of()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 11:54:26 +00:00
Robin Dunn
4dd3328bec Fix for wxTextCtrl::GetSelection for single line controls in GTK2 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 03:58:24 +00:00
Stefan Neis
7f1d11ee6b Added implementations for two cases of wxSystemSettingsNative::GetMetric to
make wxTextEntryDialog work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 23:14:32 +00:00
Stefan Neis
d199418df1 Got sockets working.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 21:31:04 +00:00
Robin Dunn
e3a3fdc83f only match the regex at the end of the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 15:08:00 +00:00
Stefan Neis
6101d2d48b Don't forbid using threads on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 08:48:19 +00:00
Robin Dunn
6168f561d8 Patch from Will Sadkin fixing parameter order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 15:14:17 +00:00
Robin Dunn
1fc4b8e5d6 Mention wxSTK update
build tweak


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:54:01 +00:00
Robin Dunn
b89c96ee05 Oops, forgot the very long line was still there. Take it back out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:53:09 +00:00
Robin Dunn
1f1b5e9336 Demo/test tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:48:04 +00:00
Robin Dunn
09755e7491 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:47:14 +00:00
Robin Dunn
867d00bc71 Fixed SF Bug #781355. It was a problem with the clipping region. (By
default when drawing the ctrl characters a different drawtext method
is called than for normal text and this one didn't take care of the
clipping region correctly.)  Also fixed a couple buffer overflow
errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:25:38 +00:00
Vadim Zeitlin
60541ceb57 copy wxImage options when copying the images (replaces patch 780705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 17:48:35 +00:00
Vadim Zeitlin
8fcdff23a5 fixes for Borland make (patch 769317)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 17:42:59 +00:00
Vadim Zeitlin
820a477a59 set event object correctly for the menu events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:26:11 +00:00
Mattia Barbon
6989d60149 Improve wxHashMap documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 20:05:27 +00:00
Robin Dunn
0c0042aa83 If a wxPy[Command]Event has been cloned then we need to propogate the
Skip value from the original back to the clone after it has been
processed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 18:28:07 +00:00
Robert Roebling
93846b2ced Further adaptions of wxFileDialog to mini-screens.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 18:27:56 +00:00
Robert Roebling
cc744424c1 The GPE window manager doesn"t like SetSizeHints().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 18:27:11 +00:00
Robin Dunn
9e039e3753 Various testing changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 17:13:42 +00:00
Robin Dunn
21de2c2911 Show how to iterate selected items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 17:12:36 +00:00
Robin Dunn
3cf67e09d5 Fixes for menu items with a bitmap and an accelerator, with thanks to
Alberto Griggio.  (Previously sometimes an event was not sent for menu
items with an image and an accelerator.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 16:47:39 +00:00
Vadim Zeitlin
86f63b95c4 mention wxWS_BLOCK_EVENTS change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 15:00:17 +00:00
Vadim Zeitlin
4ae711c91a reverted GTK 1.x part of the last patch, it breaks popup menus sometimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 00:15:26 +00:00
Robin Dunn
3c097668f5 Added new STC file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 16:02:54 +00:00
Robin Dunn
69ce96e476 Updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 16:02:33 +00:00
Robin Dunn
425e9cb2df Release ownersihp of the image list in the Assign*ImageList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 16:01:26 +00:00
Václav Slavík
043ec5267a added animate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:23:09 +00:00
Robert Roebling
0d9f985f37 Use glib functions instead of C functions for
wxDir. This works on the iPaq as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:11:44 +00:00
Julian Smart
cb181d559c COpy emulator.xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-26 22:25:03 +00:00
Robert Roebling
feac3e3a38 Compile fix for wxchar.cpp,
PDA screen size code for all ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 18:55:02 +00:00
Robert Roebling
48e5489066 Minor adatation for PDA size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 18:53:19 +00:00
Robert Roebling
d8970354a9 #if brackets for compiling out MDI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 18:52:26 +00:00
Robin Dunn
b3eeb688ea return sensible (fake) values for DBCS query methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 16:55:28 +00:00
Vadim Zeitlin
ab3e843d47 fixed wxSTAY_ON_TOP for the dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 23:50:38 +00:00
Vadim Zeitlin
73f62345d2 define _NO_COPY macros here too for forward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 22:37:47 +00:00
Julian Smart
08d8451c88 Applied patch [ 774886 ] wxnotebook bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 16:47:33 +00:00
Julian Smart
7daba52772 Applied patch [ 774837 ] OGL wxLineShape::HitTest: smaller region
Sorted out misc/oglmisc mess


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 16:39:31 +00:00
Robert Roebling
1091d8a834 Applied bitmap safer return patch.
Applied gtk pop up menu patch.
  Applied fontutil patch for better font matching in GTK 1.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 08:57:09 +00:00
Robin Dunn
8144bb6320 Patch #775355 Unicode fix for STC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:00:16 +00:00
Vadim Zeitlin
7828f07191 make it possible to have flickerless splitter by not forcing repaint on resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:00:07 +00:00
Václav Slavík
184a08cfb9 expand wildcards on windows (patch #773160)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 22:23:09 +00:00
Václav Slavík
346dd7d756 fix filenames handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 11:52:47 +00:00
Václav Slavík
fa32ef75e4 fixed exit code when wxUSE_GUI=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 10:49:08 +00:00
Robin Dunn
55f55e8a8d Update to Scintilla 1.53
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 06:37:25 +00:00
Robin Dunn
bd07ff5792 Applied patch that converts the throbber to using timers instead of threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 01:53:08 +00:00
Vadim Zeitlin
66633caba3 set richedit DLL handle to 0 after unloading (patch 768994)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:54:14 +00:00
Vadim Zeitlin
fe5d9397f3 don't use fall back if we had already found the MIME type (patch 769826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:50:04 +00:00
Robin Dunn
6f821c3329 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 23:20:41 +00:00
Robin Dunn
5fab111751 Fix for #764099. Instead of undoing Python's signal handlers and
module, just set SIG_DFL for SIGINT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 23:17:59 +00:00
Robin Dunn
d80b0153dd Fix for #764099. Instead of undoing Python's signal handlers and
module, just set SIG_DFL for SIGINT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 23:12:02 +00:00
Václav Slavík
0f50de85ff added wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 21:10:20 +00:00
Robin Dunn
9e3f80cb3c SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 19:15:52 +00:00
Robin Dunn
8a20a0d191 SWIGged updates ffor wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 19:17:54 +00:00
Robin Dunn
80af91bba4 Fixed wxFileSystem_URLToFileName and FileNameToURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 19:17:35 +00:00
Robin Dunn
1d5d2fcfd4 new version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 19:15:35 +00:00
Stefan Neis
517386c7f7 Mention changes to unix/fontutil.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:15:59 +00:00
Stefan Neis
dbe7347394 Font is only non default if it has non default field values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:14:45 +00:00
Vadim Zeitlin
11ed408c51 set string length properly in wxString(p, conv, len) ctor (patch 755593)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:13:49 +00:00
Vadim Zeitlin
51d2edccb7 fix handling of HTTP headers case (patch 763760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:24:04 +00:00
Julian Smart
fb85527783 Applied patch [ 760463 ] wxMenu::FindItemByPosition for 2.4 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:57:34 +00:00
Julian Smart
251d904621 Applied patch [ 762033 ] wxTextValidator crashes when given a NULL wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:21:49 +00:00
Julian Smart
f4bf101605 Partially applied patch [ 763900 ] fix for vertical toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:16:00 +00:00
Julian Smart
a0a54ebd4b Applied patch [ 767505 ] BCB6 link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 07:50:57 +00:00
Julian Smart
6eac572a5e Applied patch [ 767518 ] BCB6 resource compiler chokes on dialog1.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 07:47:10 +00:00
Vadim Zeitlin
ebacdfcde4 fix compilation with --disable-compat-22 (patch 759563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:22:46 +00:00
Vadim Zeitlin
5e4196efab wxScrolledWindow scrollbar update fix (patch 680427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:09:09 +00:00
Robin Dunn
15134cb5b1 Added note about fixing a bug in Apple's fp.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 19:11:35 +00:00
Vadim Zeitlin
caf5419ccf updated the version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:30:48 +00:00
Vadim Zeitlin
d5b23cc0b9 just some warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:36:56 +00:00
Vadim Zeitlin
b6780e979a removed non existing file which was preventing "make install" from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:19:44 +00:00
Gilles Depeyrot
90a6046ab2 backported minor corrections for compilation with gcc 3.3 (use cast of address i
nstead of address of cast)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:13:16 +00:00
Gilles Depeyrot
296252dcf5 backported minor corrections for compilation with gcc 3.3 (use cast of address instead of address of cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:11:26 +00:00
Robert Roebling
0653df2501 Added code for better mouse click detection in various
native controls. wxChoice and wxSpinCtrl look better,
   wxListBox doesn't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 14:21:56 +00:00
Robert Roebling
0b148b75c4 Added IsOwnGtkWindow() to wxChoice for mouse click interception.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 14:20:18 +00:00
Vadim Zeitlin
3a42fa9cec backported patch 762500 (don't eas 100% of CPU when showing popup menu)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:29:03 +00:00
Robert Roebling
ca93cfe6b8 Mini error reported by Valgrind.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 12:38:45 +00:00
Robert Roebling
cd0a3c88a3 Clarified the list item end label edit semantics in the docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 11:51:54 +00:00
Robert Roebling
90dab4e65a OK, wxMSW doesn't seem to send the end label edit event
for wxListCtrls if the label editing was cancelled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 11:49:43 +00:00
Robert Roebling
3a547e0e37 Update to ending a label edit action in both tree control
and list controls. This includes the patch for tree
   control to correct the focus behavour when cancelling
   a label change action. It also adds an end_label_edit
   event to wxListCtrl when cancelling (this was not done
   before).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 11:41:16 +00:00
Robert Roebling
1d6e7c3803 Applied patch to wxTextCtrl::IsEditable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 10:38:21 +00:00
Václav Slavík
76bad0760c added wxLC_VIRTUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 20:39:01 +00:00
Robin Dunn
972e8710d4 Fixed some line-endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:21:35 +00:00
Robin Dunn
3fd82ab921 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 19:16:17 +00:00
Robin Dunn
4c2a85bbd8 Copy/Paste error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 19:15:25 +00:00
Robin Dunn
5940a2978d Check for and allow zero length files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 17:37:34 +00:00
David Elliott
24a62af3f8 Added call to SetValidator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 14:27:42 +00:00
Vadim Zeitlin
6333b4be27 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 00:39:13 +00:00
Vadim Zeitlin
15a126c5e3 fix for comparison bug in GetHeader()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 23:40:29 +00:00
Robin Dunn
728a6147f9 SWIGged updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 02:18:37 +00:00
Robin Dunn
d643e8ca24 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 02:18:17 +00:00
Robin Dunn
466a37b313 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 01:53:45 +00:00
Robin Dunn
4aac1f88a6 Don't need to include private.h anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 01:52:57 +00:00
Vadim Zeitlin
7dc607d0a1 added RefreshItem[s]()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:15:05 +00:00
Stefan Csomor
f4841924a0 resetting clipping region (needed because of faster port setting)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 19:48:11 +00:00
Robin Dunn
f73cf2885e Added a sample of using wxFileDialog for saving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 19:02:22 +00:00
Robin Dunn
f4e8f51c54 Use wxSTC in the demo for displaying the soucre code of the samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 18:39:54 +00:00
Robin Dunn
f40d1e7e5b Fixed OOR for wxPyHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:09:25 +00:00
Robin Dunn
189be6523c Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 19:08:51 +00:00
Robin Dunn
f175a6e3dc wxTreeListCtrl updates: fixed wrapping of GetSelections and made
keyboard navigation work like MSW's native tree when on MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:35:03 +00:00
Robin Dunn
e6874ccf25 Patch from Will Sadkin
##  Version 1.3
##   1. Made it possible to configure grouping, decimal and shift-decimal characters,
##      to make controls more usable internationally.
##   2. Added code to smart "adjust" value strings presented to .SetValue()
##      for right-aligned numeric format controls if they are shorter than
##      than the control width,  prepending the missing portion, prepending control
##      template left substring for the missing characters, so that setting
##      numeric values is easier.
##   3. Renamed SetMaskParameters SetCtrlParameters() (with old name preserved
##      for b-c), as this makes more sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:33:13 +00:00
Roger Gammans
ef596c3261 correct docuemtation for wxEVT_GRID_SELECT_CELL and wxEVT_GRID_CELL_CHANGE
events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 17:30:46 +00:00
Vadim Zeitlin
7fba7cfd5d backported wxDateSpan comparison operators from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 18:45:18 +00:00
Julian Smart
7e650857ce Initialised static controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 08:20:05 +00:00
Vadim Zeitlin
d723d6c834 fix for iostream.h missing in VC 7.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 16:21:39 +00:00
Vadim Zeitlin
2dd9b2717f use __VISUALC__ instead of _MSC_VER to avoid problems with CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 16:04:09 +00:00
Robert Roebling
b7f8adfd2d Applied (part of) the bitmap theme patch.
Didn't find the static text alignment problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:00:16 +00:00
Vadim Zeitlin
7c79b1598f fix VC 7.x release build problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 16:13:47 +00:00
Vadim Zeitlin
d95204cac1 corrected the comment explaining how to update version components
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 13:56:51 +00:00
Vadim Zeitlin
2fe2de5c21 GNU/Hurd patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 12:48:38 +00:00
Robert Roebling
3cac4ac95a Small fix for splitterwindow (no longer wrong cursor in
nested scrolled window).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:04:21 +00:00
Stefan Neis
966c319c64 Reverted patch [ 746201 ] (partially) because of unwanted side-effects
to grids with 0 rows _or_ 0 columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 08:40:06 +00:00
Gilles Depeyrot
5de3edd09e corrected return value of wxTimer::Start when timer is successfully created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:48:17 +00:00
Václav Slavík
522652591a fix one of reasons for crash if there is no font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:20:16 +00:00
Robin Dunn
f9747bcfed Some demo tweaks and a bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:29:17 +00:00
Robert Roebling
253f27bde8 Reorderd timer code as per bug 757060. The code there
is required to set the id to -1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:03:47 +00:00
Robert Roebling
e80c838693 Probable fix for Font crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:00:23 +00:00
Vadim Zeitlin
be9d7aa6f5 fixed infinite recursion bug in some rare cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 17:05:46 +00:00
Václav Slavík
47b4af9e09 make it possible to not attach toolbars to frames (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:25:36 +00:00
Václav Slavík
c334e639dc added --basename and --release flags to wx-config (patch #750815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:08:15 +00:00
Julian Smart
37a4073bef Added extra wxGLCanvas documentation from
Davide Pasquini <davide.pasquini@fastwebnet.it>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 09:20:46 +00:00
Julian Smart
8519136eed Workaround a crash bug; real solution as yet unknown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 07:41:24 +00:00
Vadim Zeitlin
763094830f #undef LoadIcon/Bitmap() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 23:08:22 +00:00
Robin Dunn
10f42c3352 Comment out the post and postun sections since they are not used (and
are currently mandrake specific...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 21:28:12 +00:00
Julian Smart
3d0c2f20f0 Addition of uxtheme.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 18:46:00 +00:00
Robin Dunn
57a6d29c2e Hmmm... The menu stuff only works on Mandrake. Need to find a
cross-distro way to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 17:44:38 +00:00
Robin Dunn
18b8a5519f Fixed misplaced parentethis. (#755963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 17:07:21 +00:00
Vadim Zeitlin
dde2f47eb1 wxComboBox doesn't derive from wxChoice (officially)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 11:06:10 +00:00
Vadim Zeitlin
b64d8f9463 undid the last change: it results in crashes with some GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 09:56:15 +00:00
Robin Dunn
6179ac0699 Oops...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 07:24:55 +00:00
Robin Dunn
678350199f Added new .png icons to the installer script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 07:22:09 +00:00
Robin Dunn
7739ea4c67 Switched back to "PyCrust.ico" because Windows explorer can apparently
only associate one "py.ico" at a time, even if they are located in
different directories.

Also added Linux /usr/lib/menu entries for the Py apps and XRCed when
building the RPMs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 07:10:21 +00:00
Robin Dunn
236de41c27 Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 07:08:01 +00:00
Robin Dunn
34b072a685 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 02:24:31 +00:00
Robin Dunn
c2f3aa47be SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:49:34 +00:00
Robin Dunn
8c5d3fc7e8 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:41:44 +00:00
Robin Dunn
90346640db Reorgainize the wrappers for wxPrintDialogData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:41:09 +00:00
Robin Dunn
0097dbcc26 SetAllPages needs to be used if the Min and Max pages are set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:40:05 +00:00
Robin Dunn
27feadf334 only measure one line at a time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:38:05 +00:00
Robin Dunn
b7094fec10 Ensure there is no border on the generic static texts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:37:38 +00:00
Robin Dunn
79d4530dad Fix for wxPopupWindows not being raised to the top by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 22:40:11 +00:00
Robin Dunn
f30d4a7421 Remove the test for parent window type when checking if to give a
sunken style automatically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 22:08:01 +00:00
Robin Dunn
2a15016acd Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 20:36:18 +00:00
Robin Dunn
d38c6e6e3f fix how this package is imported instead of using the default
generated by wx_create.py


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 20:35:21 +00:00
Vadim Zeitlin
216c39aeda fixed build problems when OpenGL libs were not in the same directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-15 19:37:51 +00:00
Vadim Zeitlin
b4746de9ec don't ignore wxLC_NO_HEADER style when inserting first column (backported from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 17:16:50 +00:00
Vadim Zeitlin
412a5ab4ef always NUL-terminate log messages, even if they're longer than buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:45:31 +00:00
Julian Smart
8d009f3f65 Recorded where announcements were sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 11:03:44 +00:00
Julian Smart
ead0537623 Scrollbar correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:54:31 +00:00
Robin Dunn
767e098382 New files generated by the .dmg build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:27:10 +00:00
Robin Dunn
49f98fb4ab Correct version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 18:26:37 +00:00
Vadim Zeitlin
56b41acdc9 backported fix for counting subexpressions from HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:16:32 +00:00
Václav Slavík
a2516a408b fs_inet depends on protocol classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 15:33:14 +00:00
Julian Smart
f0dd2a408c Only have one file with publicity tips - in CVS head.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 10:27:45 +00:00
Robin Dunn
96ba8a28f6 Forgot to uncomment the cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 07:02:10 +00:00
Robin Dunn
18b0ae28c6 update the win32 installer script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 06:35:26 +00:00
Robin Dunn
3ee2294bac A script to assist in converting from the old 'from wxPython.wx import *'
style to the new 'import wx' style.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:22:54 +00:00
Robin Dunn
c1125823f1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:20:43 +00:00
Robin Dunn
e433b5b4c6 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:20:40 +00:00
Robin Dunn
a8110d1e1e SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:20:15 +00:00
Robin Dunn
6bf7626a0c some other tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:08:44 +00:00
Robin Dunn
a10572ce53 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:08:08 +00:00
Robin Dunn
87edb19b4d wxPython distrib changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:04:18 +00:00
Robin Dunn
0a0a0d5cf3 Don't have a trailing semi-colons in macros for compilers that
complain about doubling them, ;;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:03:32 +00:00
Robin Dunn
e702e59878 Added wxCursorFromBits.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:01:49 +00:00
Vadim Zeitlin
fa499d55ca updated to 2.4.1, no big changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 22:55:41 +00:00
Vadim Zeitlin
d7ace383ec compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 22:55:16 +00:00
Robin Dunn
e5125b7488 Patch #753465 a fix for Bug#750363.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:53:42 +00:00
Robin Dunn
fbb447e2c4 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:38:13 +00:00
Robin Dunn
61762bf46f SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:38:12 +00:00
Robin Dunn
0c1c17961d (re)Enable the default ctor for wxCursor for all platforms...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:34:39 +00:00
Václav Slavík
8ac7b0858a fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 16:15:26 +00:00
Chris Elliott
96a96e730f another watcom makefile (from SF bug report 751351)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 12:15:11 +00:00
Bryan Petty
a1c6cbf16e This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 12:15:11 +00:00
Roman Rolinsky
16e4e873a2 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 11:00:09 +00:00
Robin Dunn
209d266d50 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 01:36:44 +00:00
Robin Dunn
d10f0b94b8 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 00:43:06 +00:00
Robin Dunn
151796fa32 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 00:42:02 +00:00
Robin Dunn
0cbe0b1784 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 00:29:28 +00:00
Robin Dunn
1f1c4a921b Regenerated the files for the wx renamer package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 23:56:55 +00:00
Robin Dunn
2ac01a6ca3 Script to generate the renamer stubs for the wx package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 23:53:54 +00:00
Robin Dunn
7afcee21b2 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:44:46 +00:00
Robin Dunn
ba692f5788 Fixes for wxMac combobox wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:38:32 +00:00
Robin Dunn
63d2cc405d Draw with a different color if the control is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:33:42 +00:00
Robin Dunn
70e0dca9ef Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:31:06 +00:00
Robin Dunn
95bbb2b9a4 fixed typo or something
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:28:33 +00:00
Robin Dunn
16ec06b235 Add style parameter to wxMultipleChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:21:49 +00:00
Robin Dunn
d5081b7888 wxMenuItem::SetMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:20:35 +00:00
Robin Dunn
b1a6341a26 Fix some class names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:19:57 +00:00
Robin Dunn
3b9de29c38 Clearly state that the new wx module is being used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:18:44 +00:00
Robin Dunn
e1663a1065 some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:18:19 +00:00
Robin Dunn
51304829d6 fix the 16-bit overflow in wxTreeListCtrl too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:16:58 +00:00
Gilles Depeyrot
e59530f9e0 backported SF patch #752538 to implement wxGetOSDirectory() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 18:21:13 +00:00
Chris Elliott
e2e8bf2d64 fix SF bug report 751351
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 14:36:36 +00:00
Julian Smart
21ba2ace60 Allow for multiple CHM controllers in app (don't leak dynamic libs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 14:15:36 +00:00
Robin Dunn
568abcbd3a Ensure that a wxMenuItem's parent menu is updated if it is removed
from one and added to another menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 23:48:46 +00:00
Václav Slavík
6523dea767 fixed Content-Type lookup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-10 21:23:53 +00:00
Stefan Neis
600afbe5da Restore original behaviour if m_wxwindow == NULL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 18:21:41 +00:00
Václav Slavík
d4d283bf1b compilation fix for VisualAge C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 17:06:40 +00:00
Stefan Neis
376c6d4008 Moved include to wx/module.h out of #ifndef WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 16:35:12 +00:00
Stefan Neis
f2301c5757 Updated configure scripts for OS/2 (new version number - 2.4.1, minor fixes).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 12:42:01 +00:00
Václav Slavík
5b4c6454ec compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 08:52:24 +00:00
Václav Slavík
cf519177cc samples/shaped doesn't have .h files, make dist failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 08:45:10 +00:00
Julian Smart
46e620fc8b Only bring the window to the top in Show() if we're a top-level
window, else we mess up z-order/tab order


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-09 05:06:28 +00:00
Julian Smart
f5abdcb3c3 Some project file corrections
Test for correct symbol in resource sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 21:47:02 +00:00
Julian Smart
e874fa1bd5 Some fixes to project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 20:04:18 +00:00
Mattia Barbon
1476cdecb0 wxMessageDialog and ::wxMessageBox don't support wxCENTRE: remove
it from documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 18:20:24 +00:00
Julian Smart
4125fb9694 shaped sample is in 2.4, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 17:43:05 +00:00
Julian Smart
fdda9a6b9d Updated month in readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 07:57:27 +00:00
Robin Dunn
ca01f8dfe5 revert my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 15:54:41 +00:00
Julian Smart
a741b4e4bd Applied patch [ 748638 ] wxDos2UnixFilename for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:55:43 +00:00
Julian Smart
2d0e6b13c2 Reports suggest that _sometimes_ WS_VSCROLL/WS_HSCROLL
are needed. So map wxVSCROLL/wxHSCROLL to these.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 13:22:34 +00:00
Julian Smart
f3e305f049 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 10:12:53 +00:00
Julian Smart
96ec96d318 Fix for [ 748805 ] Assert failure for specified situation in samples/controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 09:59:38 +00:00
Robin Dunn
2381ea4581 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 05:34:58 +00:00
Robin Dunn
f61ae9fb62 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 04:30:37 +00:00
Robin Dunn
5f6044310d Forgot this wxRTTI fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 04:24:31 +00:00
Robin Dunn
a068ecbc5f Simplified how the wxSizer methods are wrapped, changed the name of
the "option" parameter to "proportion" ("option" is still accepted for
compatibility, but this will go away in a future release,)
SetItemMinSize can now take a wxSize (or 2-tuple) parameter, and
Spacers can be specified with a wxSize (or 2-tuple) parameter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 04:23:44 +00:00
Robin Dunn
b7850f8fe4 Fix for new refresh code. (It's possible for m_wxwidnow to be NULL.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 03:59:00 +00:00
Robin Dunn
9ec1cc00f2 Some fixes for some bad wxRTTI names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 00:49:01 +00:00
Robin Dunn
35089a8a57 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:59:51 +00:00
Robin Dunn
0eca8d4044 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:56:10 +00:00
Robin Dunn
27f4f38e85 fix so wxMenu::InsertItem actually inserts rather than overwrites
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:46:36 +00:00
Robin Dunn
6844c083a1 Just silently return NULL like the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 23:15:50 +00:00
Robin Dunn
f5d220099f Don't get picky about unicode mode. Scintilla doesn't set the mode
for calltip windows anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:34:00 +00:00
Robin Dunn
ec100e892a Don't add -dbg to the build dir, it makes the clean command get confused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:31:07 +00:00
Robin Dunn
bf16cbc3d6 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:30:09 +00:00
Robin Dunn
526bdb340c Patch from Will Sadkin, allows the emptyInvalid flag to apply to subfields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:29:08 +00:00
Robin Dunn
71df851e7f Added wxPy versions of wxPrintPreview, wxPreviewFrame, and
wxPreviewControlBar so they can be derived from in Python and be able
to override the C++ virtual methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:25:16 +00:00
Robin Dunn
83ef7e2eaf Moved hangman to samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:24:25 +00:00
Stefan Neis
bcacb15d36 Fixed Refresh to clip update rectangles to the visible area of a
(scrolled) window. If there are many invisible/partly visible
        rectangles in the update region GTK+-1.2.10 starts complaining
        about bad match errors and soon crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 20:12:39 +00:00
Robin Dunn
6bc7d0dda4 Some demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 20:04:50 +00:00
Julian Smart
2062833988 Include module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 16:32:40 +00:00
Julian Smart
8e8ee87b86 More useful usage reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 10:46:08 +00:00
Chris Elliott
5402151db6 fix erase in makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 10:34:42 +00:00
Robin Dunn
63482228c2 Put terminating NUL in the buffer since MB2WC doesn't do it. [#749825]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 00:43:51 +00:00
Robin Dunn
7296575156 Add the test for __main__ to all that didn't have it, so all demo
samples can be run standalone


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 23:48:28 +00:00
Robin Dunn
46ddee38b0 Converted the main demo framework files to the new namespace, (none of
the actual samples yet except NewNamespace...)
Added the GridDragAndDrop sample
Fixed the NewNamespace sample to actually have something to display


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 23:18:16 +00:00
Robin Dunn
0e8922d54e Patches for wxTreeListCtrl from Alberto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:33:55 +00:00
Julian Smart
2b369f8133 Reverted the warning fix since it breaks MinGW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 20:33:17 +00:00
Robin Dunn
3473885694 Added some missing renamer modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:59:47 +00:00
Robin Dunn
7b32730bab Changed the doodle sample to use the new wx namespace, also enhanced a
few things


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:57:17 +00:00
Mattia Barbon
c6afc57c82 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:07:55 +00:00
Mattia Barbon
fd788c22d5 MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:06:40 +00:00
Mattia Barbon
04df6d82a3 Avoid redefinition warning. (already defined in platform.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 18:05:09 +00:00
Julian Smart
6999716b96 Applied patch/bug [ 748226 ] OGL samples does not follow settings from setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 17:26:35 +00:00
Julian Smart
c1a23315cd Fixed compile warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 16:08:40 +00:00
Julian Smart
d33b133cd6 Correction for accidental changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 15:50:28 +00:00
Chris Elliott
b022709ac5 possible fix of Borland incompatible DLL problem for 2.4.1 /2.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 15:11:54 +00:00
Julian Smart
73e90c7137 Disable non-standard notebook styles if CommCtl doesn't support them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 13:29:52 +00:00
Chris Elliott
152ce11a13 fix SF bug 749486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:42:45 +00:00
Chris Elliott
7a9539b77a fix SF bug 749486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:28:21 +00:00
Julian Smart
e885525adb Fix for [ 748885 ] dialoged does not contain check for wxUSE_WX_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:15:05 +00:00
Julian Smart
19eea942ad Fix for [ 748890 ] can't set wxUSE_CONSTRAINTS to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:13:18 +00:00
Chris Elliott
ee6c4f6f44 fix SF bug 748752
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:07:55 +00:00
Julian Smart
19210eea93 Fixed bug [ 749471 ] wxDocument with no command processor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 12:03:47 +00:00
Julian Smart
6a2dbd8ca4 Fixed native dialog bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 10:57:59 +00:00
Chris Elliott
50cbce6d06 remove Borland's 16 bit makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 08:10:00 +00:00
Chris Elliott
8d1faa443c remove Borland's 16 bit makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 07:37:19 +00:00
Stefan Neis
c0ce485169 Added call to AdjustScrollbars in CalcDimensions to be able to scroll to the
"end" of a grid after adding rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 20:51:25 +00:00
Julian Smart
fcede292cc Don't divide by zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 12:53:03 +00:00
Chris Elliott
646a6e4347 fix name of borland dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 07:12:45 +00:00
Robin Dunn
eeab02964a Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:54:35 +00:00
Robin Dunn
7552d17984 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:50:40 +00:00
Robin Dunn
80e3d51279 Added theme enabling methods, although I'm not sure if they actually
do anything on any othe the platforms yet...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:48:27 +00:00
Robin Dunn
b2257cfcec wxTipWindow on wxMac derives from wxFrame since there is no wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:46:56 +00:00
Robin Dunn
78a07fd17b Draw the stripy background on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:44:42 +00:00
Robin Dunn
8016d8e124 Added support for Mac theming in wxBrush so there is a way to draw the
stripy background.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:40:27 +00:00
Robin Dunn
6306f9664b Added missing wxNB_TOP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:37:39 +00:00
Robin Dunn
adf64959aa More changes for compilation issues on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:07:57 +00:00
Robin Dunn
ba0d19c23f backported the, uh... "fix" for update problems on wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 23:20:21 +00:00
Julian Smart
15cefc9dc9 Should put lib in main lib dir, not under contrib/lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:47:54 +00:00
Julian Smart
c338206c96 Fix for bug [ 748171 ] Can't compile contrib/samples/fl/fl_demo2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 16:19:39 +00:00
Vadim Zeitlin
6d42225630 added missing module.h include (bug 748158)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 13:19:21 +00:00
Vadim Zeitlin
060f9ce148 generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:46:08 +00:00
Vadim Zeitlin
f71203a294 implement DoGetBsetSize() for wxNoteBook (patch 745533)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 10:39:59 +00:00
Vadim Zeitlin
ff486b6e97 fixed calculations in SetMapMode() (use FP division, not integer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:41:44 +00:00
Julian Smart
c29c603597 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 13:57:28 +00:00
Julian Smart
50745b84b2 Backported theme fix for notebook page anomaly on XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 13:47:14 +00:00
Bryan Petty
7e5799ed42 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 13:47:14 +00:00
Vadim Zeitlin
6af862d577 fixed compilation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:29:17 +00:00
Julian Smart
caa7ab9b29 Fixed doc bug [ 733128 ] 'wxTaskBarIcon.PopupMenu(..)' missing doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:11:16 +00:00
Julian Smart
0ea1d3f095 Pass focus window to submenu items too (no reason I can think of not to).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:40:09 +00:00
Julian Smart
db1c50bccd Fixed bug [ 743664 ] wxListCtrl asserts when deleting its m_textCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:12:30 +00:00
Julian Smart
87709afba0 Fix for [ 731966 ] Missing files in VC++ project file in WX_2_4_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:51:10 +00:00
Julian Smart
780c98f7e6 Fix for [ 688754 ] wxNotebook::SetSelection(-1) will segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:41:50 +00:00
Julian Smart
5c9194275a Fix (I hope) for bug [ 673862 ] printing zero length string with postscript does not work
Now descent and externalLeading will be zeroed if the string is empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:23:16 +00:00
Julian Smart
0888aa4b90 Use hyphen not underscore for wxWindows installer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:17:10 +00:00
Julian Smart
e788f7edfe Applied bug fix [ 684949 ] Dialup Sample With Borland C++ 5.5.1 Free Compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:06:30 +00:00
Julian Smart
a031ea171a Added some pragmas, to address problem mentioned
in bug report:

[ 670355 ] Borland C++ 5.5 with wxW 2.4.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 19:00:48 +00:00
Julian Smart
000c548490 Fix for [ 744346 ] __WIN95__ not defined automatically...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:54:22 +00:00
Julian Smart
953a8d6472 Applied patch [ 650511 ] wxCalendarCtrl - year does not change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 16:46:49 +00:00
Julian Smart
04679d6d10 Applied patch [ 739063 ] window.cpp (gtk) - mouse event processing
x -> y


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:45:54 +00:00
Julian Smart
617b1fbb04 Applied patch [ 735588 ] Gtk2 textctrl selection fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:42:21 +00:00
Julian Smart
aa88de778a Applied patch [ 733425 ] Fix for header rendering problem in CalCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:39:30 +00:00
Julian Smart
a49932b757 Applied patch [ 745983 ] Fix for memory leak in class wxPluginManager in dynload.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:58:30 +00:00
Julian Smart
73265c5504 Applied [ 746201 ] wxGrid row/col change not updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:55:59 +00:00
Julian Smart
c1f7ecdf3b Added BCC include dir in XRC makefile
Typo correction in app.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:26:34 +00:00
Julian Smart
1e3d20528d Typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 12:04:23 +00:00
Vadim Zeitlin
5c1933ad4b regenerated to have version 2.4.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 10:28:14 +00:00
Julian Smart
9290f03940 Backported wxConfig fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 17:55:17 +00:00
Vadim Zeitlin
e47201cf41 corrected MakeLower/Upper() return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 15:10:56 +00:00
Robin Dunn
2d77bf096f Added test case for inserting menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 22:31:49 +00:00
Robin Dunn
7a4ac109ec Fixes parsing when using mxDateTime, patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 20:06:07 +00:00
Gilles Depeyrot
9f7110bcbf backported deallocation fix for Visual C++ Multithreaded non DLL runtime
this fix only has a performance impact on wxString in this configuration


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 15:01:42 +00:00
Robin Dunn
7dcfae6d49 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:30:31 +00:00
Robin Dunn
57ffafaae1 Use Python Longs when off_t can be 64-bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:24:00 +00:00
Robin Dunn
3fd659e9e4 Added various tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:22:27 +00:00
Robin Dunn
75dba7c0af Added LoadFile and SaveFile methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 23:50:21 +00:00
Robin Dunn
3ac92fa641 Backported the wxGTK key event fixes for gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 23:29:48 +00:00
Robin Dunn
79f3f7cdb2 fix a precedence order problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 20:30:54 +00:00
Stefan Csomor
d42aedcaca GetEventHandler()-> was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 19:02:04 +00:00
Robin Dunn
0f3a8b518b Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-29 15:34:13 +00:00
Gilles Depeyrot
4f26bc4784 allow wxDisplaySize to be called with NULL parameters
implement GetMetric for wxSYS_SCREEN_X & wxSYS_SCREEN_X using wxDisplaySize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-28 20:08:24 +00:00
Chris Elliott
e453562c32 fixing SF bug 742496
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 09:16:22 +00:00
Julian Smart
6e537cd2e2 More style fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:59:24 +00:00
Julian Smart
6bf9dc1356 Further border style corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 22:15:25 +00:00
Julian Smart
ab28df5f10 Include missing.h and commctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 19:28:35 +00:00
Václav Slavík
7edf0f4df1 clarify using embedded XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 16:20:54 +00:00
Chris Elliott
d71b6fee3d fix SF bug 742496
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 10:23:03 +00:00
Vadim Zeitlin
90a50fd5bd fix m_Matches overflow if Compile() is called more than once (bug 742236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 20:28:01 +00:00
Julian Smart
e6380ade7a Backported size fix for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 17:19:16 +00:00
Julian Smart
b42599763b Backported wxSplitterWindow and wxWizard from head
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 13:20:25 +00:00
Bryan Petty
e1168afdf1 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 13:20:25 +00:00
Václav Slavík
c3fd661722 fix _() for wxUSE_INTL==0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:28 +00:00
Václav Slavík
ef15d07386 added CompareAccelString function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-25 11:18:13 +00:00
Julian Smart
9bb36c5e85 Updated release number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-24 11:07:22 +00:00
Julian Smart
34499797f3 Applied patch [ 736321 ] Compile error for src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:56:14 +00:00
Julian Smart
e2fbb6551a Applied patch [ 742452 ] wxPrintDialogData: can't set PD_PAGENUMS
Applied patch [ 742446 ] wxPrintDialogData::GetAllPages always returns TRUE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:38:12 +00:00
Stefan Csomor
d99e873817 experimental speed up avoiding style copying and restoring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:35:01 +00:00
Stefan Csomor
d5c45cc949 speed up for string conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:30:26 +00:00
Robin Dunn
4e78ec2f5a Added warning to the docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:50:39 +00:00
Robin Dunn
bb27f7d002 Experimental script to assist in static linking wxWindows/wxPython to
the python interpreter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:48:46 +00:00
Robin Dunn
d4851eb741 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:48:09 +00:00
Robin Dunn
53c72358c0 Added "megaGrid" sample to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:47:49 +00:00
Robin Dunn
5ede8ea93d Added new or missing methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:46:59 +00:00
Robin Dunn
ffa0e0d51d define LVSICF_NOSCROLL if it is missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:28:21 +00:00
Stefan Csomor
5416dbea9b wxPrintData::ValidateOrCreate to keep common code for wxMac, used when ConvertToNative is called, not needed here anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 21:18:00 +00:00
Stefan Csomor
8a7a789e63 ValidateOrCreate to keep common code for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 21:14:56 +00:00
Stefan Csomor
d6c8f96094 extending printing code (backport of 2.5 is not possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 21:12:31 +00:00
Roger Gammans
5fc42941db * 2.4 version of sf.net pacth 735595
Backport of docs from patch 2.5 patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 19:42:57 +00:00
Stefan Csomor
15682dd0cd turning off a wxSTAY_ON_TOP patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 18:12:57 +00:00
Stefan Csomor
bd1f3340cb fix by Egon to avoid endless loop when no matching item found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-22 18:07:05 +00:00
Václav Slavík
5009d37d51 backported HTML pagebreak code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 23:05:46 +00:00
Robin Dunn
cc715ad02b Fix page positioning when the tabs are on a side different than
wxNB_TOP by choosing margins dynamically instead of always using fixed
margin sizes.  Also remove unnecessary large internal borders
(although they can be reactivated by flipping an #if.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 22:41:01 +00:00
Stefan Csomor
5aff4a31b3 removed print.cpp from Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 20:37:07 +00:00
Julian Smart
2eb717eb22 Applied patch [ 731656 ] Owner draw menu icons
Benjamin I. Williams


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 19:07:02 +00:00
Julian Smart
0895fb72c3 Applied patch [ 739401 ] gtk_init() has to be called before gdk_threads_enter()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:54:27 +00:00
Julian Smart
845cff4d72 Applied patch [ 740012 ] GetKeyState returns 16-Bit value on WindowsNT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:43:03 +00:00
Julian Smart
6c2298b2db Noted that the preview object is deleted by the frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 15:45:57 +00:00
Julian Smart
984424b443 Fixed wxListCtrl simple border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 07:43:49 +00:00
Robin Dunn
c8ad57a77a Ensure that the focus gets redirected to the embedded control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 18:26:47 +00:00
Roman Rolinsky
ff5bb76716 two-stage creation of XRC-based dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 13:26:38 +00:00
Robin Dunn
9831428651 Patch from Eugene Rimsky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 23:55:09 +00:00
Patrick K. O'Brien
519a8af2fa Protect against inspect.getdoc() failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 21:41:24 +00:00
Václav Slavík
af8b8aa277 allow untranslated accelerators, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 16:45:47 +00:00
Julian Smart
6f5d76722b Don't prepend directory to filename for shortcuts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-18 09:20:42 +00:00
Julian Smart
36f7711df6 Corrected wxScrollBar style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-17 09:30:00 +00:00
Robin Dunn
8cd8ce0be2 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:07:29 +00:00
Robin Dunn
be01c1a550 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:07:03 +00:00
Robin Dunn
7fefeea078 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 19:06:44 +00:00
Robin Dunn
a5d0a5701f Fixed a couple minor bugs and changed copyright info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:33:47 +00:00
Robin Dunn
d6738b5fb6 Updated some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:29:32 +00:00
Robin Dunn
7356db934c Fixed parameter types for the wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:48 +00:00
Robin Dunn
99e67248a7 Tiny update for the build notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:33 +00:00
Robin Dunn
5fdb1fb356 Fixed wxFutureCall so it automatically cleans up after itself after
the timer has expired, if there are no references held to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:58:09 +00:00
Robin Dunn
088fa4c076 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:51:39 +00:00
Robin Dunn
11f9207e9e fixed compile errors for wxTreeListCtrl on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:49:56 +00:00
Robin Dunn
7160e19699 Modified frame styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:47:09 +00:00
Julian Smart
ce231d2667 Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 21:31:03 +00:00
Robin Dunn
ddadc73ae5 Acutally use the m_maxChars parameter value instead of ignoring it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-14 20:50:55 +00:00
Robin Dunn
9a27fdf2c6 MSW compile fixes, detabified, a couple minor bugs fixed, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 22:10:32 +00:00
Mattia Barbon
b8a31222b9 Fixed bug with notebook pages not showing (probably affected any
wxWindow/wxPanel child when panel was hidden and then shown again).
The bug was introduced by the fix for hidden windows still
intercepting mouse events. (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 19:58:53 +00:00
Julian Smart
3d3fd07689 Rationalised style handling in tree control
No longer use WS_EX_WINDOWEDGE since it seems to be obsolete,
and has no effect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-13 15:20:50 +00:00
Patrick K. O'Brien
1a24baa1a0 Fixed sort bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:02:08 +00:00
Stefan Csomor
f0f3ef30ba redraw fix backported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:56:37 +00:00
Stefan Csomor
65c3c03f4a CFStringRef support backport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:29:04 +00:00
Stefan Csomor
855ff63b6a better min size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:25:48 +00:00
Stefan Csomor
3e4c97edf2 void correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:18:28 +00:00
Stefan Csomor
4182609042 native help tool tips under Carbon and OSX, backport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:14:44 +00:00
Stefan Csomor
30d61191be added CFStringRef methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 19:11:16 +00:00
Roman Rolinsky
ff7744a993 just a test for IsShown (no refreshing if not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:12:39 +00:00
Roman Rolinsky
ec3435a947 new version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:39 +00:00
Roman Rolinsky
86a574a07a added Expand/Collapse handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:30 +00:00
Roman Rolinsky
336b1df17d fixed sizes of some controls under windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:10:45 +00:00
Roman Rolinsky
adf520e7a8 changed scrolled window to container, but there's still no support in wxXRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:09:06 +00:00
Julian Smart
7b452d0dc8 Auto 3D border if parent is a panel or dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:14:43 +00:00
Julian Smart
5c8c438c33 Apply correct style variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 10:09:40 +00:00
Gilles Depeyrot
2b312fb177 assert is raised when using the thread sample (which works) so the test is
probably not so easy. Can widget callbacks be triggered from child threads
and, if so, for which widgets?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 19:28:13 +00:00
Gilles Depeyrot
0866ab9046 added assert to detect attempt to install idle handler from widget callback
not called from main thread


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 16:44:48 +00:00
Vadim Zeitlin
613df03afb compilation fix for TEST_MIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 00:10:46 +00:00
Julian Smart
00e8c2009e Fixed crash in EnsureVisible in wxTR_HIDE_ROOT mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 21:48:24 +00:00
Robert Roebling
c0bfa2acd4 Compile fix for GTK 1.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 14:31:40 +00:00
Julian Smart
f97ef56b88 Use context sensitive help XPM for Windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:00:38 +00:00
Vadim Zeitlin
db15725500 undid patch which was supposed to allow thread recreation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:36:42 +00:00
Vadim Zeitlin
01771b15dd linking fix for wxUSE_PROLOGIO with compilers/makefiles not defining __WIN32__ on command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:25:31 +00:00
Robin Dunn
346573fc95 More patches to the masked edit control from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 21:42:47 +00:00
Patrick K. O'Brien
14ca9dc4b0 Updated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 15:48:05 +00:00
Robin Dunn
e0b302e05d Patches to the masked edit control from Will Sadkin:
##   1. Fixed .SetValue() to replace the current value, rather than the current
##      selection. Also changed it to generate ValueError if presented with
##      either a value which doesn't follow the format or won't fit.  Also made
##      set value adjust numeric and date controls as if user entered the value.
##      Expanded doc explaining how SetValue() works.
##   2. Fixed EUDATE* autoformats, fixed IsDateType mask list, and added ability to
##      use 3-char months for dates, and EUDATETIME, and EUDATEMILTIME autoformats.
##   3. Made all date autoformats automatically pick implied "datestyle".
##   4. Added IsModified override, since base wxTextCtrl never reports modified if
##      .SetValue used to change the value, which is what the masked edit controls
##      use internally.
##   5. Fixed bug in date position adjustment on 2 to 4 digit date conversion when
##      using tab to "leave field" and auto-adjust.
##   6. Fixed bug in _isCharAllowed() for negative number insertion on pastes,
##      and bug in ._Paste() that didn't account for signs in signed masks either.
##   7. Fixed issues with _adjustPos for right-insert fields causing improper
##      selection/replacement of values
##   8. Fixed _OnHome handler to properly handle extending current selection to
##      beginning of control.
##   9. Exposed all (valid) autoformats to demo, binding descriptions to
##      autoformats.
##  10. Fixed a couple of bugs in email regexp.
##  11. Modified autoformats to be more amenable to international use.
##  12. Clarified meaning of '-' formatcode in doc.
##  13. Fixed a couple of coding bugs being flagged by Python2.1.
##  14. Fixed several issues with sign positioning, erasure and validity
##      checking for "numeric" masked controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 14:29:43 +00:00
Patrick K. O'Brien
2352d3f843 The wx package requires wxPython 2.4.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 13:44:45 +00:00
Robin Dunn
feb2d6d223 Prevent scrolling back to the top when calling SetItemCount again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 06:29:39 +00:00
Robin Dunn
c71bb017ee Fix GetItemRect to offset by the header window, if present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 02:17:52 +00:00
Robin Dunn
dac982f799 moved comments to the right place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 23:22:30 +00:00
Robin Dunn
1deeb8c822 No need to import Image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 22:07:19 +00:00
Robin Dunn
cdc77b67db Added #if TARGET_CARBON around shaped window stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 21:29:39 +00:00
Julian Smart
0b7bf40bbc Make sure grid elements have no borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:29:18 +00:00
Robin Dunn
082640752d SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:25:03 +00:00
Václav Slavík
21f9c5560d fix for multiple initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Robin Dunn
268df712a3 Binary compatible almost correct workaround for failure to merge the
m_overflow flag


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:47:51 +00:00
Julian Smart
1b4c5c70bb More style issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
0842947f77 Fix some style glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:00:06 +00:00
Julian Smart
41350749c7 Add WS_VISIBLE style so controls actually show up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:58:16 +00:00
Julian Smart
a25cf84937 Use native tree control by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:48:22 +00:00
Robert Roebling
9426087491 Second attempt to use bitmap menus under GTK2. This
creates a memory leak since GTK2 expects a static
    bitmap and we have to create it on the fly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:36:14 +00:00
Julian Smart
c5d4a908ee Backported the window border improvements to 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:36:40 +00:00
Robin Dunn
7779af28db SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:59:56 +00:00
Robin Dunn
e09838afc4 Added wxFutureCall, a subclass of wxTimer that makes it easy to delay
a call to any Python callable object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:57:59 +00:00
Robin Dunn
28118dbd1d Added wrappers for wxTreeListCtrl, only to wxPython so far but it
could probably go into contrib/gizmos with some more work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:56:16 +00:00
Robin Dunn
f632c16831 Typos fixed and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:55:07 +00:00
Robin Dunn
2f511ce8d0 Added wrappers for wxTreeListCtrl, only to wxPython so far but it
could probably go into contrib/gizmos with some more work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:44:13 +00:00
Robin Dunn
aeeb59a436 Fixed a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:37:13 +00:00
Robin Dunn
c9462e363c Added inline setters for wxTreeEvent so we don't need to add new
friends anytime someone wants to generate wxTreeEvents


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:30:37 +00:00
Robin Dunn
b148feb55e allow the base class to participate in the CanPaste decision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 23:43:39 +00:00
Patrick K. O'Brien
09dbc89e7b Changed path to epydoc files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:34:26 +00:00
Patrick K. O'Brien
e96dfa70f5 Absolute paths to the epydoc files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:32:32 +00:00
Patrick K. O'Brien
10b9b230e1 Updated to include new wx epydoc reference.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:25:01 +00:00
Patrick K. O'Brien
742c06e8aa Added DirFilterListCtrl class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:42:09 +00:00
Patrick K. O'Brien
f864dfa8f7 Add more stuff to the output file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:20:24 +00:00
Patrick K. O'Brien
4ed72fe0c3 Better module docstring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:17:57 +00:00
Julian Smart
f32edf89b1 Compilo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:14:17 +00:00
Patrick K. O'Brien
a2743d3433 Added two functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 18:23:27 +00:00
Robert Roebling
c69021d8cd Added menu bitmaps to GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 14:28:40 +00:00
Julian Smart
f6bef341eb Removed obsolete 16-bit import libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 09:44:36 +00:00
Julian Smart
44571a5d27 Doc clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:53:46 +00:00
Robert Roebling
1daf3f08fd splitter mini fix upported from HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:23:33 +00:00
Robert Roebling
da6c39648e Compilation fixes for Penguin under Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:02:16 +00:00
Robert Roebling
5e0701b3a5 Adapted GLCanvas to GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:01:14 +00:00
Patrick K. O'Brien
7f9e738a57 Generates wx package for epydoc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 01:53:30 +00:00
Patrick K. O'Brien
1096092fbc Namespace cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 18:37:07 +00:00
Robert Roebling
76e0d41aaf Cleaned the mess in wxSplitterWindow::OnMouse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:36:50 +00:00
Robert Roebling
d05cabeedc Removed surplus enter/leave events after mouse capture/release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:35:36 +00:00
Robert Roebling
056ace7e98 Added test for mouse capture and enter/leave events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 07:32:30 +00:00
Julian Smart
ff27cad84b Initialised m_isBeingDeleted -- I don't know how anything
worked without it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 21:09:58 +00:00
Julian Smart
e71d7ac230 Setting state to STATE_NEW in wxThread::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:51:09 +00:00
Patrick K. O'Brien
0bb26f5835 HTML files shouldn't be in CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:23:19 +00:00
Patrick K. O'Brien
a933edba06 New file, overview of other docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:21:01 +00:00
Patrick K. O'Brien
3079d52188 New and updated files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 19:44:27 +00:00
Patrick K. O'Brien
674fa4d446 Updated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 19:35:53 +00:00
Patrick K. O'Brien
ad72f14fdf Updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 18:05:37 +00:00
Patrick K. O'Brien
2383b8d3fe Improved `Can* checks in EditWindow`, since STC is too lenient,
particularly when it is set to read-only but returns True for
CanPaste() (seems like an STC bug to me).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 18:03:17 +00:00
Julian Smart
f09eff9aea Applied updated patch [ 731719 ] Owner draw font leak/overuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:12:58 +00:00
Patrick K. O'Brien
1152dd24a2 Added pretty-print Display tab.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 16:51:46 +00:00
Julian Smart
4ff30320ce Added defined() to directive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 15:50:27 +00:00
Mattia Barbon
8b061b2af9 Fix for the fact that unmapped but managed widgets
intercept mouse events even if they are not visible. (backport)
  Set/reset MappedWhenManaged flag when showing/hiding a window,
otherwise, since some common operations (moving, adding items to a
listbox, ...) do a Unmanage-Manage pair, calling Hide and then
(for example) SetSize would show the window again. (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:27:46 +00:00
Mattia Barbon
9ac09df9c6 Pass events to pushed event handlers. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:25:03 +00:00
Robin Dunn
6f9fbb55ab Reversed the meaning of black and white in wxRegion::ConvertToBitmap
so it matches the menaning of black and white in wxMask


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Patrick K. O'Brien
35825a5dcc import wx
Changed some strings to refer to "Py" rather than "PyCrust".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 16:01:41 +00:00
Julian Smart
f9940dab60 Applied [ 731578 ] wxThread state bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:41:57 +00:00
Julian Smart
9fe6f6c258 Applied patch [ 726350 ] wxGrid - MovePageDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:17:38 +00:00
Patrick K. O'Brien
bd969821f9 Docstring changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:15:44 +00:00
Julian Smart
c7e25919c6 Applied patch [ 731846 ] GTK Print Options
Print options were omitted from print command


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:11:55 +00:00
Patrick K. O'Brien
1952003649 This module doesn't use wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 14:31:54 +00:00
Julian Smart
0fb551a0a2 Applied patch [ 731195 ] More #if/#endif's to build a smaller library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:50:04 +00:00
Julian Smart
ea2d63b55b Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:45:00 +00:00
Patrick K. O'Brien
603c2b68de Begin new version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:20:47 +00:00
Patrick K. O'Brien
8c090824f2 Tagged version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:12:21 +00:00
Patrick K. O'Brien
5748250fd4 Get the real path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 12:59:25 +00:00
Julian Smart
e0754b1233 APplied patch [ 731719 ] Owner draw font leak/overuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 11:58:18 +00:00
Patrick K. O'Brien
10fc146318 Updated documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 02:35:46 +00:00
Patrick K. O'Brien
643280d7bf Converted to reStructuredText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 02:30:22 +00:00
Vadim Zeitlin
2c439fe7b6 compilation fix when WXUNUSED(arg) == arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 22:53:59 +00:00
Vadim Zeitlin
fb04fd266a better handling of transparent colour in wxImage conversion (patch 726208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:12:36 +00:00
Vadim Zeitlin
859a5e3406 stddef.h required for IRIX compilation (patch 721388)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:47:16 +00:00
Vadim Zeitlin
8497a90d5c set the index for BEGIN_DRAG events (patch 726308)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:38:42 +00:00
Robin Dunn
bba6d4f731 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 17:55:15 +00:00
Robin Dunn
d7116a786d Round up the virtual size to be a multiple of the scroll rate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 17:54:05 +00:00
Julian Smart
ef1694d6f0 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 14:19:39 +00:00
Julian Smart
3ef4ba7fca Removed backslash in example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 13:40:12 +00:00
Václav Slavík
a9c1f709af fixed Norwegian Bokmal code to conform to new ISO 639-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 22:48:01 +00:00
Roman Rolinsky
12f07f17cf 0.1.1-2
-------

Bugs with currentEncoding and frame testing fixed.

Some required parameters are set to default if missing.

Unsupported classes are tolerated, with warning message.

wxScrolledWindow added (to 'control' pulldown menu, not yet to the
tool palette).

Multi-line editing for labels and some values (wxTextCtrl,
wxHtmlWindow).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 15:20:33 +00:00
Patrick K. O'Brien
fea1441f62 For Python 2.1 compatibility, replaced iteritems() with items().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 14:19:17 +00:00
Vadim Zeitlin
92f7a00667 fixed configure for autoconf 2.5x (patch from Olly Betts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 13:31:09 +00:00
Julian Smart
8612f8167b Allow for +/- in the E part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 12:41:14 +00:00
Julian Smart
98f8dcdab6 Allow 'e' or 'E' in numeric text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 09:43:03 +00:00
Robin Dunn
b35d468f66 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 01:22:05 +00:00
Robin Dunn
45e2c6f716 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 01:15:45 +00:00
Robin Dunn
0a5f534430 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 01:13:31 +00:00
Robin Dunn
6fad3ddb82 Used glob to simplify some file lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:57:15 +00:00
Robin Dunn
c9cc9d67bc Typo fix, and a bit more info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:56:41 +00:00
Robin Dunn
791ed2d3d1 When the __class__ of a dead object is replaced with _wxPyDeadObject
the __del__ of the original class is now called first.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:55:17 +00:00
Robin Dunn
a16bcfcef2 Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
<e_lub@yahoo.com>   wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Robin Dunn
e2a07240ee SF Patch #728691, dangling pointer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 18:44:27 +00:00
Patrick K. O'Brien
ba82f67d6d Better sys.path handling, other minor tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 17:43:08 +00:00
Patrick K. O'Brien
ef48bdb011 Commented out print statement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 17:11:49 +00:00
Patrick K. O'Brien
c5ae760f0c Removed old code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 17:05:52 +00:00
Patrick K. O'Brien
93701e2a00 Removed addition of current dir to sys.path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 16:10:40 +00:00
Julian Smart
0e66b22778 Doc suggestions applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 10:37:08 +00:00
Julian Smart
146dd475ae Fixed [ 728819 ] memory leak in ipcbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 10:33:05 +00:00
Vadim Zeitlin
bf0793e2bb *really* fixed searching in sorted arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 21:24:36 +00:00
Robert Roebling
e9e466c134 timer no longer returns IsRunning() after a
one shot timer has fired.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 21:18:17 +00:00
Patrick K. O'Brien
b80ff307a1 Moved to docs directory; some files renamed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 14:13:54 +00:00
Patrick K. O'Brien
e71a8700c4 New documentation directory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 14:02:14 +00:00
Stefan Csomor
3728b81a27 backpatch for activate error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:32:05 +00:00
Stefan Csomor
146afc4d24 moving rollover check, was causing hangs upon termination in case ->top was 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:26:13 +00:00
Vadim Zeitlin
e275abbd9b fixed bug recently introduced in wxSortedArray::Index()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 11:50:56 +00:00
Robert Roebling
4115304e1f Another try to fix the enter/leave freeze while in capture.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 17:39:45 +00:00
Robin Dunn
85aa152733 Restore signal handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:31:41 +00:00
Robin Dunn
2402819570 Added wxPrintMode enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:29:57 +00:00
Robin Dunn
78e7a73d4f Changed validator parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:29:36 +00:00
Robin Dunn
ffac66d530 Added some new test cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:26:15 +00:00
Robin Dunn
5dc5e70e20 Added masked edit controls (wxPython.lib.maskededit) by Jeff Childers
and Will Sadkin.  Updated wxTimeCtrl to use MaskedEdit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:25:23 +00:00
Robin Dunn
376b7bd99e wxCHECK for valid menu in DoPopupMenu (SF Bug# 722230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:11:32 +00:00
Robin Dunn
2695ce5a87 Prevent a Gtk-CRITICAL message when Remove()ing a menu from a menubar
that has submenus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:08:42 +00:00
Robin Dunn
173b026f6c Fix setting the scrollbar positions (SF Bug #721159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:04:26 +00:00
Robert Roebling
0f20644152 Typo in mouse event code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 06:37:05 +00:00
Ron Lee
004612c018 updated for 2.4.0.8 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 23:14:58 +00:00
Patrick K. O'Brien
b7726792a9 Remove autocomplete list size restriction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 22:18:03 +00:00
Robin Dunn
5712d9371c SWIGged update for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 22:10:32 +00:00
Patrick K. O'Brien
af48798d9c Changed title.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 22:09:49 +00:00
Robin Dunn
448363cd84 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 22:07:13 +00:00
Patrick K. O'Brien
63ad6bbb1b Added panel with sizer to reduce flicker and allow other controls on
the panel later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 21:57:18 +00:00
Robin Dunn
6f8b147bf6 SWIGged updats for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 20:30:56 +00:00
Robin Dunn
a58fefdcbb Updated Scintilla to 1.52
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 20:20:45 +00:00
Robin Dunn
94095266a7 Updated Scintilla to 1.52
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:56:54 +00:00
Patrick K. O'Brien
66765a238d Better scripting support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:19:29 +00:00
Patrick K. O'Brien
a0dc39c565 Updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 01:06:32 +00:00
Robin Dunn
8cd6b6b985 Fixed INOUT parameter.
Removed wrappers for wxMenu::Attach/Detach since they are really only
for internal use and I didn't need them afterall to work around a bug that I
thought I was fighting with...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 21:33:55 +00:00
Robin Dunn
96de476467 Moved wx/examples to samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 21:17:46 +00:00
Robin Dunn
e8e8026ec7 Added AnalogClock class to library
Added NewNamespace sample to the demo
Other demo tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 21:10:28 +00:00
Patrick K. O'Brien
0776fe07e4 Removed shebangs to facilitate Debian packaging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 19:30:36 +00:00
Vadim Zeitlin
09c5557e7a removed (duplicated) wxArrayPages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 18:48:45 +00:00
Chris Elliott
e216a18080 fix typo in makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 16:28:59 +00:00
Vadim Zeitlin
e5503d67f9 removed wxCHOICEDLG_DIALOG_STYLE, use only wxCHOICEDLG_STYLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 10:48:35 +00:00
Vadim Zeitlin
62acf6c87c make choice dialog resizeable by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 22:23:49 +00:00
Patrick K. O'Brien
f474f6a241 Fix refresh problem on Win98.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 21:42:54 +00:00
Robin Dunn
4a1a1d848d Ensure that submenus are also added to the system when their parent
menu is used in a wxMenuBar::Repalce call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:06:17 +00:00
Patrick K. O'Brien
99a5137c2d Fix line endings for Win and Mac.
Separate compile and exec steps for better error handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 19:46:46 +00:00
Patrick K. O'Brien
6b0fd7830e Buffer display name on notebook tab hack fest. This should be
refactored and made a method of buffer, perhaps
buffer.getDisplayName().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 18:48:35 +00:00
David Webster
1176373c57 Fix this buggy makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 17:38:33 +00:00
David Webster
c506b569a9 Catch up Os/2 to the state of the branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 17:24:45 +00:00
David Webster
6a6e183c12 for true and false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 17:23:03 +00:00
Václav Slavík
f1ebf6088a fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 22:33:54 +00:00
Robin Dunn
cf83df6d61 Backported the controls on a toolbar fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 21:05:53 +00:00
Patrick K. O'Brien
08efbf69b1 One shell for each editor; good for testing namespace issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 17:25:44 +00:00
Patrick K. O'Brien
c678a73f7e Set focus to the shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 17:23:39 +00:00
Robin Dunn
ce60b8194a Some NewId() --> wxNewId() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 15:05:19 +00:00
Julian Smart
a593039f68 Fixed memory leak when setting new wxMask for wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 09:54:23 +00:00
Robin Dunn
464242f3d1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 06:10:10 +00:00
Robin Dunn
141e492284 Added wxMenu Attach/Detach helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 06:09:47 +00:00
Robin Dunn
8b52d1be62 Start actually returns bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 06:08:59 +00:00
Robin Dunn
1e89000cc8 Add more info about Scintilla changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 06:07:55 +00:00
Robin Dunn
ce589e8291 Updated the Makefile.in and setup.py with all the new dirs for the wx
and py packages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 06:06:27 +00:00
Patrick K. O'Brien
5cc33b058c Moved to editwindow.py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 22:10:27 +00:00
Patrick K. O'Brien
64386c666c Major restructuring to get a better foundation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 22:03:03 +00:00
David Elliott
9d5aa5d876 When saving the editable state, use the real state (m_editable)
Same change as 1.53 -> 1.54


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 18:51:54 +00:00
Julian Smart
fad7abc046 Test for result of searching for wxID_CANCEL button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:56:09 +00:00
Julian Smart
824d857df1 Set wxPendingEvents to NULL after deletion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 22:54:32 +00:00
Václav Slavík
a24ce8f811 backported wxFileName::MakeAbsolute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 17:09:37 +00:00
Václav Slavík
919d1806cc removed outdated docs (fixes bug #698139)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:29:04 +00:00
Václav Slavík
89b6b3cccb applied patch to fix tooltips charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:40:48 +00:00
Robin Dunn
d00fe0d422 Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
entire value like other ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:38:56 +00:00
Vadim Zeitlin
7a7fb211dc return wxKILL_OK in krc instead of leaving it unchanged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:32:44 +00:00
Vadim Zeitlin
fd4b068652 fixed bug with searching in sorted arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:05:24 +00:00
Vadim Zeitlin
ae8b9dcc4a allow vetoing wxEVT_COMMAND_LIST_COL_BEGIN_DRAG (backported from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 19:08:41 +00:00
Stefan Csomor
5c80bed5e7 cleanup and classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:45:06 +00:00
Robin Dunn
1b3864922c Added a sample to the demo specifically for PopupMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:12:07 +00:00
Robin Dunn
62e3042f36 Backported fix allowing for wxMac popup menus to have submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:10:57 +00:00
Robin Dunn
efe8d3eb34 Test a submenu on the popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 15:20:49 +00:00
Patrick K. O'Brien
5d054a19fd Fix column count.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:12:04 +00:00
Václav Slavík
83e991d00e don't use deprecated macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:01:42 +00:00
Robin Dunn
d268268837 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:06 +00:00
Robin Dunn
d8ac6a6267 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:03 +00:00
Robin Dunn
d6b4de54b5 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:57:22 +00:00
Robin Dunn
ba8161f46b Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.IsOk(): ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:45:27 +00:00
Robin Dunn
59f89e9738 No need to have the old PyCrust in the new namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:42:58 +00:00
Robin Dunn
88cd49f777 Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.Ok: ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:38:11 +00:00
Robin Dunn
d2d844fa99 Test code for removing a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:35:39 +00:00
Robin Dunn
9b945ca87a SF patch [ 718899 ] wxGrid - output parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 15:49:00 +00:00
Vadim Zeitlin
4140358663 add missing symbols to wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 13:15:22 +00:00
Roman Rolinsky
22b3452638 - changed encoding selection, removed -i option
- replace command


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 09:31:39 +00:00
Gilles Depeyrot
8ed35e7493 if we are not in the main thread, output the assert directly and trap since
dialogs cannot be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 06:13:48 +00:00
Robin Dunn
ea841e4340 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:44:44 +00:00
Robin Dunn
ed23e4b31b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:17 +00:00
Robin Dunn
5d5c8aa70e Regenerated the default script batch files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:05 +00:00
Robin Dunn
9e52ade763 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:41:48 +00:00
Robin Dunn
62107846d2 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:40:08 +00:00
Robin Dunn
2321b3c778 Added __nonzero__ method to wxTreeItemId.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:28:38 +00:00
Robin Dunn
6416289540 Updated demo for new Py packages, and updated the html-ized version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:14:15 +00:00
Robin Dunn
8245592fde wxHtmlWindow::LoadFile is now available, added wxNotebookPage helper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:13:07 +00:00
Robin Dunn
c2a79c3e1c Removed the old tests that I havn't looked at or used for years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 18:54:43 +00:00
Robin Dunn
5f933e58ef Patrick O'Brien's PyCrust package has been renamed to Py and now
includes several new tools.  As part of the change the location of the
pacakge has changed as well, it is now accessible as "from wxPython
import py" (or "from wx import py" using the new namespace.)  There
are still some transition moudules in the wxPython.lib.PyCrust mackage
that will issue a warning and then import what is needed from the new
package.  These will be removed in a future release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 17:44:53 +00:00
Robin Dunn
81c9a1a8e7 Use a different window style to help ensure there are no window
decorations added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:26:35 +00:00
Robin Dunn
4f10f2e0e1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:24:53 +00:00
Robin Dunn
ab829dd986 Some updates for wxHtml classes, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:23:30 +00:00
Robin Dunn
f50d205d88 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:04:18 +00:00
Václav Slavík
e19e065d15 forgot to add LoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:02:31 +00:00
Robin Dunn
e231bca2ab More wxSTC tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 01:37:05 +00:00
Robin Dunn
fce40eebe3 MOre wxSTC tweaks and a buffer overflow fix too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 01:06:42 +00:00
Robin Dunn
058eaf8285 Fix VC6 compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 00:02:28 +00:00
Robin Dunn
09aceb98d9 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:58:03 +00:00
Robin Dunn
9e94c29759 CHanged IconWidth from a constant to a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:56:31 +00:00
Robin Dunn
e5088d14a2 Updated wxSTC to Scintilla 1.51
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:41:31 +00:00
Václav Slavík
a0bcb6934e backported GTK2 default font fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:28:30 +00:00
Robin Dunn
b28d567bb0 Turn off all border styles for the inner window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:24:14 +00:00
Václav Slavík
c44ad973b9 partially backported wxHTML SetFonts improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:19:19 +00:00
Václav Slavík
3d20fa7032 XRC fixes for <object_ref> and relative file names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:16:27 +00:00
Václav Slavík
dc5003c6f3 backported wxFileConfig fix for Unicode mode: always use utf-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:14:15 +00:00
Václav Slavík
0da58ad502 backported correct CDATA and <script> handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:11:53 +00:00
Václav Slavík
9d308583a4 more backported chnages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:10:44 +00:00
Václav Slavík
9a345c9277 backported toolbar handler improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 22:09:21 +00:00
David Elliott
9487b29313 Fix from HEAD 1.87 -> 1.88
After delete wxPendingEventsLocker;  wxPendingEventsLocker = NULL; so that
the wxEvent code doesn't try to use it while cleaning up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 18:08:58 +00:00
Vadim Zeitlin
f8faaa532a fix bug with not accepting write-only formats in d&d (backported from head)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:43:26 +00:00
Julian Smart
094cb15ba0 It turns out there was a change to mimetype.h (addition of
parameters) so must revert the previous backport.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 19:09:15 +00:00
Julian Smart
e5490e6eb8 Add support for GTK2 label mnemonics
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:55:52 +00:00
Julian Smart
91c04f6445 Improved X11 ShowFullScreen
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:43:12 +00:00
Julian Smart
b5bc85ca42 Backported fix: use GNOME2's /usr/share/pixmaps/document-icons in wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:20:10 +00:00
Julian Smart
680011889d Fixes for compilation with OpenWatcom
Backport from head: most were already applied


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:17:05 +00:00
Julian Smart
af21489292 Backported wxrc fixes from head
1) fixed compilation of wxBitmap, wxIcon toplevel nodes
2) fixed wxrc when using -o dirname/filename


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:09:23 +00:00
Julian Smart
2d50f4b5f2 Applied [ 703260 ] wxFontEncoding Problem
Backported from trunk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:53:16 +00:00
Julian Smart
466a7a71c7 Implement wxExecute with proper callback on Mac OS X
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:47:48 +00:00
Julian Smart
5b7fd7d337 Implemented wxTextCtrl::Remove/Replace() for GTK2
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:38:28 +00:00
Julian Smart
0cf2523391 Applied patch [ 705441 ] Radio button consecutive groups bug
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:33:52 +00:00
Julian Smart
2b3986f719 Alt-letter didn't switch focus to a spin ctrl following static control
with "&letter" accel
Backport from head for
http://sf.net/tracker/index.php?func=detail&aid=672974&group_id=9863&atid=109863


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:28:12 +00:00
Julian Smart
846173c976 Fix for bug whereby owner-drawn buttons didn't draw multiline labels correctly
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 16:23:09 +00:00
Julian Smart
a5243c0dbe Accept '\r' as delimiter when parsing dates (bug #684617)
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:39:39 +00:00
Julian Smart
bf9728b3d7 Fixed memory leak in generic wxFileDialog
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:36:12 +00:00
Julian Smart
3fd1786b81 Fixed memory leak in wxMimeTypesManager
backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:30:54 +00:00
Julian Smart
2c7015513f Applied [ 668155 ] Refresh problem when msgbox is shown (wxUniversal)
Backport with modification from CVS head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:19:53 +00:00
Julian Smart
0733b715d6 Fix for wxProgressDialog::Update() signature
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:15:37 +00:00
Julian Smart
c9cdb51104 Fixes for wxLocale::Init and Borland C++
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:08:12 +00:00
Julian Smart
9e1c4c0ab4 Use ES_DISABLENOSCROLL to work around the vertical scrollbar bug in
wxTE_RICH2 text control
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 15:03:08 +00:00
Julian Smart
091adf6727 wxCondition doc update from head
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:52:13 +00:00
Julian Smart
410b0c776d wxFrame::Maximize(FALSE) would maximize the window if
called before showing it
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:45:30 +00:00
Julian Smart
b0b5189e03 wxStopWatch::Start() didn't resume it contrary to the docs
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:41:57 +00:00
Julian Smart
3b4b3d8550 Fix for deleting entries at root level in wxFileConfig
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:38:19 +00:00
Julian Smart
e05c4ff66a Backported [ 622089 ] wxTR_EDIT_LABELS vs wxTR_MULTIPLE style
Fix for wxTreeCtrl label editing in wxTR_MULTIPLE mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:31:20 +00:00
Julian Smart
87d05605b5 wxCaret::SetSize correction for showing caret
Backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:26:29 +00:00
Julian Smart
bc9406afe6 Fx for sending event from wxCheckListBox::Check().
Backported from head.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:20:49 +00:00
Julian Smart
9856829d76 Fix for explicit keyword detection (VC++)
backported from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 14:06:36 +00:00
Julian Smart
eddd296499 Don't use stipples in DoDrawText (backported from CVS head)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:28:14 +00:00
Julian Smart
bed2d80c90 Set orientation for scrollbar events (backported from CVS head)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:23:01 +00:00
Julian Smart
09007b50a0 Fixed assert (and crash in debug) in wxFileConfigGroup::DeleteSubgroupByName
Backported from CVS head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:19:23 +00:00
Julian Smart
98a67aa507 Backported SetScrollbars bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 12:03:09 +00:00
Julian Smart
6c11eb5b41 Backported fix: wxMSW::wxStaticText::GetBestSize() was wrong by '&' width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 11:35:32 +00:00
Julian Smart
f7732c4385 Fix for getting all frames from GIF animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 18:59:50 +00:00
Julian Smart
5a242608b5 Reverted previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 13:11:25 +00:00
Julian Smart
756284f00a Applied patch [ 715449 ] Fix MSW cursor errors
(already implicit in CVS trunk)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:51:54 +00:00
Julian Smart
0bab18a8e0 Added a const for CW compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:38:18 +00:00
Julian Smart
9279e47404 Applied patch [ 705301 ] Don't send event for wxSplitter::Unsplit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 10:34:59 +00:00
Robin Dunn
031febef4f Handle checkable items the right way in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 22:21:38 +00:00
Robin Dunn
ffa0f3dd9b Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:59:07 +00:00
Robin Dunn
915f4a09b5 Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:51:27 +00:00
Robin Dunn
d38b3b9620 Made an eopty stub of SetSelection for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:34:41 +00:00
Roger Gammans
09e6ff8c42 * rename maxOnOverflow parameter to CoordToRowOrCol() to clipToMinMax
* ensure CoordToRowOrCol() range is  0 -> nMax if clipOnMinMax is set
                                and -1 -> nMax if clipOnMinMax is not set

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

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:08:43 +00:00
Robin Dunn
8ac35652ba Correction to my new menu code: handle submenus on menubar menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 21:01:52 +00:00
Robin Dunn
0cc89f950e Fix menu event propogation to be consistent across platforms, and with
the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:40:46 +00:00
Robin Dunn
073233381b Fixed menu event propogation to be consistent across platforms, and
with the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 18:39:20 +00:00
Julian Smart
b6f6e5a77e Applied patch [ 706329 ] [wxMac] Fixes wxGetLocalTimeMillis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 13:01:59 +00:00
Julian Smart
4db672bd7c Applied patch [ 708377 ] Make NET (smapi.cpp) UNICODE compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:42:56 +00:00
Julian Smart
54a6eb4dee Applied patch [ 713459 ] wxUniv/GTK compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 10:29:07 +00:00
Julian Smart
d8134e0bec Unicode-enabled the STC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 09:09:06 +00:00
Robin Dunn
24d3bad8d6 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:49:09 +00:00
Robin Dunn
592778bad6 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:59 +00:00
Robin Dunn
9f8ef6c168 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:43 +00:00
Robin Dunn
9339eb0fe4 fixed typo in parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:54 +00:00
Robin Dunn
11acaf87d7 Added SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:33 +00:00
Robin Dunn
a0973ce40c Added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:03 +00:00
Robin Dunn
3bd7099bb4 removed special case for wxMac, not needed any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:21:19 +00:00
Julian Smart
f17ce86047 Applied patch [ 705212 ] wxTextCtrl::SetSelection() for wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 17:55:42 +00:00
Julian Smart
8686744068 Applied [ 703017 ] TreeCtrl sample build fails when using generic control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:40:35 +00:00
Julian Smart
3dbebf5144 Applied patch [ 700313 ] Allow wxUSE_OWNER_DRAWN = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:26:58 +00:00
Julian Smart
125372dd45 Applied [ 700293 ] FL Unicode patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 14:14:13 +00:00
Julian Smart
46be20d9be Applied patch [ 694561 ] FL Release build DLL include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 11:15:10 +00:00
Julian Smart
84406ac8be Fixed version convention for VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 08:07:24 +00:00
Robin Dunn
58ccbbc7b7 Made the version number information more robust and uh, informative.
Also added asserts to check that the major.minor versions of wxPython
and wxWindows match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:49:07 +00:00
Robin Dunn
d842ec8482 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:47:11 +00:00
Robin Dunn
509b8f9b5f Added missing method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:56 +00:00
Robin Dunn
4d2a9c1a5f cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:44 +00:00
Julian Smart
e63aab5adf Version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 16:49:41 +00:00
Robin Dunn
e44b4b86f1 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 05:15:09 +00:00
Robin Dunn
9d05742271 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:51:26 +00:00
Robin Dunn
c47e337d22 Forgot to add this image...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:50:41 +00:00
Robin Dunn
66a1929a95 Updated ShapedWindow demo, don't try to start out without the shape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:40:21 +00:00
Robin Dunn
8756135df1 README tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:39:39 +00:00
Robin Dunn
f6f41ac61a SWIGged code updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:38:07 +00:00
Robin Dunn
c21b5bcd98 Changed wxSWIG to not generate Python code using apply, (since it will
be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax
instead.  Also changed the generated __repr__ methods to be a bit more
informative.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:36:08 +00:00
Václav Slavík
9137f764b6 XRC's unknown widget container handles removal of the widget now (backported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 22:03:28 +00:00
Mattia Barbon
deae97bfa5 Applied patch [ 702254 ] Life: Fix to page scrolling
from Hugh Gibson (backport).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 19:15:24 +00:00
Robin Dunn
ebad4a640c Fixed compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:22:12 +00:00
Robin Dunn
2469ff1643 Allow label edits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:21:50 +00:00
Robin Dunn
70f8442083 Added ShapedWindow sample to the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:20:45 +00:00
Robin Dunn
17d270987a Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
(Backport to 2.4 from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:25:07 +00:00
Robin Dunn
28b9bd356d Forgot to remove the "virtual" for binary compatibility...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:17:46 +00:00
Robin Dunn
8c879ff9c5 Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
(Backport to 2.4 from 2.5)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:03:04 +00:00
Bryan Petty
9f5fc44733 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 19:03:04 +00:00
Václav Slavík
2721bd7e21 fixed bug #708570: Request 'silver' be allowed as a XPM value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 10:19:32 +00:00
Chris Elliott
1ed0735c53 fix build for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 13:35:30 +00:00
Chris Elliott
23200777d1 fix build for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 13:23:04 +00:00
Chris Elliott
19778f31bd fix build for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 12:25:20 +00:00
Chris Elliott
38643da5dc fix lib build for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 12:12:49 +00:00
Chris Elliott
c7999962a3 fix for new watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 20:44:28 +00:00
Julian Smart
9eb210eadb Fix for splittree under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 14:17:00 +00:00
Chris Elliott
bcbdee05d3 modify makefile for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 21:26:02 +00:00
Chris Elliott
068dd44056 modify makefile for watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 21:17:41 +00:00
Julian Smart
607422284d Use virtual functions to help splittree work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 18:49:34 +00:00
Robin Dunn
5022eecae0 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-25 04:10:08 +00:00
Robin Dunn
5e0033c406 Doc-string updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 22:46:38 +00:00
Julian Smart
58a44689c3 Applied patch [ 705663 ] Fix capture mouse bug in wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 21:00:11 +00:00
Vadim Zeitlin
82e3ab8724 print dialogs ignore user paper settings in non C locale (patch 696835)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 20:31:24 +00:00
Robin Dunn
9e6fc6c899 Added wxScrolledPanel from Wil Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:48:42 +00:00
Vadim Zeitlin
8c95ef116d Unicode compilation fix (bug 694826)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:34:30 +00:00
Robin Dunn
4cc1012b97 Turn the dbg logger into a Logger class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:23:49 +00:00
Julian Smart
0bbcffb2f5 Fix by Milan Babuskov <albis@eunet.yu> in MovePageUp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 17:21:57 +00:00
Chris Elliott
cec20f68b2 fix reference to obsolete b32univ file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-23 20:26:05 +00:00
Robin Dunn
a882b4926b Some fixes for Will's debug logger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 19:34:23 +00:00
Václav Slavík
b836e27d04 XRCID lookup now handles standard IDs correctly (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 13:48:52 +00:00
Václav Slavík
ca81525a72 fixed MSLU link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 23:14:26 +00:00
Robin Dunn
885e38e0c4 OSX build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 22:37:32 +00:00
Robin Dunn
ec5a3c3d14 If not building standalone then PYTHONHOME shoudl not be set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 22:37:09 +00:00
Robin Dunn
0290bdd203 Little bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 22:35:49 +00:00
Robin Dunn
901384b2fc SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 19:21:15 +00:00
Robin Dunn
c01309bf55 Updated build scripts for wxPythonOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 19:17:31 +00:00
Robin Dunn
9ca5ec8bfc SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 19:16:14 +00:00
Robin Dunn
68efcd79bc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 18:58:03 +00:00
Robin Dunn
8e10035b0a Instead of always logging C++ assertions, added wxPYAPP_ASSERT_LOG
flag to turn it on.  In most cases turning it into an exception (the
default behavior) is enough.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 18:57:05 +00:00
Robin Dunn
854b358232 Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 18:54:43 +00:00
Robin Dunn
b8b2cdd3ea Use the right address for the tips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 18:53:07 +00:00
Chris Elliott
a548432b31 fix memory leak as Dimitri suggested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 10:01:01 +00:00
Roman Rolinsky
86536988d6 added default dialog styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 07:45:05 +00:00
Robin Dunn
159f1012bc Removed more distrib stuff that is no longer used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 04:06:08 +00:00
Robin Dunn
fe6531fc30 Removed Mac build scripts and such that are no longer used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 03:40:37 +00:00
Robin Dunn
47c902be43 Tweaks to MacPython build scripts and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 03:36:14 +00:00
Robin Dunn
78e5c4e9b5 Updated bundlebuilder to version in Python 2.3a2 + my --libs patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 03:31:14 +00:00
Roman Rolinsky
3416be29f9 true/false -> True/False
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 00:31:59 +00:00
Roman Rolinsky
b22eeb9e6d added True and False consts if not present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 00:25:28 +00:00
Roman Rolinsky
63c691437e fixes for wxMSW, more efficient code for enabling/disabling groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 00:24:37 +00:00
Roman Rolinsky
844b310037 added fix for readme window dimensions (wrong text extent returned)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 00:23:31 +00:00
Robin Dunn
bfe54e52da Updated PyCrust to version 0.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 23:14:32 +00:00
Robin Dunn
4764327b40 Better cleanup of the copy of CVS tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 23:02:00 +00:00
Roman Rolinsky
301007ffa5 changed dontpanic message a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:32:42 +00:00
Roman Rolinsky
8187d73595 simplified font settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:24:17 +00:00
Roman Rolinsky
ba12c0a766 new tree icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:05:26 +00:00
Roman Rolinsky
7c834ad6d6 New images for tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:04:21 +00:00
Roman Rolinsky
c9569d2308 - tools panel
- menu IDs separated from PullDownMenu in ID_NEW class

- some icons changed

- button size for panel is calculated dinamically

- some menu command rearranged, static bitmap added

- status bar shows ctrl and shift state

- refresh bug (double-refreshing) fixed

- after tree selection changes, focus is set to tree control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 20:01:51 +00:00
Roman Rolinsky
fe84bd4bdc Tools panel class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 19:58:26 +00:00
Robin Dunn
a568802deb Just copy (and cleanup) from workspace instead of doing an export from CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 00:38:05 +00:00
Robin Dunn
544f6e1665 Tool for simple debug messages, or can integrate with wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 00:37:19 +00:00
Robin Dunn
7ef8b21728 true/false --> True/False conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-20 00:36:06 +00:00
Robin Dunn
1356efc2eb copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 23:07:26 +00:00
Robin Dunn
ef68facf71 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:55:58 +00:00
Robin Dunn
c97cc71ff0 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:55:25 +00:00
Robin Dunn
aa786eb505 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:54:34 +00:00
Robin Dunn
4932ae4a15 Ensure some data files get installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:48:41 +00:00
Robin Dunn
96e5c58555 Version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:20:01 +00:00
Robin Dunn
83609d6f72 Fixed a interpreter lock problem in the __eq__ and __ne__ methods in wxSize and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 22:09:59 +00:00
Julian Smart
bb722da782 Cast this to wxWindow* for passing to destroyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 21:56:56 +00:00
Robin Dunn
37b68131d0 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 05:05:21 +00:00
Robin Dunn
9b07c5a436 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 04:15:57 +00:00
Robin Dunn
d0acfee780 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:47:14 +00:00
Robin Dunn
375c124f0d Gave up on generating a warning upon the use of the old true/false or
TRUE/FALSE values.

Fixed the typemap that converts strings to wxColours to also accept
unicode.

Typo fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:45:44 +00:00
Robin Dunn
80977b9444 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:42:34 +00:00
Robin Dunn
d4507593e1 Updated build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:36:04 +00:00
Robin Dunn
50c09563d0 Fixed problem where the wrong class name could sometimes be used for OOR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 03:28:36 +00:00
Robin Dunn
003d61a3e6 Backported recent wxGenericTreeCtrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-19 01:02:45 +00:00
Václav Slavík
bd3b579a5a fix wxrc-generated c++ code to work in Unicode mode (patch #704064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:27:15 +00:00
Robert Roebling
3d6c0694f6 Text attributes for GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:47:47 +00:00
Robert Roebling
1c411e3d43 Better scrolling to cursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 13:28:56 +00:00
Chris Elliott
004d7d7445 fix build for borland 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 10:47:51 +00:00
Robin Dunn
bee5ccc4aa Prevent crash in case nothing is selected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 19:48:45 +00:00
Roman Rolinsky
6fc391d57d small change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 11:12:07 +00:00
Roman Rolinsky
ea85794973 added xmlFlags in wxXmlResource() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 11:11:54 +00:00
Roman Rolinsky
71ae0a1095 added xmlFlags and -i option to turn off wxXRC_USE_LOCALE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 11:10:06 +00:00
Robin Dunn
ee6beb764e Fix how the return value of OnInit is checked, also DECREF the
PyObjects used there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 08:52:43 +00:00
Robin Dunn
1b8fa9023e Be sure to remove files from the new pycrust dirs when uninstalling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 06:06:10 +00:00
Robin Dunn
867509e0e2 Add command to make only the SRPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 06:04:07 +00:00
Robin Dunn
facb711c38 Forgot to mention the new PyCrust version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-12 06:03:07 +00:00
Stefan Csomor
7263a166db corrected background selection for mac and added appearance savvy disclosure triangles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 22:05:58 +00:00
Robin Dunn
45a9c81318 Version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 21:54:41 +00:00
Robin Dunn
d30eb33cc5 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 21:41:18 +00:00
Robin Dunn
186e869e81 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 21:39:47 +00:00
Robin Dunn
4b994df96f SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 21:37:08 +00:00
Stefan Csomor
c1e39ae9b3 moved fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 20:00:58 +00:00
Robin Dunn
79815f2675 Updated to 0.9b of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:48:29 +00:00
Robin Dunn
9920902f18 Patch from Will Sadkin for dealing with emoty values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:45:41 +00:00
Robin Dunn
a0c711c0d2 Make _DeprecatedNonBool a little more friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:45:01 +00:00
Robin Dunn
00b7e47d1b demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:43:44 +00:00
Robin Dunn
a9dbe85be2 demo tweak for better testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:42:33 +00:00
Robin Dunn
843ab900d9 Updated to 0.9b of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 19:41:55 +00:00
Robin Dunn
733e6b6d19 Updated pycolourchooser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 02:00:55 +00:00
Robin Dunn
6049fb0a7d Typos fixed, more true/false --> True/False changes, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 01:13:20 +00:00
Robin Dunn
829be437b1 version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 01:09:11 +00:00
Robin Dunn
de0aa99a70 The statusbar should start with one field, not zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-11 00:01:03 +00:00
Robin Dunn
84998713ea more informative error messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:58:30 +00:00
Robin Dunn
364faf634e If zero time is specified, don't try to sleep when using a timer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:38:17 +00:00
Robin Dunn
8774540e37 Don't clear the HWND until after the UnsubclassWin so the old WndProc
will be restored.  Otherwise we get messages after the wxTextCtrl has
been destroyed.  (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 23:33:47 +00:00
Gilles Depeyrot
ef5d4fc7e0 do not compile c++ files which should only be included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 20:00:31 +00:00
Vadim Zeitlin
f79cf03477 fixed a serious bug in Shrink()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 18:11:15 +00:00
Stefan Csomor
720d270f0e border corrections for Aqua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-09 17:58:56 +00:00
Robin Dunn
1c24ca6cdb Updated build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 21:14:15 +00:00
Robin Dunn
7cf9a3037f Updated various readme's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 22:08:30 +00:00
Robin Dunn
034891ed2b Adding pycwrap script which will launch another wxPython app adding a PyCrust window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 19:14:11 +00:00
Robin Dunn
2714ef2ab0 removing so it can be re-added with the execute bit set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 19:09:51 +00:00
Robin Dunn
d45aa93b61 Build/distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 19:04:58 +00:00
Robin Dunn
5505bde35b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 00:21:44 +00:00
Robin Dunn
2c25b1aa80 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:53:17 +00:00
Robin Dunn
9ce0bb1007 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:45:56 +00:00
Robin Dunn
51f129fb20 update change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:19:11 +00:00
Robin Dunn
0539ad924a demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:17:44 +00:00
Robin Dunn
14f4cf769e the generic listctrl has EditLabel now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:13:30 +00:00
Robin Dunn
2725571fda Build/distrib things for the new pycwrap too and the new PyCrust
pacakge dir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:05:42 +00:00
Robin Dunn
27e5b95c62 Build/distrib things for the new pycwrap too and the new PyCrust
pacakge dir.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 23:04:42 +00:00
Robin Dunn
c85cc2d5ef Updated to version 0.9a of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:24:18 +00:00
Robin Dunn
f972a14420 Use the .mo files from the tarball instead of recreating them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:26:13 +00:00
Robin Dunn
5c4d09a233 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:25:39 +00:00
Robin Dunn
680419f53f SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:24:04 +00:00
Robin Dunn
c9631d614b SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:10:47 +00:00
Robin Dunn
0a7bbcd9b6 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:09:19 +00:00
Robin Dunn
92fea4048b Deprecated NewId and RegisterId
Added missing Disable method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:08:08 +00:00
Robin Dunn
ba8a84c9d1 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 04:06:40 +00:00
Robin Dunn
f8604a7be7 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 01:46:52 +00:00
Robin Dunn
d0873f2b11 Fix typemap for wxGridCellCoordArray
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 21:21:36 +00:00
Stefan Csomor
d659a731e3 warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 13:37:51 +00:00
Stefan Csomor
26e8b4d3af cursor adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:19:12 +00:00
Stefan Csomor
7777a461c3 reordering in destructor, cursor adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:18:31 +00:00
Stefan Csomor
71658b2fde reorder necessary for classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:16:51 +00:00
Stefan Csomor
90ef1bfc7b usleep fix & cursor adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:15:24 +00:00
Stefan Csomor
d9297fb37e cursors from xpm and d&d cursor support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:11:58 +00:00
Stefan Csomor
34624546c2 new cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:11:29 +00:00
Stefan Csomor
7d0b9dea9b overflow fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:09:01 +00:00
Stefan Csomor
3c969e8f7a shrinking functions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:06:05 +00:00
Stefan Csomor
5872b92e95 cursor support for xpm and d&d integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:04:55 +00:00
Stefan Csomor
bd3f6acd4d added averaging shrinking function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:03:50 +00:00
Stefan Csomor
f0f3dbd75e copy arrow cursor for mac added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 12:02:30 +00:00
Robin Dunn
bf2e21452d SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:50:52 +00:00
Robin Dunn
89505f6a9c SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:49:11 +00:00
Robin Dunn
238ab89099 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:33:01 +00:00
Robin Dunn
f7c3abb0a2 Backported fixes for updating the splash screen and busy info windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:14:50 +00:00
Robin Dunn
f34f2e9aef Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:13:41 +00:00
Robin Dunn
3a6c8ddf30 Tweaked how the __del__ methods are generated again, call the delete
function inside a try..except just in case


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 05:12:11 +00:00
Robin Dunn
30280ee3df Updated MacPython build scripts for 2.3a2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 04:51:10 +00:00
Robin Dunn
492b18a5a4 Added missing deselect methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 04:43:58 +00:00
Robin Dunn
77c36d3df9 Install the .mo files under the wxPython package directory for MSW
since there is no standard place for them like on other platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 03:33:12 +00:00
Vadim Zeitlin
98cbc5c60b fixed spurious assert in FindControl() (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 00:01:51 +00:00
Robert Roebling
bcba0550bd Fixed wxBusuCursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 21:33:08 +00:00
Robert Roebling
194e741cea Added hint at default conversion in Unicode mode. It is
enough if I got burned by it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 21:31:58 +00:00
Stefan Csomor
437a9c0ad3 OSX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 13:56:56 +00:00
Roman Rolinsky
4f24cfc0ae new version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 13:31:44 +00:00
Roman Rolinsky
740a6ab3e1 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 13:31:24 +00:00
Roman Rolinsky
3c582354e9 ParamUnit class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 13:31:05 +00:00
Roman Rolinsky
850e2779fb defaults for unset required parameters, ParamUnit for border and {v,h}gap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 13:30:13 +00:00
Robert Roebling
f11270d478 Do dialog's default action (mostly "OK") if
ENTER was hit in a combobox and the
    TEXT_ENTER event was not handled. MSW
    seems to be doing something similar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 11:07:45 +00:00
Václav Slavík
5b6f98d439 removed deprecated calls from wxImage example (bug #688438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 11:01:09 +00:00
Stefan Csomor
4f727d46b3 applied fix to MkDir for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 21:17:34 +00:00
Václav Slavík
d0300a62a7 fixed incorrectly backported patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 20:29:30 +00:00
Václav Slavík
2e2675087c backported: fixed wxScrollBar creation when default size was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 20:12:12 +00:00
Robert Roebling
a7d8906428 Typo for compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 09:12:43 +00:00
Robin Dunn
d3c5a8b1aa Do proper delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 18:33:12 +00:00
Robin Dunn
ed0d1c7fcf Use the right constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 15:35:35 +00:00
Robert Roebling
e7f94796de Hah!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 09:21:54 +00:00
Robin Dunn
cdc34da45b SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:59:08 +00:00
Robin Dunn
6a9423b5df SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:29:40 +00:00
Robin Dunn
568e0fb6cc avoid notebook tabs on the bottom on the Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:26:53 +00:00
Robert Roebling
9a5bffb8ab Next take at combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:23:09 +00:00
Robin Dunn
8d30ee37ba added some .cvsignore's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:20:20 +00:00
Robin Dunn
b85fd46650 Made the ctor signature match the standard...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:18:00 +00:00
Robin Dunn
44c2734d93 Some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:16:52 +00:00
Robin Dunn
c74807054b Refactored, enhanced and added capabilites for the DrawXXXList
functions, inspired by code from Chris Barker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 00:15:29 +00:00
Robin Dunn
616538882e Patch from David Falkinder to help building a STC dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 21:10:20 +00:00
Robert Roebling
209da8588e Ideally, this would fix a crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:47:06 +00:00
Robert Roebling
76a10f2598 Attempt to scroll text view after adding
text. It almost works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:25:38 +00:00
Robert Roebling
ab7def879f Next take at combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:24:16 +00:00
Robin Dunn
c0a6a6df9e SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:16:12 +00:00
Robin Dunn
f2c424c93f Added static accessors for wxPython for some of the s_mac* members of
wxApp on Mac.  They are no-ops for the other platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 20:14:46 +00:00
Vadim Zeitlin
9aa03e7493 fix bug with timezone calculations when WX_GMTOFF_IN_TM si true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 13:01:29 +00:00
Chris Elliott
788a1cbacb update adding watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:45:11 +00:00
Chris Elliott
f728abae13 update adding watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:38:06 +00:00
Chris Elliott
6d9fd10c04 update adding watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:32:15 +00:00
Stefan Csomor
421ef4c99b SetValue fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:24:56 +00:00
Robin Dunn
8258ba4fc1 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:48:05 +00:00
Robin Dunn
473419f996 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:48:03 +00:00
Robert Roebling
daa249f2b9 Docs update for combobox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:31:52 +00:00
Robert Roebling
5c1926da55 More update to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 20:27:46 +00:00
Robin Dunn
29b763ef35 Updated change notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:40:25 +00:00
Robin Dunn
23ea56928a SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:38:23 +00:00
Václav Slavík
49d884109c fixed wxSYSTEM_MENU on Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:28:23 +00:00
Václav Slavík
4cccdfae2e fix patch #693600
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:02 +00:00
Robin Dunn
64dfb023eb Switched to using True/False in the wxPython lib and demo instead of
true/false or TRUE/FALSE to prepare for the new boolean type and
constants being added to Python.  Added code to wx.py to test for the
existence of the new constants and to create suitable values if not
present.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 18:38:37 +00:00
Chris Elliott
a57fa3cc36 update for watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 17:04:57 +00:00
Chris Elliott
92b0b005bd update for watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 16:55:52 +00:00
Chris Elliott
6f8f404d14 update for new watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 10:58:34 +00:00
Chris Elliott
bbdcb4462a fix for open watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 10:20:52 +00:00
Chris Elliott
2fd1eea0fd fix for open watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 10:10:18 +00:00
Robin Dunn
ae260fd6c5 Ensure that the TOOLDIR exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:49:40 +00:00
Robin Dunn
774426473a SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:36:57 +00:00
Robin Dunn
ac49dfe39a Use shortened DLL version number for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:28:03 +00:00
Robin Dunn
ac878b40d5 Use version.mak on the 2.4 branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:26:20 +00:00
Bryan Petty
c1d0d47326 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:26:20 +00:00
Robin Dunn
3a0ea6aadd SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:14:01 +00:00
Robin Dunn
ee4ae17a72 Don't use --inplace any longer.
Move the building of the .mo files to the tarfile rather than the RPM
Add the wxrc tool to the RPM.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 05:02:21 +00:00
Robin Dunn
4c1916e923 wxCursor(const wxImage&) doesn't exist on Mac, workaround for wxpython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:55:38 +00:00
Robin Dunn
df4b33919c SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:24:28 +00:00
Robin Dunn
42ac4a136f These hacks shouldn't be needed any longer with the new way that the
__del__ methods are generated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:13:04 +00:00
Robin Dunn
2bd1f49272 Make sure some class names get put into the wx namespace when non-core
modules are imported


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 04:01:07 +00:00
Robin Dunn
6d92b8c675 Give the second form of BeginDrag a better name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 03:59:33 +00:00
Robin Dunn
25f8fb989c Provide both forms of wxLocale::Init to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 03:56:38 +00:00
Robin Dunn
22b115a7ff Changed how the dynamic event tables (used for all Python wx classes,
C++ wx classes typically use static event tables) are searched such
that they behave from a Python perspective more like the static tables
in C++.  Namely that if there are identical event bindings in a base
Python class and a derived Python class that the one in the derived
class will be found first and that if Skip is called that the one in
the base class will still be found instead of skipping directly to the
static stable in the C++ class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 21:31:18 +00:00
Chris Elliott
26ed67330e fix for open watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 13:17:04 +00:00
Vadim Zeitlin
4eb299c93a use jast major.minor, not major.minor.micro, in the DLL names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:48:00 +00:00
Vadim Zeitlin
11e4d606da added wxVersion.pm here as apparently cvs doesn't allow adding the file added on the trunk on a branch as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:47:40 +00:00
Vadim Zeitlin
710db296ec regenerated with correct DLL version info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-24 00:46:39 +00:00
Mattia Barbon
3ba30b3a43 Allow creating a mono wxMemoryDC under wxMotif. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:28:57 +00:00
Mattia Barbon
dd9f745fde Allow setting default file name in wxMotif wxFileDialog. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:27:02 +00:00
Robin Dunn
16efc98226 The manifest file needs to be for python.exe and pythonw.exe, not the
core extension dll.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-22 01:10:40 +00:00
Robin Dunn
1465ed5e05 Added icons the the wxTreeCtrl demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-22 01:08:12 +00:00
Robin Dunn
19627eeb7c Changed how the __del__ mehtods are generated. They now save a
reference to the actual delete function instead of just the module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 22:53:32 +00:00
Robin Dunn
ce635ce794 Added option to only do the prepatory steps, but not build anything
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 22:06:10 +00:00
Robin Dunn
ced9b1048c New distutils from Python 2.3a2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 21:45:58 +00:00
Julian Smart
ab60f861e4 Applied FL patch from Stefan Kowski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 21:38:11 +00:00
Robin Dunn
6c8a9c7208 Only send two EVT_BUTTON events when double clicking a button, not three
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-21 20:27:56 +00:00
Robin Dunn
5b6ec72d86 Mac and GTK can take three icons in the wxDropSource now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 22:19:06 +00:00
Robin Dunn
54e0d4ab33 __del__ is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:34:44 +00:00
Robin Dunn
8f14f1266a Added a wxBitmap.SetMaskColour convenience method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:33:17 +00:00
Robin Dunn
5e7604bc22 Added missing Init method (renamed to InitLang) to wxLocale wrapper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:32:33 +00:00
Robin Dunn
371efb285b Fixed GetFirstSelected helper method, the parameter is ignored
(copy-paste error) so I made it optional so old code wont break.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:30:45 +00:00
Robin Dunn
3a0b9a4453 Fix for Bug #689958, an endless loop in printout.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:27:56 +00:00
Robin Dunn
335ac56efb Added EVT_WINDOW_CREATE_ID and EVT_WINDOW_DESTROY_ID so these events
can be associated with a specivif window ID.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:26:40 +00:00
Robin Dunn
3b2012561d demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:18:42 +00:00
Robin Dunn
6ceec818b2 Fixed return type in the wrapper to match the actual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 19:16:31 +00:00
Gilles Depeyrot
565cb6ad50 Moved ffile inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:50:44 +00:00
Václav Slavík
98e5d72dd5 fixed Traditional Chinese mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:31:34 +00:00
Václav Slavík
654992af19 fixed Traditional Chinese mapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 19:25:47 +00:00
Robin Dunn
d1af2c3470 Send the wxWindowDestroyEvent for all ports (binary compatible backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 03:07:41 +00:00
Julian Smart
2d364cbfae Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 12:51:31 +00:00
Robert Roebling
cd58502e05 Applied John's patch to make wxComboBox
behave more like its MSW version.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:50:18 +00:00
Julian Smart
1161316c67 Applied patch [ 686843 ] File Dialog Wildcard Bug
A bug was introduced in generic/src/filedlgg.cpp
between versions 2.2.9 and 2.4 that causes incomplete
file extensions to be appended to filenames not having
extensions after a user changes the wildcard index in
the filedialog. This patch reverts back to the correct
code.

Bob Downey


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:27:23 +00:00
Julian Smart
07c8746bad Applied patch [ 681262 ] Add EVT_MENU_OPEN support for GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:08:58 +00:00
Julian Smart
4c33f8dc50 Must use WS_CHILD style in wxTabCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 08:52:58 +00:00
Robin Dunn
581b33ff45 Add OOR support for wxApp objects too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 00:25:01 +00:00
Gilles Depeyrot
e6881a71e5 fix wxDateTime offset for Apple Developer Tools (SourceForge bug # 614010)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 18:24:57 +00:00
Stefan Csomor
e55bc9a4ff Files from a Drop were only added but the fileslist never cleared
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-15 08:38:04 +00:00
Robin Dunn
38353dcfac SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:15:02 +00:00
Robin Dunn
31c9ca379c SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 20:13:38 +00:00
Robin Dunn
5e21d41f51 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:36:50 +00:00
Robin Dunn
405c7870da Added some missing methods to wxRect wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:29:48 +00:00
Robin Dunn
7d940904da Added wxImage.SetDatabuffer method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:25:27 +00:00
Robin Dunn
0c8d205343 Added ability to make a wxCursor from a wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:23:37 +00:00
Robin Dunn
2ff24ec7ed various demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:08:57 +00:00
Robin Dunn
aa0cd0a6e4 version number change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 19:08:00 +00:00
Stefan Neis
de274a5cbb Insure consistent definition of wxAppInitializerFunction for wxBase/MSW.
(previously, you could end up with different ones depending on include
         order, now platform.h is always (implicitly) included first, so
         __WXMSW__ is guaranteed to be defined even in wxBase/MSW builds.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-14 17:25:45 +00:00
Vadim Zeitlin
cd8b84f98e backported Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 21:31:54 +00:00
Julian Smart
c950107aa8 DOc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 18:28:36 +00:00
Robert Roebling
13166ef936 Implemented enumerating fixed font. It's a compromise...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 16:45:52 +00:00
Vadim Zeitlin
e7a96246fa marked dbkeyg.h as a wxBase file (fixes 685857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 11:17:57 +00:00
Roman Rolinsky
515c91da66 fixed problem with pasting wxMenu in wxMenuBar and others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 11:07:59 +00:00
Vadim Zeitlin
c5ee986890 fixed bug in SetToolClientData() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 22:57:07 +00:00
Mattia Barbon
601501d0d0 Backported Motif wxFileDialog wildcard corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 21:24:02 +00:00
Mattia Barbon
03a1817871 Fix client data handling: delete client data for all items when a
wxChoice is deleted, delete client data for an item when that item is
deleted (backported).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 21:14:17 +00:00
Robin Dunn
201ebeaa96 Change to a derived dialog class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 19:24:46 +00:00
Robin Dunn
7a51b801c9 Added wxContextButton for non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 19:12:18 +00:00
Robin Dunn
b62b320a40 Show calling SetExtraStyle before the dialog is created, also show
more context sensitive help.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 19:06:22 +00:00
Robert Roebling
82161eb375 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 11:45:31 +00:00
Robert Roebling
adb5f43a58 Lots of Pango etc up-ports from HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 11:35:15 +00:00
Robin Dunn
7cc3aa347b A more complete fix for the wxGauge95 --> wxGauge rtti inconsistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-11 00:01:10 +00:00
Robin Dunn
db7e947f1b workaround for an extra EVT_TEXT on wxGTK when selected text is
replaced causing an exception


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 17:52:36 +00:00
Robin Dunn
ee9e836596 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 01:00:09 +00:00
Robin Dunn
a490d0f89c Updated bundlebuilder from Python CVS and added ability to specify
libs to be added to the bundle.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 00:58:59 +00:00
Robin Dunn
16b5e0e8e1 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-07 00:56:50 +00:00
Robin Dunn
a4c2ca659e Applied patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 23:57:38 +00:00
Robin Dunn
4a960821a5 Removed ctl3d32 lib from the link.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 22:50:25 +00:00
Robin Dunn
63332eca01 Added search capability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:51:18 +00:00
Robin Dunn
6e7b4ded7c Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:44:31 +00:00
Robin Dunn
20f5eb5e7c SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:43:59 +00:00
Robin Dunn
471e73eb08 more Python 2.3 build support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:39:12 +00:00
Robin Dunn
ce41e186c1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:37:47 +00:00
Robin Dunn
17eb2d7376 Fixed wxSizer.Insert wrapper to not try to use the first param as the
window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:36:38 +00:00
Robin Dunn
7c0f7a55ff Added SetItemSpacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:30:23 +00:00
Robin Dunn
a1c41ce60b SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:28:03 +00:00
Robin Dunn
95b00f921e SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:26:17 +00:00
Robin Dunn
43f1aa9f29 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:23:08 +00:00
Robin Dunn
7327a6b237 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 18:21:55 +00:00
Robin Dunn
08056b1a7e Check the image height when calulating the line height. This allows
larger than normal images to be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-06 02:18:51 +00:00
Robin Dunn
6d7e7d60b5 Scintilla uses a -1 index to unselect, we need to catch that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 23:30:36 +00:00
Roman Rolinsky
064431c525 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 09:57:37 +00:00
Roman Rolinsky
2fa1b7c69e mac platform-specific checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 09:54:45 +00:00
Roman Rolinsky
8fd104a045 Fix for README.txt in help menu
Mac platform-specdific checks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-05 09:53:40 +00:00
Mattia Barbon
e534bea08c Do not redeclare a struct (w32api 2.2 will have it).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:37:58 +00:00
Mattia Barbon
0afdca9e67 Regenerated configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 21:29:41 +00:00
Mattia Barbon
f8227642cf Regenerate makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 14:24:30 +00:00
Mattia Barbon
76f27d0177 Allow building in unicode mode with just "make -f makefile.g95 UNICODE=1"
without requiring setup.h modifications (backport).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 14:22:50 +00:00
Mattia Barbon
f31e566dca Some small updates to build instructions. Most of the changes are simply
corrections to Cygwin/MinGW capitalisation/names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 14:19:25 +00:00
Mattia Barbon
b977811c6d Backported MinGW makefiles improvements from Greg Chicares.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 14:15:23 +00:00
Julian Smart
a082f710b0 2nd step
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:36:31 +00:00
Julian Smart
c6bb9af766 First step in eol fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:35:44 +00:00
Julian Smart
8abad03e29 1st step
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:31:21 +00:00
Julian Smart
6e293047a4 First step in fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:28:56 +00:00
Julian Smart
8ec7e66529 Fixed .dsw file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:24:39 +00:00
Julian Smart
a54e8d7638 Now commit actual file with correct line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:18:48 +00:00
Julian Smart
6414974cf5 Fooling CVS into thinking there's been a change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-04 10:16:04 +00:00
Mattia Barbon
b36feae3ff Fix a typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:02 +00:00
Roman Rolinsky
0e13f07324 BSD license
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 10:01:25 +00:00
Stefan Neis
b3012816c0 Some OS/2 specific improvements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 20:25:00 +00:00
Stefan Neis
69cddbaab2 backported configure test for WX_STATVFS_T.
(Adding some braces as newer autoconf version love them, IIRC).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 19:56:39 +00:00
Stefan Csomor
b7c2485e31 set interpretation of ampersand shortcuts to false as default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 17:11:52 +00:00
Stefan Csomor
26dd1a0095 optimizing sleep values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:28:29 +00:00
Julian Smart
022d639781 Applied patch [ 678788 ] Dialog command event propagation problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 15:07:57 +00:00
Julian Smart
7b647d199f Applied patch [ 675376 ] Improves wxStaticBoxSizer
(uses GetCharHeight() instead of guessing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:58:56 +00:00
Stefan Csomor
2cdd43432e native picture clipboard support improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:22:00 +00:00
Stefan Csomor
531a2584c6 pict setter added for clipboard support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:18:21 +00:00
Stefan Csomor
080fc15766 factoring out common carbon/non-carbon clipboard support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 13:17:08 +00:00
Chris Elliott
a5ec1be3ba fix for bcc5.5 on XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 21:10:13 +00:00
Stefan Csomor
1b979ef235 corrected rectangle for refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 17:38:41 +00:00
Gilles Depeyrot
d2e47a817f Only call use uppercase letter if control, alt, or shift is held down,
otherwise lower case accelerators won't work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 13:45:49 +00:00
Robin Dunn
aa0db7fda2 More tweaks for the MacPython distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 00:59:34 +00:00
Robin Dunn
15e9b46e14 Mad tabs consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 00:57:36 +00:00
Robin Dunn
d954628eed Added RootVolumeOnly support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-01 00:54:24 +00:00
Vadim Zeitlin
83c627bba3 compilation fix for HP-UX CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 22:56:49 +00:00
Stefan Csomor
2dc4e0b986 Show corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 16:48:42 +00:00
Stefan Csomor
ae156f4e78 was still containing binary data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 16:29:16 +00:00
Stefan Csomor
908e3601e8 was committed using macbin, corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 16:04:25 +00:00
Stefan Csomor
04d53786f0 backported fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 16:01:38 +00:00
Stefan Csomor
89fb932dc8 using SelectWindow for Raise Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-31 15:52:24 +00:00
Václav Slavík
4446474c49 don't indent text body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 23:10:23 +00:00
Roman Rolinsky
5b4532b24b fixed a problem with default selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 18:44:28 +00:00
Roman Rolinsky
5b8c58c590 changed to .txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 18:37:39 +00:00
Roman Rolinsky
dd92c92cc4 xxxParamBitmap, support for wxArtProvider bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 18:16:03 +00:00
Roman Rolinsky
0b02859ebf fixed a small file selection problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 10:36:18 +00:00
Roman Rolinsky
5db1613aae changed toggle to bool type for xxxTool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 10:21:32 +00:00
Robin Dunn
3563e7bce7 1. If EVT_LIST_DELETE_ALL_ITEMS was not handled then the
post-processing code to prevent LVN_DELETEITEM messages was not
   getting executed.  Changed it so the post processing always
   happens.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-30 02:27:55 +00:00
Václav Slavík
5b0cb302bc added MSLU reference to wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 23:45:49 +00:00
Robin Dunn
095038b75b SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:25:35 +00:00
Robin Dunn
e05d0c18a6 Preload file if given on command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:25:03 +00:00
Robin Dunn
b29612a525 Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:24:25 +00:00
Robin Dunn
615e5a0c13 Ensure object is a window before calling AddWindow, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:23:56 +00:00
Robin Dunn
f1a360a475 Load class into wx namespace when the module is imported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:22:29 +00:00
Robin Dunn
d72e16bf3c Make wxColour, wxPoint, wxSize, and etc. picklable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:20:50 +00:00
Robin Dunn
7e56135a5a Don't use string module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:19:23 +00:00
Robin Dunn
9d9015cbdb Fixes to dependencies, and doesn't lose the wxgtk*-config script any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 03:18:04 +00:00
Robin Dunn
75bb03e61e Demo Tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 02:54:27 +00:00
Robin Dunn
9382b1c75b Use the existing pythonw as a template, rather than a hard coded one.
Other fixes for when making the dist


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 02:53:26 +00:00
Robin Dunn
2d5b1ffde7 Added more tools for building distributions, and new scripts for the
wxPythonOSX dist.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 02:50:29 +00:00
Robin Dunn
e47e2832b8 The validator is already set in CreateBase, doing it twice causes
problems for wxPython


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 02:43:35 +00:00
Ron Lee
64d6b78b91 fix broken doc build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 03:49:05 +00:00
Ron Lee
1ff3083509 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 02:52:20 +00:00
Ron Lee
f3ef27eaba Added wxPy/distutils to the source package and try again for 2.4.0.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 02:10:42 +00:00
Julian Smart
34fb706af5 Corrected printing docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 11:27:43 +00:00
Vadim Zeitlin
d480230471 the string 'Goto...' should be translated (patch 674569)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 01:04:57 +00:00
Julian Smart
bd66e90287 Fixed problem where kill focus event was sent to control
getting the focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 19:02:59 +00:00
Václav Slavík
9afed9b15c compilation fixes (bug #672413)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 16:22:28 +00:00
Vadim Zeitlin
818d7d0e0f fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 01:09:57 +00:00
Vadim Zeitlin
582d404c55 moved GetRed() in its correct place in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 01:09:42 +00:00
Robin Dunn
6374a2f397 Added new tools and scripts for building a Python distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-25 00:42:59 +00:00
Julian Smart
9dc76efa99 Applied patch [ 673055 ] Text rendering in wxGTK 2.4.0 and GTK2 fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:36:04 +00:00
Julian Smart
9e691dd614 Applied [ 671333 ] wxPrinterDC::DoBlit() 24 bit fix (2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:31:41 +00:00
Julian Smart
9370c6ba12 Applied patch [ 667149 ] wxFileHistory: Only adds a menu separator when necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 12:19:39 +00:00
Ron Lee
edf3c8adcd Add missing wxPy lib to Makefile.in
Add missing quantize.h to filelist.txt
Update config.sub


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-24 09:26:28 +00:00
Mattia Barbon
cfa31db743 Work around a compiler bug: with (at least) GCC 2.95.3-5 under Cygwin,
the destructor for the global s_fileInfo is called twice (!). This does
hot happen if a function returning a reference to a static variable is
used. (backport)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:53:40 +00:00
Mattia Barbon
18f5df1f04 Fix Cygwin + makefile.g95 + wxUSE_PROLOGIO=0. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:51:23 +00:00
Mattia Barbon
f6b4e6c9a7 Clearly indicate that DialogEd requires wxr to compile. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:32:24 +00:00
Mattia Barbon
6db8abb44c Patch [669503] Patch to CW7 wxMSW project file (backport).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:29:00 +00:00
Mattia Barbon
b71970b1e7 Patch [669508] Define Win32 symbols for CW in platform.h )backport).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 20:25:18 +00:00
Václav Slavík
b57383f867 removed wxEncodingConverter from docs where wxMBConv should be mentioned instead (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 19:50:34 +00:00
Robin Dunn
f7530f9459 Final (hopefully) version of the DeleteAllItems fix for 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-23 05:55:04 +00:00
Robin Dunn
238027e84e Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:31:56 +00:00
Robin Dunn
38414871f8 Added wxPyColourChooser by Michael Gilfix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:26:48 +00:00
Robin Dunn
32da2feced Added wxPyColourChooser by Michael Gilfix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 21:14:49 +00:00
Robin Dunn
4742e89355 Backported the "attempt to fix crash in DeleteAllItems()" fix from the
trunk, and added a guard against fetching item data while in the
process of deleting the item's data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:58:12 +00:00
Robin Dunn
361c4fd211 Regenerated from vc.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:26:49 +00:00
Robin Dunn
89e7b419b8 Fixed some missing TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:25:05 +00:00
Robin Dunn
dcea3abb2d Added wxIntCtrl from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:16:02 +00:00
Robin Dunn
dc7543e6e3 Updated wxTimeCtrl witha patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:14:19 +00:00
Robin Dunn
ffa5c6a998 ignore build dirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 18:11:06 +00:00
Václav Slavík
cf2adb6217 patch 672127: Adds required check for wxUSE_WXHTML_HELP to chkconf.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:28:07 +00:00
Robin Dunn
c652c9484d Explicitly refresh when enable is called so the display will update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 23:14:59 +00:00
Robin Dunn
0ad25b6293 Comment out debug message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 22:43:40 +00:00
Robin Dunn
0d851d75c5 Serious cleanup of setup.py and removed hacks in my_distutils.py that
were working around deficenceis in Distutils.  Temporarily added a
copy of the distutils package from Python 2.3a1 here, when they
encorporate a patch of mine and create a new standlone distutils
package then it can be removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 22:14:37 +00:00
Julian Smart
00a0b58ebb Updated wxBitmap overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 08:58:30 +00:00
Robin Dunn
92e9e17800 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 06:11:41 +00:00
Robin Dunn
508fff4ae5 Ensure properly built before installing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 06:05:26 +00:00
Robin Dunn
f9c32e7a63 Test native static text by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 05:54:22 +00:00
Robin Dunn
f3e9a788e8 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 05:35:07 +00:00
Robin Dunn
2dd1c99c45 Avoid assertion about mask from color bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 04:24:49 +00:00
Robin Dunn
62aa2088fd SWIGged update for generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 02:07:40 +00:00
Robin Dunn
f096b09e6d SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 02:06:06 +00:00
Robin Dunn
955bee323f Apparently Python requires Python.h to be included before std lib
headers.  It's never been a problem either way until Python 2.3a1...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 01:58:46 +00:00
Robin Dunn
d827d4acf0 Typemaps for wxCoord, switch to using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 00:59:20 +00:00
Robin Dunn
76bad85642 More Python2 migrations, patch from KA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-21 00:04:37 +00:00
Robin Dunn
f86c833fe0 More Python2 migrations, patch from KA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 23:41:15 +00:00
Václav Slavík
2fa5f840d5 fixed MGL libraries detection code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 23:23:57 +00:00
Ron Lee
0ee0d1c04f big rules cleanup for empty dirs and wrongly installed files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-20 13:56:02 +00:00
Václav Slavík
616dfc166c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 23:32:04 +00:00
Chris Elliott
a195843d96 commit missing .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 21:35:06 +00:00
Mattia Barbon
3523682dea Patch [665886]: Fix smapi.cpp to support new for loop scoping. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 10:03:16 +00:00
Ron Lee
b330463c67 changed one Debugging features section to Logging features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 08:23:46 +00:00
Chris Elliott
d77fd28881 fix for Borland 500-530 for listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 14:41:53 +00:00
Vadim Zeitlin
0706d7cf53 fixed resource leak in MemoryHDC (closes bug 670016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 01:51:05 +00:00
Robin Dunn
4e51e03f4f Fix SurfaceImpl::MeasureWidths on OS X to do whole string measurments
rather than a running total of indiviual widths.  This is to get
around "fractional pixel" widths when using AA.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 23:10:00 +00:00
Robin Dunn
ec73fc1643 wxMac (and maybe others?) get PAGEUP/PAGEDOWN instead of NEXT/PRIOR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 22:52:50 +00:00
Stefan Csomor
796fbddc3b added horizontal scrollbars to listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-17 10:35:09 +00:00
Stefan Csomor
762f58ab21 preferences menu implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 07:04:04 +00:00
Robin Dunn
ec96a73450 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 04:13:50 +00:00
Robin Dunn
38b17a7ffd Updated sample from Boa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 04:13:25 +00:00
Robin Dunn
170531ee4b Work around a bug (I think) in the Python API PyUnicode_AsWideChar
when the length of the unicode object is zero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 03:30:18 +00:00
Robin Dunn
f83ca04634 Removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:07:21 +00:00
Robin Dunn
57cb8e4e82 Usability fixes for the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 20:46:53 +00:00
Robin Dunn
86d56a0fc3 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 01:53:18 +00:00
Robin Dunn
a895d61d5c SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:26:14 +00:00
Robin Dunn
5c07db1928 More string module migrations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 00:23:35 +00:00
Robin Dunn
56d3350d72 Fixed typemaps for wxArrayInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:27:56 +00:00
Robin Dunn
39e44445a6 Added missing IsChecked method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:27:24 +00:00
Robin Dunn
73043256f9 Removed the stxview sample. The StructuredText package it depends on
is not compatible with current Pythons, and the development of it has
fragmented into various implementations...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:23:47 +00:00
Julian Smart
491b7d54a4 Fixed refresh bug by refreshing whole window on (de)activation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 21:12:34 +00:00
Mattia Barbon
317d85019d #define HAVE_W32API_H for Cygwin/GCC 3.x, too. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 18:30:15 +00:00
Vadim Zeitlin
782d2f5d12 fixed incorrect cast in wxRegKey:GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 09:02:38 +00:00
Robin Dunn
94484e61d4 String methods migration for build scripts. (Patch from KA)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 06:55:22 +00:00
Robin Dunn
b7dbf2d867 Migrated demo code to not import string module. (Patch from Kevin Altis)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 06:43:27 +00:00
Mattia Barbon
d4118cc7b1 Fix Cygwin/makefiles compilation (backport from trunk).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 18:25:26 +00:00
Roman Rolinsky
5228a0a58d Added short doc-string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 12:30:42 +00:00
Roman Rolinsky
73fda6b066 using global variable to pass htmlText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 12:11:26 +00:00
Mattia Barbon
a98477bd0b Backported Unicode compilation fixes for demos and exec sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 20:48:13 +00:00
Mattia Barbon
c25bc243eb Fix PCH problems with some versions of CodeWarrior. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 20:56:40 +00:00
Robin Dunn
849be528fe Don't print when imported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 04:22:11 +00:00
Robin Dunn
64a948febc Version number change, and other little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 01:00:29 +00:00
Robin Dunn
3e3e9290c7 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:49:35 +00:00
Robin Dunn
e591a85a40 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:47:36 +00:00
Robin Dunn
358f4baccc Accidentally left wrong fix in the code on last commit...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:16:10 +00:00
Robin Dunn
0c79540c63 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:09:07 +00:00
Robin Dunn
b496757eae Use locale specific sort comparissons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:06:55 +00:00
Robin Dunn
026525162c Fix various __eq__ and __ne__ operators to also allow comparisons to None.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 00:04:55 +00:00
Robin Dunn
d45ca1a3fd wxPythonOSX build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 23:42:10 +00:00
Robin Dunn
97d2a1b925 Workaround a mismatch between the wxRTTI class name and the wxPython
class name.  (I should check for others...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 23:39:50 +00:00
Gilles Depeyrot
1049d39836 library installation base name and wxMac resources file base name
must be identical in order for the resource file to be found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-09 20:57:31 +00:00
Václav Slavík
593f309670 fixed ANSI/Unicode incompatibility of the cache (bug 663396)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 19:44:53 +00:00
Ron Lee
4198a06d0b Now one less...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:30:44 +00:00
Ron Lee
162d01ab37 Gah! Too many version numbers still not automated. :(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:22:44 +00:00
Julian Smart
70b11c4fbe Applied patch to fix DSPs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 10:02:25 +00:00
Ron Lee
a76b692c36 If this continues, I'm bouncing all email until the debs are uploaded..
11th hour decision on libglu-dev, it's official it seems, so add it to
build deps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 09:27:48 +00:00
Julian Smart
70bfcd7c2c Elminated streams from scoredlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 09:13:02 +00:00
Ron Lee
405b381007 Actually create the menu control file for wxPy menu items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 08:58:07 +00:00
Julian Smart
82d82b61a5 _Not_ an unstable development release...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 08:53:05 +00:00
Ron Lee
cbfcce261d Conflict with prior versions of wxPy, they can't coexist like the C++
libs can.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 07:16:59 +00:00
Ron Lee
2687753081 Final note about making the gcc3.2 transition clean by a hair.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-08 06:41:22 +00:00
Mattia Barbon
fa21e82965 Left/right arrows were swapped.
Fix wxSP_WRAP handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:41:28 +00:00
Julian Smart
6649d1f319 Corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 21:19:13 +00:00
Robin Dunn
ef03028539 Removed testing print statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 20:00:45 +00:00
Robin Dunn
ba74ca2dcc The demo framework can now notify the individual samples before it
switches to another, in case they need to shut down something or free
resources, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 19:59:45 +00:00
Julian Smart
3fc4d88ac7 Added more emails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 16:55:11 +00:00
Julian Smart
71276fddc8 Updated publicity.txt, tweaked announce.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 12:16:28 +00:00
Robin Dunn
1ae9592c47 Various little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 04:39:33 +00:00
Robin Dunn
7ef2287cb6 Patch from Robb, among other things removes the unconditional event.Skip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 04:38:34 +00:00
Robin Dunn
564d204d9f Some fixes and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:39:57 +00:00
David Webster
f6eae83ac3 OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 22:04:57 +00:00
Julian Smart
f9815d36c3 Make it build in Unicode mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 21:12:15 +00:00
Stefan Csomor
aa9d49e1b8 removed m_meta from all targets, corrected .shlba for all targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 15:39:09 +00:00
Julian Smart
ccdcca678f Backported fix for scrollbar refresh from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 20:47:46 +00:00
Julian Smart
bfca29edaa Applied [ 651649 ] Scrollbar not updated without resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 20:27:25 +00:00
Vadim Zeitlin
27c37449b5 compilation warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 19:55:03 +00:00
Vadim Zeitlin
a25184b7a7 added version.rc to the project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 19:53:26 +00:00
Julian Smart
616415f904 Extra tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 11:50:44 +00:00
Julian Smart
6e206a04b6 Tweaks to announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 11:32:35 +00:00
Julian Smart
65526477ba Updated manual date
wxTimeSpan doc correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 21:20:12 +00:00
Julian Smart
4add7c0b34 Use nicer (swiss) font for default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 20:53:28 +00:00
Stefan Neis
932567700e Update for respinning 2.4.0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 15:37:50 +00:00
Julian Smart
2040148fdd Added script to help make RPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 13:13:19 +00:00
Julian Smart
5a69cbab1f Changed date to January 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 12:17:02 +00:00
Julian Smart
d9c0f1d7b7 Indicated in the source and on initialisation that this is an obsolete sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 11:04:39 +00:00
Robin Dunn
d525e47c9a SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 07:40:15 +00:00
Robin Dunn
5f21a9528b SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 07:36:19 +00:00
Robin Dunn
0989a5ccde SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 07:35:32 +00:00
Robin Dunn
567a33a273 Added Kevin's function wrappers for the common dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 07:10:19 +00:00
Robin Dunn
3b4cc84765 Minor build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:19:46 +00:00
Robin Dunn
5c38b2916b Allow to create a wxFont directly from a NativeFontInfo string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:17:57 +00:00
Robin Dunn
3af61dfc11 Various demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:16:51 +00:00
Robin Dunn
c2b281c55b Make the Paint DC before checking if we don't need to paint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:16:21 +00:00
Robin Dunn
30b1489968 PyCrust 0.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:14:49 +00:00
Robin Dunn
03038a1f5b Fix to avoid an assert. It's a bad idea to add 2 to the font weight
if it's already bold.


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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 03:51:13 +00:00
Vadim Zeitlin
dde162ff42 added polish translations from Janusz Piwowarski
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 01:54:57 +00:00
Bryan Petty
118261a503 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 01:54:57 +00:00
Ron Lee
d0745bc223 missed one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 00:11:26 +00:00
Ron Lee
0ca587ef40 No point having helpviewer in the menu if it needs a cl argument :-)
Recommend python-xml for xrced.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 23:44:36 +00:00
Ron Lee
c619684a9f Add manpage(s) for wxPy scripts.
Update wx-config manpage.
Feed WXCONFIG to setup.py install too, to keep it from barfing at us.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 22:44:18 +00:00
Robin Dunn
58bfd03bef Disable putting selected text in the Primary Selection, since wxGTK is
currenlty clearing the Clipboard when you do this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 19:03:01 +00:00
Robin Dunn
00c4f94c27 Added helpviewer to list of scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:58:25 +00:00
Julian Smart
1af2cfd4d8 Added dialup.cpp to filelist.txt and wxUniv.dsp
Added opengl32.lib glu32.lib to OpenGL samples VC++ project files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 18:35:47 +00:00
Julian Smart
86ef8240b9 Added missing wx/frame.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 15:24:56 +00:00
Julian Smart
344743eaa5 Clean up memory if have to exit early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:59:07 +00:00
Julian Smart
2dbc17690f Added a note about 'make install'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 14:08:53 +00:00
Julian Smart
381ec34571 Only enable tooltips on WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 13:40:43 +00:00
Julian Smart
1daa4e5b71 port = -> port +=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:56:31 +00:00
Julian Smart
36dd289df0 wxUSE_TOOLTIPs => 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:53:33 +00:00
Stefan Csomor
ffdbb93689 made static box only a frame region in all calculations (otherwise the background would not be redrawn in all situations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:29:16 +00:00
Stefan Csomor
7e6c1c34b3 fixed the positioning of the choice subcontrol (resulted in redraw errors clipping off 2 pixels on the right)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:22:11 +00:00
Julian Smart
ca827deb02 Applied patch [ 652336 ] Add tooltip support to wxUniv on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:14:59 +00:00
Julian Smart
0f5edc6dbf Applied wxUniv toolbar fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:09:52 +00:00
Julian Smart
d1ab3c23cc Added glcanvas.cpp, tooltip.cpp, taskbar.cpp, wave.cpp to wxUniv/MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:01:01 +00:00
Ron Lee
3dbec2dc52 typo fix.
disable generation of gtk-univ, we'll replace it with x11-univ later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 10:22:20 +00:00
Ron Lee
29ffee2cd2 Update standards version.
Remove superfluous wxPy clean rule.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 07:23:49 +00:00
Robin Dunn
89a48d9401 SWIGged updates for wxMac (for unicode API changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:59:36 +00:00
Robin Dunn
928691d735 SWIGged sources for wxMSW (for unicode API changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:58:34 +00:00
Robin Dunn
d617f86238 SWIGged sources for wxGTK (for unicode API changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:51:50 +00:00
Robin Dunn
250c383f08 SWIGged sources for wxGTK (for unicode API changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:31:44 +00:00
Robin Dunn
b5ae0a9a3b Fixes to allow compilation in Unicode mode on wxGTK2. Python's
internal Unicode representation may or may not match wchar_t.
Previously I was using the optimized APIs that assumed they were the
same, but they aren't on Linux so this checkin switches to the more
general Python APIs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:24:44 +00:00
Robin Dunn
952a4831ee Nicer implementation for autoselecting which wx-config to use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 22:15:04 +00:00
Stefan Csomor
94e9962182 easier angle conversion wx-mac , corrected elliptic arc which sometimes filled in the wrong direction, fixed rotated text under osx (OSX ignored hanging baseline attribute)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 16:30:53 +00:00
Stefan Csomor
321267f659 no_wrap implementation added, corrected rectangles, so that horizontal scrollbar does not have a gap at the left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 13:43:03 +00:00
Stefan Csomor
21f442c3e5 corrected generation of all event members (client data) and implemented DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 09:37:52 +00:00
Robin Dunn
cda461a616 Additional change for wxGTK2 that I forgot to check in yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 06:10:21 +00:00
Vadim Zeitlin
4c50ccaa92 fixed wxMutexLocker ctor signature (patch 660549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 01:00:17 +00:00
Vadim Zeitlin
9ae87f7be3 typo fix (closes bug 654197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 23:39:07 +00:00
Robin Dunn
19a31e1aec Changed wxLOG_Max to be a smaller (but still large) value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 22:50:02 +00:00
Robin Dunn
b60c0b7030 This shouldn't have been checked in...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 19:09:47 +00:00
Gilles Depeyrot
c3674db226 backported change to not test for zlib under Mac
added wxWindows version compatibility information to configuration summary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 18:23:15 +00:00
Mattia Barbon
56fcc081a5 Allow building Win32 DLL with wxGlCanvas using MinGW + configure.
(backported from trunk)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 13:14:31 +00:00
Ron Lee
fab6654943 Fix some lintian warnings.
Close tr.po bug at next upload.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 11:36:00 +00:00
Robin Dunn
e0f9dd5156 SWIGgeed updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:20:11 +00:00
Robin Dunn
490c977984 Changes for some wxNativeFontInfo methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:19:16 +00:00
Robin Dunn
4e60199541 wxPython changes for Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:18:17 +00:00
Robin Dunn
1077f448d5 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:17:22 +00:00
Robin Dunn
27d9601235 Added wxLog::Get/SetLogLevel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 05:04:52 +00:00
Robin Dunn
2a54504cb6 Changes to allow wxPython to be built on *nix with wxWindows ports
besides wxGTK.  wxGTK2 (ANSI) currently works, others will be coming


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-01 04:58:44 +00:00
Robin Dunn
20cb8d638d OGL demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-31 22:12:36 +00:00
Robin Dunn
83ab6406d6 Some typos and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-31 22:09:18 +00:00
Robin Dunn
133a84d281 Use GetItemParent dorectly instead of renaming the now deprecated GetParent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-31 22:08:41 +00:00
Vadim Zeitlin
137cd39ec5 use upper case in the charset to prevent the problems with toupper() in Turkish locale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-31 14:22:39 +00:00
Robin Dunn
00608d228d Fixed a fatal bug that sometimes happens when wxPython objects are
destroyed while Python is cleaning itself up at exit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 22:21:06 +00:00
Robin Dunn
557ef33173 Added an wxample of wxDividedShape to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 22:19:40 +00:00
Robin Dunn
b836e27a15 Fixed problem of FormatText causing both the formatted and unformatted
text to be displayed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 22:17:37 +00:00
Gilles Depeyrot
70be044335 SourceForge patch #654210 to fix naming/numbering shared libs under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 21:20:59 +00:00
Julian Smart
7e2955b75c Corrected accidental pointer arithmetic in DoClientToScreen and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 20:08:40 +00:00
Václav Slavík
a6ba320faf fixed encoding handling in ANSI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 18:55:33 +00:00
Vadim Zeitlin
91f46fbadc fixed buffer overrun when reading CCITT group 4 compressed TIFF files (patch 646603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:09:16 +00:00
Vadim Zeitlin
9b1b2084b0 compilation warning fixes (patch 651719)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 01:00:49 +00:00
Stefan Neis
fd4fea4228 wxUsleep is supposed to sleep _milli_seconds, not _micro_seconds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 22:04:24 +00:00
Stefan Neis
ee53c6ba0f Added missing include for non-precopiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 21:42:34 +00:00
Julian Smart
593ec30ad0 Tweaked the wording slightly for VC++ 5 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 18:46:16 +00:00
Ron Lee
f2c9f0a505 Oops, don't cut and paste between ports, and do test compile both states
of a macro guard...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 15:42:10 +00:00
Ron Lee
ad99843335 Added wxTreeCtrl::GetItemParent to deprecate GetParent.
Moved GetParent into WX_COMPAT_2_2 and exposed base GetParent in
that case too.

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

Updated docs to suit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 07:48:21 +00:00
Ron Lee
5cc29dd12d Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 05:52:26 +00:00
Vadim Zeitlin
84efc067be fixed wxALL_FILES definition in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-29 01:38:49 +00:00
Julian Smart
35c8abd8b9 Use path separator, not "/"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 22:58:12 +00:00
Julian Smart
6418db84dc Updated release scripts
No change to toolbar and scrlwing.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:37:06 +00:00
Julian Smart
cd84d4a071 Fixed compilation by removing stream inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-28 18:36:25 +00:00
Mattia Barbon
9348cc035a Re-committed Swedish translation. Merging a CRLF-terminated file
with a LF-terminated one makes msgmerge misbehave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:34:43 +00:00
Mattia Barbon
d9efe8b65d Updated Svedish translation from Jonas Rydberg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 22:17:38 +00:00
Robin Dunn
dd7555cd31 Fix for potential divide by zero error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 21:16:16 +00:00
Mattia Barbon
30aa1a88c3 wxPerl notes for DocView.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 18:25:29 +00:00
Julian Smart
c309b8651f Applied patch [ 657501 ] SpinButton wraps 1 too much
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:21:34 +00:00
Julian Smart
638082f272 Applied patch [ 658174 ] Adds wxT() and char->wxChar conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:15:29 +00:00
Julian Smart
4fbdc56aa7 Applied patch [ 658505 ] Updates documentation for wxTimeSpan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:12:38 +00:00
Julian Smart
453a359a9e Applied patch [ 657515 ] Widgets sample notebook out of range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 15:02:48 +00:00
Julian Smart
96ba157d97 Applied patch [ 658786 ] Removes unresolved symbols from strconv (wxUniv/MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:59:35 +00:00
Julian Smart
d5f8e9457b Applied patch [ 657969 ] Removes #if wxUSE_VALIDATORS code
for wxOS2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:52:14 +00:00
Julian Smart
ea541b7362 Added a necessary pixel to height if wxTB_NODIVIDER is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:40:52 +00:00
Julian Smart
61de8ba064 Fixed bug [ 657949 ] Segmentation fault in ~wxFileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:25:59 +00:00
Julian Smart
64725871e0 Improved my fix to SetScrollbars, using wxMax & GetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:04:10 +00:00
Robin Dunn
79649b31d6 added imports for missing items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 03:57:40 +00:00
Robin Dunn
1cd902a094 Use WXDLLEXPORT_DATA for wx*NameStr's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 19:11:04 +00:00
Vadim Zeitlin
ea836c51a2 changed the version to 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 11:26:09 +00:00
Robin Dunn
f497f4616b SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:50:05 +00:00
Robin Dunn
e9e2172042 Installer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:48:11 +00:00
Robin Dunn
caf5371ff9 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:45:42 +00:00
Robin Dunn
64818c920a Don't stop if already stopped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:12:48 +00:00
Robin Dunn
1bb650e720 If zero-size there's nothing to draw...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:10:33 +00:00
Robin Dunn
642d2b8fa1 wxPython updates for 2.3.4.2 --> 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-24 00:06:15 +00:00
Julian Smart
239502350a Don't pass zero width or height to SetVirtualSize or layout is
messed up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 23:42:13 +00:00
Ron Lee
cb3bed8054 Close de.po typo bug on upload.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:25:11 +00:00
Ron Lee
60f719d8fa Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 21:15:30 +00:00
Julian Smart
cb0c6f3187 Added *.ani to image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 11:17:28 +00:00
Julian Smart
5d051320d7 FL event patch from Hans
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 12:19:15 +00:00
Julian Smart
5ab37bdbb2 Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 11:03:31 +00:00
Julian Smart
adbec32f1a November -> December
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 10:54:12 +00:00
Vadim Zeitlin
bd37ea5198 copy headers under wx/msw/gnuwin32 in make install
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-22 01:22:40 +00:00
Václav Slavík
859d23845b fixed 2 encoding handling bugs in XRC/wxrcedit (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:35:49 +00:00
Václav Slavík
b591964667 backported small part of wxrcedit improvements patch into 2.4.0 -- correctly setting encoding and version on newly created files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 13:34:09 +00:00
Robin Dunn
19ca811a88 notes for 2.3.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 01:46:00 +00:00
Václav Slavík
559d67b977 WX_XMLRES_CURRENT_VERSION_STRING wasn't Unicode safe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-21 00:21:23 +00:00
Robin Dunn
4549842ab6 Refresh after changing the label or the font.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 21:59:22 +00:00
Robin Dunn
d9c9481f26 EventManager and Throbber updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 20:43:35 +00:00
Robin Dunn
159d1933fe PyCrust 0.8.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 19:43:03 +00:00
Robin Dunn
79301257f8 Allow SetCaretWidth(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 19:11:32 +00:00
Robin Dunn
2be337cfc7 Fix for Python 2.1 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 16:09:11 +00:00
Stefan Csomor
74f9e8e3d9 menu string of choice control allows for all characters now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 15:39:30 +00:00
Stefan Csomor
a48820e9f4 corrected setting invoking windows for wxMenus added after AttachMenuBar has been issued already. removal of Apple Help Menu Items occurs now also when the new menubar has no help menu itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 14:16:16 +00:00
Stefan Csomor
8979386806 added m_invokingWindow to wxMenuBar on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 14:09:39 +00:00
Julian Smart
6967f8b779 Do -> Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 11:15:05 +00:00
Julian Smart
417093fe28 Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 10:15:06 +00:00
Robin Dunn
a973354bf6 fixed a path problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 06:34:25 +00:00
Robin Dunn
18cb97fb87 The viewdocs script can now find additional .zip books automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 06:24:14 +00:00
Robin Dunn
eb6db0e4b8 Changed docs tarball to unpack to the same directory as the demo
tarball like it used to.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 03:47:59 +00:00
Robin Dunn
650164d34c Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 03:46:23 +00:00
Robin Dunn
f129aba820 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 03:34:49 +00:00
Robin Dunn
070ebc8f41 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 03:14:41 +00:00
Robin Dunn
940c78efaa SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 03:12:39 +00:00
Robin Dunn
cf57a49688 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 02:46:51 +00:00
Vadim Zeitlin
f9ec86744d test for system libz and libpng versions and not just for their existence (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:46:44 +00:00
Václav Slavík
79ebf0e9df removed translations where not needed (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:43:33 +00:00
Robin Dunn
119d4544ed Fis the wxOGL demo to show the new size of objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:18:08 +00:00
Julian Smart
2478f42a4c Fixed a problem with borders being set wrong sometimes on wxMSW, XP, VC++ 7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:13:53 +00:00
Václav Slavík
9e55933fbf we don't really have to use variable instead of constant...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 22:15:45 +00:00
Robin Dunn
0e666140b3 Fixed missing import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 22:10:41 +00:00
Julian Smart
17cd498d12 Don't build IPC version of HelpView on Mac Classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 20:02:27 +00:00
Robin Dunn
46c14bac9d Some more distrib scripts fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 18:54:22 +00:00
Robin Dunn
d195381766 Work around HasCapture() == true when mouse button is down on the
window's scrollbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 18:27:21 +00:00
Václav Slavík
b65e4260a7 make sure XPM handler is added at most once
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 12:24:47 +00:00
Julian Smart
eca005a814 Added missing fldefs.h to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 12:17:11 +00:00
Julian Smart
27827232cd Make the table border fix for all ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 10:20:41 +00:00
Julian Smart
4e06001fcb New OS2 specific files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 10:03:57 +00:00
Mattia Barbon
c9dd6cb722 Fix wxSingleChoiceDialog under wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:56:03 +00:00
Julian Smart
e68127f05b Fix border for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:54:47 +00:00
Ron Lee
5312a4b81d No 2.4 prerelease for debian now it seems. :(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 09:06:05 +00:00
Julian Smart
f1574c2f42 Fixed the cell border again (on wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 07:44:30 +00:00
Ron Lee
38d1a89a2c Packaging updates for 2.3.4.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 07:38:02 +00:00
Václav Slavík
f9b549e095 simpler fix for rendering bug fixed in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 23:32:23 +00:00
Václav Slavík
d62badf629 simpler fix for rendering bug fixed in previous revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 23:32:22 +00:00
Julian Smart
a81d920c91 Applied wxMenu::Remove patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 21:25:09 +00:00
Stefan Neis
10284f5ae6 Added some explanation about os2-specific.zip in wxAll distribution.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 19:14:02 +00:00
Julian Smart
6defe40555 Script mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 18:21:13 +00:00
Julian Smart
f086dd84c4 Fixed cell visibility test that was causing refresh glitches
in tables (since these were large enough cells to break the
original test)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 18:17:40 +00:00
Robin Dunn
045b46ea28 Some distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 17:57:26 +00:00
Václav Slavík
36b5a8204e disable version-script on Solaris, it doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 13:54:10 +00:00
Julian Smart
fcdafae8d3 Fixed cell paint background refresh bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 12:53:49 +00:00
Julian Smart
7ad7d8fe2c Added $(EXTRADLLFLAGS) to CFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 08:33:27 +00:00
Robin Dunn
2ce91bf170 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:48:23 +00:00
Robin Dunn
3cffacf8fc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:48:19 +00:00
Robin Dunn
da3ee1979a SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:28:23 +00:00
Robin Dunn
751d1f5b77 Fixes for Python 2.1 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:25:03 +00:00
Robin Dunn
fbd3b09c78 Unicode fixes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:15:40 +00:00
Robin Dunn
fb7eaf0d7b More unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 06:13:00 +00:00
Robin Dunn
3ce9929378 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 04:23:55 +00:00
Robin Dunn
a7ddd72ef9 Unicode compliation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 04:15:50 +00:00
Vadim Zeitlin
21c9fbe5ee reset virtual root to NULL in DeleteAllItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:22:38 +00:00
Julian Smart
45fb821840 Fixed [ 652512 ] wxPaintDC::FindInCache bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:21:17 +00:00
Julian Smart
09a2fd9ce2 Applied patch [ 654877 ] Missing == != methods in wxRect2DInt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 23:02:24 +00:00
Julian Smart
aca021757f Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Julian Smart
7f65647a0b Added wxUniv project file for dialogs
Fixed filelist.txt bug
Backported wxFileDialog fixes for wxUniv/MSW
wxFileSystem doc fixes
VC++ internal compiler error fix for statbar.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:31:37 +00:00
Bryan Petty
812919f6af This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:31:37 +00:00
Robin Dunn
31d10eb085 Updates to readmes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:14:23 +00:00
Robin Dunn
3d9d488655 Added missing #if wxUSE_WAVE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 21:26:21 +00:00
Robin Dunn
1eab83f91a Fixed possibility of releasing mouse if the window no longer had it captured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 20:57:55 +00:00
Vadim Zeitlin
342e11c27b unicode compilation fix for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:49:48 +00:00
Robin Dunn
462c9d9cc2 Added the images for the throbber demo, updated image encoding script,
and regenerated python image files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 19:40:06 +00:00
Robin Dunn
6b93408e4f More demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 18:20:43 +00:00
Robin Dunn
8291c05432 Don't allow demos that are known to still crash on OS X to be run.
Fix filebrowsebutton overlap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 18:10:15 +00:00
Julian Smart
18b56e7057 Committed Stefan's temporary fix for crashing in Mac Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 17:25:33 +00:00
Chris Elliott
99d2852f8c update borland makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 12:17:57 +00:00
Julian Smart
9798a2f0ac Further improvements to MFC sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 11:18:09 +00:00
Julian Smart
5f7a7263c3 MFC sample now works properly; WinMain not defined in wxMSW
if wxUSE_MFC is defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:52:10 +00:00
Chris Elliott
71ea40203d add (missing) borland makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:41:44 +00:00
Chris Elliott
5aaa9f10e4 update borland makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:39:36 +00:00
Chris Elliott
cf3ea57675 bugs in mfc sample; partial fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 10:25:46 +00:00
Robin Dunn
fe80017b0b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 02:27:37 +00:00
Robin Dunn
daddf28343 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 02:22:40 +00:00
Robin Dunn
36483fa725 Bug fix to show only one tip dialog...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 01:54:18 +00:00
Robin Dunn
c23c3a0ac3 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 01:36:47 +00:00
Robin Dunn
110629ecfb Added demo for EventManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 00:52:15 +00:00
Robin Dunn
840eac6e39 Updated version number, some other last minute tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 00:04:07 +00:00
Robin Dunn
621ac7b903 fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 23:08:31 +00:00
Robin Dunn
2bdd804134 Undid last change since I forgot to move my sticky tag first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:53:13 +00:00
Robin Dunn
86c426f201 Enable EVT_WINDOW_DESTROY (on a private branch since Robert is not
around to ask why it was disabled.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:47:07 +00:00
Robin Dunn
23d6e3a4be Misc wxSTC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:35:12 +00:00
Robin Dunn
06de870e3f Give wxSafeYield an onlyIfNeeded parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 22:05:35 +00:00
Robin Dunn
c77f57b50a More PyCrust updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:21:30 +00:00
Robin Dunn
df011ca6e2 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:14:04 +00:00
Robin Dunn
3376ead7b5 Setup the environment for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:11:04 +00:00
Robin Dunn
736333bf45 Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:03:53 +00:00
Robin Dunn
a5c0a4ca9c Added Robb's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:03:39 +00:00
Robin Dunn
8a243ef08e Script to build wxPythonDocs tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 21:02:00 +00:00
Robin Dunn
7ae404f97a removed makedocs.bat, will do in bash instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 20:56:41 +00:00
Mattia Barbon
667e69a3c6 Last samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 20:25:28 +00:00
David Webster
bbeb9cc4e8 final pre-release OS/2 updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 19:32:13 +00:00
David Webster
63c1d521d4 final pre-release OS/2 updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 18:34:27 +00:00
Robin Dunn
63e0edead7 Updated PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 18:19:42 +00:00
David Webster
3cc4d9a7c3 ctl3d32.lib no longer relevant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 16:58:43 +00:00
Stefan Csomor
7ade29f1f8 makefile for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 14:32:49 +00:00
Chris Elliott
721e57e874 fix bug with FINAL in borland makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:54:45 +00:00
Julian Smart
a4b19428bb Fixed missing checkbox alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 12:34:06 +00:00
Julian Smart
11b2a58e92 Updated change log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 11:11:01 +00:00
Julian Smart
b99b7c9272 Applied patch [ 651713 ] changes to convertrc
David J. Cooke (davidjcooke)

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


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


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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:45:09 +00:00
Julian Smart
693d703b42 Copy wxUniv setup0.h to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:36:17 +00:00
Julian Smart
c625623299 Removed redundant setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 10:26:25 +00:00
Julian Smart
e815a4feaf Backported wxHTML fixes
Applied patch [ 654023 ] Enables HtmlHelp (native)

Also fixed the bad event table in helpfrm.cpp.


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

Jay Berkenbilt (jay_berkenbilt) modified by JACS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 09:44:35 +00:00
Václav Slavík
9704351e8e backported wxFileSystem fixes to 2.4 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 00:20:33 +00:00
Václav Slavík
44aca7b8ad backported wxFileSystem changes to 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-16 00:10:27 +00:00
Mattia Barbon
e2bc35e0b3 Fixed all remaining samples/Unicode compilation errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 17:25:36 +00:00
Mattia Barbon
424fc76cad More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 10:23:11 +00:00
Václav Slavík
cfeff0e610 backported Czech translation to 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 00:33:29 +00:00
Gilles Depeyrot
c5c470e6ec fix FindMenu broken by implementation of double ampersands in menu and menu
item titles (finding "&File" was no longer working)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:44:48 +00:00
Václav Slavík
4780bb00a5 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 21:16:27 +00:00
Mattia Barbon
540afe043f More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:20:07 +00:00
Mattia Barbon
bb240b5157 Fixed compilation of some more samples in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:23:10 +00:00
Mattia Barbon
74fbdb9e3b Fixed missing reference to wxTreeCtrlnameStr when linking treectrl sample
by adding #include "wx/treectrl.h" to data.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 14:16:14 +00:00
Julian Smart
3fe5213e43 Added missing SetOrientation accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 09:29:02 +00:00
Robin Dunn
0b07750580 Fixed the spelling of Robb's name [me bad!]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 00:50:19 +00:00
Robin Dunn
1c3c514dfa Added wxPython.lib.multisash by Gerrit van Dyk which is a nice
implementation of allowing the user to split a window any number of
times either horizontally or vertically, and to close the split off
windows when desired.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 00:42:48 +00:00
Robin Dunn
2466a3a892 Added wxPython.lib.gridmovers by Gerrit van Dyk which facilitates the
dragging of columns and/or rows in a wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:35:43 +00:00
Robin Dunn
26e3a24354 Added wxPython.lib.popupctl by Gerrit van Dyk which is a combobox-like
gizmo for poping up arbitrary controls.  It is currently using
wxDialog because of some issues with wxPopupWindow...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 22:57:55 +00:00
Robin Dunn
2a29de09fc Added comment about derivation problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 22:04:22 +00:00
Robin Dunn
13b14ee5ad Added wxPython.lib.evtmgr by Rob Schecter, which is an easier, more
"Pythonic" and more OO method of registering handlers for wxWindows
events using the Publish/Subscribe pattern.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 22:01:38 +00:00
Mattia Barbon
522b6f2994 Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:38:55 +00:00
Mattia Barbon
02525259a1 Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:36:19 +00:00
Mattia Barbon
642246664c Add WXDLLEXPORT to friend declaration for GCC 3.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:35:15 +00:00
Mattia Barbon
2cdf28e928 Updated .po files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:19:17 +00:00
Julian Smart
918392e70f Committing old changes (sorry, can't remember what)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 22:02:36 +00:00
Stefan Csomor
7079cf814e turned combobox off for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 16:09:55 +00:00
Chris Elliott
30becbd63d fix for cygwin WXDLLEXPORT bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 11:57:31 +00:00
Robin Dunn
823ef93f89 Fixes for the helpviewer and regenerated batch files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 07:04:43 +00:00
Robin Dunn
b32d67f03d Added HelpViewer tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 06:40:20 +00:00
Robin Dunn
57327441a0 Renamed some helpers to avoid "GNU C++ internal naming strategy" warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 06:29:23 +00:00
Robin Dunn
245f9233fc Throbber fixes, other tweaks to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 06:14:56 +00:00
Robin Dunn
a8e8c0adf2 Win32 installer first prompts to uninstall old version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 04:59:17 +00:00
Robin Dunn
3e87f7c085 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 03:56:58 +00:00
Julian Smart
f8a1c24cca Applied patch [ 651287 ] adds missing wxTreeCtrl::GetEditControl
Peter Stieber


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 17:51:07 +00:00
Vadim Zeitlin
9c2a975b3c changed the version to 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-11 15:16:06 +00:00
Robin Dunn
6c85e4ea6c SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:45:08 +00:00
Robin Dunn
ef84703240 Added a version save isinsnace function
Added wxPoint2DDouble


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:37:10 +00:00
Robin Dunn
9b126063b3 Changed version number, added some experimental stuff (which isn't
currently active) for canvas, wxArt2D, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:08:05 +00:00
Robin Dunn
92bcb27d52 Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:06:54 +00:00
Robin Dunn
19d9393211 img2py can now output a "catalog" of the images in the .py file, also
added header comments to the files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:06:33 +00:00
Robin Dunn
02160d547f Demo enhancement from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:04:51 +00:00
Robin Dunn
523c689abb Added Throbber class from Cliff Wells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:03:35 +00:00
Robin Dunn
516a7db375 Make the RPM builder and .spec a little simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:01:24 +00:00
Julian Smart
1f6665c4a7 FromString should not fail on wxMac if facename empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 16:10:02 +00:00
Chris Elliott
d0041c5d85 fix bug with WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 09:35:41 +00:00
Julian Smart
ac0ab0af7c Backported some helpview fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 18:37:20 +00:00
Vadim Zeitlin
9c3ae8f70d backported nicer icon (without extra pixels which become garbage when scaled down to 16*16) from the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 16:45:37 +00:00
Chris Elliott
611024d19f fix bug with treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:13:53 +00:00
Julian Smart
c338913066 Added horse3.ani
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 15:10:14 +00:00
Julian Smart
d985da38ab Removed redundant m_server init
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:45:36 +00:00
Julian Smart
5fc426be1c Reverted the _n__ fix for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:35:09 +00:00
Julian Smart
28e1cf0c92 The wxMAKE_UNIQUE_ASSERT_NAME fix for VC++ does not work for MetroWerks CW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 14:20:06 +00:00
Roman Rolinsky
9edfe06a3c source moved to tree.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:27:18 +00:00
Julian Smart
d1207a5142 Applied patch [ 632115 ] Fixed internationalization on tooltips
wxMac's wxTooltip assumed that text was always PC encoded,
and always converted the string using
wxMacMakeMacStringFromPC(). This worked fine for English
characters, but multi-byte encoded languages such as Japanese
(SJIS) because garbled. I've added a check for
"wxApp::s_macDefaultEncodingIsPC" before performing the
conversion similar to other controls.

Nilesh Agarwalla


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:22:43 +00:00
Roman Rolinsky
e2c61e5080 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 11:20:48 +00:00
Julian Smart
5a8bec2332 Applied patch [ 649284 ] Fix wxODBC to work with MySQL 2.x
The current sample/db fails to build indexes with
MyODBC v2.50.39

This is due to two problems:

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

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

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

gor Mikolic-Torreira


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

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

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

This patch implements the fix.

John Skiff


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

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

Hans Van Leemputten (hansvl)


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

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

Hans Van Leemputten


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

Scott Pleiter

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 10:15:00 +00:00
Roman Rolinsky
bca584ff5e *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:49:05 +00:00
Roman Rolinsky
343ecf673b changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:48:01 +00:00
Roman Rolinsky
4acfbf894d Changes from global variables to 'g' object defined in globals.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:58 +00:00
Julian Smart
ee950b94e2 Applied patch [ 642162 ] restore wxWizard wxEVT_WIZARD_FINISHED
Restore the wxWizard wxEVT_WIZARD_FINISHED
event, which was sent when the FINISHED button was
pressed and the wizard was finished. When the
wxWizard is modal this event is not needed. However,
when the wizard is non-modal this is the only way to
determine that the wizard has finished.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:46:16 +00:00
Roman Rolinsky
e5c923ce11 Undo/Redo support classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:45:57 +00:00
Roman Rolinsky
d1c6feb36f Undo/Redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:45:12 +00:00
Roman Rolinsky
d596568d78 Separated XML_Tree to tree.py, Panel and friends to panel.py
added Undo/Redo commands

added 'container' submenu

other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:44:30 +00:00
Roman Rolinsky
f22fe04411 SawFish customization for better focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:42:36 +00:00
Roman Rolinsky
4efd2698e9 Global variables collected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:41:42 +00:00
Roman Rolinsky
1fc853e5e7 Separated xrced.py in 3 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:41:04 +00:00
Roman Rolinsky
d150c524ed Undo/Redo images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:38:30 +00:00
Julian Smart
114bf539c7 Applied patch [ 642157 ] [MSW] HMENU resource leak from wxMenuBar
Latest CVS - When a wxMenuBar is detached
from a frame and deleted the HMENU resource leaks.
This patch fixes the leak.

Scott Pleiter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:29:00 +00:00
Julian Smart
0f4008d545 Applied patch [ 638561 ] Allow SetFont(wxNullFont) in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-09 09:14:39 +00:00
Julian Smart
8cec24b7b4 Applied patch [ 637982 ] wxComboBox needs margin
wxComboBox doesn't have a margin between the text and
the dropdown button when the default size is used.
Since wxTextctrl currently returns a rather long minmal
size, this error is only visible if a long text (around
20 chars) is used. This patch introduces a margin
(analog wxSpinctrl).

Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 22:07:09 +00:00
Václav Slavík
ad9b9a0f7b Fixed EVT_TREE_SEL_CHANGED and _CHANGING under MSLU (patch 631815) (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:23:46 +00:00
Václav Slavík
c89124b7c0 XRC assigns ID to wxStaticBox created by including wxStaticBoxSizer (did what patch 632470 was supposed to do) (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:22:17 +00:00
Václav Slavík
348ffb021f Unicode compilation fixes for treectrl sample (backported to 2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-08 13:21:49 +00:00
Stefan Neis
7d4d26e6f0 Added information on how to circumvent make's problems with auto-generated
.d files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 15:21:40 +00:00
Julian Smart
0850f7534a Correction to path/URL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 09:18:44 +00:00
Vadim Zeitlin
454bf1cbe0 added semicolons after HASH_MAP (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 02:30:36 +00:00
Vadim Zeitlin
a80f274b76 removed trailing semicolons at the end of HASH_MAP macros (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-07 01:33:37 +00:00
Vadim Zeitlin
4aabda8557 fixed 3 infinite loops (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:57:27 +00:00
Julian Smart
af2a45e596 Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 22:49:58 +00:00
Vadim Zeitlin
9cb97b123e compilation fix for wxUSE_INTL == 0 (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 21:26:06 +00:00
Julian Smart
51bc5688a0 Removed apparently erroneous manipulation of filename/URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 20:12:48 +00:00
Stefan Neis
67c7e6f7b8 Changed GSocket_Select to use unix code for wxBase, previous code wasn't
detecting loss of connection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:57:30 +00:00
Stefan Neis
49f54610cc Updated to more OS/2 friendly version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 16:54:11 +00:00
Julian Smart
6f163e3d7b Added note about opening .dsp files in VC++ .NET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 14:16:27 +00:00
Stefan Csomor
c8a85f4c87 print session additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 15:13:12 +00:00
Julian Smart
cf8bac5170 Further version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 12:14:53 +00:00
Julian Smart
ea2093eb26 Changed version to 2.4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:55:25 +00:00
Julian Smart
2fcfadb4f5 Clean up CVS dirs and other rubbish
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:14:03 +00:00
Julian Smart
855a407f92 Test for stream validity in wxImage::GetImageCount()
Use horse3.ani in image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 10:10:04 +00:00
Vadim Zeitlin
3801f213a8 allow TABbing into multiline text controls even if they're not editable (backported from the trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 01:07:33 +00:00
Vadim Zeitlin
027f7d8921 compilation fix after recent patch (backported from trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 23:18:16 +00:00
Vadim Zeitlin
03bef50de5 refresh the dir label when changing directory (bug 630091)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 12:17:24 +00:00
Vadim Zeitlin
0c9b6a3c59 fixed CVS repository path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 12:15:06 +00:00
Gilles Depeyrot
1a0b595dcd - implemented handling of double ampersands '&' in wxGTK menu item texts in
order to allow embedding an ampersand character in the menu item text
- documented use of double ampersands for menu item texts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 21:19:23 +00:00
Roger Gammans
a81052ed96 * Change wxDbLogExtendedErrorMsg() prototype to allow building
as a DLL on with mingw32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 19:00:49 +00:00
Stefan Csomor
ed46dceab3 always reusing the session from printdata, that way print to pdf etc is preserved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 14:54:41 +00:00
Stefan Csomor
fdb1afcd50 fixing internal m_isOk status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 14:51:51 +00:00
Stefan Csomor
143de0ca83 adding the print session to the print data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 14:39:32 +00:00
Julian Smart
27e208b84d Attempt to clarify the wxMac install doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 14:25:22 +00:00
Julian Smart
21905d7265 Fixed a bug in virtual filesystem by converting to
native filename when necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 13:55:44 +00:00
Julian Smart
26d08cc602 Added references to wxTreeItemId::IsOk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-03 13:33:39 +00:00
Robin Dunn
c606ab69eb Compilation fix (gcc 3.2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 22:44:23 +00:00
Vadim Zeitlin
d056288d67 Unicode compilation fixes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 21:23:13 +00:00
Roman Rolinsky
8f92c81ebd basePath fix: must be directory name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 20:06:21 +00:00
Vadim Zeitlin
8f6df1fa78 test that wxUSE_RESOURCES == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 19:53:20 +00:00
Vadim Zeitlin
4d384f006c use GetSize() instead of hardcoded 10248768 -- but then it doesn't really matter as the code still doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 19:51:33 +00:00
Václav Slavík
7d0946bee1 fix object_ref lookup in case when object_ref node didn't specify class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 18:15:12 +00:00
Vadim Zeitlin
4c0c84886b added Find(T *), replaced wxObject with T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 17:15:36 +00:00
Vadim Zeitlin
6d76da42e1 tried to make docs about pseudo-templaet wxNode more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 17:05:58 +00:00
David Webster
e29c3411d3 OS/2 bug fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 14:11:38 +00:00
David Webster
9905679b18 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 14:08:35 +00:00
Julian Smart
5b6a40fb0e Moved wxUSE_CMDLINE_PARSER to more sensible place
Added it to wxMac's setup0.h
Removed semicolon from HASHMAP decl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-02 11:42:23 +00:00
Vadim Zeitlin
3f3ccd46c6 fixed a typo I accidentally introduced in my last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-01 23:51:02 +00:00
Vadim Zeitlin
054cab527c typo in wxWCharBuffer definition fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 22:22:25 +00:00
Vadim Zeitlin
ebf126595a removed (ugly) workarounds unneeded any more because of 1.23.2.3 change in wx/buffer.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 22:19:24 +00:00
Vadim Zeitlin
748b03e9c0 1. reverted previous (1.23.2.1) change -- copy ctor and operator=() now
take const arguments again
2. added operator=(char *)
3. both wxCharBuffer and wxWCharBuffer are now created from the same macro


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 22:18:34 +00:00
Vadim Zeitlin
934a9da8db make install should now install *.cur/*.ico/*.bmp files under Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 21:36:27 +00:00
Václav Slavík
bdac73ce95 install MGL header w/ wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 19:25:39 +00:00
Václav Slavík
ce25ec0551 fixed mgl.t to not include parser.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 19:22:48 +00:00
Václav Slavík
12c2f18f3b make it possible to use shared version of MGL with wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 19:15:08 +00:00
Václav Slavík
8444bc2a0f added wxMGL spec file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 19:14:09 +00:00
Václav Slavík
a5716ecb20 added 'make dist' for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 19:13:25 +00:00
Vadim Zeitlin
3605c20da2 wx/msw/gccpriv.h is used by wxBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 13:40:42 +00:00
Václav Slavík
6b0558e07d better translatable message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 13:20:29 +00:00
Julian Smart
08ed73f47b Removed __SALFORDC__ lines which apparently mess up with __SALFORDC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 10:51:34 +00:00
Vadim Zeitlin
ea54a476a4 Dutch translations update from Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-30 00:49:41 +00:00
Václav Slavík
5c3290a9de use traditional Chinese for zh_TW on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 23:43:20 +00:00
Julian Smart
de9e98335d Must insert WM_QUIT back into the message queue if eaten
by wxYieldForCommandsOnly. Cures the taskbar sample GPF.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 17:40:38 +00:00
Chris Elliott
d10de62799 remove false assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 16:44:55 +00:00
Stefan Neis
bd747ce4af Moved OS/2 specific library check to a different location:
- after "Checks for programs", so newer autoconf version will be happy.
        - still before "Check for headers" as this is necessary!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-29 12:19:46 +00:00
Vadim Zeitlin
1ae0c8d334 use libjpeg and libz in tests for libtiff or they fail (patch 644149)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 21:52:14 +00:00
Vadim Zeitlin
82f9014293 fixed loss of client data in wxChoice::SetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 21:27:30 +00:00
Mattia Barbon
7a884e16cb Fix MinGW GCC 3.2/Unicode compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 18:18:10 +00:00
Mattia Barbon
f27187f468 Applied patch from Ian Brown. Fixes coredump under Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 18:13:00 +00:00
Vadim Zeitlin
fd5630b45c fixed wrong usage example in wxLogChain section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:28:33 +00:00
Vadim Zeitlin
efb5bca6cc added files needed for building using configure (e.g. with cygwin) to wxBase distribution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 13:12:00 +00:00
Julian Smart
b7f3131ac8 Copy helpview XPMs
char -> wxChar in glcanvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 11:27:33 +00:00
Julian Smart
ece34aec85 Rewrote script to allow selection of individual platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 11:15:35 +00:00
Julian Smart
7daa1f1866 Added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-28 11:14:15 +00:00
Chris Elliott
3548d6186b add WXLIBBASE variable to make.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 14:08:32 +00:00
Julian Smart
9264d711e6 Include version-script.in in distributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 14:01:42 +00:00
Julian Smart
c1ecde9821 Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 11:38:08 +00:00
Julian Smart
ce78ea2a46 Fixed some dist things:
Added missing sample Makefile.in's
Added helpview, emulator
Maybe it's a better idea not to recursively
copy the dialoged tree, CVS directories and all!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 10:25:57 +00:00
David Webster
88ecce35e8 Weekly updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 05:50:21 +00:00
Robin Dunn
ba75150d36 Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 03:12:24 +00:00
Robin Dunn
6427c15c98 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 02:37:52 +00:00
Robin Dunn
c4f0ba3f89 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 02:29:28 +00:00
Robin Dunn
3e69c7670f Don't cache NULL attr objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 02:27:14 +00:00
Robin Dunn
d5c363173a Corrected a couple problems in wxStreamBuffer that show up when
reading from a wxMemoryStream


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-27 02:00:23 +00:00
Robin Dunn
fddf5d878a Changes so xrced always looks in the module's location for extra files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-26 22:30:02 +00:00
Václav Slavík
dfd2ef2854 version-script.in was missing in make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-26 22:17:49 +00:00
Chris Elliott
679215afbf fix bug with building contrib libraries for gcc 3.2 (2.95 stillOK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-26 16:44:24 +00:00
Stefan Csomor
34b75f4706 added UPP for OTNotifier (needed for carbon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 21:08:46 +00:00
Gilles Depeyrot
d0c22ffa5b added XML file typing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 20:58:28 +00:00
Ron Lee
0ce85b3d22 added -ffunction-sections for broken hppa linker.
bumped debian version for release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 13:08:22 +00:00
Ron Lee
463318d6e8 update config.guess, adds support for mips (released on Debian)
and a couple of other new platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 12:12:56 +00:00
Julian Smart
719d607331 Use rpmbuild, not rpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 09:52:36 +00:00
Julian Smart
5f053923e2 Corrected redirection typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 08:50:50 +00:00
Vadim Zeitlin
866a1da2da define (empty) ~wxDataObject everywhere: apparently it's needed for AIX and not only Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-25 01:51:04 +00:00
Julian Smart
14ee3dc323 Corrected some .dsp,.dsw filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 21:31:35 +00:00
Stefan Csomor
305f6124d4 m_meta was removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 18:37:28 +00:00
Julian Smart
e425da62de Updated the OS2-specific configury
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 17:29:16 +00:00
Stefan Csomor
6c4a74f67e added code for always getting back the real font name even though only a family was given.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 17:05:52 +00:00
Stefan Csomor
4d9bcf27a8 switched drawing algorithm, since apparently DrawThemeTextBox has some problems not squeezing the text under certain OS versions. also added the OS Truncating algorithm which does add ellipsis (...) when the text does not fit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 17:03:35 +00:00
Stefan Neis
50c7b3cd58 Added work-arounds for current problems with OS/2's PM port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 16:13:02 +00:00
Stefan Neis
21b132347d Compilation fix for EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 16:09:42 +00:00
Julian Smart
17ffbcef2e Fixed some wxNotebook refresh problems on wxUniv/WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 11:52:33 +00:00
Julian Smart
f9829ca9f6 Updated date on readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-24 10:52:50 +00:00
Julian Smart
a6d9a74902 Corrected label typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 20:50:25 +00:00
Václav Slavík
20e2e78607 use wxConvLibc for argv[] again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 20:47:21 +00:00
Julian Smart
00bb90a5ef Added a Refresh() to SetSelection() so programmatic tab changing works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 20:12:45 +00:00
Stefan Neis
57350623b6 Added yet another include for EMX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 18:36:54 +00:00
Vadim Zeitlin
2b46f72b18 updated french translation from Stephane Junique
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 15:43:49 +00:00
Stefan Csomor
1502cb12e1 changes for supporting more menu shortcuts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 08:02:50 +00:00
Robin Dunn
c77f5e912d SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 05:36:39 +00:00
Julian Smart
35c9aadc34 wxTabEvent and tab styles now in keeping with wxNotebook, for future
reference.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-23 00:00:21 +00:00
Julian Smart
dbad89ddf6 wxTabEvent should derive from wxNotifyEvent, not wxCommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 23:06:23 +00:00
Vadim Zeitlin
23c618498b don't return wxDefaultSize from GetBestSize() under any circumstances (reverted part of 1.123.2.2 change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 22:51:57 +00:00
Robin Dunn
8a69a46a6c demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 22:32:36 +00:00
Robin Dunn
e3ecd8d90b Ran autoconf on the configure.in that was recently checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 22:30:07 +00:00
Robin Dunn
05dce81b01 Added new wxTreeCtrl methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 22:27:46 +00:00
Robin Dunn
790072cb11 SWIGged updates foe wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 22:25:28 +00:00
Vadim Zeitlin
adf499e8bd fixed SetBestSize() by restoring its old behaviour (undid 1.94.2.1 change and added comments about why the actual code is right)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 21:37:10 +00:00
Robin Dunn
04328e6e30 Fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 21:33:21 +00:00
Robin Dunn
43989cd7fd Added some missing wxSTC_CMD_* #defines, also changed a bit how stc.h
is generated so all the wxSTC_CMD_*'s are grouped together.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 20:49:48 +00:00
Robin Dunn
5e119f2478 Whitespace-only changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 19:06:12 +00:00
Robin Dunn
8f968c7be2 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 18:52:13 +00:00
Robin Dunn
06c2fab604 Add libstdc++ for building on Jaguar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 18:47:37 +00:00
Julian Smart
aa9bb779bb Added missing wxTreeCtrl accessors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 16:49:51 +00:00
Vadim Zeitlin
a5801aa78e use #include "wx/sizer.h" instead of <wx/sizer.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 12:18:25 +00:00
Vadim Zeitlin
97d5c8bff8 added missing combobox ctor param doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 11:54:38 +00:00
Julian Smart
619659372c Fixed a Latex error but giving up with others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 08:59:23 +00:00
Julian Smart
e22cbf697e A script to suppress some common Lacheck warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 08:49:58 +00:00
Gilles Depeyrot
bdc68939fb remove OnSize handler which is in fact not needed now that width caching is
based on caching the client width changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-22 07:13:39 +00:00
Robert Roebling
93f1e6d330 Reimplemented wxMatchWild() which should fix the
problems it had under Unicode and the fact that
   it behaved differently on different platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-21 21:49:20 +00:00
Gilles Depeyrot
9814147718 recompute width cache if client width has changed to take into account the fact
that derived OnSize is run before cache has been cleared in own OnSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-21 21:30:28 +00:00
Vadim Zeitlin
af68a70285 described --enable-debug and not only debug_info/flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-21 17:19:38 +00:00
Julian Smart
437753d80c Border removed, other sillinesses fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-21 17:01:15 +00:00
Jouk Jansen
6fb932d8cc Committing in .
OpenVMS compile support update

 Modified Files:
  Tag: WX_2_4_BRANCH
 	wxWindows/src/html/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-21 14:59:39 +00:00
Robert Roebling
d992c3caa5 This should add Unicode mode to the list of
compile modes after running configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 20:52:26 +00:00
Julian Smart
769caa0789 Fixed libsrc_dir variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 19:44:16 +00:00
Robert Roebling
ae361aca86 GTK2 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 17:45:14 +00:00
Julian Smart
d01e3d8d9e Fixed ALL CAPS text bug in wxX11
Removed compiler warning in text sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 15:14:02 +00:00
Julian Smart
49cbccdd3f Removed silly comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 08:29:46 +00:00
Robin Dunn
8ca8f1340c Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-20 01:12:36 +00:00
Václav Slavík
50297bd752 this is ugly as hell, but what
else can I do to make following cases different:
a) wxSetlocale returns
b) wxSetlocale returns NULL
?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 23:19:30 +00:00
Robert Roebling
9b9a7d8baa Tried another fix for my wxTextCtrl crash. Stefan's
attempt had no effect and I didn't see any side
    effects of my change either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 22:41:07 +00:00
Robert Roebling
52b79074ce Actually destroy the toolbar tool controls when
destryoing the toolbar as we otherwise leave
    ghosts around.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 21:56:10 +00:00
Stefan Csomor
24affeb7e1 guarded frame setting when window is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 21:35:09 +00:00
Robin Dunn
dd8838213d little demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 18:55:39 +00:00
Robin Dunn
67167e345d Added space and tab to key names recognised for accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 18:54:46 +00:00
Julian Smart
26227372e3 option -> proportion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 18:23:28 +00:00
Chris Elliott
045d7116f4 small clarification to doc for get next sibling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 13:03:27 +00:00
Chris Elliott
be5827b6e7 small amendment to doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 12:56:06 +00:00
Chris Elliott
7a3ea24b51 missing source file added to makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 10:18:31 +00:00
Robin Dunn
b9f92f36bc SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 09:22:56 +00:00
Robin Dunn
b181a4bfb1 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:47:43 +00:00
Robin Dunn
f455ea7dc9 Typo fixed and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:44:14 +00:00
Robin Dunn
5c704db5e1 More wxUSE_PROLOGIO==0 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:43:41 +00:00
Robin Dunn
28f350310d Change wxPython's version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:41:30 +00:00
Robin Dunn
3aeb16e92d Changes needed to allow wxPython's OGL to compile when wxUSE_PROLOGIO==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:40:02 +00:00
Robin Dunn
9dd12fa0af Changes needed to allow OGL to compile when wxUSE_PROLOGIO==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-19 02:13:32 +00:00
Václav Slavík
73a0aac054 Fixed subtle memory allocation bug. Mysterious crashes in glibc may go away now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 23:12:11 +00:00
Václav Slavík
bae090fcff fixed thread-safe versions of wxMB2WC and wxWC2MB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 23:05:15 +00:00
Václav Slavík
72856fe8cd fix xrcdemo makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 23:02:33 +00:00
Julian Smart
1b420e0e7c Check whether m_toolCapture is NULL before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 22:39:58 +00:00
Václav Slavík
afb297caee use gtk2 as toolkit name instead of gtk if built against GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 18:08:03 +00:00
Chris Elliott
2e64c8e7bc update sample to test for const char * cast to int in imagbmp.cpp bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 16:07:14 +00:00
Chris Elliott
3edae636f9 fix const char * cast to int in imagbmp.cpp bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 16:04:19 +00:00
Julian Smart
185bb8af9a Helpview mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 14:46:49 +00:00
Julian Smart
39560cbe68 Added Eric Dowty's wxRemoteHtmlController class and test app,
with mods to helpview for full control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-18 14:43:32 +00:00
Václav Slavík
01e3574ea2 ugly 'fix' for wxHtmlHelpFrame's misbehviour under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 23:23:11 +00:00
Mattia Barbon
486ed00cfe Currently just setting wxUSE_PROLOGIO=0 in include/wx/msw/setup0.h
causes a link failure (when compiling a DLL) because the wxr parser
references compiled-out subroutines.
  This patch fixes that. It is "correct" based on the fact that Win32
compilers can cope with C++ comments in C sources, hence #including
setup.h works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 20:22:03 +00:00
Julian Smart
151ed6057f No change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 19:20:08 +00:00
Stefan Csomor
f67135ca25 added missing include for Apple Dev Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 19:01:41 +00:00
Julian Smart
5bac9640f9 No change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 18:00:13 +00:00
Vadim Zeitlin
3d8ac780e2 don't crash when auto sizing empty grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 14:30:24 +00:00
Vadim Zeitlin
51196589e2 added a detailed comment about wxUSE_GLCANVAS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 13:22:29 +00:00
Vadim Zeitlin
0ed7a79cbc updated after removing PrologIO &c (patch 639519)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 13:15:11 +00:00
Vadim Zeitlin
4e790786bb reset m_textCtrl after finishing editing a label (part of patch 639394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 13:08:24 +00:00
Vadim Zeitlin
5654877f78 fixed setting client data in Set() (closes patch 637749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 13:00:48 +00:00
Mattia Barbon
a1e086943a Use descriptive name instead of a string constant.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 10:08:08 +00:00
Mattia Barbon
1169ba95f0 In some Cygwin versions (mine, for example...) wchar.h requires
sys/types.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 10:06:08 +00:00
Stefan Csomor
1354418055 menu handling added (gtk-way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 00:11:13 +00:00
Stefan Csomor
414ea21e24 menu handling added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-17 00:03:23 +00:00
Stefan Csomor
a5235cf098 copied DoGetBestSize from gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-16 21:47:22 +00:00
Robin Dunn
16587f5357 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-16 01:54:11 +00:00
Robin Dunn
9a13e426cc Add missing libdir for libGLU.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-16 01:53:20 +00:00
Robin Dunn
f38c82258a Turn off the DISABLE_STYLE_IF_BROKEN_THEME flag to test using style
settings with pixmap themes again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-16 01:31:44 +00:00
Julian Smart
530bdadcbe Typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-15 19:06:51 +00:00
Julian Smart
1ec8142197 Some fixes by Paul A. Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 20:54:22 +00:00
Julian Smart
24e0bc7209 Fixed broken .dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 20:49:21 +00:00
Stefan Csomor
88b41be334 added missing generic files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 20:19:30 +00:00
Robert Roebling
b595f70996 Typo in font dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 17:45:40 +00:00
David Webster
a4b1f32cdf Add Generic MDI Frames as Native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 16:08:44 +00:00
Gilles Depeyrot
30165730d8 corrected wxStatFs definition for HPUX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 13:51:57 +00:00
Gilles Depeyrot
ff103774e6 use local variable since shl_findsym modifies the handle argument
to indicate where the symbol was found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 13:48:32 +00:00
Julian Smart
f76db005a8 Archive top-level directories renamed, except for wxAll and docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 12:24:24 +00:00
Julian Smart
4d31c9cfff Corrected frame icon, added version and date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-14 10:33:40 +00:00
Gilles Depeyrot
1dab51b3ac updated according to latest changes to file list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 21:43:04 +00:00
Stefan Csomor
1cc446e91b added settcmn.cpp and removed first slash from prefix file in order to keep it upwards compatible with CW8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 20:10:32 +00:00
Julian Smart
58e14084c2 Corrected ftp site typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 16:40:28 +00:00
Julian Smart
dcbcbc4065 Applied [ 625315 ] More const functions in geometry.h
Functions in geometry.h should be const if they don't
change member variables.

John Labenski


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 16:05:36 +00:00
Roman Rolinsky
cafe0fd75e Added fix for unicode build (no convertion needed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 14:32:35 +00:00
Julian Smart
915438c6ea Fixed tilde problem by using \verb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 13:36:28 +00:00
Ron Lee
53c2cc7d4b added missing include (Debian bug #168887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 08:32:19 +00:00
Robin Dunn
3fdbab8395 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 05:09:16 +00:00
Robin Dunn
753c7aa54a New methods to match CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 05:07:51 +00:00
Robin Dunn
fb873a1847 No real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 05:05:34 +00:00
Robin Dunn
f6238d1f84 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 05:04:46 +00:00
Robin Dunn
26b756a164 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 04:52:53 +00:00
Vadim Zeitlin
38ad0cc850 fixed VC++ warning (in release only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 01:12:55 +00:00
Vadim Zeitlin
6eaddc4352 use native filedlg implementation for wxUniv for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 00:12:24 +00:00
Vadim Zeitlin
74d6a72f02 fixed link for wxUSE_WCHAR_T == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-13 00:11:06 +00:00
Václav Slavík
21b2e8833c Unicode fix for wxEditableListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 23:28:35 +00:00
Václav Slavík
2877ca7efe fixed bold font setting in wxGenericTreeCtrl to account for font face and encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 23:27:54 +00:00
Václav Slavík
a228573797 wxGTK was confused about swiss, roman, serif and sans serif fonts, fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 23:26:13 +00:00
Robert Roebling
f31cebc32c Make sans serif default font for X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 19:04:20 +00:00
Robert Roebling
1fe3ac8f61 Add contrib dir to make win-dist (zip-archive).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 18:28:53 +00:00
Robert Roebling
20951f66bf Fixed sockets under X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-12 18:19:01 +00:00
Vadim Zeitlin
6011930cb0 renamed setup.h to setup0.h for consistency with the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 23:04:51 +00:00
Vadim Zeitlin
a68010a153 added a few missing functions (Abort, FileExits, GetFileSize)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 22:54:20 +00:00
Vadim Zeitlin
e3e500d8c2 VC++ compilation warnings fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 22:51:12 +00:00
Václav Slavík
959880045d fixed stupid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 21:47:08 +00:00
Václav Slavík
704899c217 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 21:46:16 +00:00
Vadim Zeitlin
0dcaf1ea0e removed inexisting default arg in Create() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 21:11:32 +00:00
Vadim Zeitlin
bd126f0e8f use ISO8859-1 instead of UTF-8 in non Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 20:40:30 +00:00
Vadim Zeitlin
9e0bac7652 removed inexisting default arg in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 20:32:21 +00:00
Gilles Depeyrot
0415aa8563 updated project files according to latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 19:41:01 +00:00
Robert Roebling
ed15d90624 Compile fix for Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 19:07:23 +00:00
Julian Smart
b4b8452ecd Version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 17:15:30 +00:00
Julian Smart
fd89740e89 Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 13:27:08 +00:00
Vadim Zeitlin
28c4610ed5 select the newly added page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 13:16:15 +00:00
Julian Smart
2b331055b9 Fixed [ 625792 ] Installation not set WXWIN as documented
(changed docs)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 10:00:35 +00:00
Julian Smart
368e6e1002 Fixed bug [ 635990 ] wxFindWindowAtPointer - mousepos not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 09:55:19 +00:00
Julian Smart
9a7f62c35e Some wxX11 fixes for non-Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 09:48:37 +00:00
Julian Smart
45a52767bd Applied frame.cpp part of [ 606958 ] Mac Menubar proposal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 09:07:58 +00:00
Julian Smart
888eaa3d8c Applied patch [ 631639 ] Print should be generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 08:57:55 +00:00
Julian Smart
e583ba068d Applied patch [ 633415 ] New setup.h for wxUniversal
A setup.h on the lines of the MSW setup.h, by Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 08:49:00 +00:00
Julian Smart
c97945a001 Fixed PDF RTF problem; changed date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 08:39:03 +00:00
Julian Smart
7b3e550c25 Applied patch [ 631715 ] Dragimage should be generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 08:35:48 +00:00
Ron Lee
63459a582a updates for scrolling/sizing methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 07:49:42 +00:00
Ron Lee
1917819470 Some code just *really* likes to be typo'd I guess.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 05:29:18 +00:00
Václav Slavík
4581a29d2d more wxHTML Unicode fixes (removed wxPrivate_ReadString), wxSearchEngine-->wxHtmlSearchEngine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 00:15:57 +00:00
Václav Slavík
987b309827 fixed wxSYS_DEFAULT_GUI_FONT (I wonder how could it work for anybody before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 00:03:19 +00:00
Václav Slavík
4a9150f9c8 honor facename and weitght with Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 00:02:40 +00:00
Václav Slavík
9cb9c214f6 more wxHTML Unicode fixes (removed wxPrivate_ReadString), wxSearchEngine-->wxHtmlSearchEngine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-11 00:01:23 +00:00
Václav Slavík
5a96f6be9c moved wxHtmlFilterHTML to public header, so that it can be used elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 23:58:51 +00:00
Vadim Zeitlin
bc86e2c68f corrected the links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 21:42:06 +00:00
Mattia Barbon
6df6345a73 MinGW has tchar.h, but it does not include wchar.h as wxchar.h expects,
hence we include it explicitly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 21:07:42 +00:00
Mattia Barbon
eb8a028c10 Checks for wxUSE_WX_RESOURCES and wxUSE_PROLOGIO.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 20:57:46 +00:00
Mattia Barbon
3769cf4948 Don't add checkbox characters ("[ ] ") twice.
Remove now unused function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 18:26:04 +00:00
Julian Smart
4aaf7903fb Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 15:55:19 +00:00
Julian Smart
7716ac56a5 Changed version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 15:48:56 +00:00
Václav Slavík
cd83a3c3db _really_ fixed internat.cpp crash (?) instead of commenting the code out and hapilly forgetting about it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 15:01:56 +00:00
Julian Smart
5267017927 Brian Bommarito
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 14:49:47 +00:00
Julian Smart
7d9c68a4de Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 14:47:29 +00:00
Robert Roebling
6b362ffce5 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 14:32:56 +00:00
Robert Roebling
1ecc9552dc Updated German translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 14:09:13 +00:00
Julian Smart
911bdf159b Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 13:20:13 +00:00
Julian Smart
4f5ceafdcb MS HTML Help file now generated using wx.css, and
standard HTML help generated as before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 11:09:49 +00:00
Julian Smart
cffd3ee7c4 Added new .ini file for use with styles for better CHM look
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 10:59:53 +00:00
Robert Roebling
e593d8f008 Documented the new ways to set the scrolling area
in a wxScrolledWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 10:45:08 +00:00
Robert Roebling
f2e9222d6e Further corrections to GTK's scrolling widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 10:25:02 +00:00
Ron Lee
b7b023c234 SetScrollbars needs to actually SetVirtualSize too, now that setting
the hints doesn't automatically do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 09:37:23 +00:00
Robin Dunn
bb499f2fb6 SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:59:00 +00:00
Vadim Zeitlin
6d979490a5 if the page changed due to pressing Ctrl-TAB was vetoed, the current tab was still changed (although the current page stayed the same!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:56:40 +00:00
Robin Dunn
ee29e26938 On wxGTK the Primary Selection is now set when something is selected
in wxSTC, and the middle mouse button will paste from the
PrimarySelection.  Regular Cut/Copy/Paste explicitly uses the normal
clipboard selection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:53:30 +00:00
Vadim Zeitlin
58072c4313 setting one radio button to TRUE should reset all the others in the same group to FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:47:11 +00:00
Václav Slavík
bff010281d Uncommented code that was commented out by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-10 00:05:39 +00:00
Václav Slavík
a574cf21c5 Unicode fixes to xrcdemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 23:18:16 +00:00
Václav Slavík
1dc2721af8 removed wxXmlResource::GetFirstRoot for reasons explained at wx-dev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 23:18:02 +00:00
Vadim Zeitlin
bf1e895f19 fixes for compilation with WXWIN_COMPATIBILITY_2_2 == 0 and gcc warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 23:13:08 +00:00
Robin Dunn
c7c0e05cf0 Also set listType for the notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 21:49:08 +00:00
Robert Roebling
a14f68f247 Made XPM writing code Unicode safe.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 21:43:23 +00:00
Robin Dunn
759c8b5299 The generic buttons can create their own disabled bitmap if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 21:37:31 +00:00
Mattia Barbon
b867e68cef Align wx version in configure with version in wx/version.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 21:01:09 +00:00
Robert Roebling
5ce5f94ea2 Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 20:21:21 +00:00
Václav Slavík
e2c7efa04b added wxHtmlParser::StopParsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 19:30:02 +00:00
Václav Slavík
fabe27dcb5 added wxHtmlParser::StopParsing and use it in ExtractCharsetInformation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 19:29:00 +00:00
Robert Roebling
a84d0043c6 Compile fix for GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 19:27:01 +00:00
Robert Roebling
d76fec130d Added anti-aliasing and printing in Unicode to wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 17:35:40 +00:00
Robert Roebling
f17fb6a086 Fix client dc for rename of pango_x.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 15:49:46 +00:00
Robert Roebling
01598df990 Fourth try to add pang_x.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 15:48:44 +00:00
Robert Roebling
3049550ceb Added support for Unicode rendering through Pango to wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 15:20:42 +00:00
Robert Roebling
bbd230a11d Unicode compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 13:51:26 +00:00
Ron Lee
9064852f8e Added a examples of virtual size use for setting scrollbars
both 'manually' and via sizer layout to scroll sample.
Tweaked it for various 2.4 idioms that have arisen since
it was written.

Replaced GenericScrolledWin's DoSetVirtualSize, it really is
needed for everything to work for both the user and lib.
Don't call it from default scrolledwindow OnSize handlers
unless AutoLayout is enabled though, and use the larger of
best and client size.  Hopefully this will fix any earlier
troubles this caused with M.

Purged (many) stray tabs &co from sizer.cpp

Changed DoGetBestSize to return wxDefaultSize when no useful
best size can be determined.  If GetBestSize is intended to
return the minimum undistorted size a window can take, we
must be able to discriminate between valid and 'best guess'
sizes, else the best guess windows can only grow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 13:29:26 +00:00
Robert Roebling
8b1632ebe7 UNicode compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 10:53:27 +00:00
Václav Slavík
0cc3981cd9 Unicode fixes to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 01:04:10 +00:00
Václav Slavík
ca351a69c3 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 01:03:03 +00:00
Václav Slavík
410cab65fd <meta> tag handler no longer used by wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:51:19 +00:00
Václav Slavík
9b0668e1a2 convertion --> conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:48:46 +00:00
Václav Slavík
7962c237dd Unicode fixes for OLE files (I don't know if I used correct conversion objects!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:32:30 +00:00
Václav Slavík
f3654dd181 <meta> handler no longer used by wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:31:28 +00:00
Václav Slavík
6fb39fe84b Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:26:54 +00:00
Václav Slavík
867be82e3a <meta> tag handler no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:23:46 +00:00
Václav Slavík
36435f9c0f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:18:55 +00:00
Václav Slavík
2dfc97eea1 another approach to Unicodification of wxHTML handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-09 00:07:36 +00:00
Robin Dunn
85f726f26a Fixed name clash in wxIEHtmlWin, other minor tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-08 22:33:39 +00:00
Vadim Zeitlin
b8a141538a Hungarian translation update from Janos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-08 16:51:30 +00:00
Vadim Zeitlin
5f88717aa8 fixed typo: _() was used instead of _T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-08 11:12:26 +00:00
Václav Slavík
2301d67573 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 23:26:17 +00:00
Václav Slavík
a9e11379a1 fix ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 23:26:05 +00:00
Václav Slavík
128995861e added MSDN-like stylesheet for wxWindows documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 23:25:58 +00:00
Václav Slavík
1d6704b6a9 no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 23:24:42 +00:00
Vadim Zeitlin
3a582e90c0 cleaned up (well, removed) the mess in wxComboBox::SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 21:19:26 +00:00
Vadim Zeitlin
f385722728 made SameAs() and operator==() const, added operator!=() and docs for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 13:16:29 +00:00
Vadim Zeitlin
d480da3f17 fixed/expanded InsertItems() and Set() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 12:35:24 +00:00
Vadim Zeitlin
5df61649d9 added wxListView docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 12:32:30 +00:00
Václav Slavík
d399635e06 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 12:04:36 +00:00
Václav Slavík
b6241cc22d compilation fix and replaced wxFAIL_MSG with wxLogError (this is runtime error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 12:03:29 +00:00
Vadim Zeitlin
55f8e9befc added a note about deleting the menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 11:59:51 +00:00
Ron Lee
aff6c6037d Added GetAdjustedBestSize which returns the largest of
BestSize and any user specified Min size hints.

Put it to use with wxADJUST_MINSIZE, which now has a chance
of working;  a) if the item gets smaller, and b) with controls
(like wxButton) for whom BestSize and the user MinSize share
only the most tenuous relationship.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-07 08:04:19 +00:00
Gilles Depeyrot
664785bce9 updated PB project (added missing headers, updated build script, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 22:31:09 +00:00
Gilles Depeyrot
1c8be62219 added wxUSE_PROLOGIO and changed default value of wxUSE_WX_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 21:49:36 +00:00
Gilles Depeyrot
344ec96065 Only compile parser.o if PROLOGIO/RESOURCES are enabled.
Removed it from *.t for platforms where configure would add it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 21:45:42 +00:00
Vadim Zeitlin
080b9373ff corrected wxDEFAULT_DIALOG_STYLE desc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 15:24:16 +00:00
Vadim Zeitlin
53630547cf fixed GTK2-only bug in SetLogicalFunction()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 15:20:47 +00:00
Chris Elliott
20ea7ff9d7 fix bug in nmake -f makefile.vc in widgets sample, where cannot delete old objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 15:02:31 +00:00
Ron Lee
80cf014b43 Surely it was not intended for SetBestSize to ignore a fully specified
size if passed one.    In any case, this method seems removable to me,
anyone care to confirm or deny that?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 14:21:51 +00:00
Václav Slavík
052a4b0f2f wxTextFile defaults to iso-8859-1, not wxConvLibc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 13:12:53 +00:00
Václav Slavík
1aa3e8d8f6 added wxConvISO8859_1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 13:12:42 +00:00
Václav Slavík
4383c2b97a added wxXmlResource::SetFlags as per wxWorkshop team's request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 11:10:59 +00:00
Robert Roebling
385112a8b3 Fixed wxMemoryStream to make it work without
any associated stream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 10:46:30 +00:00
Robert Roebling
0fce57ac76 Unicode copmile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 10:45:44 +00:00
Robert Roebling
0e808f5d5a Updated internat sample for Unicode, correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 10:44:23 +00:00
Robin Dunn
7ed43ac2e8 SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 04:23:54 +00:00
Robin Dunn
8c3de19796 Fix to allow wxShapeRegion to display text, from George Seally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 23:08:31 +00:00
Robin Dunn
8f5c320767 wxSizer.Show, IsShown, etc.
Wrappers for and use new wxInputStream methods
Other tweaks, fixes, etc. to go along with recent CVS changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 23:03:34 +00:00
Julian Smart
9ac8b5637a Added 32x32 versions of wxWindows icon and a .ico containing
16x16 and 32x32 versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 17:41:23 +00:00
Julian Smart
d7f50f5f27 Added a 16x16 wxWindows blocks icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 15:09:09 +00:00
Julian Smart
cb702cedd1 Use wxFileNameFromPath, not FileNameFromPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 14:53:23 +00:00
Vadim Zeitlin
2383b3b5f2 added missing winundef.h include after windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 14:40:26 +00:00
Julian Smart
ceecd70a6b Added further accelerators, though Up/Down/Left/Right are still
not working for some reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 13:42:23 +00:00
Vadim Zeitlin
8f05d8f9d5 don't fall back to GTK 1.x if --with-gtk2 was specified; don't try to build in Unicode when using GTK 1.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 13:36:49 +00:00
Ron Lee
6fb2eb9c0c #include missing menu header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 11:29:44 +00:00
Ron Lee
d06d0bc30a Only compile parser.o if PROLOGIO/RESOURCES are enabled.
Removed it from *.t for platforms where configure would add it,
it should possibly be removed from more, and this probably
breaks the msw project files somehow too, but I'm not sure where
to fix that.

There were some other changes apparent in the diff...  seemingly
a result of earlier changes to tmake templates -- I'm committing
them too, on the pretence that they are either right, or we've a
problem in the tmake stuff to fix.  Nothing has broken for me yet..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 10:03:08 +00:00
Jouk Jansen
d6c9911e4d Committing in .
One OpenVMS define to make linking possible.

 Modified Files:
  Tag: WX_2_4_BRANCH
 	wxWindows/src/motif/utils.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 09:11:27 +00:00
Vadim Zeitlin
70e8d9f69c fix for compilation with wxUSE_WCHAR_T==0 (bug 615084)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 01:22:25 +00:00
Vadim Zeitlin
b905c12598 attemps to fix compilation after applying the last patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 00:57:38 +00:00
Vadim Zeitlin
bab7e01267 wxUpdateUIEvent derives from wxCommandEvent, not wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 00:46:27 +00:00
Vadim Zeitlin
6886d3e782 generate EVT_CONTEXT_MENU under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-05 00:45:11 +00:00
Vadim Zeitlin
8edcec6652 removed LVN_HOTTRACK case completely -- why comment it out if we don't ever need it at all?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:26:54 +00:00
Vadim Zeitlin
611c1e0e6f added #if wxUSE_PROLOGIO test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:22:44 +00:00
Vadim Zeitlin
35891ce060 added wxUSE_PROLOGIO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:16:49 +00:00
Vadim Zeitlin
b9a9ef0453 undid the last commit -- do use wxUSE_PROLOGIO guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:11:23 +00:00
Vadim Zeitlin
8bbb50ba61 fix bug in key handling code: toupper() shouldn't be applied to the values outside of the ASCII range (patch 631236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:05:00 +00:00
Vadim Zeitlin
5b47d4f175 set APPVER to 4.0 if WIN95==1: fixes bug 629884
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 23:01:13 +00:00
Vadim Zeitlin
21cb83e8c9 replaced buffer copy and strcmp() with strncmp() (patch 632155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:48:27 +00:00
Vadim Zeitlin
01f12b1adf fixed __BORLANDC__ misspelling (patch 632095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:46:28 +00:00
Vadim Zeitlin
7ec0705909 some harmless compilation warning fixes (patch 631520)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:42:57 +00:00
Vadim Zeitlin
964a710a54 fixed headers included for wxUniv (patch 630713)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:41:56 +00:00
Vadim Zeitlin
9f9cebfb6c conversion to/from DOS date/time (patch 627575)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:38:15 +00:00
Vadim Zeitlin
66cf613e7b show column width in the column event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:25:55 +00:00
Vadim Zeitlin
6df55f5e46 set the column width in wxListEvent itself too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 22:24:13 +00:00
Julian Smart
f5acd489cb wxMSW: Added context menu for rich edit control, as per standard EDIT control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 21:49:57 +00:00
Vadim Zeitlin
d3f6d73cf8 added IsModified() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 21:46:59 +00:00
Vadim Zeitlin
aa4ebcb98d fixes to wxPipeInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 21:33:28 +00:00
Robert Roebling
f4c049b60e Small correction for wxButton mouse events under GTK 2.0.
Minor doc updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 20:13:23 +00:00
Vadim Zeitlin
94bccc31db compilation fixes in WXWIN_COMPATIBILITY_2_2==0 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 19:31:59 +00:00
Vadim Zeitlin
c79c41ca66 don't give env var expansion warning under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 19:09:27 +00:00
Vadim Zeitlin
fa1837fe14 replaced global semaphore in gtk_notebook_page_change_callback() with a per-object one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 19:06:04 +00:00
Vadim Zeitlin
93f4047227 removed TABs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 18:52:18 +00:00
Vadim Zeitlin
ae5dcdf0e6 work around for cygwin broken wchar.h: include extern C ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:47:18 +00:00
Vadim Zeitlin
fe164e5138 removed unneeded #include wchar.h (it should only be done from wxchar.h which has workaround for cygwin bug in wchar.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:40:13 +00:00
Vadim Zeitlin
05ae76ec1d added Update() and RefreshRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:25:51 +00:00
Vadim Zeitlin
85e5952bfe use wxSTREAM_NO_ERROR instead of deprecated wxSTREAM_NOERROR (fixes compilation without WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 17:16:04 +00:00
Vadim Zeitlin
405fff1bad replaced IsAvailable() with CanRead() in wxPipeStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 00:40:59 +00:00
Vadim Zeitlin
5a86eeac8c added wxInputStream::CanRead() and assorted other stream changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-04 00:39:44 +00:00
Václav Slavík
aaa7e220f7 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 23:58:38 +00:00
Vadim Zeitlin
282eb70450 suppressed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:37:51 +00:00
Robert Roebling
3f5a4243c9 Correct cursor thing in wxSplitterWindow (which manifested
itself only in GTK 2.0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:37:05 +00:00
Vadim Zeitlin
9b9fb7c234 added Unix makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:17:59 +00:00
Vadim Zeitlin
6186e29350 fix app exit code: it is returned by OnExit(), not OnRun()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:11:11 +00:00
Vadim Zeitlin
caaff22c06 replaced type unsafe wxHash with hash_map<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 21:03:02 +00:00
Vadim Zeitlin
e1e57f73b3 added wxPoll() implementation (based on patch 626861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 20:58:52 +00:00
Vadim Zeitlin
e0724c9d18 added configure test for poll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 20:56:21 +00:00
Robert Roebling
892a61dd37 Added more uniode compile fixes.
Made prologio and resources optional.
  Added native GTK 2.0 size grip to status bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 19:09:08 +00:00
Václav Slavík
af4efc1d0c Turkish translation update (I checked it into poEdit by mistake and didn't realize it was wxWindows catalog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 17:19:28 +00:00
Václav Slavík
d402f19c82 make sure wxDefaultArtProvider is linked-in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 17:19:10 +00:00
Robert Roebling
5f79bebb29 More wxT() macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 16:19:32 +00:00
Robert Roebling
fc6f3208b2 Some more Unicode fixes. What does wxTextStream do with
a char in Unicode mode?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 15:48:13 +00:00
Robert Roebling
c60cc91708 Bunch of compile fixes for wxX11 in Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 13:48:04 +00:00
Robert Roebling
0f7730c502 Added wxString::FromAscii() for char
Used it in protocol.cpp which probably assumes ASCII anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 13:07:41 +00:00
Robert Roebling
638104abce Unicodification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 12:36:09 +00:00
Robert Roebling
e4c937788a Added first tests for wxX11 for Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 12:19:26 +00:00
Vadim Zeitlin
a7c3dae3a1 fixed bug in wxToolTip::SetTip() which didn't do anything before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:52:51 +00:00
Stefan Csomor
56e770d6b7 added export attribute for classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:32:52 +00:00
Stefan Csomor
0c59640539 adjusted to other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:21:07 +00:00
Stefan Csomor
ebfb098877 corrected class export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 09:18:16 +00:00
Vadim Zeitlin
e92b5a2c94 removed duplicates from encoding names/descriptions arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 00:25:51 +00:00
Vadim Zeitlin
e3a3ef96f1 removed default conv argument in wxString(const char *) ctor in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-03 00:01:52 +00:00
Václav Slavík
0c3f3a52e4 added support for versioned symbols on Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 19:05:43 +00:00
Václav Slavík
cac85ffa8b applied patch #630001 (fixes \ escapement)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-02 12:26:02 +00:00
Stefan Csomor
bc4103a66e constrain tooltip rectangle to window (access to screen is very expensive under OSX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-01 18:36:41 +00:00
Stefan Csomor
160c7ecbad added BI_RLE4 implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-01 12:56:48 +00:00
Vadim Zeitlin
d29e4f03d9 restored the old values of the wxFontEncoding enum elements and also made Chinese/Japanese encodings synonyms for the MS ones, not the new values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-31 20:43:48 +00:00
Robert Roebling
b598e25cad Blind Compile fix for GTK 2.0 non-Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-31 19:49:11 +00:00
Stefan Csomor
ef807ad05c added support for file types popup upon save, an Get/SetFilterIndex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-31 14:04:44 +00:00
Stefan Csomor
75ff83b629 refresh only upon resize not on move only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-31 08:48:44 +00:00
Robert Roebling
9f98d38391 Enable Unicode input methods via GTK's and XIM
under GTK 2.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-30 19:56:03 +00:00
Robert Roebling
cf24909108 Compile fix after latest cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-30 18:01:24 +00:00
Robert Roebling
1599228964 Mixed up KOI and Chinese. (Wrong order in lists).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 22:40:45 +00:00
Robert Roebling
54b25889d2 Replaced lots of ANSI/ASCII strings with their
Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 21:48:06 +00:00
Vadim Zeitlin
0ab495989d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 20:42:34 +00:00
Vadim Zeitlin
0bfca7f379 added LED sample (patch 622939)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 14:41:38 +00:00
Ron Lee
d87f50a85e typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 04:46:38 +00:00
Vadim Zeitlin
94d07a6abd removed erroneous spaces from an example code snippet (bug 624580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:40:11 +00:00
Vadim Zeitlin
fc9d18d36f clarify where should WXWIN point to (bug 621118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:36:45 +00:00
Vadim Zeitlin
a926f0f996 fix for setting m_winLastFocused correctly in some situations (see bug 622297)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:34:15 +00:00
Vadim Zeitlin
a824bcf272 corrected misleading comment for WXWIN_COMPATINILITY_2_2 (closes 625817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:31:48 +00:00
Vadim Zeitlin
5dc4c9e92d let Ctrl-C work even in a readonly text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:28:33 +00:00
Vadim Zeitlin
824b2f9451 dy parameter in ScrollList() is the number of pixels, not lines (closes bug 628778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:14:38 +00:00
Vadim Zeitlin
6e76ef7230 compilation fix for !wxUSE_CHOICE (patch 629092)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:06:11 +00:00
Vadim Zeitlin
dab0267b99 enable wxProgressDialog for wxUniv, it should work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:04:28 +00:00
Vadim Zeitlin
0c3eefe809 fix for wxUniv compilation (patch 630082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-29 00:02:07 +00:00
David Webster
1351c353d3 Weekly updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 23:24:17 +00:00
Vadim Zeitlin
5f60853843 documented DeleteChildren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 20:20:35 +00:00
Vadim Zeitlin
d8c159fbfd don't crash if IsVisible() is called for the hidden virtual root
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 20:17:53 +00:00
Vadim Zeitlin
3095762276 don't overrun 80 char buffer boundaries in HandleTooltipNotify()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 20:03:50 +00:00
Vadim Zeitlin
186af62077 support for tooltips longer than 80 characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 19:42:57 +00:00
Chris Elliott
8f3c90b718 mdi GetActiveChild patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 15:23:31 +00:00
Chris Elliott
f371aaacb4 documents CreateButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 14:14:27 +00:00
Robert Roebling
51148dfb8e Moved AA information to the right place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 01:51:46 +00:00
Robert Roebling
d089223aa3 Lots of minor GTK2 updates.
Added wxFont SetNoAntiAliasing which cannot cause
    problems with existing apps since it doesn't
    changing the current style flags.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 00:21:00 +00:00
Chris Elliott
87c6ba105c makeuniv.b32 has escaped a previous purge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-27 16:29:21 +00:00
Vadim Zeitlin
a35b6da53a draw the sashes without wxSP_3DSASH flag nicer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-26 21:25:45 +00:00
Vadim Zeitlin
110904ad7e fixed wxConfig::Read() return value (bug introduced by the last commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-26 21:11:47 +00:00
Vadim Zeitlin
a068a1ce8d clarified the return value of MB2WC/WC2MB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-26 20:18:46 +00:00
Vadim Zeitlin
ed0fb5f1dc fixed bug which prevented the env vars in wxConfig values from being expanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-25 21:10:38 +00:00
Vadim Zeitlin
f1c2a09edf compilation fix for wxUniv (patch 628810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-25 20:15:12 +00:00
Ron Lee
1f7d25a152 Don't install duplicate image handlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-25 12:26:48 +00:00
Vadim Zeitlin
4d2912d600 fix for conversion buffer size problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-25 00:15:05 +00:00
Robert Roebling
f481b72d90 Added GB2312, BIG5, EUC-JP and Shift-JIS encodings to
known encodings so that message catalogs written in
    these encodings can be loaded. I did't find the code
    where I can specify that GB2312 is actually the same
    as the Windows code page.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 23:15:36 +00:00
Vadim Zeitlin
7fb7ed97e9 bumped up version to 2.3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 23:05:55 +00:00
Václav Slavík
b4bcb03448 reverted 'doesn't compile, let's remove it' fix for mingw32 compilation problem -- works now with a definition in missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 19:42:42 +00:00
Stefan Csomor
6e2e9a9abd changed wxDisplaySize to return the entire size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 19:13:47 +00:00
Vadim Zeitlin
42b2b3947f trying to keep the list of changes as brief as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:16:32 +00:00
Vadim Zeitlin
ef5941b3d8 added SetToWeek() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:13:40 +00:00
Vadim Zeitlin
936284fe41 fixed several bugs in wxDateTime week number calculations which required passing WeekFlags argument to more functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:11:02 +00:00
Václav Slavík
47cfa2bd4c Mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:10:00 +00:00
Julian Smart
a693d65e54 MinGW fix for XP fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:35:21 +00:00
Julian Smart
9a713b1149 Applied patch [ 623736 ] Build and use FL as DLL
This patch allows FL to be build as a DLL with the VC
project files, I was only able to at chief it with the VC
projects because the make file for building libs doesn't
have any rule to build DLLs (at least I didn't see how to
do it).

However the FL demo applications can be build using FL
in DLL form with MSVC project files and VC make files
(as mentioned before the FL DLL it self can only be build
using VC projects).

This patch includes 2 files; 1 to change current FL files
to work in DLL form and 1 extra include file that needs to
be added in the FL include directory.

Small note: if you want to use FL as a DLL you need to
use wxWin as a DLL.

Thanks,
Hans.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:21:47 +00:00
Julian Smart
0ea0ed4778 Applied patch [ 619424 ] texutils.cpp patch for !wxUSE_IOSTEAMH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:06:18 +00:00
Julian Smart
ce72acc2c6 Added note about wxSizer::Show and wxListCtrl crash fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:04:17 +00:00
Julian Smart
ed9cd416f1 Applied patch [ 614042 ] Add wxSizer::Hide() & Show()
By Carl Godkin
Also documented wxSizer::Show.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:01:47 +00:00
Robin Dunn
2beacbf5e9 Applied patch from Niki Spahiev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-23 20:43:50 +00:00
Robert Roebling
f8300041bd Lots of small changes to prevent glibc from crashing
when converting ansi strings to unicode. After
   this, you can use and display east asian locales
   in wxGTK, which looks sorta funny...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-23 17:32:15 +00:00
Julian Smart
8dcb2ef2ee Added FINAL=$(FINAL) to some BC++ makefile targets to
make the sublibraries compile properly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-23 12:51:37 +00:00
Vadim Zeitlin
d5f0a2b396 implemented GetTimes() for the directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 22:16:49 +00:00
Julian Smart
829fe079bc Patch [ 626532 ] Fix default item/tab traversal problem
This patch fixes a problem that occurs when you have a
panel containing controls inside a dialog/frame with a
default item (i.e. default button). Currently,
<Return/Enter> is processed incorreclty as a <tab>
even if there is a default item in a parent. This patch
causes a window not to handle the VK_RETURN key if
it is not a top level window and doesn't have a default
item of it's own.

Derry Bryson


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 21:38:25 +00:00
Julian Smart
6a9f0d173e Applied patch [ 626545 ] Correct num bytes allocated for bitmap
This corrects the calculation of the number of bytes to
allocate for the bitmap in wxPrinterDC::DoDrawBitmap
(). It was allocating more memory than necessary.

By Derry Bryson


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 21:34:22 +00:00
Vadim Zeitlin
8f40c2b250 updated Indonesian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 18:21:49 +00:00
Stefan Csomor
8dfed6e742 changed notebook icon code to only trigger under 10.2 and later (it is not working/buggy under 10.1.X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 15:41:00 +00:00
Stefan Csomor
97138ef264 added system version getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 15:38:17 +00:00
Jouk Jansen
7f42651bb1 Committing in .
OpenVMS specific changes:
   setup.h_vms : updated configuration for OpenVMS
   threadspsx.cpp : the type long on OpenVMS is 32 bits. therefor some
                    casts are changed to long long, for OpenVMS only.

 Modified Files:
  Tag: WX_2_4_BRANCH
 	wxWindows/setup.h_vms wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 07:11:32 +00:00
Robin Dunn
6a8dabe2ae SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 06:20:16 +00:00
Robin Dunn
5de6e36941 SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 05:07:14 +00:00
Vadim Zeitlin
8b26aa07de a hack to fix multiple problems with showing modal dialogs from OnIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 00:30:26 +00:00
Robin Dunn
e771b7e4ac Allow WM_SYSKEYDOWN to still be processed by MSWDefWindowProc, even if
it was handled by an event handler.  This allows the magic Windows
keys (such as Alt-space for the system menu, Alt or F10 to activate
the menu bar, Alt-F4 to send WM_CLOSE, etc.) to still work properly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 22:19:07 +00:00
Robin Dunn
3fe4f9bf40 Document major user visible changes
Build and such for recent CVS updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:31:06 +00:00
Robin Dunn
f63cfda54f Changed how the images are encoding in images.py, and have also
checked in the images themselves.
Also changed how it detects if the platform is wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:29:26 +00:00
Robin Dunn
36060e25b0 SWIGged code updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:13:36 +00:00
Robin Dunn
dccca5634f Fixed wxSWIG so that it won't convert None to NULL for parameters that
are C++ references, it still does for pointer parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:10:11 +00:00
Robin Dunn
699c00400a Added GetSelectedCells, GetSelectionBlockTopLeft,
GetSelectionBlockBottomRight, GetSelectedRows, GetSelectedCols nethods
to wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:08:16 +00:00
Robin Dunn
2b3a3838ee Added Python == and != operators for some basic classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:04:49 +00:00
Robin Dunn
f0a3fd5400 Added wxRealPoint::operator!= for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 20:08:59 +00:00
Julian Smart
1553df7c3e Removed tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 13:34:44 +00:00
Julian Smart
4b2452426b Two fixes for wxListCtrl under XP.
1) Do not use lParam for LVN_HOTTRACK since this doesn't
have valid data.
2) Check for item validity in HDN_GETDISPINFOW notification and
return TRUE to stop further processing of this strange message.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 12:41:52 +00:00
Chris Elliott
8a8578cebb fix for sourceforge bug report 625765
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 08:57:48 +00:00
Václav Slavík
4a5fc54878 more compilation fixes (tex2rtf now builds again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 22:17:49 +00:00
Vadim Zeitlin
8677ac53d2 show something in the summary when --enable-debug was explicitly given too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 21:45:40 +00:00
Robert Roebling
08314c6f4f Added header filename to pragma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 18:21:36 +00:00
Vadim Zeitlin
ccee086514 fixed (?) file format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 14:45:28 +00:00
Václav Slavík
2f4ed3b275 fixed syntax errors in documentation (once again...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 13:47:12 +00:00
Václav Slavík
9891e5609d use iso-8859-1 as default encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 13:46:51 +00:00
Václav Slavík
601a6d1cc5 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 13:46:38 +00:00
Václav Slavík
5896402ea4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 13:46:23 +00:00
Václav Slavík
d1274ec7b9 don't use <font face> if not requested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 13:45:40 +00:00
Robert Roebling
7fcfab5e21 Use UTF8 for writing file configuation data in
Unicode mode. I assume that the registry
    also will use Unicode in Unicode mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 12:45:51 +00:00
Robert Roebling
09cb4267da Corrected GetCharWidth() and GetCharHeight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 11:20:32 +00:00
Robert Roebling
cd12eca16a New code for char and key events under GTK 2.0. This
uses the built-in input method which is required
    even for getting European characters. Key down
    events probably don't work anymore. It is still
    impossible to receive Unicode characters due to
    the limitations of wxKeyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 10:15:31 +00:00
Robert Roebling
ba97061f8e Corrected GetTextExtent() although I dont reall
know what was wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 10:12:48 +00:00
Robert Roebling
d51bad0347 Don't use libc for converting the command line
params to Unicode as it will crash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 10:10:56 +00:00
Vadim Zeitlin
3a6fb21d40 implemented missing wxNativeFontInfo methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-19 21:23:18 +00:00
Vadim Zeitlin
9e99b53208 added wxRB_SINGLE style as temp workaround for MSW native radiobutton bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-19 13:24:09 +00:00
Václav Slavík
02b0f5f67e added wxScrolledWindow to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 20:54:12 +00:00
Stefan Csomor
00a71a011f added toggle support (and some corrections ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 19:47:34 +00:00
Stefan Csomor
30438673e3 notebook images support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 17:22:44 +00:00
Gilles Depeyrot
f95c44324e corrected Mac OS X related configuration check (removed spurious if)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 16:26:11 +00:00
Stefan Csomor
6302278380 added proper accessor for getting region boundaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 08:48:07 +00:00
Stefan Csomor
5a751e2699 key handler does not interfere with menuevent keystrokes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 07:16:49 +00:00
Stefan Csomor
92340b2ae8 bracketed fstream include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 06:48:35 +00:00
Robin Dunn
7c630a2d4f SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 06:24:40 +00:00
Robin Dunn
431aa4766e Use true reference counting with wxMemoryBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 05:11:08 +00:00
Václav Slavík
1adbd752e1 wxCheckBox and wxCheckList docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 22:07:44 +00:00
Stefan Csomor
a4d52e98b7 turned off several branches for cursor setting idle code, I'll have to turn on some of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 20:40:21 +00:00
Stefan Csomor
a1bc5f4446 picture support on tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 20:38:38 +00:00
Stefan Csomor
e22babff50 changed code for better debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 20:34:20 +00:00
Stefan Csomor
c033876ec0 pict generation code takes into account mask, getting rid of a memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 20:32:29 +00:00
Stefan Csomor
728d6d7d3a attempt to keep the number of control updates lower during idle times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 20:30:44 +00:00
Vadim Zeitlin
5364b91a46 added Indonesian translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 19:58:09 +00:00
Gilles Depeyrot
f420fdcfe2 Under Mac OS X, when building non bundle applications, resources are bundled
both with shared library and applications since the carb resource *must* be
included in the application in order for it to be recognized as a Carbon
application


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 19:20:40 +00:00
Roman Rolinsky
90fa618ee0 Notes about 0.0.8-1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:49:29 +00:00
Roman Rolinsky
18ede604de Using MyDocument objects for writing XML (myxml module).
Added new controls.

Panel.OnCut code is merged with Panel.OnDelete to Panel.OnCutDelete.

Encoding support (beta).

Moved "del conf" line from App class to main function - for some weird
reason it doesn't work in App.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:41:53 +00:00
Roman Rolinsky
2667e31153 Updated control parameters for wxDialog, wxGauge, wxSpinButton.
Implemented wxSpinCtrl, wxGenericDirCtrl, wxUnknown.

Added encoding support and new classes xxxEncoding, xxxMainNode (represents Document
object).

etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:37:55 +00:00
Robin Dunn
171c9b26e3 wxFAIL used wxFalse in its message like '"wxFalse" failed' which
doesn't make much sense...  So I changed the token passed to wxASSERT
to "wxAssertFailure" to try and make it a little better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:37:51 +00:00
Roman Rolinsky
8ab3e5a672 Customised XML writing - include encoding header attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:33:41 +00:00
Robin Dunn
049d5d2cca Fix a couple asserts so they won't deref NULL pointers if that's what
was passed in.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:23:50 +00:00
Vadim Zeitlin
7c603b9907 added include wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:02:55 +00:00
Vadim Zeitlin
6af4efb2f9 fixes for gcc 3.x -Wshadow warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:43:43 +00:00
Vadim Zeitlin
5b7745fa47 gcc 3.x -Wshadow warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:38:49 +00:00
Vadim Zeitlin
01a88a5b8b compilation fix (missing header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:32:27 +00:00
Vadim Zeitlin
635f9b534e added wxLongLongSuffix and wxLongLongFmtSpec for CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:30:36 +00:00
Robin Dunn
1553a6f2f2 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 23:24:51 +00:00
Robin Dunn
d73361fed5 Various changes to reflect current CVS.
Added a separate wxRadioButton demo.
Various tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:51:31 +00:00
Robin Dunn
a5b317c973 Reverted last change. The page size must be set when it is added in
case the notebook has already been sized by the time the new page is
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:48:18 +00:00
Robin Dunn
d3a5c14ab4 FileExists --> wxFileExists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:46:42 +00:00
Vadim Zeitlin
9df4bbf74c Mac compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:43:09 +00:00
Václav Slavík
acc4028ecd fix binary incompatiblities in wxHtmlHelpController's cached data bytestream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 22:46:25 +00:00
Stefan Csomor
e3dbaff33f wxNO_FULL_REPAINT_ON_RESIZE implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 16:16:21 +00:00
Julian Smart
91ae025ee2 Fixed wxUSE_THREADS typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 16:02:54 +00:00
Julian Smart
6f45003cae Fixed SString.h for gcc 2.96
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:39:35 +00:00
Stefan Csomor
cab1dfd13b added wxBitmap::ConvertToImage code for native icons and pictures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:03:20 +00:00
Stefan Csomor
665bb65698 line ending commands under condition of PC endings (added also to WriteText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:01:09 +00:00
David Webster
74587a6b43 More duplicate symbol fixes for VisualAge builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 14:15:17 +00:00
David Webster
32b26030fe More dll updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 14:12:23 +00:00
Vadim Zeitlin
714e26a551 fixed gauge overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 13:55:06 +00:00
Vadim Zeitlin
a61aefe37f don't divide by 0 in SetValue/Range(); minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 13:25:41 +00:00
Václav Slavík
349ac76e9a given an assert when trying to do something stupid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 22:40:40 +00:00
Václav Slavík
4f3f29fe0a documented wxXmlResourceHandler::IsOfClass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 22:31:50 +00:00
David Webster
bb4f30c0d8 Weekly OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 21:31:38 +00:00
David Webster
047c8f9bd7 Fixups for duplicate symbols errors under VisualAge C++ for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 20:44:36 +00:00
David Webster
fd9ac68eb7 VISUALAGE OS/2 fixups needed for new Png lib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 20:42:24 +00:00
David Webster
a6e369b062 Getting rid of ctl3d32.lib for command-line builds (not used anymore per Julian).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 19:39:58 +00:00
Stefan Csomor
f9c7ec45b8 added kHighLevelEvent to the group of events that don't need correction of modifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 18:35:06 +00:00
Vadim Zeitlin
64b2a65697 added HasSelection() (forgot to commit yesterday)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 17:25:17 +00:00
Vadim Zeitlin
252b2c1c34 Only set WXUSINGDLL=0 when not set (patch 620174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 12:48:08 +00:00
Vadim Zeitlin
800e14138e call Layout() from Show(TRUE) to ensure that all dialogs are correctly laid out initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 22:37:51 +00:00
Robert Roebling
a46cc43fed Combox gets its own SetFocus()
wxDialog() set the focus to itself when shown. This will
    the propagate to some control in the dialog. I am not
    sure if this will override preceding user's call to
    SetFocus() in one of the child windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 21:03:47 +00:00
Robert Roebling
944b29b835 Give wxComboBox an extra SetFocus() method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 21:01:15 +00:00
Vadim Zeitlin
82898ed9df added more tests for SetValue/WriteText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:27:20 +00:00
Vadim Zeitlin
9007386bc8 each of SetValue(), WriteText() and AppendText() now generates exactly one EVT_TEXT() event for all kinds of controls (plain EDIT, rich, rich version 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:24:00 +00:00
Vadim Zeitlin
e924448838 more typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:13:55 +00:00
Vadim Zeitlin
b0b7a18d2d handle files with .cc extension properly (patch 622687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:08:33 +00:00
Vadim Zeitlin
a45376e42f typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 18:37:44 +00:00
Robert Roebling
daa820fd8b Enable direct access to XML data in XRC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 16:19:15 +00:00
Robert Roebling
fbf9b66e03 Shouldn't the fontmapper recognize 8859 as iso-8859?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 14:00:03 +00:00
Robert Roebling
441534fce3 Forgot to convert a string in colour name lookup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 13:22:12 +00:00
Vadim Zeitlin
e328b2a64d fix for cygwin warnings (modified patch 622146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:17:42 +00:00
Vadim Zeitlin
69b0c112e7 fix for spelling error (patch 621869) and use _() instead of _T() for the user visible strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:07:59 +00:00
Vadim Zeitlin
06cdbdacb2 clarifications of ENDSCROLL event docs (patch 622424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:05:57 +00:00
Robert Roebling
366f5f1fd0 Commited wheel mouse event patch for GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:13:19 +00:00
Vadim Zeitlin
86181cbde1 added wxLL and wxLongLongFmtSpec macros; documented them; added a test in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:02:48 +00:00
Robert Roebling
775462816e Another compiler fix for GCC 3.2 Another compiler fix for GCC 3.2..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:02:38 +00:00
Vadim Zeitlin
b1210f9b69 fix VC++ warnings (which could be errors for the other compilers) with returning wx(W)CharBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 10:06:58 +00:00
Vadim Zeitlin
37a911e683 another compilation fix: Unix2DosFilename -> wxUnix2DosFilename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 09:50:36 +00:00
Robert Roebling
3b6b0309b1 Compile fix for GCC 3.2. Don't know why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 08:17:48 +00:00
Robert Roebling
56089cb7e4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 08:02:41 +00:00
Vadim Zeitlin
16ca2afc73 only define Foo equivalents for wxFoo file functions if WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-12 22:19:26 +00:00
Václav Slavík
9fd7ddfcc5 some more XRC docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:24:47 +00:00
Václav Slavík
68a8e04526 more whitespaces as style deliminers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:23:58 +00:00
Václav Slavík
2bdb21c40b updated MGL installation instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:23:12 +00:00
Václav Slavík
b5cee9c500 don't add files to resources twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:22:16 +00:00
Václav Slavík
edb22d6af1 added wxHtmlContainerCell::GetBackgroundColour (needed for e.g. widgets rendering)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:22:06 +00:00
Vadim Zeitlin
da266dd05c added non const accessors to wx(W)CharBuffer; minor changes to wxMemoryBuffer; made copy ctor and assignment operator argument non const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:26:43 +00:00
Chris Elliott
1e4d96486a make mdi.cpp resize for wxUniv/ Borland as well as wx11/gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 09:09:39 +00:00
Chris Elliott
54946ca676 wxUniversal now in makefile.b32 - use make -f makefile.b32 WXUSINGUNIV=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 08:54:09 +00:00
Chris Elliott
2b6484e38e wxUniversal now in makefile.b32 - use make -f makefile.b32 WXUSINGUNIV=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 08:38:11 +00:00
Chris Elliott
eb2aa24703 fix for wxUniversal and BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 08:24:41 +00:00
Robin Dunn
3d9d1df8d1 No real change, just added some whitespace for readability and testing
the new syncmail code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-10 20:06:13 +00:00
Robin Dunn
e1c77fa8f1 Add some test code, and testing if CVS is allowing commits again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-10 17:51:13 +00:00
Vadim Zeitlin
d329818b2a added/documented wxWizard::HasNext/PrevPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-08 20:37:56 +00:00
Julian Smart
bd5dd71130 Added IPC server capability to helpview, if you compile
with hvUSE_IPC
Added client demo using raw IPC classes (not yet using
a kind of help controller, as we eventually should)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-08 15:27:13 +00:00
Robin Dunn
aa4497caf2 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-08 03:41:51 +00:00
Vadim Zeitlin
c7195026a0 no changes, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 23:11:41 +00:00
Vadim Zeitlin
6bc69f3752 handle the errors in MB2WC/WC2MB gracefully in wxString ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 23:11:27 +00:00
Vadim Zeitlin
c9bd8aeb25 fixed the use of size_t parameters in UTF8 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 23:10:57 +00:00
Robin Dunn
ac153e89cc Don't do the OnAssert overloading if not __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 22:34:03 +00:00
Vadim Zeitlin
86f964c3dd more UTF8 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 22:33:25 +00:00
Vadim Zeitlin
c280423d85 slightly cleaned up the sample code -- but it (still) really needs a rewrite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 22:17:16 +00:00
Vadim Zeitlin
e03cdae726 wxTimer::Start() only works from the main thread: mention it in the docs and add an assert in the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 22:16:36 +00:00
Mattia Barbon
51b30d5943 Fix wxHashMap::clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 20:37:21 +00:00
Robin Dunn
65da7c0105 wxXmlSubclassFactory for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 20:08:19 +00:00
Julian Smart
762b5367f7 Removed comment about using its own storage - wxTextValidator doesn't.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 07:28:26 +00:00
Václav Slavík
62ac23612f slowly documenting XRC...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 22:32:54 +00:00
Mattia Barbon
621b9ba223 Add some missing headers for non-PCH compilers.
Add a missing IMPLEMENT_DYNAMIC_CLASS (I still wonder how could it
work without it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 20:46:28 +00:00
Mattia Barbon
82e547d3d6 A couple more s/friend class wxFoo/friend class WXDLLEXPORT wxFoo/ for
MinGW GCC 3.2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 20:44:41 +00:00
Vadim Zeitlin
3a9dd8d618 added default value of id param in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 19:45:51 +00:00
Vadim Zeitlin
26f10d1c2b added a section about wxTextCtrl indices
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 19:44:33 +00:00
Vadim Zeitlin
cea0b70615 generate TEXT_ENTER event when Enter is pressed in a combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 23:29:40 +00:00
Vadim Zeitlin
8f41f92614 create the controls inside a panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 22:26:44 +00:00
Vadim Zeitlin
4fe82ce139 kbd traversal code now knows that DLGC_WANTALLKEYS implies DLGC_WANTTAB/ARROWS; this fixes the problem with editing a list/tree ctrl item in place -- you could TAB out of it before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 22:24:12 +00:00
Vadim Zeitlin
51dbcf35ff call SetFocus() in WM_LBUTTONDOWN handler for the wxWindows controls (not standard ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 21:33:01 +00:00
Vadim Zeitlin
0debb1231a mention wxNB_MULTILINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:41:26 +00:00
Vadim Zeitlin
bbce9725f5 woodoo workaround for the bug 616803: crash when showing a dialog with notebook with wxNB_MULTILINE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:37:07 +00:00
Vadim Zeitlin
8ce31375f2 fixed wxfileDialog::SetPath() (which didn't do anything before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:20:57 +00:00
Vadim Zeitlin
d4ffadcd7c reverted the last change -- what was it for?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 11:45:42 +00:00
Robert Roebling
372b0e766c Applied patch to fix colour probs under wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 20:48:16 +00:00
Robert Roebling
c6de9c117b Added work-around/fix for redraw bug in idle handler.
I now send internal idle calls whereas normal idle
   events still get block by the recursion block.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 20:10:14 +00:00
Gilles Depeyrot
af0cf516b0 added SIZEOF_INT to Project Builder prefix header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 18:45:11 +00:00
Vadim Zeitlin
c20c9f8034 made the configure summary message a bit more pretty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 16:47:26 +00:00
David Webster
e722a0b9d9 Need to set the m_isShown flag properly during a call to ::Show.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 13:53:38 +00:00
Julian Smart
8c92ffaa71 Removed references to wxBuffer from wxSlider, and
ensured that the slider doesn't use a potentially
uninitialised buffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 10:28:06 +00:00
Ron Lee
6bd20f9d73 fixed long lost typo uncovered by Gilles output summary. Is it ever bad
to add more of these things :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 05:24:14 +00:00
Robin Dunn
7a0afd5cfe Turn off the test case for normal use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 02:11:56 +00:00
Robin Dunn
7fbab51529 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 02:00:19 +00:00
Robin Dunn
dad0803d48 Removed Command() but left an alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:44:55 +00:00
Robin Dunn
3f7406ab30 it helps if you actually return the return value!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:42:03 +00:00
Robin Dunn
9312e5d6db wxASSERT and others are converted to Python Exceptions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:40:31 +00:00
Gilles Depeyrot
1d4874621e added a configure summary trailer to report on main configuration options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-03 20:46:45 +00:00
Robin Dunn
7d1ab59731 Avoid assert when the position to be removed is beyond the end of the
list and just return FALSE as documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-03 19:50:39 +00:00
Vadim Zeitlin
3512d53ddd added a WXWIN_COMPATIBILITY_2_2 test around deprecated Command() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:33:01 +00:00
Vadim Zeitlin
a275e42188 delete the hidden TLW parent window from a module to ensure that it is done even if OnInit() returns FALSE; also create it without using wxTLW itself which actually simplifies the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:32:23 +00:00
Julian Smart
1681cdd7f1 Regenerated configure for -lm patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:16:32 +00:00
Julian Smart
690df84c1c Applied patch [ 617303 ] add -lm only when it's needed
(will commit configure shortly)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:09:28 +00:00
Julian Smart
8eca8095e4 Applied patch [ 617262 ] ListCtrl ResetVisibleLinesRange missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:03:43 +00:00
Julian Smart
db2995da83 Applied patch [ 616406 ] wxGenericDirCtrl: virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:57:29 +00:00
Julian Smart
f93107bcae Applied patch [ 615769 ] generic wxListCtrl enhancements
implemented a couple of things missing from the generic
wxListCtrl class which make it more similar to the
Windows port

1) implemented wxLIST_FORMAT_RIGHT and wxLIST_FORMAT_CENTER

2) added an ellipsis (...) to the end of the string and
shortened the string to fit inside the allowed width

3) left a margin of 8 pixels between columns so that
the text is not shoved right together

Note this is my first patch to wxWindows. I did read
the patch howto and I think I got it right but please
feel free to bother me about any discrepancies. In
addition, I am not sure if the way I implemented the
new routine to handle the formatting is adequate
performance wise but it doesn't seem to slow things
down too badly on my machine... :-) In addition, if
this routine is accepted, it could also be used for the
header data as well -- thoughts?

Anthony Tuininga


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:54:09 +00:00
Julian Smart
ace9a61933 Applied patch [ 615993 ] CW7 project file patch for v2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:49:07 +00:00
Julian Smart
97ea5edb3d Applied [ 612802 ] wxSplitterWindow::Unsplit() in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:46:58 +00:00
Julian Smart
d0fd5a294d Applied [ 611204 ] Fixes wxSlider thumb grabbing area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:44:21 +00:00
Julian Smart
af2e6a4295 Applied patch [ 613113 ] "GDI Object" leak in wxOwnerDraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:42:23 +00:00
Julian Smart
6397b59b65 Applied patch [ 609516 ] AutoSize does not remove scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:38:50 +00:00
Julian Smart
fe3f379193 Applied [ 609518 ] wxImage: const comp. operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:35:52 +00:00
Julian Smart
44b283fef0 Applied patch [ 609361 ] wxDocument::UpdateAllViews()
The sending view won't be updated now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:33:36 +00:00
Julian Smart
5aedd93815 Applied patch [ 613433 ] Makes wxFN::Get/SetTimes work w/ Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:31:18 +00:00
Julian Smart
742e672095 Applied patch [ 613877 ] Fixes word ordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:27:46 +00:00
Julian Smart
fc0322d338 Applied patch [ 617438 ] ListCtrl-Sample crashing on sort
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:26:18 +00:00
Julian Smart
dd0d47090a Applied patch [ 610076 ] wxX11&wxGtk fail with --disable-compat22
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:24:33 +00:00
Julian Smart
fdfc424e32 Reordered font setting since on wxX11 a mem DC is not valid
until the bitmap is selected into it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 08:11:27 +00:00
Julian Smart
4d1c976da4 Made compilable with --disable-compat22
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 07:54:15 +00:00
Robin Dunn
9d43a2054e SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:27:21 +00:00
Robin Dunn
970a937c34 Added wxHtmlFilter
Also some minor tweaks and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:24:38 +00:00
Robin Dunn
8d5e66bc14 Fixes so this sample can be used with wx DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:16:49 +00:00
Robin Dunn
ce500334d8 Added STCDLLEXPORT so wxSTC could be built and used as a DLL.
Fixed DoAddChar handling in unicode mode to translate the char to UTF8
if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:15:07 +00:00
Vadim Zeitlin
f50b6e1d9b fixed more bugs in SetDirectory/Path/Filename() and centralized m_static update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 18:43:23 +00:00
Ron Lee
292cc8c93e The menubar dynamic sizing patch broke any app which adds an empty
menubar and populates it later.  Since this is (or at least was)
a valid way to use wxMenuBar before that, we need to recalculate
the size whenever it might change.  (We probably need to do it
anyway for this to be completely useful).   This patch isn't the
cleanest or most efficient way to do that, but it's a minimal
change on a new feature that at least restores compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 15:13:44 +00:00
Robert Roebling
5aee9bc480 Put StringMatch() into #if win_comp_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 10:30:22 +00:00
Robert Roebling
4ffb82ac32 No leading space in toolbars for GTK 2.0 since they
are drawn as lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 09:24:37 +00:00
Robert Roebling
58b5a13da5 Very incomplete Unicode support for wxTextStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 20:48:44 +00:00
Robert Roebling
b1b937339c GTK 2.0 is VERY picky about the realize/map/set_parent order.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 19:30:52 +00:00
Robin Dunn
0fcac944f3 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:37:23 +00:00
Robin Dunn
03cd51b0b6 wxFileTypeInfo interface changes and a missing method in wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:36:07 +00:00
Robin Dunn
63a8541c13 More wxTimeCtrl patches from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:33:15 +00:00
Robert Roebling
4a32c38f67 Enable wxMatchWild() for Unicode (under GTK) /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:57:17 +00:00
Robert Roebling
5d0c8a9857 Use glib for wxMatchWild() under Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:56:13 +00:00
Robert Roebling
9ca0f57c31 Updated PNG to latest releases. I don't really know
if this fixes the "incompatoble lib version" bug,
   and I actually didn't find any such comment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:23:54 +00:00
Robert Roebling
7fc06f31e1 Removed hack from wxListCtrl that was required
as long as wxGTK sent an incorrect sequence
   of mouse events for dclicks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:20:25 +00:00
Robert Roebling
0edfce279c Determin menu bar height dynamically.
Minor sample changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:40:52 +00:00
Robert Roebling
5c3e4ed256 Filter out surplus mouse down event when
a double click event is in the queue.
   This is how MSW does it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:27:34 +00:00
Julian Smart
5ea82140ee Added some more accelerator possibilities, such as Ctrl+Enter, Ctrl+Home
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 20:06:45 +00:00
Ron Lee
4c77c8865a Disallow the possibility of a dangling 'else'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 07:01:33 +00:00
Stefan Neis
2a9e9415fa Reordered checks to avoid mis-detection of OS/2 v. 4.* as System V Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 22:34:45 +00:00
Stefan Neis
45dae01189 Added warnings about to apparently common traps in the build process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:56:57 +00:00
Stefan Neis
f21f85abdb Fix for WXPM compilation using EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:40:37 +00:00
Stefan Neis
192bb0de73 Fixed includes for EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:59:10 +00:00
Stefan Neis
e8d2bf7311 All of miniframe class is in the header file on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:44:24 +00:00
Stefan Neis
ff9d0a5c41 Use generic MDI under OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:37:39 +00:00
Stefan Neis
5559999404 Use generic mdi on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:31:50 +00:00
Julian Smart
9e8c78dbf8 Put back OSTYPE, commented out. I don't really mind if
it's removed again, if people feel strongly that
it's confusing. But it might be helpful to someone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 18:55:32 +00:00
Chris Elliott
ca93de9778 fix bug with #define FindText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 13:58:23 +00:00
Ron Lee
ebfa00d564 Don't mix up the contrib and main static libs now they all
have the same prefix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 01:16:30 +00:00
Ron Lee
492b704acd fixed for new contrib files names, bumped the changelog hopeful to
tag and release 2.3.3.2-debs from this commit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 00:56:19 +00:00
Václav Slavík
fc253b5bd3 fixes for DJGPP-based MSDOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 22:26:28 +00:00
Stefan Csomor
335f8251c4 dynamic allocation of file type arrays etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 08:53:28 +00:00
Stefan Csomor
52000d0bbb corrected checks for metrowerks to proper number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 08:52:09 +00:00
Václav Slavík
e9db9d29b8 fixed restoration of iconized wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:40:43 +00:00
Julian Smart
fcbe4b8952 Avoid including reparent.h in Nano-X mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:28:28 +00:00
Mattia Barbon
56b8d9a67c Partially reverted previous change: it breaks building from DOS prompt.
cp still uses forward slashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 19:09:42 +00:00
Vadim Zeitlin
66eb448aa2 really fixed handling 32 bit scrollbar positions while dragging the thumb (thanks to Jonathan Marsden)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 17:53:47 +00:00
Vadim Zeitlin
1f6b7faabc fixed a bug with Printf()ing a string into itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 17:03:26 +00:00
Julian Smart
10acf8094e G95 makefiles:
_Always_ use forward slashes when using copy.
Added OSTYPE to makef95.env to fool makefiles into
thinking that MSYS is being used, even when it is,
but only from DOS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:20:21 +00:00
Václav Slavík
3d940df52b fixed memory leak in wxMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:12:06 +00:00
Václav Slavík
48acff7892 fixed memory leak in wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:51 +00:00
Václav Slavík
3ce501311b implemented subclass factories for XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:39 +00:00
Václav Slavík
5e3012152c fixed previewing in wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:18 +00:00
Robin Dunn
7174c830f7 Tweaks to wxTimeCtrl for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 19:55:19 +00:00
Robin Dunn
74f4b82837 Update XRCed to 0.0.7-5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:34:21 +00:00
Robin Dunn
4b6cc55fd6 version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:15:16 +00:00
Robin Dunn
33ed3832af Some tweaks for wxTimeCtrl for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 18:09:21 +00:00
Robin Dunn
28825fa22a wxTimeCtrl updates from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 17:57:49 +00:00
Robin Dunn
b5177a3fe4 Removed duplicate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 14:48:55 +00:00
Julian Smart
6d49dd8f05 Made the version conflict error message a bit more helpful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 13:40:18 +00:00
Julian Smart
938bafd72a Set integers to 0, not NULL to remove warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 09:29:31 +00:00
Robin Dunn
d0c7b7d2b7 If being asked to Add or Insert zero items just do nothing and return
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 00:35:08 +00:00
Robin Dunn
d9a149b1cc Show some new grid features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:54:10 +00:00
Robin Dunn
22d9535cee Playing with dialog styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:38:59 +00:00
Robin Dunn
e9b885213e Test case for matching GetInsertionPoint and etc. with actual text positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:38:37 +00:00
Robin Dunn
17a6d5c37b Incremented version number
Some distrib tweaks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:37:48 +00:00
Julian Smart
76a3435748 No change on griddemo
Added lwn to publicity doc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 21:18:45 +00:00
Robin Dunn
f3cfdd41c8 Don't install wxWindows until the %install step, use --inplace to
facilitate this.

Change the name of the -devel package since it doesn't care about the
python version like the main pacakges do.

Instead of using directory names and wildcards in the %files section
generate an explicit file list with an %attr on each line.  This is
because the %defattr was not completly working for some reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 20:31:24 +00:00
Robin Dunn
1df7d9c158 Added a --inplace flag to wx-config which will assume that it is
executing from the build directory and will then output -I and -L
flags to use the build directory copies of things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 20:28:10 +00:00
Vadim Zeitlin
6f793e7d30 simply added a wxLogTrace for debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 15:26:27 +00:00
Vadim Zeitlin
4a39ae8916 fixed the bug which resulted in the focus being stolen from the panel child even if it had been explicitly set to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 15:25:55 +00:00
Vadim Zeitlin
ecc4fd1e37 SetFilterIndex() is not only for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:56:22 +00:00
Vadim Zeitlin
a26c4b2ee7 fixed SetFilterIndex() which was broken by the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:55:55 +00:00
Vadim Zeitlin
07b3c46cb6 added wxFileDialog::SetfilterIndex() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:54:50 +00:00
Chris Elliott
27579129e9 just made maxpath a bit shorter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 12:15:48 +00:00
Julian Smart
d7561efabf DeleteRows 1st arg is not number of rows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 09:27:10 +00:00
Vadim Zeitlin
04ffef0afc don't try to process LVN_ITEMCHANGED events with iItem == -1 (this is always the case for virtual list controls and results in error messages)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 22:12:46 +00:00
Vadim Zeitlin
61c2fbda5b fix after renaming wxListBox::CreateItem() to CreateLboxItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 21:45:17 +00:00
Vadim Zeitlin
34a8dbd28e renamed wxListBox::CreateItem() to CreateLboxItem() to aviod conflict with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 21:02:00 +00:00
Vadim Zeitlin
c1094350b3 made wxFont::GetResourceHandle() const as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 20:58:43 +00:00
Vadim Zeitlin
44314d0d50 removed (unimplemented) wxBitmapCheckBox (fixes another part of bug 612658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 20:56:25 +00:00
Julian Smart
d4aeebb808 Added wxX11 distribution script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 19:07:03 +00:00
Václav Slavík
0357e1513d sanitized library names in contrib hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 15:08:16 +00:00
Vadim Zeitlin
4bfedab037 added missing _T()s; deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 14:53:45 +00:00
Julian Smart
556469d8ba Fixed bug [ 413614 ] native wxDragImage w/o mask is broken
by adding ILC_MASK even when there's no mask.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 14:32:23 +00:00
Julian Smart
91bbbdf8a6 Fixed bug [ 495532 ] wxFileDialog limits multiple file load
"The wxMAXPATH constant prevents the loading of
multiple file names in a multiple selection dialog
when selecting a large number of files.

The number of selected files can easily exceed the
memory allocated to store the selected file names and
paths."

I'm increasing the buffer size to 65536 which should be adequate
for most purposes. There's apparently no way to work around the
fixed buffer size. -- JACS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 11:36:52 +00:00
Mattia Barbon
7242785858 Fixed wxRadioBox for Lesstif when compiled to emulate Motif 1.2
(as in Debian 3.0).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 08:46:08 +00:00
Vadim Zeitlin
833adb3bb1 made GetResourceHandle() const everywhere, not just in wxBrush (fixes first part of the bug 612658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 23:01:25 +00:00
Vadim Zeitlin
e2531c0c29 removed mdig.cpp (??) from msw/files.lst as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 21:59:53 +00:00
Mattia Barbon
490317bb9f Before this change wxComboBox was unconditionally white, which looked
very ugly. Now the textcontrol and popup background are unconditionally
white, while the rest has parent's background color. I think it
looks better now...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:53:58 +00:00
Stefan Csomor
4df9aff134 added new command ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:52:34 +00:00
Stefan Csomor
8ffb0bb9f0 added forcing for bitmap types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:51:00 +00:00
Stefan Csomor
7143fe6b26 switched menu handling to command ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:49:35 +00:00
Vadim Zeitlin
c6ec726bd8 fixed some warnings about assigning literal strings to char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:42:40 +00:00
Vadim Zeitlin
ad2e39c11d made ProvideBackground() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:38:05 +00:00
Vadim Zeitlin
a34d639546 really override IsCanvasWindow() in wxPanel (this wasn't the case because of a missing const before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:32:53 +00:00
Vadim Zeitlin
1b3947754a fix warning about hiding virtual Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:31:32 +00:00
Vadim Zeitlin
f637c8e680 compilation fix: removed trailing comma in enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:27:57 +00:00
Vadim Zeitlin
9551c623db removed C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 20:25:56 +00:00
Julian Smart
59a6c6e6c9 Added Makefile.in for Windows samples, so we can build
them using MinGW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 17:20:52 +00:00
Stefan Csomor
9ad7df7d60 corrected var overflow under classic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:26:05 +00:00
Stefan Csomor
c175803628 corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:21:15 +00:00
Mattia Barbon
64e8d107f0 Applied Motif patches from Ian Brown
[ 609894 ] motif staticbox improvement
[ 611042 ] fix for motif crash

Everything looks fine with Lesstif from Debian 3.0 (emulated
Motif version is 1.2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:20:49 +00:00
Mattia Barbon
93add80831 GCC 3.2 is really picky about friends & dllexport.
Now wxWindows compiles (again) as DLL with MinGW GCC 3.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 16:16:57 +00:00
Julian Smart
b2162f4c83 Fixed bug [ 597643 ] SashWindow-borders cause sticky arrow
Needed an OnSetCursor as per splitter window, for MSW only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 14:16:24 +00:00
Václav Slavík
69c18e92a0 fixed stupid bug in my previous check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 13:53:53 +00:00
Ron Lee
63b53115ce Ok, so the patch looks huge, but it's really not that scary.
Most of it is just reformatting to our coding standard to
make debugging possible in the first place.  The (finally)
significant change is in DeleteSubGroup where we now check
correctly for deleting the last group from the root.
Prior to this it was impossible without a crash or worse.
Since it was such a pig to track down, I've left the LogTrace
code in place for now too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 12:20:47 +00:00
Vadim Zeitlin
f14f5c6740 don't set Alt/Ctrl modifiers for the AltGr char events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 11:44:49 +00:00
Vadim Zeitlin
3f4d464b9b fixed operator++() for wxRegioIterator in wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 10:38:36 +00:00
Stefan Neis
b8595cfb2a Fixed bug introduced in v 1.8 by changed parameter list of SelectBlock, but
mostly hidden by default values of new parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 01:49:20 +00:00
Stefan Neis
d2121dd382 Fixed yet another part of the typo fixed in 1.232.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:26:08 +00:00
Stefan Neis
e19f4ed3fa Added some sanity checks for empty grids.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:07:20 +00:00
Stefan Neis
07cbd27aaa Fix in wxArrayString::Grow to also handle situation where array is not yet
full but the nIncrement is greater than the space left.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-21 00:01:26 +00:00
Vadim Zeitlin
6d9a4c4d6f 1. fixed bug in wxRegion::Combine() which was modifying all shared regions,
not just the given one
2. added wxRegionIterator copy ctor and assignment operator
3. fixed wxRegionIterator::operators++() to do what they say
4. generic code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:36:23 +00:00
Vadim Zeitlin
b254accad1 base class must have virtual dtors and wxMBConv is no exception
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:01:58 +00:00
Vadim Zeitlin
302adc47d6 use _tcsdup() for compilers with TCHAR support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:32 +00:00
Vadim Zeitlin
93fe555876 no changes, really
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 23:00:08 +00:00
Robin Dunn
9441da1902 Fix in <array>::Grow for when the array is not yet full but the
nIncrement is greater than the space left.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:39:59 +00:00
Robin Dunn
fa0e662ad9 typo fix for the branch too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:38:57 +00:00
Robert Roebling
2bcf7f2fed Added ugly hack for pda's message and
other common dialogs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:07:22 +00:00
Robert Roebling
7e9dfde99b Fix typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 21:06:47 +00:00
Stefan Csomor
65653bad15 switched hide and show calls to using transition window calls, this supports animation and sound support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 19:16:56 +00:00
Stefan Csomor
a14865055c changed resize code to reflect minimum and maximum sizes already when dragging the size rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 19:15:16 +00:00
Robin Dunn
63684edb71 Fixed some of the cleanup commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 17:33:03 +00:00
Vadim Zeitlin
a19f8994da apparently MipsPRO compiler needs -KPIC and not -fPIC for the shared libraries creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 13:28:33 +00:00
Vadim Zeitlin
fda7f3a124 compilation fix: missing forward decl for wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 12:57:31 +00:00
Vadim Zeitlin
fe25fb0c68 (blind) fixes for building shared libraries under AIX with gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 12:53:45 +00:00
Julian Smart
536d412453 Applied fix for [ 439207 ] Monochrome PNG images come up black
Joel Tesler (jtesler)

A monochrome black and white PNG image comes up all
black. This is referring to a single bit greyscale
pixmap, not a one bit palette pxiamp.

The easiest way to reproduce is to grab
http://www.schaik.com/pngsuite/basn0g01.png and go
into the image sample, and replace horse.png with
this file.

The following patch appears to fix the problem.
However, I do not know what other side effects it
might have.

--- imagpng.cpp~ Fri Jul 6 14:53:33 2001
+++ imagpng.cpp Fri Jul 6 15:17:06 2001
@@ -140,6 +140,8 @@

if (color_type == PNG_COLOR_TYPE_PALETTE)
png_set_expand( png_ptr );
+ if (bit_depth < 8)
+ png_set_expand( png_ptr );

png_set_strip_16( png_ptr );
png_set_packing( png_ptr );


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 08:53:30 +00:00
Julian Smart
4849c8132b Fixed [ 548055 ] Bug in wxToolBarSimple::Realize()
Cédric RICARD

There is an inversion in wxToolBarSimple::Realize():

The current code is :
if ( GetWindowStyleFlag() & wxTB_HORIZONTAL )
m_maxWidth += maxToolWidth;
else
m_maxHeight += maxToolHeight;

I think it should be :
if ( GetWindowStyleFlag() & wxTB_HORIZONTAL )
m_maxHeight += maxToolHeight;
else
m_maxWidth += maxToolWidth;


Just take an example to see the bug, and have a look
to the rest of the function :

If you create an horizontal tool bar with only 3
tools of 16 pixels length each, when you reach this
code, m_maxWidth is equal to 3*16 pixels. So it have
the good width. You needn't to add other 16 pixels.
But m_maxHeight is equal to 0 ! So you have to take
care of the line you have just created...

This is very logical. In an horizontal tool bar,
m_maxWidth is increased after each new tool. But
m_maxHeight is only increased when an entire line is
finished, or when the last tool is added to take care
of the last line.

And at last, I think you should add a :

SetSize(m_maxWidth, m_maxHeight);

after the previous code. Just try the ToolBar sample
code. It only works if I do that...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 08:21:00 +00:00
Ron Lee
ddbbd35e11 update python version dependency.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 01:37:43 +00:00
Vadim Zeitlin
326330ac79 don't crash when recreating notebook under wxGTK (bug 571853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-20 00:11:49 +00:00
Ron Lee
69cb65e162 bumped version to 2.3.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 23:31:22 +00:00
Ron Lee
63d063a1db Persist without manpages, the cure is worse than the affliction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 23:25:30 +00:00
Václav Slavík
c0d4a6b3c1 fix for filenames extraction for wxBitmapButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 22:39:25 +00:00
Vadim Zeitlin
2304dc6eaa mention that multiple selection events are not sent to the virtual list controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 21:49:16 +00:00
Vadim Zeitlin
ead7e5c1bf force controls with wxTE_RICH2 style to scroll to the end in AppendText() (fixes bug 564526)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:40:50 +00:00
Robert Roebling
db74b98be8 Added work around for compilation prob in
utilscmns. The whole mess should be
    removed.
  Not sure what I changed in fontmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:28:57 +00:00
Robert Roebling
663e452b5e Implement screen size testing (wxSystemSettings) under X11.
Add a hack for the incorrect XDrawLine() call in Xipaq.
  Minor fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:26:11 +00:00
Robert Roebling
2c08b4c50e Actually implement setting_screen size since
we are writing code for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:24:29 +00:00
Robert Roebling
73c6d13263 CreateButtonSizer in wxDialog will craete
a PDA size adapted button sizer now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:23:08 +00:00
Robert Roebling
a44c9d41d7 Adapt wxFileDialog and wxMessageDialog for PDAs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:22:13 +00:00
Robert Roebling
5ec87fd62f Use renderer for wxListCtrl's header in wxUniversal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:21:33 +00:00
Vadim Zeitlin
72d490511c use full 32 bit range when dragging a scrollbar (fixes bug 414986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:07:13 +00:00
Mattia Barbon
8f37ed893c Fix wxListEvent::GetLabel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 20:06:20 +00:00
Vadim Zeitlin
1cb08da2e2 define ZEXPORT as empty if the system zlib.h doesn't define it (fixes bug 583681)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 19:46:57 +00:00
Vadim Zeitlin
51e247cc98 don't allow TABbing away from the list control while the label is being edited (fixes bug 555749)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 19:42:45 +00:00
Julian Smart
8f5617e6ff Use System DDE topic for wxExecute if no topic found
Try Execute first, then Request


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 18:23:34 +00:00
Vadim Zeitlin
91916eeab9 more checks to avoid asserts (wxID_PRINT tool might not exist); added _T() around strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:54:18 +00:00
Vadim Zeitlin
164d6a95e6 remove the old buttons in Realize() before inserting the new ones in text only mode too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:53:21 +00:00
Vadim Zeitlin
20b7206cb2 removed unused MSWWindowProc() (so that nobody is tempted to put it back)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 11:16:14 +00:00
Robin Dunn
79aa7172fb More tweaks for wxTimeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 06:10:53 +00:00
Robin Dunn
197daf705d Fixed default size of wxTimeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:52:24 +00:00
Robin Dunn
6056c203bd Added missing !
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:31:00 +00:00
Robin Dunn
460ad82472 Added wxTimeCtrl from Will Sadkin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:13:00 +00:00
Robin Dunn
4547ef2757 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 04:27:57 +00:00
Ron Lee
76d321e2d1 oops, add the section extentions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 01:41:30 +00:00
Ron Lee
d36d6728e1 link undocumented man page to undocumented binaries.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 00:33:08 +00:00
Václav Slavík
3ec9ba300d added wxID_CLOSE_ALL to XRC (SF patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 23:03:13 +00:00
Robin Dunn
0459ba31a6 Updated build instructions and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 22:45:04 +00:00
Robin Dunn
e6c9b3243c Set wxPython version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 21:35:55 +00:00
Robin Dunn
2d2fb2f198 SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:44:35 +00:00
Robin Dunn
88becfa938 SWIGged update for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:40:50 +00:00
Robin Dunn
8de8e59e06 Added wxMenuBar::IsEnabledTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:39:41 +00:00
Robin Dunn
5fb99fe76f Allow the developer to choose if SetUseBestVisual is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:39:08 +00:00
Robin Dunn
1176111c0d A patch for wxListCtrlAutoWidthMixin from anthony@computronix.com
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:35:36 +00:00
Robin Dunn
02b2d73690 Removed #! from scripts that no longer need to be directly executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 20:30:25 +00:00
Mattia Barbon
c3f482c546 Fix wxListEvent::GetData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 19:57:53 +00:00
Robin Dunn
39b68c98df Last checkin was a mistake, undo some debugging code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 18:48:19 +00:00
Robin Dunn
702fe1fccf Delete the selection before inserting text in WriteText. Also, fix
bug in repositioning of the caret after the insertion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 18:47:39 +00:00
Robin Dunn
8c2d31e9f3 Delete the selection before inserting text in WriteText. Also, fix
bug in repositioning of the caret after the insertion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 18:38:10 +00:00
Robin Dunn
22589ec364 WriteText test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 17:48:54 +00:00
Robin Dunn
ad28a8de8b SetSelection(-1, -1) now selects the entire string as on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 17:15:40 +00:00
Vadim Zeitlin
639cee3157 define OF() if not defined in the system headers, should help when using the system zlib version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 15:39:28 +00:00
Vadim Zeitlin
32742e5755 corrected outdated Unicode information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 14:48:56 +00:00
Vadim Zeitlin
2a32fcda98 include afxwin.h #if wxUSE_MFC to get windows.h in this case as well; minor formatting fixes and one char -> wxChar change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 14:09:15 +00:00
Vadim Zeitlin
66eea1c2c4 added a note that the tech note is obsolete for wxWin 2.3+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-18 12:59:23 +00:00
Vadim Zeitlin
fa4e86eee7 added console makefile for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 23:24:39 +00:00
Ron Lee
5a52b2251a Put wxBase files.lst back into debian-dist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 21:30:37 +00:00
Václav Slavík
69e9c9b2de added wxMAX/MINIMIZE_BOX to wxDialog XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 19:14:38 +00:00
David Webster
9edd8e7d41 OS/2 changes made in main trunk that didn't make it in time for the branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 18:49:35 +00:00
David Webster
363f292868 OS/2 change to generic mdi didn't quite make it in time for the branching.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 15:39:45 +00:00
David Webster
465b35f3ca GetTitle needs to be a const method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 15:31:18 +00:00
Vadim Zeitlin
5a23b3de1d mention OpenBSD and /usr/include fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 15:29:55 +00:00
Vadim Zeitlin
27c6aa1349 always look in /usr/include for headers but never add it to CPPFLAGS; same for /usr/lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 15:20:44 +00:00
Vadim Zeitlin
c4c97ccbd6 reremoved /usr/include from SEARCH_INCLUDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 15:20:08 +00:00
Stefan Csomor
bf99a7849d made MacSetupCursor virtual in order to allow wxTextCtrl to use MLTE native cursor handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 14:27:56 +00:00
Vadim Zeitlin
77d95b6731 exclude -I/usr/local/include from cppflags only when using gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 14:10:04 +00:00
Vadim Zeitlin
438a907d06 added AC_SUBST(GCC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 14:08:44 +00:00
Vadim Zeitlin
802c95f5b7 more printf() format warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 13:41:49 +00:00
David Webster
8a5750ee11 Latest TODO file. Not to be confused with files.lst, the configure file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 12:48:21 +00:00
Vadim Zeitlin
1c911c5ef2 added __OPENBSD__ which was defined in configure but missing here before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 12:30:28 +00:00
Vadim Zeitlin
adad970da3 define __{OPEN/NET}BSD__ + __BSD__ for Open/NetBSD, dont define __FREEBSD__ for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 12:29:24 +00:00
Vadim Zeitlin
b299c11105 test for __BSD__, not only __FREEBSD__ in ping(1) options determination code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 12:28:09 +00:00
Vadim Zeitlin
f0e2ef329d workaround for bug in OpenBSD headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 12:24:33 +00:00
Vadim Zeitlin
d55a4efc0f don't use the bitmaps in toolbars with wxTB_NOICONS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 10:40:23 +00:00
Chris Elliott
ae6db164e2 borland make update for wxbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 07:49:59 +00:00
Chris Elliott
2a44fbe1a4 borland makefile for console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 07:38:26 +00:00
Robin Dunn
5c649b815c Fix for wxPyInputStream, m_lastRead was getting incremented twice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 01:44:24 +00:00
Robin Dunn
965079dde9 Provide implementation for GetTopItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 01:05:56 +00:00
Robin Dunn
00924b9de2 Avoid an assert in wxComboBox when setting default values that don't
exist in the list of choices.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 00:46:37 +00:00
Robin Dunn
e3bd1146c7 Some last minue wxPython changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-17 00:27:21 +00:00
Vadim Zeitlin
d2da899a2e updated/fixed for 2.3.3 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 23:51:34 +00:00
Vadim Zeitlin
ddb8d0503e console apps need shell32.lib now too (because of wxVolume)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 23:51:00 +00:00
Vadim Zeitlin
0f48627c76 link to wxbase233.dll, not 232; and also link to shell32.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 23:50:31 +00:00
Vadim Zeitlin
b883a5da0c unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 23:50:03 +00:00
Vadim Zeitlin
73f6b0b14e Fit() is called FitToPage() in reality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 23:49:38 +00:00
Vadim Zeitlin
514d2dbb87 compile the C files using C compiler, not C++ one, otherwise the sample doesn't link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 20:16:46 +00:00
Bryan Petty
e138d10b74 This commit was manufactured by cvs2svn to create branch
'WX_2_4_BRANCH'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-15 20:16:46 +00:00
91 changed files with 24585 additions and 19140 deletions

View File

@@ -1,90 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/generic/scrolwin.h
// Purpose: wxGenericScrolledWindow class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GENERIC_SCROLLWIN_H_
#define _WX_GENERIC_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
extern WXDLLEXPORT_DATA(const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxGenericScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
public wxScrollHelper
{
public:
wxGenericScrolledWindow() : wxScrollHelper(this) { }
wxGenericScrolledWindow(wxWindow *parent,
wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
: wxScrollHelper(this)
{
Create(parent, winid, pos, size, style, name);
}
virtual ~wxGenericScrolledWindow();
bool Create(wxWindow *parent,
wxWindowID winid,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
virtual void DoSetVirtualSize(int x, int y);
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
protected:
// this is needed for wxEVT_PAINT processing hack described in
// wxScrollHelperEvtHandler::ProcessEvent()
void OnPaint(wxPaintEvent& event);
// we need to return a special WM_GETDLGCODE value to process just the
// arrows but let the other navigation characters through
#ifdef __WXMSW__
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
#endif // __WXMSW__
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGenericScrolledWindow)
DECLARE_EVENT_TABLE()
};
#endif // _WX_GENERIC_SCROLLWIN_H_

View File

@@ -1,193 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/scrolwin.h
// Purpose: wxScrolledWindow class
// Author: Robert Roebling
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_SCROLLWIN_H_
#define _WX_GTK_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxScrolledWindow : public wxPanel
{
public:
wxScrolledWindow()
{ Init(); }
wxScrolledWindow(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
{ Create(parent, id, pos, size, style, name); }
void Init();
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
// Normally the wxScrolledWindow will scroll itself, but in
// some rare occasions you might want it to scroll another
// window (e.g. a child of it in order to scroll only a portion
// the area between the scrollbars (spreadsheet: only cell area
// will move).
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
virtual wxWindow *GetTargetWindow() const;
// Set the scrolled area of the window.
virtual void DoSetVirtualSize( int x, int y );
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// Number of pixels per user unit (0 or -1 for no scrollbar)
// Length of virtual canvas in user units
// Length of page in user units
// Default action is to set the virtual size and alter scrollbars
// accordingly.
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = FALSE );
// Physically scroll the window
virtual void Scroll(int x_pos, int y_pos);
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
virtual void GetScrollPixelsPerUnit(int *x_unit, int *y_unit) const;
// Enable/disable Windows scrolling in either direction.
// If TRUE, wxWidgets scrolls the canvas and only a bit of
// the canvas is invalidated; no Clear() is necessary.
// If FALSE, the whole canvas is invalidated and a Clear() is
// necessary. Disable for when the scroll increment is used
// to actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) {}
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
// Adjust the scrollbars
virtual void AdjustScrollbars();
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// implementation from now on
void OnScroll(wxScrollWinEvent& event);
void OnSize(wxSizeEvent& event);
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent& event);
void GtkVScroll( float value, unsigned int scroll_type );
void GtkHScroll( float value, unsigned int scroll_type );
void GtkVConnectEvent();
void GtkHConnectEvent();
void GtkVDisconnectEvent();
void GtkHDisconnectEvent();
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Overridden from wxWidgets due callback being static
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual void DoPrepareDC(wxDC& dc);
protected:
wxWindow *m_targetWindow;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
// FIXME: these next four members are duplicated in the GtkAdjustment
// members of wxWindow. Can they be safely removed from here?
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
double m_scaleY,m_scaleX;
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxScrolledWindow)
};
#endif
// _WX_GTK_SCROLLWIN_H_
// vi:sts=4:sw=4:et

View File

@@ -1,300 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/window.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKWINDOWH__
#define __GTKWINDOWH__
// helper structure that holds class that holds GtkIMContext object and
// some additional data needed for key events processing
struct wxGtkIMData;
//-----------------------------------------------------------------------------
// callback definition for inserting a window (internal)
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK;
typedef void (*wxInsertChildFunction)( wxWindowGTK*, wxWindowGTK* );
//-----------------------------------------------------------------------------
// wxWindowGTK
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK : public wxWindowBase
{
public:
// creating the window
// -------------------
wxWindowGTK();
wxWindowGTK(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
virtual ~wxWindowGTK();
// implement base class (pure) virtual methods
// -------------------------------------------
virtual bool Destroy();
virtual void Raise();
virtual void Lower();
virtual bool Show( bool show = TRUE );
virtual bool Enable( bool enable = TRUE );
virtual bool IsRetained() const;
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
virtual void Update();
virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
virtual bool SetBackgroundStyle(wxBackgroundStyle style) ;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual void GetTextExtent(const wxString& string,
int *x, int *y,
int *descent = (int *) NULL,
int *externalLeading = (int *) NULL,
const wxFont *theFont = (const wxFont *) NULL)
const;
#if wxUSE_MENUS_NATIVE
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
#endif // wxUSE_MENUS_NATIVE
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
int range, bool refresh = TRUE );
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual int GetScrollPos( int orient ) const;
virtual int GetScrollThumb( int orient ) const;
virtual int GetScrollRange( int orient ) const;
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
#ifdef __WXGTK20__
virtual void AddChild( wxWindowBase *child );
virtual void RemoveChild( wxWindowBase *child );
#endif
// implementation
// --------------
virtual WXWidget GetHandle() const { return m_widget; }
// I don't want users to override what's done in idle so everything that
// has to be done in idle time in order for wxGTK to work is done in
// OnInternalIdle
virtual void OnInternalIdle();
// Internal represention of Update()
void GtkUpdate();
// For compatibility across platforms (not in event table)
void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
virtual void OnParentEnable( bool WXUNUSED(enable) ) {}
// Used by all window classes in the widget creation process.
bool PreCreation( wxWindowGTK *parent, const wxPoint &pos, const wxSize &size );
void PostCreation();
// Internal addition of child windows. differs from class
// to class not by using virtual functions but by using
// the m_insertCallback.
void DoAddChild(wxWindowGTK *child);
// This methods sends wxPaintEvents to the window. It reads the
// update region, breaks it up into rects and sends an event
// for each rect. It is also responsible for background erase
// events and NC paint events. It is called from "draw" and
// "expose" handlers as well as from ::Update()
void GtkSendPaintEvents();
// The methods below are required because many native widgets
// are composed of several subwidgets and setting a style for
// the widget means setting it for all subwidgets as well.
// also, it is nor clear, which native widget is the top
// widget where (most of) the input goes. even tooltips have
// to be applied to all subwidgets.
virtual GtkWidget* GetConnectWidget();
virtual bool IsOwnGtkWindow( GdkWindow *window );
void ConnectWidget( GtkWidget *widget );
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
// Returns the X11 context which renders on the X11 client
// side (which can be remote) and which usually is not
// anti-aliased and is thus faster
// MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
// not depend on libpangox - which is completely deprecated.
//BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
PangoContext *GtkGetPangoX11Context();
PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip );
#endif // wxUSE_TOOLTIPS
// Called from GTK signales handlers. it indicates that
// the layouting functions have to be called later on
// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
// fix up the mouse event coords, used by wxListBox only so far
virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
wxCoord& WXUNUSED(x),
wxCoord& WXUNUSED(y)) { }
// is this window transparent for the mouse events (as wxStaticBox is)?
virtual bool IsTransparentForMouse() const { return FALSE; }
// is this a radiobutton (used by radiobutton code itself only)?
virtual bool IsRadioButton() const { return FALSE; }
// position and size of the window
int m_x, m_y;
int m_width, m_height;
int m_oldClientWidth,m_oldClientHeight;
// see the docs in src/gtk/window.cpp
GtkWidget *m_widget; // mostly the widget seen by the rest of GTK
GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets
// this widget will be queried for GTK's focus events
GtkWidget *m_focusWidget;
#ifdef __WXGTK20__
wxGtkIMData *m_imData;
#else // GTK 1
#ifdef HAVE_XIM
// XIM support for wxWidgets
GdkIC *m_ic;
GdkICAttr *m_icattr;
#endif // HAVE_XIM
#endif // GTK 2/1
#ifndef __WXGTK20__
// The area to be cleared (and not just refreshed)
// We cannot make this distinction under GTK 2.0.
wxRegion m_clearRegion;
#endif
// scrolling stuff
GtkAdjustment *m_hAdjust,*m_vAdjust;
float m_oldHorizontalPos;
float m_oldVerticalPos;
// extra (wxGTK-specific) flags
bool m_needParent:1; // ! wxFrame, wxDialog, wxNotebookPage ?
bool m_noExpose:1; // wxGLCanvas has its own redrawing
bool m_nativeSizeEvent:1; // wxGLCanvas sends wxSizeEvent upon "alloc_size"
bool m_hasScrolling:1;
bool m_hasVMT:1;
bool m_sizeSet:1;
bool m_resizing:1;
bool m_acceptsFocus:1; // true if not static
bool m_hasFocus:1; // true if == FindFocus()
bool m_isScrolling:1; // dragging scrollbar thumb?
bool m_clipPaintRegion:1; // TRUE after ScrollWindow()
#ifdef __WXGTK20__
bool m_dirtyTabOrder:1; // tab order changed, GTK focus
// chain needs update
#endif
bool m_needsStyleChange:1; // May not be able to change
// background style until OnIdle
// C++ has no virtual methods in the constrcutor of any class but we need
// different methods of inserting a child window into a wxFrame,
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
virtual void DoGetPosition( int *x, int *y ) const;
virtual void DoGetSize( int *width, int *height ) const;
virtual void DoGetClientSize( int *width, int *height ) const;
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
protected:
// common part of all ctors (not virtual because called from ctor)
void Init();
#ifdef __WXGTK20__
virtual void DoMoveInTabOrder(wxWindow *win, MoveKind move);
// Copies m_children tab order to GTK focus chain:
void RealizeTabOrder();
#endif
// Called by ApplyWidgetStyle (which is called by SetFont() and
// SetXXXColour etc to apply style changed to native widgets) to create
// modified GTK style with non-standard attributes. If forceStyle=true,
// creates empty GtkRcStyle if there are no modifications, otherwise
// returns NULL in such case.
GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
// Overridden in many GTK widgets who have to handle subwidgets
virtual void ApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern WXDLLIMPEXP_CORE wxWindow *wxFindFocusedChild(wxWindowGTK *win);
#endif // __GTKWINDOWH__

View File

@@ -1,193 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/scrolwin.h
// Purpose: wxScrolledWindow class
// Author: Robert Roebling
// Modified by:
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_GTK_SCROLLWIN_H_
#define _WX_GTK_SCROLLWIN_H_
// ----------------------------------------------------------------------------
// headers and constants
// ----------------------------------------------------------------------------
#include "wx/window.h"
#include "wx/panel.h"
WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
// default scrolled window style
#ifndef wxScrolledWindowStyle
#define wxScrolledWindowStyle (wxHSCROLL | wxVSCROLL)
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow
// ----------------------------------------------------------------------------
class WXDLLEXPORT wxScrolledWindow : public wxPanel
{
public:
wxScrolledWindow()
{ Init(); }
wxScrolledWindow(wxWindow *parent,
wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
{ Create(parent, id, pos, size, style, name); }
void Init();
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr);
// Normally the wxScrolledWindow will scroll itself, but in
// some rare occasions you might want it to scroll another
// window (e.g. a child of it in order to scroll only a portion
// the area between the scrollbars (spreadsheet: only cell area
// will move).
virtual void SetTargetWindow( wxWindow *target, bool pushEventHandler = FALSE );
virtual wxWindow *GetTargetWindow() const;
// Set the scrolled area of the window.
virtual void DoSetVirtualSize( int x, int y );
// wxWindow's GetBestVirtualSize returns the actual window size,
// whereas we want to return the virtual size
virtual wxSize GetBestVirtualSize() const;
// Return the size best suited for the current window
// (this isn't a virtual size, this is a sensible size for the window)
virtual wxSize DoGetBestSize() const;
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// Number of pixels per user unit (0 or -1 for no scrollbar)
// Length of virtual canvas in user units
// Length of page in user units
// Default action is to set the virtual size and alter scrollbars
// accordingly.
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = FALSE );
// Physically scroll the window
virtual void Scroll(int x_pos, int y_pos);
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
virtual void GetScrollPixelsPerUnit(int *x_unit, int *y_unit) const;
// Enable/disable Windows scrolling in either direction.
// If TRUE, wxWidgets scrolls the canvas and only a bit of
// the canvas is invalidated; no Clear() is necessary.
// If FALSE, the whole canvas is invalidated and a Clear() is
// necessary. Disable for when the scroll increment is used
// to actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) {}
// Override this function if you don't want to have wxScrolledWindow
// automatically change the origin according to the scroll position.
void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }
// lay out the window and its children
virtual bool Layout();
// Adjust the scrollbars
virtual void AdjustScrollbars();
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// implementation from now on
void OnScroll(wxScrollWinEvent& event);
void OnSize(wxSizeEvent& event);
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent& event);
void GtkVScroll( float value, unsigned int scroll_type );
void GtkHScroll( float value, unsigned int scroll_type );
void GtkVConnectEvent();
void GtkHConnectEvent();
void GtkVDisconnectEvent();
void GtkHDisconnectEvent();
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Overridden from wxWidgets due callback being static
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual void DoPrepareDC(wxDC& dc);
protected:
wxWindow *m_targetWindow;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
// FIXME: these next four members are duplicated in the GtkAdjustment
// members of wxWindow. Can they be safely removed from here?
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
double m_scaleY,m_scaleX;
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxScrolledWindow)
};
#endif
// _WX_GTK_SCROLLWIN_H_
// vi:sts=4:sw=4:et

View File

@@ -1,300 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/window.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKWINDOWH__
#define __GTKWINDOWH__
// helper structure that holds class that holds GtkIMContext object and
// some additional data needed for key events processing
struct wxGtkIMData;
//-----------------------------------------------------------------------------
// callback definition for inserting a window (internal)
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK;
typedef void (*wxInsertChildFunction)( wxWindowGTK*, wxWindowGTK* );
//-----------------------------------------------------------------------------
// wxWindowGTK
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxWindowGTK : public wxWindowBase
{
public:
// creating the window
// -------------------
wxWindowGTK();
wxWindowGTK(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
bool Create(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPanelNameStr);
virtual ~wxWindowGTK();
// implement base class (pure) virtual methods
// -------------------------------------------
virtual bool Destroy();
virtual void Raise();
virtual void Lower();
virtual bool Show( bool show = TRUE );
virtual bool Enable( bool enable = TRUE );
virtual bool IsRetained() const;
virtual void SetFocus();
virtual bool AcceptsFocus() const;
virtual bool Reparent( wxWindowBase *newParent );
virtual void WarpPointer(int x, int y);
virtual void Refresh( bool eraseBackground = TRUE,
const wxRect *rect = (const wxRect *) NULL );
virtual void Update();
virtual void ClearBackground();
virtual bool SetBackgroundColour( const wxColour &colour );
virtual bool SetForegroundColour( const wxColour &colour );
virtual bool SetCursor( const wxCursor &cursor );
virtual bool SetFont( const wxFont &font );
virtual bool SetBackgroundStyle(wxBackgroundStyle style) ;
virtual int GetCharHeight() const;
virtual int GetCharWidth() const;
virtual void GetTextExtent(const wxString& string,
int *x, int *y,
int *descent = (int *) NULL,
int *externalLeading = (int *) NULL,
const wxFont *theFont = (const wxFont *) NULL)
const;
#if wxUSE_MENUS_NATIVE
virtual bool DoPopupMenu( wxMenu *menu, int x, int y );
#endif // wxUSE_MENUS_NATIVE
virtual void SetScrollbar( int orient, int pos, int thumbVisible,
int range, bool refresh = TRUE );
virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE );
virtual int GetScrollPos( int orient ) const;
virtual int GetScrollThumb( int orient ) const;
virtual int GetScrollRange( int orient ) const;
virtual void ScrollWindow( int dx, int dy,
const wxRect* rect = (wxRect *) NULL );
#if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP
#ifdef __WXGTK20__
virtual void AddChild( wxWindowBase *child );
virtual void RemoveChild( wxWindowBase *child );
#endif
// implementation
// --------------
virtual WXWidget GetHandle() const { return m_widget; }
// I don't want users to override what's done in idle so everything that
// has to be done in idle time in order for wxGTK to work is done in
// OnInternalIdle
virtual void OnInternalIdle();
// Internal represention of Update()
void GtkUpdate();
// For compatibility across platforms (not in event table)
void OnIdle(wxIdleEvent& WXUNUSED(event)) {}
// wxGTK-specific: called recursively by Enable,
// to give widgets an oppprtunity to correct their colours after they
// have been changed by Enable
virtual void OnParentEnable( bool WXUNUSED(enable) ) {}
// Used by all window classes in the widget creation process.
bool PreCreation( wxWindowGTK *parent, const wxPoint &pos, const wxSize &size );
void PostCreation();
// Internal addition of child windows. differs from class
// to class not by using virtual functions but by using
// the m_insertCallback.
void DoAddChild(wxWindowGTK *child);
// This methods sends wxPaintEvents to the window. It reads the
// update region, breaks it up into rects and sends an event
// for each rect. It is also responsible for background erase
// events and NC paint events. It is called from "draw" and
// "expose" handlers as well as from ::Update()
void GtkSendPaintEvents();
// The methods below are required because many native widgets
// are composed of several subwidgets and setting a style for
// the widget means setting it for all subwidgets as well.
// also, it is nor clear, which native widget is the top
// widget where (most of) the input goes. even tooltips have
// to be applied to all subwidgets.
virtual GtkWidget* GetConnectWidget();
virtual bool IsOwnGtkWindow( GdkWindow *window );
void ConnectWidget( GtkWidget *widget );
#ifdef __WXGTK20__
// Returns the default context which usually is anti-aliased
PangoContext *GtkGetPangoDefaultContext();
// Returns the X11 context which renders on the X11 client
// side (which can be remote) and which usually is not
// anti-aliased and is thus faster
// MR: Now returns the default pango_context for the widget as GtkGetPangoDefaultContext to
// not depend on libpangox - which is completely deprecated.
//BCI: Remove GtkGetPangoX11Context and m_x11Context completely when symbols may be removed
PangoContext *GtkGetPangoX11Context();
PangoContext *m_x11Context; // MR: Now unused
#endif
#if wxUSE_TOOLTIPS
virtual void ApplyToolTip( GtkTooltips *tips, const wxChar *tip );
#endif // wxUSE_TOOLTIPS
// Called from GTK signales handlers. it indicates that
// the layouting functions have to be called later on
// (i.e. in idle time, implemented in OnInternalIdle() ).
void GtkUpdateSize() { m_sizeSet = FALSE; }
// fix up the mouse event coords, used by wxListBox only so far
virtual void FixUpMouseEvent(GtkWidget * WXUNUSED(widget),
wxCoord& WXUNUSED(x),
wxCoord& WXUNUSED(y)) { }
// is this window transparent for the mouse events (as wxStaticBox is)?
virtual bool IsTransparentForMouse() const { return FALSE; }
// is this a radiobutton (used by radiobutton code itself only)?
virtual bool IsRadioButton() const { return FALSE; }
// position and size of the window
int m_x, m_y;
int m_width, m_height;
int m_oldClientWidth,m_oldClientHeight;
// see the docs in src/gtk/window.cpp
GtkWidget *m_widget; // mostly the widget seen by the rest of GTK
GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets
// this widget will be queried for GTK's focus events
GtkWidget *m_focusWidget;
#ifdef __WXGTK20__
wxGtkIMData *m_imData;
#else // GTK 1
#ifdef HAVE_XIM
// XIM support for wxWidgets
GdkIC *m_ic;
GdkICAttr *m_icattr;
#endif // HAVE_XIM
#endif // GTK 2/1
#ifndef __WXGTK20__
// The area to be cleared (and not just refreshed)
// We cannot make this distinction under GTK 2.0.
wxRegion m_clearRegion;
#endif
// scrolling stuff
GtkAdjustment *m_hAdjust,*m_vAdjust;
float m_oldHorizontalPos;
float m_oldVerticalPos;
// extra (wxGTK-specific) flags
bool m_needParent:1; // ! wxFrame, wxDialog, wxNotebookPage ?
bool m_noExpose:1; // wxGLCanvas has its own redrawing
bool m_nativeSizeEvent:1; // wxGLCanvas sends wxSizeEvent upon "alloc_size"
bool m_hasScrolling:1;
bool m_hasVMT:1;
bool m_sizeSet:1;
bool m_resizing:1;
bool m_acceptsFocus:1; // true if not static
bool m_hasFocus:1; // true if == FindFocus()
bool m_isScrolling:1; // dragging scrollbar thumb?
bool m_clipPaintRegion:1; // TRUE after ScrollWindow()
#ifdef __WXGTK20__
bool m_dirtyTabOrder:1; // tab order changed, GTK focus
// chain needs update
#endif
bool m_needsStyleChange:1; // May not be able to change
// background style until OnIdle
// C++ has no virtual methods in the constrcutor of any class but we need
// different methods of inserting a child window into a wxFrame,
// wxMDIFrame, wxNotebook etc. this is the callback that will get used.
wxInsertChildFunction m_insertCallback;
// implement the base class pure virtuals
virtual void DoClientToScreen( int *x, int *y ) const;
virtual void DoScreenToClient( int *x, int *y ) const;
virtual void DoGetPosition( int *x, int *y ) const;
virtual void DoGetSize( int *width, int *height ) const;
virtual void DoGetClientSize( int *width, int *height ) const;
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
virtual void DoSetClientSize(int width, int height);
virtual void DoMoveWindow(int x, int y, int width, int height);
virtual void DoCaptureMouse();
virtual void DoReleaseMouse();
#if wxUSE_TOOLTIPS
virtual void DoSetToolTip( wxToolTip *tip );
#endif // wxUSE_TOOLTIPS
protected:
// common part of all ctors (not virtual because called from ctor)
void Init();
#ifdef __WXGTK20__
virtual void DoMoveInTabOrder(wxWindow *win, MoveKind move);
// Copies m_children tab order to GTK focus chain:
void RealizeTabOrder();
#endif
// Called by ApplyWidgetStyle (which is called by SetFont() and
// SetXXXColour etc to apply style changed to native widgets) to create
// modified GTK style with non-standard attributes. If forceStyle=true,
// creates empty GtkRcStyle if there are no modifications, otherwise
// returns NULL in such case.
GtkRcStyle *CreateWidgetStyle(bool forceStyle = false);
// Overridden in many GTK widgets who have to handle subwidgets
virtual void ApplyWidgetStyle(bool forceStyle = false);
// helper function to ease native widgets wrapping, called by
// ApplyWidgetStyle -- override this, not ApplyWidgetStyle
virtual void DoApplyWidgetStyle(GtkRcStyle *style);
private:
DECLARE_DYNAMIC_CLASS(wxWindowGTK)
DECLARE_NO_COPY_CLASS(wxWindowGTK)
};
extern WXDLLIMPEXP_CORE wxWindow *wxFindFocusedChild(wxWindowGTK *win);
#endif // __GTKWINDOWH__

View File

@@ -1,238 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: include/wx/scrolwin.h
// Purpose: wxScrolledWindow, wxScrolledControl and wxScrollHelper
// Author: Vadim Zeitlin
// Modified by:
// Created: 30.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_SCROLWIN_H_BASE_
#define _WX_SCROLWIN_H_BASE_
#include "wx/window.h"
class WXDLLEXPORT wxScrollHelperEvtHandler;
class WXDLLEXPORT wxTimer;
// ----------------------------------------------------------------------------
// wxScrollHelper: this class implements the scrolling logic which is used by
// wxScrolledWindow and wxScrolledControl. It is a mix-in: just derive from it
// to implement scrolling in your class.
// ----------------------------------------------------------------------------
#if !defined(__WXGTK__) || defined(__WXUNIVERSAL__)
class WXDLLEXPORT wxScrollHelper
{
public:
// ctor and dtor
wxScrollHelper(wxWindow *winToScroll = (wxWindow *)NULL);
void SetWindow(wxWindow *winToScroll);
virtual ~wxScrollHelper();
// configure the scrolling
virtual void SetScrollbars(int pixelsPerUnitX, int pixelsPerUnitY,
int noUnitsX, int noUnitsY,
int xPos = 0, int yPos = 0,
bool noRefresh = false );
// scroll to the given (in logical coords) position
virtual void Scroll(int x, int y);
// get/set the page size for this orientation (wxVERTICAL/wxHORIZONTAL)
int GetScrollPageSize(int orient) const;
void SetScrollPageSize(int orient, int pageSize);
// Set the x, y scrolling increments.
void SetScrollRate( int xstep, int ystep );
// get the size of one logical unit in physical ones
virtual void GetScrollPixelsPerUnit(int *pixelsPerUnitX,
int *pixelsPerUnitY) const;
// Enable/disable Windows scrolling in either direction. If true, wxWidgets
// scrolls the canvas and only a bit of the canvas is invalidated; no
// Clear() is necessary. If false, the whole canvas is invalidated and a
// Clear() is necessary. Disable for when the scroll increment is used to
// actually scroll a non-constant distance
virtual void EnableScrolling(bool x_scrolling, bool y_scrolling);
// Get the view start
virtual void GetViewStart(int *x, int *y) const;
// Set the scale factor, used in PrepareDC
void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
double GetScaleX() const { return m_scaleX; }
double GetScaleY() const { return m_scaleY; }
// translate between scrolled and unscrolled coordinates
void CalcScrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcScrolledPosition(x, y, xx, yy); }
wxPoint CalcScrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcScrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
void CalcUnscrolledPosition(int x, int y, int *xx, int *yy) const
{ DoCalcUnscrolledPosition(x, y, xx, yy); }
wxPoint CalcUnscrolledPosition(const wxPoint& pt) const
{
wxPoint p2;
DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y);
return p2;
}
virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const;
virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const;
// Adjust the scrollbars
virtual void AdjustScrollbars(void);
// Calculate scroll increment
virtual int CalcScrollInc(wxScrollWinEvent& event);
// Normally the wxScrolledWindow will scroll itself, but in some rare
// occasions you might want it to scroll [part of] another window (e.g. a
// child of it in order to scroll only a portion the area between the
// scrollbars (spreadsheet: only cell area will move).
virtual void SetTargetWindow(wxWindow *target);
virtual wxWindow *GetTargetWindow() const;
void SetTargetRect(const wxRect& rect) { m_rectToScroll = rect; }
wxRect GetTargetRect() const { return m_rectToScroll; }
// Override this function to draw the graphic (or just process EVT_PAINT)
virtual void OnDraw(wxDC& WXUNUSED(dc)) { }
// change the DC origin according to the scroll position.
virtual void DoPrepareDC(wxDC& dc);
// are we generating the autoscroll events?
bool IsAutoScrolling() const { return m_timerAutoScroll != NULL; }
// stop generating the scroll events when mouse is held outside the window
void StopAutoScrolling();
// this method can be overridden in a derived class to forbid sending the
// auto scroll events - note that unlike StopAutoScrolling() it doesn't
// stop the timer, so it will be called repeatedly and will typically
// return different values depending on the current mouse position
//
// the base class version just returns true
virtual bool SendAutoScrollEvents(wxScrollWinEvent& event) const;
// the methods to be called from the window event handlers
void HandleOnScroll(wxScrollWinEvent& event);
void HandleOnSize(wxSizeEvent& event);
void HandleOnPaint(wxPaintEvent& event);
void HandleOnChar(wxKeyEvent& event);
void HandleOnMouseEnter(wxMouseEvent& event);
void HandleOnMouseLeave(wxMouseEvent& event);
#if wxUSE_MOUSEWHEEL
void HandleOnMouseWheel(wxMouseEvent& event);
#endif // wxUSE_MOUSEWHEEL
// FIXME: this is needed for now for wxPlot compilation, should be removed
// once it is fixed!
void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); }
protected:
// get pointer to our scroll rect if we use it or NULL
const wxRect *GetScrollRect() const
{
return m_rectToScroll.width != 0 ? &m_rectToScroll : NULL;
}
// get the size of the target window
wxSize GetTargetSize() const
{
return m_rectToScroll.width != 0 ? m_rectToScroll.GetSize()
: m_targetWindow->GetClientSize();
}
void GetTargetSize(int *w, int *h)
{
wxSize size = GetTargetSize();
if ( w )
*w = size.x;
if ( h )
*h = size.y;
}
// change just the target window (unlike SetWindow which changes m_win as
// well)
void DoSetTargetWindow(wxWindow *target);
// delete the event handler we installed
void DeleteEvtHandler();
double m_scaleX;
double m_scaleY;
wxWindow *m_win,
*m_targetWindow;
wxRect m_rectToScroll;
wxTimer *m_timerAutoScroll;
int m_xScrollPixelsPerLine;
int m_yScrollPixelsPerLine;
int m_xScrollPosition;
int m_yScrollPosition;
int m_xScrollLines;
int m_yScrollLines;
int m_xScrollLinesPerPage;
int m_yScrollLinesPerPage;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
#if wxUSE_MOUSEWHEEL
int m_wheelRotation;
#endif // wxUSE_MOUSEWHEEL
wxScrollHelperEvtHandler *m_handler;
DECLARE_NO_COPY_CLASS(wxScrollHelper)
};
#endif
// ----------------------------------------------------------------------------
// wxScrolledWindow: a wxWindow which knows how to scroll
// ----------------------------------------------------------------------------
#if defined(__WXGTK__) && !defined(__WXUNIVERSAL__)
#include "wx/gtk/scrolwin.h"
#else // !wxGTK
#include "wx/generic/scrolwin.h"
class WXDLLEXPORT wxScrolledWindow : public wxGenericScrolledWindow
{
public:
wxScrolledWindow() { }
wxScrolledWindow(wxWindow *parent,
wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxScrolledWindowStyle,
const wxString& name = wxPanelNameStr)
: wxGenericScrolledWindow(parent, winid, pos, size, style, name)
{
}
private:
DECLARE_DYNAMIC_CLASS_NO_COPY(wxScrolledWindow)
};
#define wxSCROLLED_WINDOW_IS_GENERIC 1
#endif
#endif
// _WX_SCROLWIN_H_BASE_

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,594 @@
0.9.2 (5/3/2003 to //2003)
-----------------------------
Changed to the new prefix-less "wx" package::
import wx
instead of::
from wxPython import wx
Fixed typo in ``PyWrap.py``::
if __name__ == '__main__':
main(sys.argv)
should have been::
if __name__ == '__main__':
main()
Added pretty-print Display tab to Crust, based on suggestion from
Jason Whitlark.
Improved ``Can*`` checks in ``EditWindow``, since STC is too lenient,
particularly when it is set to read-only but returns True for
CanPaste() (seems like an STC bug to me)::
def CanCopy(self):
"""Return True if text is selected and can be copied."""
return self.GetSelectionStart() != self.GetSelectionEnd()
def CanCut(self):
"""Return True if text is selected and can be cut."""
return self.CanCopy() and self.CanEdit()
def CanEdit(self):
"""Return True if editing should succeed."""
return not self.GetReadOnly()
def CanPaste(self):
"""Return True if pasting should succeed."""
return stc.StyledTextCtrl.CanPaste(self) and self.CanEdit()
0.9.1 (3/21/2003 to 5/2/2003)
-----------------------------
PyCrust is dead! Long live Py!
* Renamed ``PyCrust`` package to ``py``.
* Moved code to wxPython's CVS repository.
Fixed bug in ``introspect.py`` on introspecting objects occurring
immediately after a secondary prompt, like this::
>>> l = [1, 2, 3]
>>> for n in range(3):
... l. <-- failed to popup autocomplete list
Added documentation files:
* PyManual.txt
* wxPythonManual.txt
* wxPythonPackage.txt
* wxPythonExamples.txt
Added PyAlaMode and PyAlaCarte code editors.
Major refactoring to support ``editor`` and ``shell`` from the same
base.
Renamed program files:
* ``PyCrustApp.py`` to ``PyCrust.py``
* ``PyFillingApp.py`` to ``PyFilling.py``
* ``PyShellApp.py`` to ``PyShell.py``
* ``wrap.py`` to ``PyWrap.py``
Removed disabling of autocomplete for lists of 2000 items or more.
The current implementation of wxSTC can now handle lists this big.
Improved handling of ``sys.path`` to mimic the standard Python shell.
0.9 (2/27/2003 to 3/20/2003)
----------------------------
Added fontIncrease, fontDecrease, fontDefault signals, receivers and
keybindings::
Ctrl+] Increase font size.
Ctrl+[ Decrease font size.
Ctrl+= Default font size.
Continued enhancement of the decorator capability to provide better
documentation and docstrings for wxPython classes and functions.
Introduced new tabbed interface:
* Namespace
* Calltip
* Session
* Dispatcher
* wxPython Docs
* wxSTC Docs
``Filling.tree`` now expands tuples as well as lists. (It should have
done this all along, I just never noticed this omission before.)
Added this True/False test to all modules::
try:
True
except NameError:
True = 1==1
False = 1==0
Added ``wxd`` directory with decoration classes.
0.8.2 (1/5/2003 to 2/26/2003)
-----------------------------
Wrapped ``sys.ps1``, ``sys.ps2``, and ``sys.ps3`` in ``str()``.
(Thanks, Kieran Holland.)
Fixed minor things found by PyChecker.
Changed locals to use ``__main__.__dict__`` and added code to clean up
the namespace, making it as close to the regular Python environment as
possible. This solves the problem of pickling and unpickling
instances of classes defined in the shell.
Made ``shell.PasteAndRun()`` a little more forgiving when it finds a
ps2 prompt line with no trailing space, such when you copy code from a
web page.
Improved autocomplete behavior by adding these to shell::
self.AutoCompSetAutoHide(False)
self.AutoCompStops(' .,;:([)]}\'"\\<>%^&+-=*/|`')
Added ``decor`` directory, ``decorator.py``, ``stcDecor.py``, and
``stcConstants.py``. These all serve the purpose of adding docstrings
to existing wxPython classes, in particular the ``wxStyledTextCtrl``.
Added ``wrap.py``, a command line utility for running a wxPython app
with additional runtime-tools loaded, such as PyCrust (the only tool
at this point).
Flushed the clipboard Cut/Copy operations so that selections will
exist in the clipboard even after PyCrust has been closed.
Improved the suppression of docstrings for simple data types appearing
in the namespace viewer.
Better handling of autocompletion with numeric types; no
autocompletion when typing a dot after an integer. If the
autocompletion is desired, type a space before the dot::
func = 3 .
More Filling!!! The namespace tree is now dynamically updated.
0.8.1 (12/20/2002 to 12/25/2002)
--------------------------------
Improved keyboard handling with Autocomplete active. You can now use
Enter as well as Tab to select an item from the list.
Disabled autocomplete for lists of 2000 items or more. The current
implementation of wxSTC can't handle lists this big.
Changed ``filling`` to always display docstrings for objects. This is
useful for objects whose docstrings have been decorated, rather than
coming directly from the source code. (Hmmm. Sounds like someone is
doing some decorating. I wonder where that would be helpful? <wink>)
Fixed handling of icon. Added ``images.py`` file.
0.8 (10/29/2002 to 12/16/2002)
------------------------------
Added "help" to startup banner info.
Made all ``wx`` and ``stc`` imports explicit. No more ``import *``.
Replaced use of the ``wx`` module's ``true`` and ``false`` with
Python's ``True`` and ``False``.
Changed ``introspect.getRoot()`` to use ``tokenize`` module. This
does a slightly better job than the previous parsing routine and the
code is clearer.
Improved handling of whitespace and empty types during introspection.
Fixed cut/copy clipboard problem under Linux. (Robin Dunn rocks!!!)
Added shell.about() which works like this::
>>> shell.about()
PyCrust Version: 0.8
Shell Revision: 1.80
Interpreter Revision: 1.15
Python Version: 2.2.2
wxPython Version: 2.3.3.1
Platform: linux2
Added copy plus and paste plus to shell menu.
Moved shell menu from ``shell.py`` to ``shellmenu.py``.
Added ``sys.stdin.readlines()`` support.
Added ``time.sleep()`` in ``readline()`` and ``OnIdle()`` event
handler to free up the CPU.
0.7.2 (2/22/2002 to 8/27/2002)
------------------------------
Tweaked ``getAttributeNames()`` to pick up a few more attributes::
'__bases__', '__class__', '__dict__', '__name__', 'func_closure',
'func_code', 'func_defaults', 'func_dict', 'func_doc',
'func_globals', 'func_name'
Added a tests directory and unit tests.
Improved support for empty types in the shell: ``[]``, ``()`` and
``{}`` as far as when call tips and autocompletion are available.
Added support for the other triple string - ``''''''``.
Refactored ``introspect.py`` to improve testability.
Improved call tips for unbound methods by leaving the "self"
parameter, since unbound methods require an instance be passed.
Fixed call tip bug where a tip was displayed when a "(" was typed
after an object that wasn't callable.
Fixed ``getAllAttributeNames`` when ``str(object)`` fails.
Added brace highlighting. (Thank you, Kevin Altis.)
Fixed problem displaying unicode objects in ``PyFilling``.
Changed how ``filling.py`` checks for expandable objects. Lists are
now expandable objects.
Made the key handling more robust when there is an active text
selection that includes text prior to the last primary prompt. Thanks
to Raul Cota for pointing this out.
Fixed wxSTC problem with brace highlighting and non-us keyboards.
(Thank you for the patch, Jean-Michel Fauth.)
Added ``busy = wxBusyCursor()`` to key points in ``shell`` and
``filling``.
Added ``OnCloseWindow`` handler to ``ShellFrame`` and ``CrustFrame``.
Default to ``SetWrapMode(1)`` for shell and namespace viewer.
Added ``shell.wrap()`` and ``shell.zoom()``.
Added autoCompleteKeys hooks for Raul Cota.
Cleaned up various little key handling bugs.
Changed input methods to get values from shell, rather than dialog
boxes. Renamed ``readIn`` to ``readline`` and ``readRaw`` to
``raw_input``.
0.7.1 (12/12/2001 to 2/21/2002)
-------------------------------
Fixed ``OnChar()`` issues effecting European keyboards, as reported by
Jean-Michel Fauth.
Fixed ``introspect.py`` issue with xmlrpc objects reported by Kevin
Altis.
Fixed some introspect/PyFilling issues with regard to Python 2.2.
Fixed font background color as reported by Keith J. Farmer. (Thanks)
Fixed problem with call tips and autocompletion inside multiline
commands as report by Kevin Altis.
Improved ``OnKeyDown`` handling of cut/copy/paste operations based on
feedback from Syver Enstad. (Thanks)
Added a ``shell.help()`` method to display some help info.
Changed sort of items in the namespace viewer to case insensitive.
Changed ``attributes.sort(lambda x, y: cmp(x.upper(), y.upper()))`` in
advance of an upcoming fix to an autocompletion matching bug in wxSTC.
Improved support for ZODB by allowing namespace drilldown into BTrees.
Added ``shell.PasteAndRun()`` to support pasting multiple commands into
the shell from the clipboard. Ctrl+Shift+V or v.
Enter now always processes a command (or copies down a previous one.)
To insert a line break, press Ctrl+Enter.
Escape key clears the current, unexecuted command.
History retrieval changed to replace current command. Added new keys
to insert from history - Shift+Up and Shift+Down.
Better call tips on objects with ``__call__`` methods.
Improved call tip positioning calculation.
0.7 (10/15/2001 to 12/11/2001)
------------------------------
Changed how command history retrieval functions work. Added Alt-P,
Alt-N as keybindings for Retrieve-Previous, Retrieve-Next.
Added full support for multi-line commands, similar to IDLE.
Changed ``introspect.getAttributeNames()`` to do a case insensitive
sort.
Changed Cut/Copy/Paste to deal with prompts intelligently. Cut and
Copy remove all prompts. Paste can handle prompted or not-prompted
text.
Added ``CopyWithPrompts()`` method attached to Ctrl-Shift-C for those
times when you really do want all the prompts left intact.
Improved handling of the shell's read-only zone.
Changed ``CrustFrame.__init__`` parameter spec to include all
parameters allowed by a ``wxFrame``.
Changed ``FillingText`` to be read-only.
Renamed ``PyCrust.py`` to ``PyCrustApp.py`` to eliminate
package/module name conflicts that kept you from doing ``from PyCrust
import shell`` inside files located in the ``PyCrust`` directory.
Renamed ``PyFilling.py`` to ``PyFillingApp.py`` and ``PyShell.py`` to
``PyShellApp.py`` to maintain consistency.
Removed the ``__date__`` property from all modules.
Fixed bug in ``introspect.getCallTip()``, reported by Kevin Altis.
0.6.1 (9/19/2001 to 10/12/2001)
-------------------------------
Changed ``Shell.run()`` to always position to the end of existing
text, as suggested by Raul Cota.
Changed ``introspect.getAllAttributeNames()`` to break circular
references in ``object.__class__``, which occurs in Zope/ZODB
extension classes.
Changed ``filling.FillingTree.getChildren()`` to introspect extension
classes.
Fixed minor bugs in ``introspect.getCallTip()`` that were interfering
with call tips for Zope/ZODB extension class methods.
In preparation for wxPython 2.3.2, added code to fix a font sizing
problem. Versions of wxPython prior to 2.3.2 had a sizing bug on Win
platform where the font was 2 points larger than what was specified.
Added a hack to ``introspect.getAllAttributeNames()`` to "wake up"
ZODB objects that are asleep - in a "ghost" state. Otherwise it
returns incomplete info.
0.6 (8/21/2001 to 9/12/2001)
----------------------------
Added ``PyFilling.py`` and ``filling.py``.
``PyShell.py`` and ``PyFilling.py`` can now be run standalone, as well
as ``PyCrust.py``.
Added ``crust.py`` and moved some code from ``PyCrust.py`` to it.
Added command history retrieval features submitted by Richie Hindle.
Changed ``shell.write()`` to replace line endings with OS-specific
endings. Changed ``shell.py`` and ``interpreter.py`` to use
``os.linesep`` in strings having hardcoded line endings.
Added ``shell.redirectStdin()``, ``shell.redirectStdout()`` and
``shell.redirectStderr()`` to allow the surrounding app to toggle
requests that the specified ``sys.std*`` be redirected to the shell.
These can also be run from within the shell itself, of course.
The shell now adds the current working directory "." to the search
path::
sys.path.insert(0, os.curdir)
Added support for distutils installations.
0.5.4 (8/17/2001 to 8/20/2001)
------------------------------
Changed default font size under Linux to::
'size' : 12,
'lnsize' : 10,
Changed ``Shell`` to expect a parameter referencing an Interpreter
class, rather than an intepreter instance, to facilitate subclassing
of Interpreter, which effectively broke when the Editor class was
eliminated.
Fixed ``PyCrustAlaCarte.py``, which had been broken by previous
changes.
Created ``InterpreterAlaCarte`` class as an example for use in the
demo.
Split ``PyCrust.py`` into ``PyCrust.py`` and ``PyShell.py`` in
anticipation of ``PyFilling.py``.
0.5.3 (8/16/2001)
-----------------
Added patch to ``PyCrust.py`` to fix wxPython bug::
wxID_SELECTALL = NewId() # This *should* be defined by wxPython.
0.5.2 (8/14/2001 to 8/15/2001)
------------------------------
Shortened module names by dropping "PyCrust" as a prefix.
Changed ``version`` to ``VERSION`` in ``version`` module.
Added Options menu to PyCrust application.
Eliminated the Editor class (and editor module) by merging with Shell.
This means that Shell "is a" wxStyledTextCtrl rather than "has a".
There just wasn't enough non-gui code to justify the separation.
Plus, Shell will be much easier for gui toolkits/designers to deal
with now.
0.5.1 (8/10/2001 to 8/14/2001)
------------------------------
Added ``introspect`` module.
Moved some functionality from ``PyCrustInterp`` to ``introspect``.
Changed ``introspect.getRoot()`` to no longer remove whitespace from
the command. This was a remnant of a previous approach that, when
left as part of the current approach, turned out to be a really bad
thing.
Changed ``introspect.getRoot()`` to allow commands of ``''``, ``""``,
``""""""``, ``[]``, ``()``, and ``{}`` to pass through. This allows
you to type them, followed by a dot, and get autocomplete options on
them.
Changed ``introspect.getRoot()`` to identify some situations where
strings shouldn't be considered roots. For example::
>>> import PyCrust # To illustrate the potential problem.
>>> len('PyCrust.py')
Typing the dot at the end of "PyCrust" in the second line above should
NOT result in an autocompletion list because "PyCrust" is part of a
string in this context, not a reference to the PyCrust module object.
Similar reasoning applies to call tips. For example::
>>> len('dir(')
Typing the left paren at the end of "dir" should NOT result in a call
tip.
Both features now behave properly in the examples given. However,
there is still the case where whitespace precedes the potential root
and that is NOT handled properly. For example::
>>> len('this is a dir(')
and::
>>> len('This is PyCrust.py')
More code needs to be written to handle more complex situations.
Added ``locals=None`` parameter to ``Shell.__init__()``.
Added support for magic attribute retrieval. Users can change this
with::
>>> shell.editor.autoCompleteIncludeMagic = 0
Added the ability to set filters on auto completion to exclude
attributes prefixed with a single or double underscore. Users can
exclude one or the other or both with::
>>> shell.editor.autoCompleteExcludeSingle = 1
>>> shell.editor.autoCompleteExcludeDouble = 1
0.5 (8/8/2001)
--------------
Mostly just a final version change before creating a release.
0.4 (8/4/2001 to 8/7/2001)
--------------------------
Changed version/revision handling.
Fixed bugs.
0.3 (8/2/2001 to 8/3/2001)
--------------------------
Removed lots of cruft.
Added lots of docstrings.
Imported to CVS repository at SourceForge.
Added call tips.
0.2 (7/30/2001 to 8/2/2001)
---------------------------
Renamed several files.
Added command autocompletion.
Added menus to PyCrust.py: File, Edit and Help.
Added sample applications: ``PyCrustAlaCarte.py``,
``PyCrustAlaMode.py``, and ``PyCrustMinimus.py``.
0.1 (7/1/2001 to 7/19/2001)
---------------------------
Added basic syntax coloring much like Boa.
Added read-only logging much like IDLE.
Can retrieve a previous command by putting the cursor back on that
line and hitting enter.
Stdin and raw_input operate properly so you can now do ``help()`` and
``license()`` without hanging.
Redefined "quit", "exit", and "close" to display a better-than-nothing
response.
Home key honors the prompt.
Created SourceForge account, but nothing was posted.
In the beginning, there was pie... (7/1/2001)
---------------------------------------------
Blame it all on IDLE, Boa and PythonWin. I was using all three, got
frustrated with their dissimilarities, and began to let everyone know
how I felt. At the same time, Scintilla looked like an interesting
tool to build a shell around. And while I didn't receive much in the
way of positive feedback, let alone encouragement, I just couldn't let
go of the idea of a Scintilla-based Python shell. Then the PythonCard
project got to the point where they were talking about including a
shell in their development environment. That was all the incentive I
needed. PyCrust had to happen...

BIN
wxPython/wxPython/py/Py.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -0,0 +1,43 @@
"""PyAlaCarte is a simple programmer's editor."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import os
import sys
import editor
try:
True
except NameError:
True = 1==1
False = 1==0
class App(wx.App):
"""PyAlaCarte standalone application."""
def __init__(self, filename=None):
self.filename = filename
wx.App.__init__(self, redirect=False)
def OnInit(self):
wx.InitAllImageHandlers()
self.frame = editor.EditorFrame(filename=self.filename)
self.frame.Show()
self.SetTopWindow(self.frame)
return True
def main(filename=None):
if not filename and len(sys.argv) > 1:
filename = sys.argv[1]
if filename:
filename = os.path.realpath(filename)
app = App(filename)
app.MainLoop()
if __name__ == '__main__':
main()

View File

@@ -0,0 +1,43 @@
"""PyAlaMode is a programmer's editor."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import os
import sys
import editor
try:
True
except NameError:
True = 1==1
False = 1==0
class App(wx.App):
"""PyAlaMode standalone application."""
def __init__(self, filename=None):
self.filename = filename
wx.App.__init__(self, redirect=False)
def OnInit(self):
wx.InitAllImageHandlers()
self.frame = editor.EditorNotebookFrame(filename=self.filename)
self.frame.Show()
self.SetTopWindow(self.frame)
return True
def main(filename=None):
if not filename and len(sys.argv) > 1:
filename = sys.argv[1]
if filename:
filename = os.path.realpath(filename)
app = App(filename)
app.MainLoop()
if __name__ == '__main__':
main()

View File

@@ -0,0 +1,42 @@
"""PyAlaModeTest is a programmer's editor."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import os
import sys
import editor
try:
True
except NameError:
True = 1==1
False = 1==0
class App(wx.App):
"""PyAlaModeTest standalone application."""
def __init__(self, filename=None):
self.filename = filename
wx.App.__init__(self, redirect=False)
def OnInit(self):
wx.InitAllImageHandlers()
self.frame = editor.EditorShellNotebookFrame(filename=self.filename)
self.frame.Show()
self.SetTopWindow(self.frame)
return True
def main(filename=None):
app = App(filename)
app.MainLoop()
if __name__ == '__main__':
filename = None
if len(sys.argv) > 1:
filename = os.path.realpath(sys.argv[1])
main(filename)

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

78
wxPython/wxPython/py/PyCrust.py Executable file
View File

@@ -0,0 +1,78 @@
"""PyCrust is a python shell and namespace browser application."""
# The next two lines, and the other code below that makes use of
# ``__main__`` and ``original``, serve the purpose of cleaning up the
# main namespace to look as much as possible like the regular Python
# shell environment.
import __main__
original = __main__.__dict__.keys()
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
try:
True
except NameError:
True = 1==1
False = 1==0
class App(wx.App):
"""PyCrust standalone application."""
def OnInit(self):
import wx
wx.InitAllImageHandlers()
locals = __main__.__dict__
from crust import CrustFrame
self.frame = CrustFrame(locals=locals)
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)
return True
'''
The main() function needs to handle being imported, such as with the
pycrust script that wxPython installs:
#!/usr/bin/env python
from wx.py.PyCrust import main
main()
'''
def main():
"""The main function for the PyCrust program."""
# Cleanup the main namespace, leaving the App class.
import __main__
md = __main__.__dict__
keepers = original
keepers.append('App')
for key in md.keys():
if key not in keepers:
del md[key]
# Create an application instance.
app = App(0)
# Mimic the contents of the standard Python shell's sys.path.
import sys
if sys.path[0]:
sys.path[0] = ''
# Add the application object to the sys module's namespace.
# This allows a shell user to do:
# >>> import sys
# >>> sys.app.whatever
sys.app = app
del sys
# Cleanup the main namespace some more.
if md.has_key('App') and md['App'] is App:
del md['App']
if md.has_key('__main__') and md['__main__'] is __main__:
del md['__main__']
# Start the wxPython event loop.
app.MainLoop()
if __name__ == '__main__':
main()

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,43 @@
"""PyFilling is a python namespace inspection application."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# We use this object to get more introspection when run standalone.
app = None
import filling
# These are imported just to have something interesting to inspect.
import crust
import interpreter
import introspect
import pseudo
import shell
import sys
import wx
try:
True
except NameError:
True = 1==1
False = 1==0
class App(filling.App):
def OnInit(self):
filling.App.OnInit(self)
self.root = self.fillingFrame.filling.tree.root
return True
def main():
"""Create and run the application."""
global app
app = App(0)
app.fillingFrame.filling.tree.Expand(app.root)
app.MainLoop()
if __name__ == '__main__':
main()

79
wxPython/wxPython/py/PyShell.py Executable file
View File

@@ -0,0 +1,79 @@
"""PyShell is a python shell application."""
# The next two lines, and the other code below that makes use of
# ``__main__`` and ``original``, serve the purpose of cleaning up the
# main namespace to look as much as possible like the regular Python
# shell environment.
import __main__
original = __main__.__dict__.keys()
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
try:
True
except NameError:
True = 1==1
False = 1==0
class App(wx.App):
"""PyShell standalone application."""
def OnInit(self):
import wx
wx.InitAllImageHandlers()
locals = __main__.__dict__
from shell import ShellFrame
self.frame = ShellFrame(locals=locals)
self.frame.SetSize((750, 525))
self.frame.Show()
self.SetTopWindow(self.frame)
self.frame.shell.SetFocus()
return True
'''
The main() function needs to handle being imported, such as with the
pyshell script that wxPython installs:
#!/usr/bin/env python
from wx.py.PyShell import main
main()
'''
def main():
"""The main function for the PyShell program."""
# Cleanup the main namespace, leaving the App class.
import __main__
md = __main__.__dict__
keepers = original
keepers.append('App')
for key in md.keys():
if key not in keepers:
del md[key]
# Create an application instance.
app = App(0)
# Cleanup the main namespace some more.
if md.has_key('App') and md['App'] is App:
del md['App']
if md.has_key('__main__') and md['__main__'] is __main__:
del md['__main__']
# Mimic the contents of the standard Python shell's sys.path.
import sys
if sys.path[0]:
sys.path[0] = ''
# Add the application object to the sys module's namespace.
# This allows a shell user to do:
# >>> import sys
# >>> sys.app.whatever
sys.app = app
del sys
# Start the wxPython event loop.
app.MainLoop()
if __name__ == '__main__':
main()

56
wxPython/wxPython/py/PyWrap.py Executable file
View File

@@ -0,0 +1,56 @@
"""PyWrap is a command line utility that runs a wxPython program with
additional runtime-tools, such as PyCrust."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import os
import sys
import wx
from crust import CrustFrame as Frame
try:
True
except NameError:
True = 1==1
False = 1==0
def wrap(app):
wx.InitAllImageHandlers()
frame = Frame()
frame.SetSize((750, 525))
frame.Show(True)
frame.shell.interp.locals['app'] = app
app.MainLoop()
def main(modulename=None):
sys.path.insert(0, os.curdir)
if not modulename:
if len(sys.argv) < 2:
print "Please specify a module name."
raise SystemExit
modulename = sys.argv[1]
if modulename.endswith('.py'):
modulename = modulename[:-3]
module = __import__(modulename)
# Find the App class.
App = None
d = module.__dict__
for item in d.keys():
try:
if issubclass(d[item], wx.App):
App = d[item]
except (NameError, TypeError):
pass
if App is None:
print "No App class found."
raise SystemExit
app = App()
wrap(app)
if __name__ == '__main__':
main()

View File

@@ -0,0 +1,79 @@
=====================================
PyCrust - The Flakiest Python Shell
=====================================
Half-baked by Patrick K. O'Brien (pobrien@orbtech.com)
Orbtech - "Your source for Python programming expertise."
Sample all our half-baked Python goods at www.orbtech.com.
What is PyCrust?
----------------
PyCrust is an interactive Python environment written in Python.
PyCrust components can run standalone or be integrated into other
development environments and/or other Python applications.
PyCrust comes with an interactive Python shell (PyShell), an
interactive namespace/object tree control (PyFilling) and an
integrated, split-window combination of the two (PyCrust).
What is PyCrust good for?
-------------------------
Have you ever tried to bake a pie without one? Well, you shouldn't
build a Python program without a PyCrust either.
What else do I need to use PyCrust?
-----------------------------------
PyCrust requires Python 2.1.3 or later, and wxPython 2.4 or later.
PyCrust uses wxPython and the Scintilla wrapper (wxStyledTextCtrl).
Python is available at http://www.python.org/. wxPython is available
at http://www.wxpython.org/.
Where can I get the latest version of PyCrust?
----------------------------------------------
The latest production version ships with wxPython. The latest
developer version is available in CVS at:
http://sourceforge.net/cvs/?group_id=31263
Where is the PyCrust project hosted?
------------------------------------
At SourceForge, of course. The SourceForge summary page:
http://sourceforge.net/projects/pycrust/
I found a bug in PyCrust, what do I do with it?
-----------------------------------------------
You can send it to me at pobrien@orbtech.com.
I want a new feature added to PyCrust. Will you do it?
------------------------------------------------------
Flattery and money will get you anything. Short of that, you can send
me a request and I'll see what I can do.
Does PyCrust have a mailing list full of wonderful people?
----------------------------------------------------------
As a matter of fact, we do. Join the PyCrust mailing lists at:
http://sourceforge.net/mail/?group_id=31263
What is the CVS information for this README file?
-------------------------------------------------
$Date$
$Revision$
$Id$

View File

@@ -0,0 +1,20 @@
"""The py package, formerly the PyCrust package."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import buffer
import crust
import dispatcher
import document
import editor
import editwindow
import filling
import frame
import images
import interpreter
import introspect
import pseudo
import shell
import version

View File

@@ -0,0 +1,144 @@
"""Buffer class."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from interpreter import Interpreter
import imp
import os
import sys
import document
try:
True
except NameError:
True = 1==1
False = 1==0
class Buffer:
"""Buffer class."""
id = 0
def __init__(self, filename=None):
"""Create a Buffer instance."""
Buffer.id += 1
self.id = Buffer.id
self.interp = Interpreter(locals={})
self.name = ''
self.editors = {}
self.editor = None
self.modules = sys.modules.keys()
self.syspath = sys.path[:]
while True:
try:
self.syspath.remove('')
except ValueError:
break
while True:
try:
self.syspath.remove('.')
except ValueError:
break
self.open(filename)
def addEditor(self, editor):
"""Add an editor."""
self.editor = editor
self.editors[editor.id] = editor
def hasChanged(self):
"""Return True if text in editor has changed since last save."""
if self.editor:
return self.editor.hasChanged()
else:
return False
def new(self, filepath):
"""New empty buffer."""
if not filepath:
return
if os.path.exists(filepath):
self.confirmed = self.overwriteConfirm(filepath)
else:
self.confirmed = True
def open(self, filename):
"""Open file into buffer."""
self.doc = document.Document(filename)
self.name = self.doc.filename or ('Untitled:' + str(self.id))
self.modulename = self.doc.filebase
# XXX This should really make sure filedir is first item in syspath.
# XXX Or maybe this should be moved to the update namespace method.
if self.doc.filedir and self.doc.filedir not in self.syspath:
# To create the proper context for updateNamespace.
self.syspath.insert(0, self.doc.filedir)
if self.doc.filepath and os.path.exists(self.doc.filepath):
self.confirmed = True
if self.editor:
text = self.doc.read()
self.editor._setBuffer(buffer=self, text=text)
def overwriteConfirm(filepath):
"""Confirm overwriting an existing file."""
return False
def save(self):
"""Save buffer."""
filepath = self.doc.filepath
if not filepath:
return # XXX Get filename
if not os.path.exists(filepath):
self.confirmed = True
if not self.confirmed:
self.confirmed = self.overwriteConfirm(filepath)
if self.confirmed:
self.doc.write(self.editor.getText())
if self.editor:
self.editor.setSavePoint()
def saveAs(self, filename):
"""Save buffer."""
self.doc = document.Document(filename)
self.name = self.doc.filename
self.modulename = self.doc.filebase
self.save()
def updateNamespace(self):
"""Update the namespace for autocompletion and calltips.
Return True if updated, False if there was an error."""
if not self.interp or not hasattr(self.editor, 'getText'):
return False
syspath = sys.path
sys.path = self.syspath
text = self.editor.getText()
text = text.replace('\r\n', '\n')
text = text.replace('\r', '\n')
name = self.modulename or self.name
module = imp.new_module(name)
newspace = module.__dict__.copy()
try:
try:
code = compile(text, name, 'exec')
except:
raise
# return False
try:
exec code in newspace
except:
raise
# return False
else:
# No problems, so update the namespace.
self.interp.locals.clear()
self.interp.locals.update(newspace)
return True
finally:
sys.path = syspath
for m in sys.modules.keys():
if m not in self.modules:
del sys.modules[m]

View File

@@ -0,0 +1,221 @@
"""Crust combines the shell and filling into one control."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import os
import pprint
import sys
import dispatcher
import editwindow
from filling import Filling
import frame
from shell import Shell
from version import VERSION
try:
True
except NameError:
True = 1==1
False = 1==0
class Crust(wx.SplitterWindow):
"""Crust based on SplitterWindow."""
name = 'Crust'
revision = __revision__
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.SP_3D,
name='Crust Window', rootObject=None, rootLabel=None,
rootIsNamespace=True, intro='', locals=None,
InterpClass=None, *args, **kwds):
"""Create Crust instance."""
wx.SplitterWindow.__init__(self, parent, id, pos, size, style, name)
self.shell = Shell(parent=self, introText=intro,
locals=locals, InterpClass=InterpClass,
*args, **kwds)
self.editor = self.shell
if rootObject is None:
rootObject = self.shell.interp.locals
self.notebook = wx.Notebook(parent=self, id=-1)
self.shell.interp.locals['notebook'] = self.notebook
self.filling = Filling(parent=self.notebook,
rootObject=rootObject,
rootLabel=rootLabel,
rootIsNamespace=rootIsNamespace)
# Add 'filling' to the interpreter's locals.
self.shell.interp.locals['filling'] = self.filling
self.notebook.AddPage(page=self.filling, text='Namespace', select=True)
self.display = Display(parent=self.notebook)
self.notebook.AddPage(page=self.display, text='Display')
# Add 'pp' (pretty print) to the interpreter's locals.
self.shell.interp.locals['pp'] = self.display.setItem
self.calltip = Calltip(parent=self.notebook)
self.notebook.AddPage(page=self.calltip, text='Calltip')
self.sessionlisting = SessionListing(parent=self.notebook)
self.notebook.AddPage(page=self.sessionlisting, text='Session')
self.dispatcherlisting = DispatcherListing(parent=self.notebook)
self.notebook.AddPage(page=self.dispatcherlisting, text='Dispatcher')
from wxd import wx_
self.wxdocs = Filling(parent=self.notebook,
rootObject=wx_,
rootLabel='wx',
rootIsNamespace=False,
static=True)
self.notebook.AddPage(page=self.wxdocs, text='wxPython Docs')
from wxd import stc_
self.stcdocs = Filling(parent=self.notebook,
rootObject=stc_.StyledTextCtrl,
rootLabel='StyledTextCtrl',
rootIsNamespace=False,
static=True)
self.notebook.AddPage(page=self.stcdocs, text='StyledTextCtrl Docs')
self.SplitHorizontally(self.shell, self.notebook, 300)
self.SetMinimumPaneSize(1)
class Display(editwindow.EditWindow):
"""STC used to display an object using Pretty Print."""
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize,
style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER,
static=False):
"""Create Display instance."""
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
# Configure various defaults and user preferences.
self.SetReadOnly(True)
self.SetWrapMode(False)
if not static:
dispatcher.connect(receiver=self.push, signal='Interpreter.push')
def push(self, command, more):
"""Receiver for Interpreter.push signal."""
self.Refresh()
def Refresh(self):
if not hasattr(self, "item"):
return
self.SetReadOnly(False)
text = pprint.pformat(self.item)
self.SetText(text)
self.SetReadOnly(True)
def setItem(self, item):
"""Set item to pretty print in the notebook Display tab."""
self.item = item
self.Refresh()
class Calltip(wx.TextCtrl):
"""Text control containing the most recent shell calltip."""
def __init__(self, parent=None, id=-1):
style = wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_RICH2
wx.TextCtrl.__init__(self, parent=parent, id=id, style=style)
self.SetBackgroundColour(wx.Colour(255, 255, 232))
dispatcher.connect(receiver=self.display, signal='Shell.calltip')
def display(self, calltip):
"""Receiver for Shell.calltip signal."""
self.SetValue(calltip)
class SessionListing(wx.TextCtrl):
"""Text control containing all commands for session."""
def __init__(self, parent=None, id=-1):
style = wx.TE_MULTILINE | wx.TE_READONLY | \
wx.TE_RICH2 | wx.TE_DONTWRAP
wx.TextCtrl.__init__(self, parent=parent, id=id, style=style)
dispatcher.connect(receiver=self.push, signal='Interpreter.push')
def push(self, command, more):
"""Receiver for Interpreter.push signal."""
if command and not more:
self.SetInsertionPointEnd()
start, end = self.GetSelection()
if start != end:
self.SetSelection(0, 0)
self.AppendText(command + '\n')
class DispatcherListing(wx.TextCtrl):
"""Text control containing all dispatches for session."""
def __init__(self, parent=None, id=-1):
style = wx.TE_MULTILINE | wx.TE_READONLY | \
wx.TE_RICH2 | wx.TE_DONTWRAP
wx.TextCtrl.__init__(self, parent=parent, id=id, style=style)
dispatcher.connect(receiver=self.spy)
def spy(self, signal, sender):
"""Receiver for Any signal from Any sender."""
text = '%r from %s' % (signal, sender)
self.SetInsertionPointEnd()
start, end = self.GetSelection()
if start != end:
self.SetSelection(0, 0)
self.AppendText(text + '\n')
class CrustFrame(frame.Frame):
"""Frame containing all the PyCrust components."""
name = 'CrustFrame'
revision = __revision__
def __init__(self, parent=None, id=-1, title='PyCrust',
pos=wx.DefaultPosition, size=wx.DefaultSize,
style=wx.DEFAULT_FRAME_STYLE,
rootObject=None, rootLabel=None, rootIsNamespace=True,
locals=None, InterpClass=None, *args, **kwds):
"""Create CrustFrame instance."""
frame.Frame.__init__(self, parent, id, title, pos, size, style)
intro = 'PyCrust %s - The Flakiest Python Shell' % VERSION
intro += '\nSponsored by Orbtech - '
intro += 'Your source for Python programming expertise.'
self.SetStatusText(intro.replace('\n', ', '))
self.crust = Crust(parent=self, intro=intro,
rootObject=rootObject,
rootLabel=rootLabel,
rootIsNamespace=rootIsNamespace,
locals=locals,
InterpClass=InterpClass, *args, **kwds)
self.shell = self.crust.shell
# Override the filling so that status messages go to the status bar.
self.crust.filling.tree.setStatusText = self.SetStatusText
# Override the shell so that status messages go to the status bar.
self.shell.setStatusText = self.SetStatusText
# Fix a problem with the sash shrinking to nothing.
self.crust.filling.SetSashPosition(200)
# Set focus to the shell editor.
self.shell.SetFocus()
def OnClose(self, event):
"""Event handler for closing."""
self.crust.shell.destroy()
self.Destroy()
def OnAbout(self, event):
"""Display an About window."""
title = 'About PyCrust'
text = 'PyCrust %s\n\n' % VERSION + \
'Yet another Python shell, only flakier.\n\n' + \
'Half-baked by Patrick K. O\'Brien,\n' + \
'the other half is still in the oven.\n\n' + \
'Shell Revision: %s\n' % self.shell.revision + \
'Interpreter Revision: %s\n\n' % self.shell.interp.revision + \
'Python Version: %s\n' % sys.version.split()[0] + \
'wxPython Version: %s\n' % wx.VERSION_STRING + \
'Platform: %s\n' % sys.platform
dialog = wx.MessageDialog(self, text, title,
wx.OK | wx.ICON_INFORMATION)
dialog.ShowModal()
dialog.Destroy()

View File

@@ -0,0 +1,266 @@
"""Provides global signal dispatching services."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import exceptions
import types
import weakref
try:
True
except NameError:
True = 1==1
False = 1==0
class DispatcherError(exceptions.Exception):
def __init__(self, args=None):
self.args = args
class Parameter:
"""Used to represent default parameter values."""
def __repr__(self):
return self.__class__.__name__
class Any(Parameter): pass
Any = Any()
class Anonymous(Parameter): pass
Anonymous = Anonymous()
connections = {}
senders = {}
_boundMethods = weakref.WeakKeyDictionary()
def connect(receiver, signal=Any, sender=Any, weak=True):
"""Connect receiver to sender for signal.
If sender is Any, receiver will receive signal from any sender.
If signal is Any, receiver will receive any signal from sender.
If sender is None, receiver will receive signal from Anonymous.
If signal is Any and sender is None, receiver will receive any
signal from Anonymous.
If signal is Any and sender is Any, receiver will receive any
signal from any sender.
If weak is true, weak references will be used."""
if signal is None:
raise DispatcherError, 'signal cannot be None'
if weak:
receiver = safeRef(receiver)
senderkey = id(sender)
signals = {}
if connections.has_key(senderkey):
signals = connections[senderkey]
else:
connections[senderkey] = signals
# Keep track of senders for cleanup.
if sender not in (None, Any):
def remove(object, senderkey=senderkey):
_removeSender(senderkey=senderkey)
# Skip objects that can not be weakly referenced, which means
# they won't be automatically cleaned up, but that's too bad.
try:
weakSender = weakref.ref(sender, remove)
senders[senderkey] = weakSender
except:
pass
receivers = []
if signals.has_key(signal):
receivers = signals[signal]
else:
signals[signal] = receivers
try:
receivers.remove(receiver)
except ValueError:
pass
receivers.append(receiver)
def disconnect(receiver, signal=Any, sender=Any, weak=True):
"""Disconnect receiver from sender for signal.
Disconnecting is not required. The use of disconnect is the same as for
connect, only in reverse. Think of it as undoing a previous connection."""
if signal is None:
raise DispatcherError, 'signal cannot be None'
if weak:
receiver = safeRef(receiver)
senderkey = id(sender)
try:
receivers = connections[senderkey][signal]
except KeyError:
raise DispatcherError, \
'No receivers for signal %r from sender %s' % (signal, sender)
try:
receivers.remove(receiver)
except ValueError:
raise DispatcherError, \
'No connection to receiver %s for signal %r from sender %s' % \
(receiver, signal, sender)
_cleanupConnections(senderkey, signal)
def send(signal, sender=Anonymous, **kwds):
"""Send signal from sender to all connected receivers.
Return a list of tuple pairs [(receiver, response), ... ].
If sender is not specified, signal is sent anonymously."""
senderkey = id(sender)
anykey = id(Any)
# Get receivers that receive *this* signal from *this* sender.
receivers = []
try:
receivers.extend(connections[senderkey][signal])
except KeyError:
pass
# Add receivers that receive *any* signal from *this* sender.
anyreceivers = []
try:
anyreceivers = connections[senderkey][Any]
except KeyError:
pass
for receiver in anyreceivers:
if receivers.count(receiver) == 0:
receivers.append(receiver)
# Add receivers that receive *this* signal from *any* sender.
anyreceivers = []
try:
anyreceivers = connections[anykey][signal]
except KeyError:
pass
for receiver in anyreceivers:
if receivers.count(receiver) == 0:
receivers.append(receiver)
# Add receivers that receive *any* signal from *any* sender.
anyreceivers = []
try:
anyreceivers = connections[anykey][Any]
except KeyError:
pass
for receiver in anyreceivers:
if receivers.count(receiver) == 0:
receivers.append(receiver)
# Call each receiver with whatever arguments it can accept.
# Return a list of tuple pairs [(receiver, response), ... ].
responses = []
for receiver in receivers:
if type(receiver) is weakref.ReferenceType \
or isinstance(receiver, BoundMethodWeakref):
# Dereference the weak reference.
receiver = receiver()
if receiver is None:
# This receiver is dead, so skip it.
continue
response = _call(receiver, signal=signal, sender=sender, **kwds)
responses += [(receiver, response)]
return responses
def _call(receiver, **kwds):
"""Call receiver with only arguments it can accept."""
## if type(receiver) is types.InstanceType:
if hasattr(receiver, '__call__') and \
(hasattr(receiver.__call__, 'im_func') or hasattr(receiver.__call__, 'im_code')):
# receiver is a class instance; assume it is callable.
# Reassign receiver to the actual method that will be called.
receiver = receiver.__call__
if hasattr(receiver, 'im_func'):
# receiver is a method. Drop the first argument, usually 'self'.
fc = receiver.im_func.func_code
acceptable = fc.co_varnames[1:fc.co_argcount]
elif hasattr(receiver, 'func_code'):
# receiver is a function.
fc = receiver.func_code
acceptable = fc.co_varnames[0:fc.co_argcount]
else:
raise DispatcherError, 'Unknown receiver %s of type %s' % (receiver, type(receiver))
if not (fc.co_flags & 8):
# fc does not have a **kwds type parameter, therefore
# remove unacceptable arguments.
for arg in kwds.keys():
if arg not in acceptable:
del kwds[arg]
return receiver(**kwds)
def safeRef(object):
"""Return a *safe* weak reference to a callable object."""
if hasattr(object, 'im_self'):
if object.im_self is not None:
# Turn a bound method into a BoundMethodWeakref instance.
# Keep track of these instances for lookup by disconnect().
selfkey = object.im_self
funckey = object.im_func
if not _boundMethods.has_key(selfkey):
_boundMethods[selfkey] = weakref.WeakKeyDictionary()
if not _boundMethods[selfkey].has_key(funckey):
_boundMethods[selfkey][funckey] = \
BoundMethodWeakref(boundMethod=object)
return _boundMethods[selfkey][funckey]
return weakref.ref(object, _removeReceiver)
class BoundMethodWeakref:
"""BoundMethodWeakref class."""
def __init__(self, boundMethod):
"""Return a weak-reference-like instance for a bound method."""
self.isDead = 0
def remove(object, self=self):
"""Set self.isDead to true when method or instance is destroyed."""
self.isDead = 1
_removeReceiver(receiver=self)
self.weakSelf = weakref.ref(boundMethod.im_self, remove)
self.weakFunc = weakref.ref(boundMethod.im_func, remove)
def __repr__(self):
"""Return the closest representation."""
return '<bound method weakref for %s.%s>' % (self.weakSelf, self.weakFunc)
def __call__(self):
"""Return a strong reference to the bound method."""
if self.isDead:
return None
else:
object = self.weakSelf()
method = self.weakFunc().__name__
try: # wxPython hack to handle wxDead objects.
return getattr(object, method)
except AttributeError:
## _removeReceiver(receiver=self)
return None
def _removeReceiver(receiver):
"""Remove receiver from connections."""
for senderkey in connections.keys():
for signal in connections[senderkey].keys():
receivers = connections[senderkey][signal]
try:
receivers.remove(receiver)
except:
pass
_cleanupConnections(senderkey, signal)
def _cleanupConnections(senderkey, signal):
"""Delete any empty signals for senderkey. Delete senderkey if empty."""
receivers = connections[senderkey][signal]
if not receivers:
# No more connected receivers. Therefore, remove the signal.
signals = connections[senderkey]
del signals[signal]
if not signals:
# No more signal connections. Therefore, remove the sender.
_removeSender(senderkey)
def _removeSender(senderkey):
"""Remove senderkey from connections."""
del connections[senderkey]
# Senderkey will only be in senders dictionary if sender
# could be weakly referenced.
try:
del senders[senderkey]
except:
pass

View File

@@ -0,0 +1,49 @@
"""Document class."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import os
try:
True
except NameError:
True = 1==1
False = 1==0
class Document:
"""Document class."""
def __init__(self, filename=None):
"""Create a Document instance."""
self.filename = filename
self.filepath = None
self.filedir = None
self.filebase = None
self.fileext = None
if self.filename:
self.filepath = os.path.realpath(self.filename)
self.filedir, self.filename = os.path.split(self.filepath)
self.filebase, self.fileext = os.path.splitext(self.filename)
def read(self):
"""Return contents of file."""
if self.filepath and os.path.exists(self.filepath):
f = file(self.filepath, 'rb')
try:
return f.read()
finally:
f.close()
else:
return ''
def write(self, text):
"""Write text to file."""
try:
f = file(self.filepath, 'wb')
f.write(text)
finally:
if f:
f.close()

View File

@@ -0,0 +1,846 @@
"""PyAlaCarte and PyAlaMode editors."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from buffer import Buffer
import crust
import dispatcher
import editwindow
import frame
from shell import Shell
import version
try:
True
except NameError:
True = 1==1
False = 1==0
class EditorFrame(frame.Frame):
"""Frame containing one editor."""
def __init__(self, parent=None, id=-1, title='PyAlaCarte',
pos=wx.DefaultPosition, size=(800, 600),
style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE,
filename=None):
"""Create EditorFrame instance."""
frame.Frame.__init__(self, parent, id, title, pos, size, style)
self.buffers = {}
self.buffer = None # Current buffer.
self.editor = None
self._defaultText = title + ' - the tastiest Python editor.'
self._statusText = self._defaultText
self.SetStatusText(self._statusText)
wx.EVT_IDLE(self, self.OnIdle)
self._setup()
if filename:
self.bufferCreate(filename)
def _setup(self):
"""Setup prior to first buffer creation.
Useful for subclasses."""
pass
def setEditor(self, editor):
self.editor = editor
self.buffer = self.editor.buffer
self.buffers[self.buffer.id] = self.buffer
def OnAbout(self, event):
"""Display an About window."""
title = 'About PyAlaCarte'
text = 'Another fine, flaky program.'
dialog = wx.MessageDialog(self, text, title,
wx.OK | wx.ICON_INFORMATION)
dialog.ShowModal()
dialog.Destroy()
def OnClose(self, event):
"""Event handler for closing."""
for buffer in self.buffers.values():
self.buffer = buffer
if buffer.hasChanged():
cancel = self.bufferSuggestSave()
if cancel and event.CanVeto():
event.Veto()
return
self.Destroy()
def OnIdle(self, event):
"""Event handler for idle time."""
self._updateStatus()
if hasattr(self, 'notebook'):
self._updateTabText()
self._updateTitle()
event.Skip()
def _updateStatus(self):
"""Show current status information."""
if self.editor and hasattr(self.editor, 'getStatus'):
status = self.editor.getStatus()
text = 'File: %s | Line: %d | Column: %d' % status
else:
text = self._defaultText
if text != self._statusText:
self.SetStatusText(text)
self._statusText = text
def _updateTabText(self):
"""Show current buffer information on notebook tab."""
## suffix = ' **'
## notebook = self.notebook
## selection = notebook.GetSelection()
## if selection == -1:
## return
## text = notebook.GetPageText(selection)
## window = notebook.GetPage(selection)
## if window.editor and window.editor.buffer.hasChanged():
## if text.endswith(suffix):
## pass
## else:
## notebook.SetPageText(selection, text + suffix)
## else:
## if text.endswith(suffix):
## notebook.SetPageText(selection, text[:len(suffix)])
def _updateTitle(self):
"""Show current title information."""
title = self.GetTitle()
if self.bufferHasChanged():
if title.startswith('* '):
pass
else:
self.SetTitle('* ' + title)
else:
if title.startswith('* '):
self.SetTitle(title[2:])
def hasBuffer(self):
"""Return True if there is a current buffer."""
if self.buffer:
return True
else:
return False
def bufferClose(self):
"""Close buffer."""
if self.bufferHasChanged():
cancel = self.bufferSuggestSave()
if cancel:
return cancel
self.bufferDestroy()
cancel = False
return cancel
def bufferCreate(self, filename=None):
"""Create new buffer."""
self.bufferDestroy()
buffer = Buffer()
self.panel = panel = wx.Panel(parent=self, id=-1)
wx.EVT_ERASE_BACKGROUND(panel, lambda x: x)
editor = Editor(parent=panel)
panel.editor = editor
sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(editor.window, 1, wx.EXPAND)
panel.SetSizer(sizer)
panel.SetAutoLayout(True)
sizer.Layout()
buffer.addEditor(editor)
buffer.open(filename)
self.setEditor(editor)
self.editor.setFocus()
self.SendSizeEvent()
def bufferDestroy(self):
"""Destroy the current buffer."""
if self.buffer:
for editor in self.buffer.editors.values():
editor.destroy()
self.editor = None
del self.buffers[self.buffer.id]
self.buffer = None
self.panel.Destroy()
def bufferHasChanged(self):
"""Return True if buffer has changed since last save."""
if self.buffer:
return self.buffer.hasChanged()
else:
return False
def bufferNew(self):
"""Create new buffer."""
if self.bufferHasChanged():
cancel = self.bufferSuggestSave()
if cancel:
return cancel
self.bufferCreate()
cancel = False
return cancel
def bufferOpen(self):
"""Open file in buffer."""
if self.bufferHasChanged():
cancel = self.bufferSuggestSave()
if cancel:
return cancel
filedir = ''
if self.buffer and self.buffer.doc.filedir:
filedir = self.buffer.doc.filedir
result = openSingle(directory=filedir)
if result.path:
self.bufferCreate(result.path)
cancel = False
return cancel
## def bufferPrint(self):
## """Print buffer."""
## pass
## def bufferRevert(self):
## """Revert buffer to version of file on disk."""
## pass
def bufferSave(self):
"""Save buffer to its file."""
if self.buffer.doc.filepath:
self.buffer.save()
cancel = False
else:
cancel = self.bufferSaveAs()
return cancel
def bufferSaveAs(self):
"""Save buffer to a new filename."""
if self.bufferHasChanged() and self.buffer.doc.filepath:
cancel = self.bufferSuggestSave()
if cancel:
return cancel
filedir = ''
if self.buffer and self.buffer.doc.filedir:
filedir = self.buffer.doc.filedir
result = saveSingle(directory=filedir)
if result.path:
self.buffer.saveAs(result.path)
cancel = False
else:
cancel = True
return cancel
def bufferSuggestSave(self):
"""Suggest saving changes. Return True if user selected Cancel."""
result = messageDialog(parent=None,
message='%s has changed.\n'
'Would you like to save it first'
'?' % self.buffer.name,
title='Save current file?')
if result.positive:
cancel = self.bufferSave()
else:
cancel = result.text == 'Cancel'
return cancel
def updateNamespace(self):
"""Update the buffer namespace for autocompletion and calltips."""
if self.buffer.updateNamespace():
self.SetStatusText('Namespace updated')
else:
self.SetStatusText('Error executing, unable to update namespace')
class EditorNotebookFrame(EditorFrame):
"""Frame containing one or more editors in a notebook."""
def __init__(self, parent=None, id=-1, title='PyAlaMode',
pos=wx.DefaultPosition, size=(800, 600),
style=wx.DEFAULT_FRAME_STYLE | wx.NO_FULL_REPAINT_ON_RESIZE,
filename=None):
"""Create EditorNotebookFrame instance."""
self.notebook = None
EditorFrame.__init__(self, parent, id, title, pos,
size, style, filename)
if self.notebook:
dispatcher.connect(receiver=self._editorChange,
signal='EditorChange', sender=self.notebook)
def _setup(self):
"""Setup prior to first buffer creation.
Called automatically by base class during init."""
self.notebook = EditorNotebook(parent=self)
intro = 'Py %s' % version.VERSION
import imp
module = imp.new_module('__main__')
import __builtin__
module.__dict__['__builtins__'] = __builtin__
namespace = module.__dict__.copy()
self.crust = crust.Crust(parent=self.notebook, intro=intro, locals=namespace)
self.shell = self.crust.shell
# Override the filling so that status messages go to the status bar.
self.crust.filling.tree.setStatusText = self.SetStatusText
# Override the shell so that status messages go to the status bar.
self.shell.setStatusText = self.SetStatusText
# Fix a problem with the sash shrinking to nothing.
self.crust.filling.SetSashPosition(200)
self.notebook.AddPage(page=self.crust, text='*Shell*', select=True)
self.setEditor(self.crust.editor)
self.crust.editor.SetFocus()
def _editorChange(self, editor):
"""Editor change signal receiver."""
self.setEditor(editor)
def OnAbout(self, event):
"""Display an About window."""
title = 'About PyAlaMode'
text = 'Another fine, flaky program.'
dialog = wx.MessageDialog(self, text, title,
wx.OK | wx.ICON_INFORMATION)
dialog.ShowModal()
dialog.Destroy()
def _updateTitle(self):
"""Show current title information."""
pass
## title = self.GetTitle()
## if self.bufferHasChanged():
## if title.startswith('* '):
## pass
## else:
## self.SetTitle('* ' + title)
## else:
## if title.startswith('* '):
## self.SetTitle(title[2:])
def bufferCreate(self, filename=None):
"""Create new buffer."""
buffer = Buffer()
panel = wx.Panel(parent=self.notebook, id=-1)
wx.EVT_ERASE_BACKGROUND(panel, lambda x: x)
editor = Editor(parent=panel)
panel.editor = editor
sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(editor.window, 1, wx.EXPAND)
panel.SetSizer(sizer)
panel.SetAutoLayout(True)
sizer.Layout()
buffer.addEditor(editor)
buffer.open(filename)
self.setEditor(editor)
self.notebook.AddPage(page=panel, text=self.buffer.name, select=True)
self.editor.setFocus()
def bufferDestroy(self):
"""Destroy the current buffer."""
selection = self.notebook.GetSelection()
## print "Destroy Selection:", selection
if selection > 0: # Don't destroy the PyCrust tab.
if self.buffer:
del self.buffers[self.buffer.id]
self.buffer = None # Do this before DeletePage().
self.notebook.DeletePage(selection)
def bufferNew(self):
"""Create new buffer."""
self.bufferCreate()
cancel = False
return cancel
def bufferOpen(self):
"""Open file in buffer."""
filedir = ''
if self.buffer and self.buffer.doc.filedir:
filedir = self.buffer.doc.filedir
result = openMultiple(directory=filedir)
for path in result.paths:
self.bufferCreate(path)
cancel = False
return cancel
class EditorNotebook(wx.Notebook):
"""A notebook containing a page for each editor."""
def __init__(self, parent):
"""Create EditorNotebook instance."""
wx.Notebook.__init__(self, parent, id=-1, style=wx.NO_FULL_REPAINT_ON_RESIZE)
wx.EVT_NOTEBOOK_PAGE_CHANGING(self, self.GetId(),
self.OnPageChanging)
wx.EVT_NOTEBOOK_PAGE_CHANGED(self, self.GetId(),
self.OnPageChanged)
wx.EVT_IDLE(self, self.OnIdle)
def OnIdle(self, event):
"""Event handler for idle time."""
self._updateTabText()
event.Skip()
def _updateTabText(self):
"""Show current buffer display name on all but first tab."""
size = 3
changed = ' **'
unchanged = ' --'
selection = self.GetSelection()
if selection < 1:
return
text = self.GetPageText(selection)
window = self.GetPage(selection)
if not window.editor:
return
if text.endswith(changed) or text.endswith(unchanged):
name = text[:-size]
else:
name = text
if name != window.editor.buffer.name:
text = window.editor.buffer.name
if window.editor.buffer.hasChanged():
if text.endswith(changed):
text = None
elif text.endswith(unchanged):
text = text[:-size] + changed
else:
text += changed
else:
if text.endswith(changed):
text = text[:-size] + unchanged
elif text.endswith(unchanged):
text = None
else:
text += unchanged
if text is not None:
self.SetPageText(selection, text)
self.Refresh() # Needed on Win98.
def OnPageChanging(self, event):
"""Page changing event handler."""
event.Skip()
def OnPageChanged(self, event):
"""Page changed event handler."""
new = event.GetSelection()
window = self.GetPage(new)
dispatcher.send(signal='EditorChange', sender=self,
editor=window.editor)
window.SetFocus()
event.Skip()
class EditorShellNotebookFrame(EditorNotebookFrame):
"""Frame containing a notebook containing EditorShellNotebooks."""
def __init__(self, parent=None, id=-1, title='PyAlaModeTest',
pos=wx.DefaultPosition, size=(600, 400),
style=wx.DEFAULT_FRAME_STYLE,
filename=None, singlefile=False):
"""Create EditorShellNotebookFrame instance."""
self._singlefile = singlefile
EditorNotebookFrame.__init__(self, parent, id, title, pos,
size, style, filename)
def _setup(self):
"""Setup prior to first buffer creation.
Called automatically by base class during init."""
if not self._singlefile:
self.notebook = EditorNotebook(parent=self)
def OnAbout(self, event):
"""Display an About window."""
title = 'About PyAlaModePlus'
text = 'Another fine, flaky program.'
dialog = wx.MessageDialog(self, text, title,
wx.OK | wx.ICON_INFORMATION)
dialog.ShowModal()
dialog.Destroy()
def bufferCreate(self, filename=None):
"""Create new buffer."""
if self._singlefile:
self.bufferDestroy()
notebook = EditorShellNotebook(parent=self,
filename=filename)
self.notebook = notebook
else:
notebook = EditorShellNotebook(parent=self.notebook,
filename=filename)
self.setEditor(notebook.editor)
if not self._singlefile:
self.notebook.AddPage(page=notebook, text=self.buffer.name,
select=True)
self.editor.setFocus()
def bufferDestroy(self):
"""Destroy the current buffer."""
if self.buffer:
self.editor = None
del self.buffers[self.buffer.id]
self.buffer = None # Do this before DeletePage().
if self._singlefile:
self.notebook.Destroy()
self.notebook = None
else:
selection = self.notebook.GetSelection()
## print "Destroy Selection:", selection
self.notebook.DeletePage(selection)
def bufferNew(self):
"""Create new buffer."""
if self._singlefile and self.bufferHasChanged():
cancel = self.bufferSuggestSave()
if cancel:
return cancel
self.bufferCreate()
cancel = False
return cancel
def bufferOpen(self):
"""Open file in buffer."""
if self._singlefile and self.bufferHasChanged():
cancel = self.bufferSuggestSave()
if cancel:
return cancel
filedir = ''
if self.buffer and self.buffer.doc.filedir:
filedir = self.buffer.doc.filedir
if self._singlefile:
result = openSingle(directory=filedir)
if result.path:
self.bufferCreate(result.path)
else:
result = openMultiple(directory=filedir)
for path in result.paths:
self.bufferCreate(path)
cancel = False
return cancel
class EditorShellNotebook(wx.Notebook):
"""A notebook containing an editor page and a shell page."""
def __init__(self, parent, filename=None):
"""Create EditorShellNotebook instance."""
wx.Notebook.__init__(self, parent, id=-1)
usePanels = True
if usePanels:
editorparent = editorpanel = wx.Panel(self, -1)
shellparent = shellpanel = wx.Panel(self, -1)
else:
editorparent = self
shellparent = self
self.buffer = Buffer()
self.editor = Editor(parent=editorparent)
self.buffer.addEditor(self.editor)
self.buffer.open(filename)
self.shell = Shell(parent=shellparent, locals=self.buffer.interp.locals,
style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER)
self.buffer.interp.locals.clear()
if usePanels:
self.AddPage(page=editorpanel, text='Editor', select=True)
self.AddPage(page=shellpanel, text='Shell')
# Setup sizers
editorsizer = wx.BoxSizer(wx.VERTICAL)
editorsizer.Add(self.editor.window, 1, wx.EXPAND)
editorpanel.SetSizer(editorsizer)
editorpanel.SetAutoLayout(True)
shellsizer = wx.BoxSizer(wx.VERTICAL)
shellsizer.Add(self.shell, 1, wx.EXPAND)
shellpanel.SetSizer(shellsizer)
shellpanel.SetAutoLayout(True)
else:
self.AddPage(page=self.editor.window, text='Editor', select=True)
self.AddPage(page=self.shell, text='Shell')
self.editor.setFocus()
wx.EVT_NOTEBOOK_PAGE_CHANGED(self, self.GetId(), self.OnPageChanged)
def OnPageChanged(self, event):
"""Page changed event handler."""
selection = event.GetSelection()
if selection == 0:
self.editor.setFocus()
else:
self.shell.SetFocus()
event.Skip()
def SetFocus(self):
wx.Notebook.SetFocus(self)
selection = self.GetSelection()
if selection == 0:
self.editor.setFocus()
else:
self.shell.SetFocus()
class Editor:
"""Editor having an EditWindow."""
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize,
style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER):
"""Create Editor instance."""
self.window = EditWindow(self, parent, id, pos, size, style)
self.id = self.window.GetId()
self.buffer = None
# Assign handlers for keyboard events.
wx.EVT_CHAR(self.window, self.OnChar)
wx.EVT_KEY_DOWN(self.window, self.OnKeyDown)
def _setBuffer(self, buffer, text):
"""Set the editor to a buffer. Private callback called by buffer."""
self.buffer = buffer
self.autoCompleteKeys = buffer.interp.getAutoCompleteKeys()
self.clearAll()
self.setText(text)
self.emptyUndoBuffer()
self.setSavePoint()
def destroy(self):
"""Destroy all editor objects."""
self.window.Destroy()
def clearAll(self):
self.window.ClearAll()
def emptyUndoBuffer(self):
self.window.EmptyUndoBuffer()
def getStatus(self):
"""Return (filepath, line, column) status tuple."""
pos = self.window.GetCurrentPos()
line = self.window.LineFromPosition(pos) + 1
col = self.window.GetColumn(pos)
if self.buffer:
name = self.buffer.doc.filepath or self.buffer.name
else:
name = ''
status = (name, line, col)
return status
def getText(self):
"""Return contents of editor."""
return self.window.GetText()
def hasChanged(self):
"""Return True if contents have changed."""
return self.window.GetModify()
def setFocus(self):
"""Set the input focus to the editor window."""
self.window.SetFocus()
def setSavePoint(self):
self.window.SetSavePoint()
def setText(self, text):
"""Set contents of editor."""
self.window.SetText(text)
def OnChar(self, event):
"""Keypress event handler.
Only receives an event if OnKeyDown calls event.Skip() for the
corresponding event."""
key = event.KeyCode()
if key in self.autoCompleteKeys:
# Usually the dot (period) key activates auto completion.
if self.window.AutoCompActive():
self.window.AutoCompCancel()
self.window.ReplaceSelection('')
self.window.AddText(chr(key))
text, pos = self.window.GetCurLine()
text = text[:pos]
if self.window.autoComplete:
self.autoCompleteShow(text)
elif key == ord('('):
# The left paren activates a call tip and cancels an
# active auto completion.
if self.window.AutoCompActive():
self.window.AutoCompCancel()
self.window.ReplaceSelection('')
self.window.AddText('(')
text, pos = self.window.GetCurLine()
text = text[:pos]
self.autoCallTipShow(text)
else:
# Allow the normal event handling to take place.
event.Skip()
def OnKeyDown(self, event):
"""Key down event handler."""
key = event.KeyCode()
# If the auto-complete window is up let it do its thing.
if self.window.AutoCompActive():
event.Skip()
return
controlDown = event.ControlDown()
altDown = event.AltDown()
shiftDown = event.ShiftDown()
# Let Ctrl-Alt-* get handled normally.
if controlDown and altDown:
event.Skip()
# Increase font size.
elif controlDown and key in (ord(']'),):
dispatcher.send(signal='FontIncrease')
# Decrease font size.
elif controlDown and key in (ord('['),):
dispatcher.send(signal='FontDecrease')
# Default font size.
elif controlDown and key in (ord('='),):
dispatcher.send(signal='FontDefault')
else:
event.Skip()
def autoCompleteShow(self, command):
"""Display auto-completion popup list."""
list = self.buffer.interp.getAutoCompleteList(command,
includeMagic=self.window.autoCompleteIncludeMagic,
includeSingle=self.window.autoCompleteIncludeSingle,
includeDouble=self.window.autoCompleteIncludeDouble)
if list:
options = ' '.join(list)
offset = 0
self.window.AutoCompShow(offset, options)
def autoCallTipShow(self, command):
"""Display argument spec and docstring in a popup window."""
if self.window.CallTipActive():
self.window.CallTipCancel()
(name, argspec, tip) = self.buffer.interp.getCallTip(command)
if tip:
dispatcher.send(signal='Shell.calltip', sender=self, calltip=tip)
if not self.window.autoCallTip:
return
if argspec:
startpos = self.window.GetCurrentPos()
self.window.AddText(argspec + ')')
endpos = self.window.GetCurrentPos()
self.window.SetSelection(endpos, startpos)
if tip:
curpos = self.window.GetCurrentPos()
size = len(name)
tippos = curpos - (size + 1)
fallback = curpos - self.window.GetColumn(curpos)
# In case there isn't enough room, only go back to the
# fallback.
tippos = max(tippos, fallback)
self.window.CallTipShow(tippos, tip)
self.window.CallTipSetHighlight(0, size)
class EditWindow(editwindow.EditWindow):
"""EditWindow based on StyledTextCtrl."""
def __init__(self, editor, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize,
style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER):
"""Create EditWindow instance."""
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
self.editor = editor
class DialogResults:
"""DialogResults class."""
def __init__(self, returned):
"""Create wrapper for results returned by dialog."""
self.returned = returned
self.positive = returned in (wx.ID_OK, wx.ID_YES)
self.text = self._asString()
def __repr__(self):
return str(self.__dict__)
def _asString(self):
returned = self.returned
if returned == wx.ID_OK:
return "Ok"
elif returned == wx.ID_CANCEL:
return "Cancel"
elif returned == wx.ID_YES:
return "Yes"
elif returned == wx.ID_NO:
return "No"
def fileDialog(parent=None, title='Open', directory='', filename='',
wildcard='All Files (*.*)|*.*',
style=wx.OPEN | wx.MULTIPLE):
"""File dialog wrapper function."""
dialog = wx.FileDialog(parent, title, directory, filename,
wildcard, style)
result = DialogResults(dialog.ShowModal())
if result.positive:
result.paths = dialog.GetPaths()
else:
result.paths = []
dialog.Destroy()
return result
def openSingle(parent=None, title='Open', directory='', filename='',
wildcard='All Files (*.*)|*.*', style=wx.OPEN):
"""File dialog wrapper function."""
dialog = wx.FileDialog(parent, title, directory, filename,
wildcard, style)
result = DialogResults(dialog.ShowModal())
if result.positive:
result.path = dialog.GetPath()
else:
result.path = None
dialog.Destroy()
return result
def openMultiple(parent=None, title='Open', directory='', filename='',
wildcard='All Files (*.*)|*.*',
style=wx.OPEN | wx.MULTIPLE):
"""File dialog wrapper function."""
return fileDialog(parent, title, directory, filename, wildcard, style)
def saveSingle(parent=None, title='Save', directory='', filename='',
wildcard='All Files (*.*)|*.*',
style=wx.SAVE | wx.HIDE_READONLY | wx.OVERWRITE_PROMPT):
"""File dialog wrapper function."""
dialog = wx.FileDialog(parent, title, directory, filename,
wildcard, style)
result = DialogResults(dialog.ShowModal())
if result.positive:
result.path = dialog.GetPath()
else:
result.path = None
dialog.Destroy()
return result
def directory(parent=None, message='Choose a directory', path='', style=0,
pos=wx.DefaultPosition, size=wx.DefaultSize):
"""Dir dialog wrapper function."""
dialog = wx.DirDialog(parent, message, path, style, pos, size)
result = DialogResults(dialog.ShowModal())
if result.positive:
result.path = dialog.GetPath()
else:
result.path = None
dialog.Destroy()
return result
def messageDialog(parent=None, message='', title='Message box',
style=wx.YES_NO | wx.CANCEL | wx.CENTRE | wx.ICON_QUESTION,
pos=wx.DefaultPosition):
"""Message dialog wrapper function."""
dialog = wx.MessageDialog(parent, message, title, style, pos)
result = DialogResults(dialog.ShowModal())
dialog.Destroy()
return result

View File

@@ -0,0 +1,199 @@
"""EditWindow class."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from wx import stc
import keyword
import os
import sys
import time
import dispatcher
from version import VERSION
try:
True
except NameError:
True = 1==1
False = 1==0
if wx.Platform == '__WXMSW__':
FACES = { 'times' : 'Times New Roman',
'mono' : 'Courier New',
'helv' : 'Lucida Console',
'lucida' : 'Lucida Console',
'other' : 'Comic Sans MS',
'size' : 10,
'lnsize' : 9,
'backcol': '#FFFFFF',
}
else: # GTK
FACES = { 'times' : 'Times',
'mono' : 'Courier',
'helv' : 'Helvetica',
'other' : 'new century schoolbook',
'size' : 12,
'lnsize' : 10,
'backcol': '#FFFFFF',
}
class EditWindow(stc.StyledTextCtrl):
"""EditWindow based on StyledTextCtrl."""
revision = __revision__
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.CLIP_CHILDREN | wx.SUNKEN_BORDER):
"""Create EditWindow instance."""
stc.StyledTextCtrl.__init__(self, parent, id, pos, size, style)
self.__config()
stc.EVT_STC_UPDATEUI(self, id, self.OnUpdateUI)
dispatcher.connect(receiver=self._fontsizer, signal='FontIncrease')
dispatcher.connect(receiver=self._fontsizer, signal='FontDecrease')
dispatcher.connect(receiver=self._fontsizer, signal='FontDefault')
def _fontsizer(self, signal):
"""Receiver for Font* signals."""
size = self.GetZoom()
if signal == 'FontIncrease':
size += 1
elif signal == 'FontDecrease':
size -= 1
elif signal == 'FontDefault':
size = 0
self.SetZoom(size)
def __config(self):
"""Configure shell based on user preferences."""
self.SetMarginType(1, stc.STC_MARGIN_NUMBER)
self.SetMarginWidth(1, 40)
self.SetLexer(stc.STC_LEX_PYTHON)
self.SetKeyWords(0, ' '.join(keyword.kwlist))
self.setStyles(FACES)
self.SetViewWhiteSpace(False)
self.SetTabWidth(4)
self.SetUseTabs(False)
# Do we want to automatically pop up command completion options?
self.autoComplete = True
self.autoCompleteIncludeMagic = True
self.autoCompleteIncludeSingle = True
self.autoCompleteIncludeDouble = True
self.autoCompleteCaseInsensitive = True
self.AutoCompSetIgnoreCase(self.autoCompleteCaseInsensitive)
self.AutoCompSetAutoHide(False)
self.AutoCompStops(' .,;:([)]}\'"\\<>%^&+-=*/|`')
# Do we want to automatically pop up command argument help?
self.autoCallTip = True
self.CallTipSetBackground(wx.Colour(255, 255, 232))
self.SetWrapMode(False)
try:
self.SetEndAtLastLine(False)
except AttributeError:
pass
def setStyles(self, faces):
"""Configure font size, typeface and color for lexer."""
# Default style
self.StyleSetSpec(stc.STC_STYLE_DEFAULT,
"face:%(mono)s,size:%(size)d,back:%(backcol)s" % \
faces)
self.StyleClearAll()
# Built in styles
self.StyleSetSpec(stc.STC_STYLE_LINENUMBER,
"back:#C0C0C0,face:%(mono)s,size:%(lnsize)d" % faces)
self.StyleSetSpec(stc.STC_STYLE_CONTROLCHAR,
"face:%(mono)s" % faces)
self.StyleSetSpec(stc.STC_STYLE_BRACELIGHT,
"fore:#0000FF,back:#FFFF88")
self.StyleSetSpec(stc.STC_STYLE_BRACEBAD,
"fore:#FF0000,back:#FFFF88")
# Python styles
self.StyleSetSpec(stc.STC_P_DEFAULT,
"face:%(mono)s" % faces)
self.StyleSetSpec(stc.STC_P_COMMENTLINE,
"fore:#007F00,face:%(mono)s" % faces)
self.StyleSetSpec(stc.STC_P_NUMBER,
"")
self.StyleSetSpec(stc.STC_P_STRING,
"fore:#7F007F,face:%(mono)s" % faces)
self.StyleSetSpec(stc.STC_P_CHARACTER,
"fore:#7F007F,face:%(mono)s" % faces)
self.StyleSetSpec(stc.STC_P_WORD,
"fore:#00007F,bold")
self.StyleSetSpec(stc.STC_P_TRIPLE,
"fore:#7F0000")
self.StyleSetSpec(stc.STC_P_TRIPLEDOUBLE,
"fore:#000033,back:#FFFFE8")
self.StyleSetSpec(stc.STC_P_CLASSNAME,
"fore:#0000FF,bold")
self.StyleSetSpec(stc.STC_P_DEFNAME,
"fore:#007F7F,bold")
self.StyleSetSpec(stc.STC_P_OPERATOR,
"")
self.StyleSetSpec(stc.STC_P_IDENTIFIER,
"")
self.StyleSetSpec(stc.STC_P_COMMENTBLOCK,
"fore:#7F7F7F")
self.StyleSetSpec(stc.STC_P_STRINGEOL,
"fore:#000000,face:%(mono)s,back:#E0C0E0,eolfilled" % faces)
def OnUpdateUI(self, event):
"""Check for matching braces."""
# If the auto-complete window is up let it do its thing.
if self.AutoCompActive() or self.CallTipActive():
return
braceAtCaret = -1
braceOpposite = -1
charBefore = None
caretPos = self.GetCurrentPos()
if caretPos > 0:
charBefore = self.GetCharAt(caretPos - 1)
styleBefore = self.GetStyleAt(caretPos - 1)
# Check before.
if charBefore and chr(charBefore) in '[]{}()' \
and styleBefore == stc.STC_P_OPERATOR:
braceAtCaret = caretPos - 1
# Check after.
if braceAtCaret < 0:
charAfter = self.GetCharAt(caretPos)
styleAfter = self.GetStyleAt(caretPos)
if charAfter and chr(charAfter) in '[]{}()' \
and styleAfter == stc.STC_P_OPERATOR:
braceAtCaret = caretPos
if braceAtCaret >= 0:
braceOpposite = self.BraceMatch(braceAtCaret)
if braceAtCaret != -1 and braceOpposite == -1:
self.BraceBadLight(braceAtCaret)
else:
self.BraceHighlight(braceAtCaret, braceOpposite)
def CanCopy(self):
"""Return True if text is selected and can be copied."""
return self.GetSelectionStart() != self.GetSelectionEnd()
def CanCut(self):
"""Return True if text is selected and can be cut."""
return self.CanCopy() and self.CanEdit()
def CanEdit(self):
"""Return True if editing should succeed."""
return not self.GetReadOnly()
def CanPaste(self):
"""Return True if pasting should succeed."""
return stc.StyledTextCtrl.CanPaste(self) and self.CanEdit()

View File

@@ -0,0 +1,337 @@
"""Filling is the gui tree control through which a user can navigate
the local namespace or any object."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import dispatcher
import editwindow
import inspect
import introspect
import keyword
import sys
import types
from version import VERSION
try:
True
except NameError:
True = 1==1
False = 1==0
COMMONTYPES = [getattr(types, t) for t in dir(types) \
if not t.startswith('_') \
and t not in ('ClassType', 'InstanceType', 'ModuleType')]
DOCTYPES = ('BuiltinFunctionType', 'BuiltinMethodType', 'ClassType',
'FunctionType', 'GeneratorType', 'InstanceType',
'LambdaType', 'MethodType', 'ModuleType',
'UnboundMethodType', 'method-wrapper')
SIMPLETYPES = [getattr(types, t) for t in dir(types) \
if not t.startswith('_') and t not in DOCTYPES]
del t
try:
COMMONTYPES.append(type(''.__repr__)) # Method-wrapper in version 2.2.x.
except AttributeError:
pass
class FillingTree(wx.TreeCtrl):
"""FillingTree based on TreeCtrl."""
name = 'Filling Tree'
revision = __revision__
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.TR_DEFAULT_STYLE,
rootObject=None, rootLabel=None, rootIsNamespace=False,
static=False):
"""Create FillingTree instance."""
wx.TreeCtrl.__init__(self, parent, id, pos, size, style)
self.rootIsNamespace = rootIsNamespace
import __main__
if rootObject is None:
rootObject = __main__.__dict__
self.rootIsNamespace = True
if rootObject is __main__.__dict__ and rootLabel is None:
rootLabel = 'locals()'
if not rootLabel:
rootLabel = 'Ingredients'
rootData = wx.TreeItemData(rootObject)
self.item = self.root = self.AddRoot(rootLabel, -1, -1, rootData)
self.SetItemHasChildren(self.root, self.objHasChildren(rootObject))
wx.EVT_TREE_ITEM_EXPANDING(self, self.GetId(), self.OnItemExpanding)
wx.EVT_TREE_ITEM_COLLAPSED(self, self.GetId(), self.OnItemCollapsed)
wx.EVT_TREE_SEL_CHANGED(self, self.GetId(), self.OnSelChanged)
wx.EVT_TREE_ITEM_ACTIVATED(self, self.GetId(), self.OnItemActivated)
if not static:
dispatcher.connect(receiver=self.push, signal='Interpreter.push')
def push(self, command, more):
"""Receiver for Interpreter.push signal."""
self.display()
def OnItemExpanding(self, event):
"""Add children to the item."""
busy = wx.BusyCursor()
item = event.GetItem()
if self.IsExpanded(item):
return
self.addChildren(item)
# self.SelectItem(item)
def OnItemCollapsed(self, event):
"""Remove all children from the item."""
busy = wx.BusyCursor()
item = event.GetItem()
# self.CollapseAndReset(item)
# self.DeleteChildren(item)
# self.SelectItem(item)
def OnSelChanged(self, event):
"""Display information about the item."""
busy = wx.BusyCursor()
self.item = event.GetItem()
self.display()
def OnItemActivated(self, event):
"""Launch a DirFrame."""
item = event.GetItem()
text = self.getFullName(item)
obj = self.GetPyData(item)
frame = FillingFrame(parent=self, size=(600, 100), rootObject=obj,
rootLabel=text, rootIsNamespace=False)
frame.Show()
def objHasChildren(self, obj):
"""Return true if object has children."""
if self.objGetChildren(obj):
return True
else:
return False
def objGetChildren(self, obj):
"""Return dictionary with attributes or contents of object."""
busy = wx.BusyCursor()
otype = type(obj)
if otype is types.DictType \
or str(otype)[17:23] == 'BTrees' and hasattr(obj, 'keys'):
return obj
d = {}
if otype is types.ListType or otype is types.TupleType:
for n in range(len(obj)):
key = '[' + str(n) + ']'
d[key] = obj[n]
if otype not in COMMONTYPES:
for key in introspect.getAttributeNames(obj):
# Believe it or not, some attributes can disappear,
# such as the exc_traceback attribute of the sys
# module. So this is nested in a try block.
try:
d[key] = getattr(obj, key)
except:
pass
return d
def addChildren(self, item):
self.DeleteChildren(item)
obj = self.GetPyData(item)
children = self.objGetChildren(obj)
if not children:
return
keys = children.keys()
keys.sort(lambda x, y: cmp(str(x).lower(), str(y).lower()))
for key in keys:
itemtext = str(key)
# Show string dictionary items with single quotes, except
# for the first level of items, if they represent a
# namespace.
if type(obj) is types.DictType \
and type(key) is types.StringType \
and (item != self.root \
or (item == self.root and not self.rootIsNamespace)):
itemtext = repr(key)
child = children[key]
data = wx.TreeItemData(child)
branch = self.AppendItem(parent=item, text=itemtext, data=data)
self.SetItemHasChildren(branch, self.objHasChildren(child))
def display(self):
item = self.item
if self.IsExpanded(item):
self.addChildren(item)
self.setText('')
obj = self.GetPyData(item)
if wx.Platform == '__WXMSW__':
if obj is None: # Windows bug fix.
return
self.SetItemHasChildren(item, self.objHasChildren(obj))
otype = type(obj)
text = ''
text += self.getFullName(item)
text += '\n\nType: ' + str(otype)
try:
value = str(obj)
except:
value = ''
if otype is types.StringType or otype is types.UnicodeType:
value = repr(obj)
text += '\n\nValue: ' + value
if otype not in SIMPLETYPES:
try:
text += '\n\nDocstring:\n\n"""' + \
inspect.getdoc(obj).strip() + '"""'
except:
pass
if otype is types.InstanceType:
try:
text += '\n\nClass Definition:\n\n' + \
inspect.getsource(obj.__class__)
except:
pass
else:
try:
text += '\n\nSource Code:\n\n' + \
inspect.getsource(obj)
except:
pass
self.setText(text)
def getFullName(self, item, partial=''):
"""Return a syntactically proper name for item."""
name = self.GetItemText(item)
parent = None
obj = None
if item != self.root:
parent = self.GetItemParent(item)
obj = self.GetPyData(parent)
# Apply dictionary syntax to dictionary items, except the root
# and first level children of a namepace.
if (type(obj) is types.DictType \
or str(type(obj))[17:23] == 'BTrees' \
and hasattr(obj, 'keys')) \
and ((item != self.root and parent != self.root) \
or (parent == self.root and not self.rootIsNamespace)):
name = '[' + name + ']'
# Apply dot syntax to multipart names.
if partial:
if partial[0] == '[':
name += partial
else:
name += '.' + partial
# Repeat for everything but the root item
# and first level children of a namespace.
if (item != self.root and parent != self.root) \
or (parent == self.root and not self.rootIsNamespace):
name = self.getFullName(parent, partial=name)
return name
def setText(self, text):
"""Display information about the current selection."""
# This method will likely be replaced by the enclosing app to
# do something more interesting, like write to a text control.
print text
def setStatusText(self, text):
"""Display status information."""
# This method will likely be replaced by the enclosing app to
# do something more interesting, like write to a status bar.
print text
class FillingText(editwindow.EditWindow):
"""FillingText based on StyledTextCtrl."""
name = 'Filling Text'
revision = __revision__
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.CLIP_CHILDREN,
static=False):
"""Create FillingText instance."""
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
# Configure various defaults and user preferences.
self.SetReadOnly(True)
self.SetWrapMode(True)
self.SetMarginWidth(1, 0)
if not static:
dispatcher.connect(receiver=self.push, signal='Interpreter.push')
def push(self, command, more):
"""Receiver for Interpreter.push signal."""
self.Refresh()
def SetText(self, *args, **kwds):
self.SetReadOnly(False)
editwindow.EditWindow.SetText(self, *args, **kwds)
self.SetReadOnly(True)
class Filling(wx.SplitterWindow):
"""Filling based on wxSplitterWindow."""
name = 'Filling'
revision = __revision__
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.SP_3D,
name='Filling Window', rootObject=None,
rootLabel=None, rootIsNamespace=False, static=False):
"""Create a Filling instance."""
wx.SplitterWindow.__init__(self, parent, id, pos, size, style, name)
self.tree = FillingTree(parent=self, rootObject=rootObject,
rootLabel=rootLabel,
rootIsNamespace=rootIsNamespace,
static=static)
self.text = FillingText(parent=self, static=static)
self.SplitVertically(self.tree, self.text, 130)
self.SetMinimumPaneSize(1)
# Override the filling so that descriptions go to FillingText.
self.tree.setText = self.text.SetText
# Display the root item.
## self.tree.SelectItem(self.tree.root)
self.tree.display()
class FillingFrame(wx.Frame):
"""Frame containing the namespace tree component."""
name = 'Filling Frame'
revision = __revision__
def __init__(self, parent=None, id=-1, title='PyFilling',
pos=wx.DefaultPosition, size=(600, 400),
style=wx.DEFAULT_FRAME_STYLE, rootObject=None,
rootLabel=None, rootIsNamespace=False, static=False):
"""Create FillingFrame instance."""
wx.Frame.__init__(self, parent, id, title, pos, size, style)
intro = 'PyFilling - The Tastiest Namespace Inspector'
self.CreateStatusBar()
self.SetStatusText(intro)
import images
self.SetIcon(images.getPyIcon())
self.filling = Filling(parent=self, rootObject=rootObject,
rootLabel=rootLabel,
rootIsNamespace=rootIsNamespace,
static=static)
# Override so that status messages go to the status bar.
self.filling.tree.setStatusText = self.SetStatusText
class App(wx.App):
"""PyFilling standalone application."""
def OnInit(self):
wx.InitAllImageHandlers()
self.fillingFrame = FillingFrame()
self.fillingFrame.Show(True)
self.SetTopWindow(self.fillingFrame)
return True

View File

@@ -0,0 +1,354 @@
"""Base frame with menu."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
from version import VERSION
try:
True
except NameError:
True = 1==1
False = 1==0
ID_NEW = wx.ID_NEW
ID_OPEN = wx.ID_OPEN
ID_REVERT = wx.ID_REVERT
ID_CLOSE = wx.ID_CLOSE
ID_SAVE = wx.ID_SAVE
ID_SAVEAS = wx.ID_SAVEAS
ID_PRINT = wx.ID_PRINT
ID_EXIT = wx.ID_EXIT
ID_UNDO = wx.ID_UNDO
ID_REDO = wx.ID_REDO
ID_CUT = wx.ID_CUT
ID_COPY = wx.ID_COPY
ID_PASTE = wx.ID_PASTE
ID_CLEAR = wx.ID_CLEAR
ID_SELECTALL = wx.ID_SELECTALL
ID_ABOUT = wx.ID_ABOUT
ID_AUTOCOMP = wx.NewId()
ID_AUTOCOMP_SHOW = wx.NewId()
ID_AUTOCOMP_MAGIC = wx.NewId()
ID_AUTOCOMP_SINGLE = wx.NewId()
ID_AUTOCOMP_DOUBLE = wx.NewId()
ID_CALLTIPS = wx.NewId()
ID_CALLTIPS_SHOW = wx.NewId()
ID_COPY_PLUS = wx.NewId()
ID_NAMESPACE = wx.NewId()
ID_PASTE_PLUS = wx.NewId()
ID_WRAP = wx.NewId()
class Frame(wx.Frame):
"""Frame with standard menu items."""
revision = __revision__
def __init__(self, parent=None, id=-1, title='Editor',
pos=wx.DefaultPosition, size=wx.DefaultSize,
style=wx.DEFAULT_FRAME_STYLE):
"""Create a Frame instance."""
wx.Frame.__init__(self, parent, id, title, pos, size, style)
self.CreateStatusBar()
self.SetStatusText('Frame')
import images
self.SetIcon(images.getPyIcon())
self.__createMenus()
wx.EVT_CLOSE(self, self.OnClose)
def OnClose(self, event):
"""Event handler for closing."""
self.Destroy()
def __createMenus(self):
m = self.fileMenu = wx.Menu()
m.Append(ID_NEW, '&New \tCtrl+N',
'New file')
m.Append(ID_OPEN, '&Open... \tCtrl+O',
'Open file')
m.AppendSeparator()
m.Append(ID_REVERT, '&Revert \tCtrl+R',
'Revert to last saved version')
m.Append(ID_CLOSE, '&Close \tCtrl+W',
'Close file')
m.AppendSeparator()
m.Append(ID_SAVE, '&Save... \tCtrl+S',
'Save file')
m.Append(ID_SAVEAS, 'Save &As \tShift+Ctrl+S',
'Save file with new name')
m.AppendSeparator()
m.Append(ID_PRINT, '&Print... \tCtrl+P',
'Print file')
m.AppendSeparator()
m.Append(ID_NAMESPACE, '&Update Namespace \tShift+Ctrl+N',
'Update namespace for autocompletion and calltips')
m.AppendSeparator()
m.Append(ID_EXIT, 'E&xit', 'Exit Program')
m = self.editMenu = wx.Menu()
m.Append(ID_UNDO, '&Undo \tCtrl+Z',
'Undo the last action')
m.Append(ID_REDO, '&Redo \tCtrl+Y',
'Redo the last undone action')
m.AppendSeparator()
m.Append(ID_CUT, 'Cu&t \tCtrl+X',
'Cut the selection')
m.Append(ID_COPY, '&Copy \tCtrl+C',
'Copy the selection')
m.Append(ID_COPY_PLUS, 'Cop&y Plus \tShift+Ctrl+C',
'Copy the selection - retaining prompts')
m.Append(ID_PASTE, '&Paste \tCtrl+V', 'Paste from clipboard')
m.Append(ID_PASTE_PLUS, 'Past&e Plus \tShift+Ctrl+V',
'Paste and run commands')
m.AppendSeparator()
m.Append(ID_CLEAR, 'Cle&ar',
'Delete the selection')
m.Append(ID_SELECTALL, 'Select A&ll \tCtrl+A',
'Select all text')
m = self.autocompMenu = wx.Menu()
m.Append(ID_AUTOCOMP_SHOW, 'Show Auto Completion',
'Show auto completion list', 1)
m.Append(ID_AUTOCOMP_MAGIC, 'Include Magic Attributes',
'Include attributes visible to __getattr__ and __setattr__',
1)
m.Append(ID_AUTOCOMP_SINGLE, 'Include Single Underscores',
'Include attibutes prefixed by a single underscore', 1)
m.Append(ID_AUTOCOMP_DOUBLE, 'Include Double Underscores',
'Include attibutes prefixed by a double underscore', 1)
m = self.calltipsMenu = wx.Menu()
m.Append(ID_CALLTIPS_SHOW, 'Show Call Tips',
'Show call tips with argument signature and docstring', 1)
m = self.optionsMenu = wx.Menu()
m.AppendMenu(ID_AUTOCOMP, '&Auto Completion', self.autocompMenu,
'Auto Completion Options')
m.AppendMenu(ID_CALLTIPS, '&Call Tips', self.calltipsMenu,
'Call Tip Options')
m.Append(ID_WRAP, '&Wrap Lines',
'Wrap lines at right edge', 1)
m = self.helpMenu = wx.Menu()
m.AppendSeparator()
m.Append(ID_ABOUT, '&About...', 'About this program')
b = self.menuBar = wx.MenuBar()
b.Append(self.fileMenu, '&File')
b.Append(self.editMenu, '&Edit')
b.Append(self.optionsMenu, '&Options')
b.Append(self.helpMenu, '&Help')
self.SetMenuBar(b)
wx.EVT_MENU(self, ID_NEW, self.OnFileNew)
wx.EVT_MENU(self, ID_OPEN, self.OnFileOpen)
wx.EVT_MENU(self, ID_REVERT, self.OnFileRevert)
wx.EVT_MENU(self, ID_CLOSE, self.OnFileClose)
wx.EVT_MENU(self, ID_SAVE, self.OnFileSave)
wx.EVT_MENU(self, ID_SAVEAS, self.OnFileSaveAs)
wx.EVT_MENU(self, ID_NAMESPACE, self.OnFileUpdateNamespace)
wx.EVT_MENU(self, ID_PRINT, self.OnFilePrint)
wx.EVT_MENU(self, ID_EXIT, self.OnExit)
wx.EVT_MENU(self, ID_UNDO, self.OnUndo)
wx.EVT_MENU(self, ID_REDO, self.OnRedo)
wx.EVT_MENU(self, ID_CUT, self.OnCut)
wx.EVT_MENU(self, ID_COPY, self.OnCopy)
wx.EVT_MENU(self, ID_COPY_PLUS, self.OnCopyPlus)
wx.EVT_MENU(self, ID_PASTE, self.OnPaste)
wx.EVT_MENU(self, ID_PASTE_PLUS, self.OnPastePlus)
wx.EVT_MENU(self, ID_CLEAR, self.OnClear)
wx.EVT_MENU(self, ID_SELECTALL, self.OnSelectAll)
wx.EVT_MENU(self, ID_ABOUT, self.OnAbout)
wx.EVT_MENU(self, ID_AUTOCOMP_SHOW, self.OnAutoCompleteShow)
wx.EVT_MENU(self, ID_AUTOCOMP_MAGIC, self.OnAutoCompleteMagic)
wx.EVT_MENU(self, ID_AUTOCOMP_SINGLE, self.OnAutoCompleteSingle)
wx.EVT_MENU(self, ID_AUTOCOMP_DOUBLE, self.OnAutoCompleteDouble)
wx.EVT_MENU(self, ID_CALLTIPS_SHOW, self.OnCallTipsShow)
wx.EVT_MENU(self, ID_WRAP, self.OnWrap)
wx.EVT_UPDATE_UI(self, ID_NEW, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_OPEN, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_REVERT, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_CLOSE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_SAVE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_SAVEAS, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_NAMESPACE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_PRINT, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_UNDO, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_REDO, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_CUT, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_COPY, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_COPY_PLUS, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_PASTE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_PASTE_PLUS, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_CLEAR, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_SELECTALL, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_AUTOCOMP_SHOW, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_AUTOCOMP_MAGIC, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_AUTOCOMP_SINGLE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_AUTOCOMP_DOUBLE, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_CALLTIPS_SHOW, self.OnUpdateMenu)
wx.EVT_UPDATE_UI(self, ID_WRAP, self.OnUpdateMenu)
def OnFileNew(self, event):
self.bufferNew()
def OnFileOpen(self, event):
self.bufferOpen()
def OnFileRevert(self, event):
self.bufferRevert()
def OnFileClose(self, event):
self.bufferClose()
def OnFileSave(self, event):
self.bufferSave()
def OnFileSaveAs(self, event):
self.bufferSaveAs()
def OnFileUpdateNamespace(self, event):
self.updateNamespace()
def OnFilePrint(self, event):
self.bufferPrint()
def OnExit(self, event):
self.Close(False)
def OnUndo(self, event):
win = wx.Window_FindFocus()
win.Undo()
def OnRedo(self, event):
win = wx.Window_FindFocus()
win.Redo()
def OnCut(self, event):
win = wx.Window_FindFocus()
win.Cut()
def OnCopy(self, event):
win = wx.Window_FindFocus()
win.Copy()
def OnCopyPlus(self, event):
win = wx.Window_FindFocus()
win.CopyWithPrompts()
def OnPaste(self, event):
win = wx.Window_FindFocus()
win.Paste()
def OnPastePlus(self, event):
win = wx.Window_FindFocus()
win.PasteAndRun()
def OnClear(self, event):
win = wx.Window_FindFocus()
win.Clear()
def OnSelectAll(self, event):
win = wx.Window_FindFocus()
win.SelectAll()
def OnAbout(self, event):
"""Display an About window."""
title = 'About'
text = 'Your message here.'
dialog = wx.MessageDialog(self, text, title,
wx.OK | wx.ICON_INFORMATION)
dialog.ShowModal()
dialog.Destroy()
def OnAutoCompleteShow(self, event):
win = wx.Window_FindFocus()
win.autoComplete = event.IsChecked()
def OnAutoCompleteMagic(self, event):
win = wx.Window_FindFocus()
win.autoCompleteIncludeMagic = event.IsChecked()
def OnAutoCompleteSingle(self, event):
win = wx.Window_FindFocus()
win.autoCompleteIncludeSingle = event.IsChecked()
def OnAutoCompleteDouble(self, event):
win = wx.Window_FindFocus()
win.autoCompleteIncludeDouble = event.IsChecked()
def OnCallTipsShow(self, event):
win = wx.Window_FindFocus()
win.autoCallTip = event.IsChecked()
def OnWrap(self, event):
win = wx.Window_FindFocus()
win.SetWrapMode(event.IsChecked())
def OnUpdateMenu(self, event):
"""Update menu items based on current status and context."""
win = wx.Window_FindFocus()
id = event.GetId()
event.Enable(True)
try:
if id == ID_NEW:
event.Enable(hasattr(self, 'bufferNew'))
elif id == ID_OPEN:
event.Enable(hasattr(self, 'bufferOpen'))
elif id == ID_REVERT:
event.Enable(hasattr(self, 'bufferRevert')
and self.hasBuffer())
elif id == ID_CLOSE:
event.Enable(hasattr(self, 'bufferClose')
and self.hasBuffer())
elif id == ID_SAVE:
event.Enable(hasattr(self, 'bufferSave')
and self.bufferHasChanged())
elif id == ID_SAVEAS:
event.Enable(hasattr(self, 'bufferSaveAs')
and self.hasBuffer())
elif id == ID_NAMESPACE:
event.Enable(hasattr(self, 'updateNamespace')
and self.hasBuffer())
elif id == ID_PRINT:
event.Enable(hasattr(self, 'bufferPrint')
and self.hasBuffer())
elif id == ID_UNDO:
event.Enable(win.CanUndo())
elif id == ID_REDO:
event.Enable(win.CanRedo())
elif id == ID_CUT:
event.Enable(win.CanCut())
elif id == ID_COPY:
event.Enable(win.CanCopy())
elif id == ID_COPY_PLUS:
event.Enable(win.CanCopy() and hasattr(win, 'CopyWithPrompts'))
elif id == ID_PASTE:
event.Enable(win.CanPaste())
elif id == ID_PASTE_PLUS:
event.Enable(win.CanPaste() and hasattr(win, 'PasteAndRun'))
elif id == ID_CLEAR:
event.Enable(win.CanCut())
elif id == ID_SELECTALL:
event.Enable(hasattr(win, 'SelectAll'))
elif id == ID_AUTOCOMP_SHOW:
event.Check(win.autoComplete)
elif id == ID_AUTOCOMP_MAGIC:
event.Check(win.autoCompleteIncludeMagic)
elif id == ID_AUTOCOMP_SINGLE:
event.Check(win.autoCompleteIncludeSingle)
elif id == ID_AUTOCOMP_DOUBLE:
event.Check(win.autoCompleteIncludeDouble)
elif id == ID_CALLTIPS_SHOW:
event.Check(win.autoCallTip)
elif id == ID_WRAP:
event.Check(win.GetWrapMode())
else:
event.Enable(False)
except AttributeError:
# This menu option is not supported in the current context.
event.Enable(False)

View File

@@ -0,0 +1,72 @@
"""Support for icons."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
import cStringIO
def getPyIcon():
icon = wx.EmptyIcon()
icon.CopyFromBitmap(getPyBitmap())
return icon
def getPyBitmap():
return wx.BitmapFromImage(getPyImage())
def getPyImage():
stream = cStringIO.StringIO(getPyData())
return wx.ImageFromStream(stream)
def getPyData():
return \
'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \x08\x06\x00\
\x00\x00szz\xf4\x00\x00\x00\x04sBIT\x08\x08\x08\x08|\x08d\x88\x00\x00\x04\
\x95IDATx\x9c\xed\x97?lSG\x1c\xc7?\x97\x98\xd8Q\xa3\xdeY\xa2j\x06\xa4\xf7"QJ\
\xbb<3@\x01\xa9\xc2\x0c\xa8!\x1d\x1c6\xcaB\xa8D[uI2\xf4\x8f\xe8\x103\xb4\xa2\
,5\x0b\x03\x032C\xab\xc0\x92dh:t\xc0)*E\xcd@<Q\x01Rl\t\xd4D\xaa\xe4{R\xd0{&\
\xa5\xd7\xe1\xfc\xec\xe7\xfciR\x08e\xe9O\xb2\xee|\xfe\xbd\xfb}~\xdf\xdf\xbd\
\xbb\xb3PJ\xf1"\xad\xe3\x85F\xff\x1f\xe0y\x03h\xad\xcdA\xc7~\xb4\xd6f-\x9f\
\xc4\xf3\x0c>Y\x1c#\x97\xddCUk\xf4B\x8d3\x9f\x8d\x9a\x9bU%\xe2~b\xab\xdf\x82\
\x83N+\xd3\xe92\\\x1f\xcf\x93\xdd\x9f\xa1\xaa5\x95\xf9\n\xe7\xf3y\xe2\x10[V\
\x82H\xe6\xd3G\x1dN\xf7\xc3\xa7\xc7a\xc0\x83\xc3\xc7\xf3\xcc\xcc\xcd\xe3(\
\x85\xdb\xe7\xf2\xc9\xe8X\x1b\xe43+\x10\xd5\xb6\x94\x87Z\xe8\x90NU\x91I@\x00\
\x06\xbe\x18\xb7J\x98\xca$`\x98\xb9]&{,\x8fRV\x85\xa7V@k\x9bq)o\x83+\t\xe9T\
\xd5f\x95\x02\x91\xb4~_\r\xd9\xb6\xbaP\x03\x04n\x9f\xcbDa\xb8\t\xfe\xaf\x17a\
<\xe3\xc8\x94lo\x9b\xd6\xa8\xf4\x80\x07\xb7o\xcd\xe0\x0c\x0e\xa2R\x8a\xb4\
\x93n\xbal\x1a`e\xe0U\xc1\xd6\xb0\xb8\n\x99\x91"\x93\xaf\xba\xe4\x0ed\xda|6,\
\x81\xd6\xda\x9c|\xab]\xea\xcd\x04\x8f\x9b\t\xad\nz\xa1\x02\x80\xdb\xe7R\x1a\
\xcf\xa3\xb56\xeb\x02D5\x9e\xf8\xdc\xe1T\xff\xd3\x05\x8e\x82\x83U\xe1Z\xb1\
\x18\x9b\xbf\x06\xacQ\x82H\xea\x01/Z@Ut\x08R\xb4$}\x16\xd3\x81A&%\xde\xee\
\xbev\x80x\xe0]{\xb2\x1cR\xa5\xe6C*\xb5\xf1\xc4Q\xa6"e\xfbQ\x1b\x8dE\xe6\x87\
>\xaa[Q\xadi\x0b\xb0r\x8f\x9e.\xc3t\xb9\xc4]\xaf5\xf6\xfe\xdb\xddt&\x02\xfa\
\x9c\xf5\x01\xe2A\xa2\xbeX\x01>]ntR\x12\xe3[\x00\x01\x98\x89\x11[_\xed\xafn\
\xab\x81U\xa0\xe7I7\x00\x97o\x04\xcd\x89\x06<;\xe9\x80\x07]i\x97\xc17\x1f\
\xd2\xd3\x91`\xe9\xaf?\x01p^Y\x06Z\n\xfau8?a\xfb]i\x97\xec\xa1\x8c\x05(|\xd8\
N\xba\xb3\xab\x87\xfb\x8f\x97\xd8\xd9\xd5\x03\xc0\xfd\xc7K\xec\xd8\xd6\xdd\
\xfc\xfd\xc1r\xd0\xf4\x01\xda~\x03H\xf4\x04\xd4j :\xb75\xc7\xae\xfd\xbcLW\
\xda\xa5\xf0M\x1e\t\xcc\xcc\xcdq\xa9P@\x8c\xf5fL\xdaHF\x16g\x9a\x19\xad\xcc\
\xee\xcb\xa3\n\xad\xa1\xda\xf1\x08\xef\xe5\x97x\xf8\xc8f\xf8\xc7\x93:\xdb;\
\x93M\xc8\x08j\xc7\xb6n\x1e,\x07m`\x97o\x04|;>\xd1T\xc4\x17\x8a\x13\xb9\xc3\
\x88\x01\x0fs\xa4\x9cc}\xf3A\x190\x82\x1f\xddR{-\x1bV\xfc\xd8f\xba\xbd3\xd9\
\x06\x15\x07\xbb\xf8\xd3\x12\xdf]-"\x93\xb2\xb1C*\xde\xcd\x1d\xde\xccN(\xc1\
\xae\x17"\xd0#+<j\x17m{\xcd\x9bj\x00.\xaf\xf0Xb\xb8\xdfA\xa6\x14\x18\x03\x06\
\xb4o\xcf\x8d\xc4\xbervc\x86M\xdaz\x80\x00\x95T\x19?\xd0 @&%~c\xbc\xe3W\xaf\
\xb4e\x00\xffh\xc6@\xbd\x11\xbc\xde\x1a\xfe\xef.\xa5\xa2q4\n0\x81\xad\xe9\
\xae7<\x12\xaf\xf5\xc2hy\xaa\xe97\x9cS\\\x98\xb2\x0e\x03\xb1\xcdhW\xdaC\x1a\
\xa0\xa2\xa0\x0e"\x14`\xb0Y\x85\x1b\x1f\x12\xaa7\x03)\xd9\x84\xa8\xccW\xb8{\
\xa7L\xe2\xde\x02\x94\xc6Gp_\xcf\x80\x90\x98\xd0g\xf4\xac\x82Pc\x82\x1a\xd5\
\x10\x08}&\xa7J\xcc\xde.1]m\x80\xf6+\xee\xfd\xae\x9bo\xc4\xf0;\x80\xef\x90\
\x0e\x04\x06`Q!\x02\x05\xc2 \xb5\xc2\x95\x15d\xb4C&[\xf7\xd2\x04\x80\xbb\xdb\
\x9e\xd1\x8e\x02\x90\xd8\xd4$ I\x87\x80\xf1\xf1\xdc!4\xc3\x88\x94}\xd8,TH\
\xbb.5m\xf0C\x9f3\x1f\r\x01\x96.\x82\x1a9\xe9Q\xb8\xd2\xf8\xf25\x0c\xbe\xe7#\
\x92\x12\x1d[\x03\t\x00E\xf4\xa6\t\xaaZ7`$\x18\x90\xf8\xf8\x80JK\x94\xa1\x01\
\x07\xb8\x0e~X\xc3\xed\x16\xf8)\xf8~j\x12B\rI\x89_\xf7!0 \x04\xf9Q\xc0\x18\
\x0c\xd1i\xea\x13\xb7\x04\xc0\x89\x93C\xabj\xb6\xf7@\x96\xd9_J|0:\x86R\n\xb7\
\xd7@\xaa%\x9d\xa3$\xba.\x90RA]\xe3\x87\x1a\x89\xdd\xefeR\xc2\x1a\'\xa8\x1f\
\x82\x0e-@m\xd1\xde\x076\xbc\x15\x97~(\x9a\x89b\x9e\xd9[s\xab!\xf7g\xd6\x1c\
\x8f\xdb\xbel\x8e\xa1S\xc7\xda\xc6\xe6\xee\xccs\xe9\xdcYnV\x95\xd8\xf2?&q+\
\x9c\x1b1\xf3\xbf\xcd3{\xfdJ\xdb\xf8\xde\xfd\x19.\\\xad\x08\x80\xbf\x01\xd1\
\x86\xfa\x8b\xc7\xc0\xc8\xb7\x00\x00\x00\x00IEND\xaeB`\x82'

View File

@@ -0,0 +1,125 @@
"""Interpreter executes Python commands."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import os
import sys
from code import InteractiveInterpreter
import dispatcher
import introspect
try:
True
except NameError:
True = 1==1
False = 1==0
class Interpreter(InteractiveInterpreter):
"""Interpreter based on code.InteractiveInterpreter."""
revision = __revision__
def __init__(self, locals=None, rawin=None,
stdin=sys.stdin, stdout=sys.stdout, stderr=sys.stderr):
"""Create an interactive interpreter object."""
InteractiveInterpreter.__init__(self, locals=locals)
self.stdin = stdin
self.stdout = stdout
self.stderr = stderr
if rawin:
import __builtin__
__builtin__.raw_input = rawin
del __builtin__
copyright = 'Type "help", "copyright", "credits" or "license"'
copyright += ' for more information.'
self.introText = 'Python %s on %s%s%s' % \
(sys.version, sys.platform, os.linesep, copyright)
try:
sys.ps1
except AttributeError:
sys.ps1 = '>>> '
try:
sys.ps2
except AttributeError:
sys.ps2 = '... '
self.more = 0
# List of lists to support recursive push().
self.commandBuffer = []
self.startupScript = os.environ.get('PYTHONSTARTUP')
def push(self, command):
"""Send command to the interpreter to be executed.
Because this may be called recursively, we append a new list
onto the commandBuffer list and then append commands into
that. If the passed in command is part of a multi-line
command we keep appending the pieces to the last list in
commandBuffer until we have a complete command. If not, we
delete that last list."""
command = str(command) # In case the command is unicode.
if not self.more:
try: del self.commandBuffer[-1]
except IndexError: pass
if not self.more: self.commandBuffer.append([])
self.commandBuffer[-1].append(command)
source = '\n'.join(self.commandBuffer[-1])
more = self.more = self.runsource(source)
dispatcher.send(signal='Interpreter.push', sender=self,
command=command, more=more, source=source)
return more
def runsource(self, source):
"""Compile and run source code in the interpreter."""
stdin, stdout, stderr = sys.stdin, sys.stdout, sys.stderr
sys.stdin, sys.stdout, sys.stderr = \
self.stdin, self.stdout, self.stderr
more = InteractiveInterpreter.runsource(self, source)
# If sys.std* is still what we set it to, then restore it.
# But, if the executed source changed sys.std*, assume it was
# meant to be changed and leave it. Power to the people.
if sys.stdin == self.stdin:
sys.stdin = stdin
if sys.stdout == self.stdout:
sys.stdout = stdout
if sys.stderr == self.stderr:
sys.stderr = stderr
return more
def getAutoCompleteKeys(self):
"""Return list of auto-completion keycodes."""
return [ord('.')]
def getAutoCompleteList(self, command='', *args, **kwds):
"""Return list of auto-completion options for a command.
The list of options will be based on the locals namespace."""
stdin, stdout, stderr = sys.stdin, sys.stdout, sys.stderr
sys.stdin, sys.stdout, sys.stderr = \
self.stdin, self.stdout, self.stderr
l = introspect.getAutoCompleteList(command, self.locals,
*args, **kwds)
sys.stdin, sys.stdout, sys.stderr = stdin, stdout, stderr
return l
def getCallTip(self, command='', *args, **kwds):
"""Return call tip text for a command.
Call tip information will be based on the locals namespace."""
return introspect.getCallTip(command, self.locals, *args, **kwds)
class InterpreterAlaCarte(Interpreter):
"""Demo Interpreter."""
def __init__(self, locals, rawin, stdin, stdout, stderr,
ps1='main prompt', ps2='continuation prompt'):
"""Create an interactive interpreter object."""
Interpreter.__init__(self, locals=locals, rawin=rawin,
stdin=stdin, stdout=stdout, stderr=stderr)
sys.ps1 = ps1
sys.ps2 = ps2

View File

@@ -0,0 +1,363 @@
"""Provides a variety of introspective-type support functions for
things like call tips and command auto completion."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from __future__ import nested_scopes
import cStringIO
import inspect
import sys
import tokenize
import types
try:
True
except NameError:
True = 1==1
False = 1==0
def getAutoCompleteList(command='', locals=None, includeMagic=1,
includeSingle=1, includeDouble=1):
"""Return list of auto-completion options for command.
The list of options will be based on the locals namespace."""
attributes = []
# Get the proper chunk of code from the command.
root = getRoot(command, terminator='.')
try:
if locals is not None:
object = eval(root, locals)
else:
object = eval(root)
except:
pass
else:
attributes = getAttributeNames(object, includeMagic,
includeSingle, includeDouble)
return attributes
def getAttributeNames(object, includeMagic=1, includeSingle=1,
includeDouble=1):
"""Return list of unique attributes, including inherited, for object."""
attributes = []
dict = {}
if not hasattrAlwaysReturnsTrue(object):
# Add some attributes that don't always get picked up. If
# they don't apply, they'll get filtered out at the end.
attributes += ['__bases__', '__class__', '__dict__', '__name__',
'func_closure', 'func_code', 'func_defaults',
'func_dict', 'func_doc', 'func_globals', 'func_name']
if includeMagic:
try: attributes += object._getAttributeNames()
except: pass
# Get all attribute names.
attrdict = getAllAttributeNames(object)
for attrlist in attrdict.values():
attributes += attrlist
# Remove duplicates from the attribute list.
for item in attributes:
dict[item] = None
attributes = dict.keys()
attributes.sort(lambda x, y: cmp(x.upper(), y.upper()))
if not includeSingle:
attributes = filter(lambda item: item[0]!='_' \
or item[1]=='_', attributes)
if not includeDouble:
attributes = filter(lambda item: item[:2]!='__', attributes)
# Make sure we haven't picked up any bogus attributes somehow.
attributes = [attribute for attribute in attributes \
if hasattr(object, attribute)]
return attributes
def hasattrAlwaysReturnsTrue(object):
return hasattr(object, 'bogu5_123_aTTri8ute')
def getAllAttributeNames(object):
"""Return dict of all attributes, including inherited, for an object.
Recursively walk through a class and all base classes.
"""
attrdict = {} # (object, technique, count): [list of attributes]
# !!!
# Do Not use hasattr() as a test anywhere in this function,
# because it is unreliable with remote objects: xmlrpc, soap, etc.
# They always return true for hasattr().
# !!!
try:
# Yes, this can fail if object is an instance of a class with
# __str__ (or __repr__) having a bug or raising an
# exception. :-(
key = str(object)
except:
key = 'anonymous'
# Wake up sleepy objects - a hack for ZODB objects in "ghost" state.
wakeupcall = dir(object)
del wakeupcall
# Get attributes available through the normal convention.
attributes = dir(object)
attrdict[(key, 'dir', len(attributes))] = attributes
# Get attributes from the object's dictionary, if it has one.
try:
attributes = object.__dict__.keys()
attributes.sort()
except: # Must catch all because object might have __getattr__.
pass
else:
attrdict[(key, '__dict__', len(attributes))] = attributes
# For a class instance, get the attributes for the class.
try:
klass = object.__class__
except: # Must catch all because object might have __getattr__.
pass
else:
if klass is object:
# Break a circular reference. This happens with extension
# classes.
pass
else:
attrdict.update(getAllAttributeNames(klass))
# Also get attributes from any and all parent classes.
try:
bases = object.__bases__
except: # Must catch all because object might have __getattr__.
pass
else:
if isinstance(bases, types.TupleType):
for base in bases:
if type(base) is types.TypeType:
# Break a circular reference. Happens in Python 2.2.
pass
else:
attrdict.update(getAllAttributeNames(base))
return attrdict
def getCallTip(command='', locals=None):
"""For a command, return a tuple of object name, argspec, tip text.
The call tip information will be based on the locals namespace."""
calltip = ('', '', '') # object name, argspec, tip text.
# Get the proper chunk of code from the command.
root = getRoot(command, terminator='(')
try:
if locals is not None:
object = eval(root, locals)
else:
object = eval(root)
except:
return calltip
name = ''
object, dropSelf = getBaseObject(object)
try:
name = object.__name__
except AttributeError:
pass
tip1 = ''
argspec = ''
if inspect.isbuiltin(object):
# Builtin functions don't have an argspec that we can get.
pass
elif inspect.isfunction(object):
# tip1 is a string like: "getCallTip(command='', locals=None)"
argspec = apply(inspect.formatargspec, inspect.getargspec(object))
if dropSelf:
# The first parameter to a method is a reference to an
# instance, usually coded as "self", and is usually passed
# automatically by Python; therefore we want to drop it.
temp = argspec.split(',')
if len(temp) == 1: # No other arguments.
argspec = '()'
else: # Drop the first argument.
argspec = '(' + ','.join(temp[1:]).lstrip()
tip1 = name + argspec
doc = ''
if callable(object):
try:
doc = inspect.getdoc(object)
except:
pass
if doc:
# tip2 is the first separated line of the docstring, like:
# "Return call tip text for a command."
# tip3 is the rest of the docstring, like:
# "The call tip information will be based on ... <snip>
firstline = doc.split('\n')[0].lstrip()
if tip1 == firstline:
tip1 = ''
else:
tip1 += '\n\n'
docpieces = doc.split('\n\n')
tip2 = docpieces[0]
tip3 = '\n\n'.join(docpieces[1:])
tip = '%s%s\n\n%s' % (tip1, tip2, tip3)
else:
tip = tip1
calltip = (name, argspec[1:-1], tip.strip())
return calltip
def getRoot(command, terminator=None):
"""Return the rightmost root portion of an arbitrary Python command.
Return only the root portion that can be eval()'d without side
effects. The command would normally terminate with a '(' or
'.'. The terminator and anything after the terminator will be
dropped."""
command = command.split('\n')[-1]
if command.startswith(sys.ps2):
command = command[len(sys.ps2):]
command = command.lstrip()
command = rtrimTerminus(command, terminator)
tokens = getTokens(command)
if not tokens:
return ''
if tokens[-1][0] is tokenize.ENDMARKER:
# Remove the end marker.
del tokens[-1]
if not tokens:
return ''
if terminator == '.' and \
(tokens[-1][1] <> '.' or tokens[-1][0] is not tokenize.OP):
# Trap decimals in numbers, versus the dot operator.
return ''
else:
# Strip off the terminator.
if terminator and command.endswith(terminator):
size = 0 - len(terminator)
command = command[:size]
command = command.rstrip()
tokens = getTokens(command)
tokens.reverse()
line = ''
start = None
prefix = ''
laststring = '.'
emptyTypes = ('[]', '()', '{}')
for token in tokens:
tokentype = token[0]
tokenstring = token[1]
line = token[4]
if tokentype is tokenize.ENDMARKER:
continue
if tokentype in (tokenize.NAME, tokenize.STRING, tokenize.NUMBER) \
and laststring != '.':
# We've reached something that's not part of the root.
if prefix and line[token[3][1]] != ' ':
# If it doesn't have a space after it, remove the prefix.
prefix = ''
break
if tokentype in (tokenize.NAME, tokenize.STRING, tokenize.NUMBER) \
or (tokentype is tokenize.OP and tokenstring == '.'):
if prefix:
# The prefix isn't valid because it comes after a dot.
prefix = ''
break
else:
# start represents the last known good point in the line.
start = token[2][1]
elif len(tokenstring) == 1 and tokenstring in ('[({])}'):
# Remember, we're working backwords.
# So prefix += tokenstring would be wrong.
if prefix in emptyTypes and tokenstring in ('[({'):
# We've already got an empty type identified so now we
# are in a nested situation and we can break out with
# what we've got.
break
else:
prefix = tokenstring + prefix
else:
# We've reached something that's not part of the root.
break
laststring = tokenstring
if start is None:
start = len(line)
root = line[start:]
if prefix in emptyTypes:
# Empty types are safe to be eval()'d and introspected.
root = prefix + root
return root
def getTokens(command):
"""Return list of token tuples for command."""
command = str(command) # In case the command is unicode, which fails.
f = cStringIO.StringIO(command)
# tokens is a list of token tuples, each looking like:
# (type, string, (srow, scol), (erow, ecol), line)
tokens = []
# Can't use list comprehension:
# tokens = [token for token in tokenize.generate_tokens(f.readline)]
# because of need to append as much as possible before TokenError.
try:
## This code wasn't backward compatible with Python 2.1.3.
##
## for token in tokenize.generate_tokens(f.readline):
## tokens.append(token)
# This works with Python 2.1.3 (with nested_scopes).
def eater(*args):
tokens.append(args)
tokenize.tokenize_loop(f.readline, eater)
except tokenize.TokenError:
# This is due to a premature EOF, which we expect since we are
# feeding in fragments of Python code.
pass
return tokens
def rtrimTerminus(command, terminator=None):
"""Return command minus anything that follows the final terminator."""
if terminator:
pieces = command.split(terminator)
if len(pieces) > 1:
command = terminator.join(pieces[:-1]) + terminator
return command
def getBaseObject(object):
"""Return base object and dropSelf indicator for an object."""
if inspect.isbuiltin(object):
# Builtin functions don't have an argspec that we can get.
dropSelf = 0
elif inspect.ismethod(object):
# Get the function from the object otherwise
# inspect.getargspec() complains that the object isn't a
# Python function.
try:
if object.im_self is None:
# This is an unbound method so we do not drop self
# from the argspec, since an instance must be passed
# as the first arg.
dropSelf = 0
else:
dropSelf = 1
object = object.im_func
except AttributeError:
dropSelf = 0
elif inspect.isclass(object):
# Get the __init__ method function for the class.
constructor = getConstructor(object)
if constructor is not None:
object = constructor
dropSelf = 1
else:
dropSelf = 0
elif callable(object):
# Get the __call__ method instead.
try:
object = object.__call__.im_func
dropSelf = 1
except AttributeError:
dropSelf = 0
else:
dropSelf = 0
return object, dropSelf
def getConstructor(object):
"""Return constructor for class object, or None if there isn't one."""
try:
return object.__init__.im_func
except AttributeError:
for base in object.__bases__:
constructor = getConstructor(base)
if constructor is not None:
return constructor
return None

View File

@@ -0,0 +1,107 @@
"""Provides a variety of classes to create pseudo keywords and pseudo files."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
try:
True
except NameError:
True = 1==1
False = 1==0
class PseudoKeyword:
"""A callable class that calls a method passed as a parameter.
Good for creating a pseudo keyword in the python runtime
environment. The keyword is really an object that has a repr()
that calls itself which calls the method that was passed in the
init of the object. All this just to avoid having to type in the
closing parens on a method. So, for example:
>>> quit = PseudoKeyword(SomeObject.someMethod)
>>> quit
SomeObject.someMethod gets executed as if it had been called
directly and the user didn't have to type the parens, like
'quit()'. This technique is most applicable for pseudo keywords
like quit, exit and help.
If SomeObject.someMethod can take parameters, they can still be
passed by using the keyword in the traditional way with parens."""
def __init__(self, method):
"""Create a callable object that executes method when called."""
if callable(method):
self.method = method
else:
raise ValueError, 'method must be callable'
def __call__(self, *args, **kwds):
self.method(*args, **kwds)
def __repr__(self):
self()
return ''
class PseudoFile:
def __init__(self):
"""Create a file-like object."""
pass
def readline(self):
pass
def write(self, s):
pass
def writelines(self, l):
map(self.write, l)
def flush(self):
pass
def isatty(self):
pass
class PseudoFileIn(PseudoFile):
def __init__(self, readline, readlines=None):
if callable(readline):
self.readline = readline
else:
raise ValueError, 'readline must be callable'
if callable(readlines):
self.readlines = readlines
def isatty(self):
return 1
class PseudoFileOut(PseudoFile):
def __init__(self, write):
if callable(write):
self.write = write
else:
raise ValueError, 'write must be callable'
def isatty(self):
return 1
class PseudoFileErr(PseudoFile):
def __init__(self, write):
if callable(write):
self.write = write
else:
raise ValueError, 'write must be callable'
def isatty(self):
return 1

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,82 @@
#!/usr/bin/env python
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import unittest
# Import from this module's parent directory.
import os
import sys
sys.path.insert(0, os.pardir)
import interpreter
del sys.path[0]
del sys
del os
"""
These unittest methods are preferred:
-------------------------------------
self.assert_(expr, msg=None)
self.assertEqual(first, second, msg=None)
self.assertRaises(excClass, callableObj, *args, **kwargs)
self.fail(msg=None)
self.failIf(expr, msg=None)
"""
class ModuleTestCase(unittest.TestCase):
def test_module(self):
module = interpreter
self.assert_(module.__author__)
self.assert_(module.__cvsid__)
self.assert_(module.__revision__)
self.assert_(module.Interpreter)
self.assert_(module.Interpreter.push)
self.assert_(module.Interpreter.runsource)
self.assert_(module.Interpreter.getAutoCompleteList)
self.assert_(module.Interpreter.getCallTip)
self.assert_(module.InterpreterAlaCarte)
class InterpreterTestCase(unittest.TestCase):
def setUp(self):
self.output = ''
self.i = interpreter.Interpreter(stdout=self)
def write(self, text):
"""Capture output from self.i.push()."""
self.output += text
def tearDown(self):
self.output = ''
self.i = None
del self.i
def test_more(self):
self.assertEqual(self.i.push('dir()'), 0)
self.assertEqual(self.i.push('for n in range(3):'), 1)
def test_push(self):
values = (
('dir', '<built-in function dir>'),
('dir()', "['__builtins__', '__doc__', '__name__']"),
('2 + 2', '4'),
('d = {}', ''),
('d', '{}'),
('del d', ''),
('len([4,5,6])', '3'),
)
for input, output in values:
if output: output += '\n'
self.i.push(input)
self.assertEqual(self.output, output)
self.output = ''
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,862 @@
#!/usr/bin/env python
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import unittest
# Import from this module's parent directory.
import os
import sys
sys.path.insert(0, os.pardir)
import introspect
del sys.path[0]
del sys
del os
"""
These unittest methods are preferred:
-------------------------------------
self.assert_(expr, msg=None)
self.assertEqual(first, second, msg=None)
self.assertRaises(excClass, callableObj, *args, **kwargs)
self.fail(msg=None)
self.failIf(expr, msg=None)
"""
class ModuleTestCase(unittest.TestCase):
def test_module(self):
module = introspect
self.assert_(module.__author__)
self.assert_(module.__cvsid__)
self.assert_(module.__revision__)
self.assert_(module.getAllAttributeNames)
self.assert_(module.getAttributeNames)
self.assert_(module.getAutoCompleteList)
self.assert_(module.getBaseObject)
self.assert_(module.getCallTip)
self.assert_(module.getConstructor)
self.assert_(module.getRoot)
self.assert_(module.rtrimTerminus)
class RtrimTerminusTestCase(unittest.TestCase):
def test_rtrimTerminus(self):
values = (
('', '', ''),
('', None, ''),
('', '.', ''),
('', '(', ''),
('.', '', '.'),
('.', None, '.'),
('.', '.', '.'),
('.', '(', '.'),
('(', '', '('),
('(', None, '('),
('(', '.', '('),
('(', '(', '('),
('spam', '', 'spam'),
('spam', None, 'spam'),
('spam', '.', 'spam'),
('spam', '(', 'spam'),
('spam.', '', 'spam.'),
('spam.', None, 'spam.'),
('spam.', '.', 'spam.'),
('spam.', '(', 'spam.'),
('spam(', '', 'spam('),
('spam(', None, 'spam('),
('spam(', '.', 'spam('),
('spam(', '(', 'spam('),
('spam.eggs', '.', 'spam.'),
('spam.eggs.', '.', 'spam.eggs.'),
('spam.eggs(', '(', 'spam.eggs('),
('spam.eggs.', '(', 'spam.eggs.'),
('spam.eggs(', '.', 'spam.'),
('x = spam.', '.', 'x = spam.'),
('x = spam.eggs', '.', 'x = spam.'),
('x = spam.eggs.', '.', 'x = spam.eggs.'),
('x = spam.eggs(', '(', 'x = spam.eggs('),
)
for input, terminator, output in values:
result = introspect.rtrimTerminus(input, terminator)
self.assertEqual(result, output,
':in: %r :t: %r :out: %r :result: %r' %
(input, terminator, output, result))
class GetRootTestCase(unittest.TestCase):
def _checkRoot(self, input, terminator, output):
root = introspect.getRoot(command=input, terminator=terminator)
self.assertEqual(root, output,
':in: %r :t: %r :out: %r :root: %r' %
(input, terminator, output, root))
def test_getRoot(self):
values = (
('', '', ''),
('', None, ''),
('', '.', ''),
('', '(', ''),
('.', '', '.'),
('.', None, '.'),
('.', '.', ''),
('.', '(', '.'),
('(', '', ''),
('(', None, ''),
('(', '.', ''),
('(', '(', ''),
('spam', '', 'spam'),
('spam', None, 'spam'),
('spam', '.', ''),
('spam', '(', 'spam'),
('spam.', '', 'spam.'),
('spam.', None, 'spam.'),
('spam.', '.', 'spam'),
('spam.', '(', 'spam.'),
('spam(', '', ''),
('spam(', None, ''),
('spam(', '.', ''),
('spam(', '(', 'spam'),
('spam.eggs', '.', 'spam'),
('spam.eggs.', '.', 'spam.eggs'),
('spam.eggs(', '(', 'spam.eggs'),
('spam.eggs.', '(', 'spam.eggs.'),
('spam.eggs(', '.', 'spam'),
('x = spam.', '.', 'spam'),
('x = spam.eggs', '.', 'spam'),
('x = spam.eggs.', '.', 'spam.eggs'),
('x = spam.eggs(', '(', 'spam.eggs'),
('for n in range(3):\n d.', '.', 'd'),
('for n in range(3):\n... d.', '.', 'd'),
)
for input, terminator, output in values:
self._checkRoot(input, terminator, output)
def test_getRoot_Advanced(self):
values = (
('spam_', '', 'spam_'),
('spam_', None, 'spam_'),
('spam_', '.', ''),
('spam_', '(', 'spam_'),
('_spam', '', '_spam'),
('_spam', None, '_spam'),
('_spam', '.', ''),
('_spam', '(', '_spam'),
('spam_eggs', '', 'spam_eggs'),
('spam_eggs', None, 'spam_eggs'),
('spam_eggs', '.', ''),
('spam_eggs', '(', 'spam_eggs'),
('spam123', '', 'spam123'),
('spam123', None, 'spam123'),
('spam123', '.', ''),
('spam123', '(', 'spam123'),
('spam_123', '', 'spam_123'),
('spam_123', None, 'spam_123'),
('spam_123', '.', ''),
('spam_123', '(', 'spam_123'),
)
for input, terminator, output in values:
self._checkRoot(input, terminator, output)
## The original intent was to detect when we were inside a string.
## That has proven to be very difficult, for little benefit.
## The fact that autocomplete or calltips might be triggered inside
## a string is not a big deal. Sometimes it is even helpful.
## def test_getRoot_InsideStrings(self):
## values = (
## ('x = ".', '.', ''),
## ("x = '.", '.', ''),
## ('x = """.', '.', ''),
## ("x = '''.", '.', ''),
##
## ('x = "(', '(', ''),
## ("x = '(", '(', ''),
## ('x = """(', '(', ''),
## ("x = '''(", '(', ''),
##
## ('x = "spam', '.', ''),
## ('x = "spam.', '.', ''),
## ("x = 'spam.", '.', ''),
## ('x = """spam.', '.', ''),
## ("x = '''spam.", '.', ''),
##
## ('x = "spam', '(', ''),
## ('x = "spam(', '(', ''),
## ("x = 'spam(", '(', ''),
## ('x = """spam(', '(', ''),
## ("x = '''spam(", '(', ''),
##
## ('x = "spam.eggs.', '.', ''),
## ("x = 'spam.eggs.", '.', ''),
## ('x = """spam.eggs.', '.', ''),
## ("x = '''spam.eggs.", '.', ''),
##
## ('x = "spam.eggs(', '(', ''),
## ("x = 'spam.eggs(", '(', ''),
## ('x = """spam.eggs(', '(', ''),
## ("x = '''spam.eggs(", '(', ''),
## )
## for input, terminator, output in values:
## self._checkRoot(input, terminator, output)
def test_getRoot_EmptyTypes(self):
values = (
("''.", '.', "''"),
('"".', '.', '""'),
('"""""".', '.', '""""""'),
("''''''.", '.', "''''''"),
('[].', '.', '[]'),
('().', '.', '()'),
('{}.', '.', '{}'),
('[](', '(', '[]'),
('()(', '(', '()'),
('{}(', '(', '{}'),
("x = ''.", '.', "''"),
('x = "".', '.', '""'),
('x = """""".', '.', '""""""'),
("x = ''''''.", '.', "''''''"),
('x = [].', '.', '[]'),
('x = ().', '.', '()'),
('x = {}.', '.', '{}'),
('x = [](', '(', '[]'),
('x = ()(', '(', '()'),
('x = {}(', '(', '{}'),
('print [].', '.', '[]'),
('print ().', '.', '()'),
('print {}.', '.', '{}'),
('print [](', '(', '[]'),
('print ()(', '(', '()'),
('print {}(', '(', '{}'),
("''.attr.", '.', "''.attr"),
('"".attr.', '.', '"".attr'),
('"""""".attr.', '.', '"""""".attr'),
("''''''.attr.", '.', "''''''.attr"),
('[].attr.', '.', '[].attr'),
('().attr.', '.', '().attr'),
('{}.attr.', '.', '{}.attr'),
('[].attr(', '(', '[].attr'),
('().attr(', '(', '().attr'),
('{}.attr(', '(', '{}.attr'),
('spam().', '.', ''),
('spam_().', '.', ''),
('spam5().', '.', ''),
('spam[]().', '.', ''),
('spam()[].', '.', ''),
('spam[]{}.', '.', ''),
("spam(''.", '.', "''"),
('spam("".', '.', '""'),
('spam("""""".', '.', '""""""'),
("spam(''''''.", '.', "''''''"),
('spam([].', '.', '[]'),
('spam(().', '.', '()'),
('spam({}.', '.', '{}'),
('spam[[].', '.', '[]'),
('spam[().', '.', '()'),
('spam[{}.', '.', '{}'),
('x = {[].', '.', '[]'),
('x = {().', '.', '()'),
('x = {{}.', '.', '{}'),
('spam,[].', '.', '[]'),
('spam+[].', '.', '[]'),
('spam-[].', '.', '[]'),
('spam*[].', '.', '[]'),
('spam/[].', '.', '[]'),
('spam=[].', '.', '[]'),
('spam%[].', '.', '[]'),
('spam<[].', '.', '[]'),
('spam>[].', '.', '[]'),
('spam&[].', '.', '[]'),
('spam|[].', '.', '[]'),
('spam^[].', '.', '[]'),
('spam~[].', '.', '[]'),
('spam:[].', '.', '[]'),
('spam,().', '.', '()'),
('spam+().', '.', '()'),
('spam-().', '.', '()'),
('spam*().', '.', '()'),
('spam/().', '.', '()'),
('spam=().', '.', '()'),
('spam%().', '.', '()'),
('spam<().', '.', '()'),
('spam>().', '.', '()'),
('spam&().', '.', '()'),
('spam|().', '.', '()'),
('spam^().', '.', '()'),
('spam~().', '.', '()'),
('spam:().', '.', '()'),
('spam,{}.', '.', '{}'),
('spam+{}.', '.', '{}'),
('spam-{}.', '.', '{}'),
('spam*{}.', '.', '{}'),
('spam/{}.', '.', '{}'),
('spam={}.', '.', '{}'),
('spam%{}.', '.', '{}'),
('spam<{}.', '.', '{}'),
('spam>{}.', '.', '{}'),
('spam&{}.', '.', '{}'),
('spam|{}.', '.', '{}'),
('spam^{}.', '.', '{}'),
('spam~{}.', '.', '{}'),
('spam:{}.', '.', '{}'),
)
for input, terminator, output in values:
self._checkRoot(input, terminator, output)
# Support for GetBaseObjectTestCase and GetAttributeNamesTestCase.
class Foo:
def __init__(self):
pass
def __del__(self):
pass
def _private(self):
pass
class Bar:
pass
class Spam:
def __call__(self):
pass
def foo(self):
pass
def bar(spam):
# It shouldn't matter what we call "self".
pass
def eggs(self):
pass
def ham(eggs):
pass
class GetBaseObjectTestCase(unittest.TestCase):
def test_getBaseObject(self):
spam = Spam()
eggs = Spam.eggs
listappend = [].append
spamda = lambda: None
values = (
('spam', 'spam', 0),
(123, 123, 0),
(12.3, 12.3, 0),
([], [], 0),
((), (), 0),
({}, {}, 0),
# Builtin function.
(len, len, 0),
# Builtin method.
(listappend, listappend, 0),
# User function.
(ham, ham, 0),
# Byte-compiled code.
(ham.func_code, ham.func_code, 0),
# Lambda.
(spamda, spamda, 0),
# Class with init.
(Foo, Foo.__init__.im_func, 1),
# Class with no init.
(Bar, Bar, 0),
# Bound method.
(spam.foo, spam.foo.im_func, 1),
# Bound method with self named something else (spam).
(spam.bar, spam.bar.im_func, 1),
# Unbound method. (Do not drop the self argument.)
(eggs, eggs.im_func, 0),
# Callable instance.
(spam, spam.__call__.im_func, 1),
)
for object, baseObject, dropSelf in values:
result = introspect.getBaseObject(object)
self.assertEqual(result, (baseObject, dropSelf))
class GetAttributeTestCase(unittest.TestCase):
"""Base class for other test case classes."""
def setUp(self):
self.values = (
'__abs__',
'__add__',
'__and__',
'__base__',
'__bases__',
'__basicsize__',
'__builtins__',
'__call__',
'__class__',
'__cmp__',
'__coerce__',
'__contains__',
'__del__',
'__delattr__',
'__delitem__',
'__delslice__',
'__dict__',
'__dictoffset__',
'__div__',
'__divmod__',
'__doc__',
'__eq__',
'__file__',
'__flags__',
'__float__',
'__floordiv__',
'__ge__',
'__get__',
'__getattr__',
'__getattribute__',
'__getitem__',
'__getslice__',
'__gt__',
'__hash__',
'__hex__',
'__iadd__',
'__imul__',
'__init__',
'__int__',
'__invert__',
'__itemsize__',
'__iter__',
'__le__',
'__len__',
'__long__',
'__lshift__',
'__lt__',
'__mod__',
'__module__',
'__mro__',
'__mul__',
'__name__',
'__ne__',
'__neg__',
'__new__',
'__nonzero__',
'__oct__',
'__or__',
'__path__',
'__pos__',
'__pow__',
'__radd__',
'__rand__',
'__rdiv__',
'__rdivmod__',
'__reduce__',
'__repr__',
'__rfloordiv__',
'__rlshift__',
'__rmod__',
'__rmul__',
'__ror__',
'__rpow__',
'__rrshift__',
'__rshift__',
'__rsub__',
'__rtruediv__',
'__rxor__',
'__self__',
'__setattr__',
'__setitem__',
'__setslice__',
'__str__',
'__sub__',
'__subclasses__',
'__truediv__',
'__warningregistry__',
'__weakrefoffset__',
'__xor__',
'append',
'capitalize',
'center',
'clear',
'close',
'closed',
'co_argcount',
'co_cellvars',
'co_code',
'co_consts',
'co_filename',
'co_firstlineno',
'co_flags',
'co_freevars',
'co_lnotab',
'co_name',
'co_names',
'co_nlocals',
'co_stacksize',
'co_varnames',
'conjugate',
'copy',
'count',
'decode',
'encode',
'endswith',
'expandtabs',
'extend',
'fileno',
'find',
'flush',
'func_closure',
'func_code',
'func_defaults',
'func_dict',
'func_doc',
'func_globals',
'func_name',
'get',
'has_key',
'im_class',
'im_func',
'im_self',
'imag',
'index',
'insert',
'isalnum',
'isalpha',
'isatty',
'isdigit',
'islower',
'isspace',
'istitle',
'isupper',
'items',
'iteritems',
'iterkeys',
'itervalues',
'join',
'keys',
'ljust',
'lower',
'lstrip',
'mode',
'mro',
'name',
'pop',
'popitem',
'real',
'read',
'readinto',
'readline',
'readlines',
'remove',
'replace',
'reverse',
'rfind',
'rindex',
'rjust',
'rstrip',
'seek',
'setdefault',
'softspace',
'sort',
'split',
'splitlines',
'start',
'startswith',
'step',
'stop',
'strip',
'swapcase',
'tell',
'title',
'tolist',
'translate',
'truncate',
'update',
'upper',
'values',
'write',
'writelines',
'xreadlines',
)
# Since getAllAttributeNames() calls str(object),
# we need to test for a broken __str__ method.
class BrokenStr:
def __str__(self):
raise Exception
brokenStr = BrokenStr()
class GetAttributeNamesTestCase(GetAttributeTestCase):
def setUp(self):
GetAttributeTestCase.setUp(self)
import PyCrust
spam = Spam()
self.f = open('test_introspect.py')
self.items = (
None,
int(123),
long(123),
float(123),
complex(123),
"",
unicode(""),
[],
(),
xrange(0),
{},
# Builtin function.
len,
# Builtin method.
[].append,
# User function.
ham,
# Byte-compiled code.
ham.func_code,
# Lambda.
lambda: None,
# Class with no init.
Bar,
# Instance with no init.
Bar(),
# Class with init and del.
Foo,
# Instance with init and del.
Foo(),
# Bound method.
spam.foo,
# Unbound method.
Spam.eggs,
# Callable instance.
spam,
# Module.
introspect,
# Package.
PyCrust,
# Buffer.
buffer(''),
# File.
self.f,
# Slice.
slice(0),
# Ellipsis.
Ellipsis,
# BrokenStr class.
BrokenStr,
# BrokenStr instance.
brokenStr,
)
def tearDown(self):
self.items = None
self.f.close()
def test_getAttributeNames(self):
for item in self.items:
self._checkAttributeNames(item)
if __builtins__.has_key('object'):
self._checkAttributeNames(object)
def test_getAttributeNames_NoSingle(self):
for item in self.items:
result = introspect.getAttributeNames(item, includeSingle=0)
attributes = [attribute for attribute in result \
if attribute[0] != '_' or attribute[:2] == '__']
self.assertEqual(result, attributes,
':item: %r' % (item,))
def test_getAttributeNames_NoDouble(self):
for item in self.items:
result = introspect.getAttributeNames(item, includeDouble=0)
attributes = [attribute for attribute in result \
if attribute[:2] != '__']
self.assertEqual(result, attributes,
':item: %r' % (item,))
def test_getAttributeNames_NoSingleOrDouble(self):
for item in self.items:
result = introspect.getAttributeNames(item, includeSingle=0,
includeDouble=0)
attributes = [attribute for attribute in result \
if attribute[0] != '_']
self.assertEqual(result, attributes,
':item: %r' % (item,))
def _checkAttributeNames(self, item):
result = introspect.getAttributeNames(item)
attributes = [attribute for attribute in self.values \
if hasattr(item, attribute)]
for attribute in attributes:
self.assert_(attribute in result,
':item: %r :attribute: %r' % (item, attribute))
class GetAutoCompleteListTestCase(GetAttributeTestCase):
def setUp(self):
GetAttributeTestCase.setUp(self)
self.items = (
'None.',
'123 .',
'"".',
'[].',
'().',
'{}.',
# Builtin function.
'len.',
# Builtin method.
'[].append.',
)
def test_getAutoCompleteList(self):
for item in self.items:
result = introspect.getAutoCompleteList(item)
object = eval(item[:-1])
attributes = [attribute for attribute in self.values \
if hasattr(object, attribute)]
for attribute in attributes:
self.assert_(attribute in result,
':item: %r :attribute: %r' % (item, attribute))
def test_getAutoCompleteList_NoSingle(self):
for item in self.items:
result = introspect.getAutoCompleteList(item, includeSingle=0)
attributes = [attribute for attribute in result \
if attribute[0] != '_' or attribute[:2] == '__']
self.assertEqual(result, attributes,
':item: %r' % (item,))
def test_getAutoCompleteList_NoDouble(self):
for item in self.items:
result = introspect.getAutoCompleteList(item, includeDouble=0)
attributes = [attribute for attribute in result \
if attribute[:2] != '__']
self.assertEqual(result, attributes,
':item: %r' % (item,))
def test_getAutoCompleteList_NoSingleOrDouble(self):
for item in self.items:
result = introspect.getAutoCompleteList(item, includeSingle=0,
includeDouble=0)
attributes = [attribute for attribute in result \
if attribute[0] != '_']
self.assertEqual(result, attributes,
':item: %r' % (item,))
# Support for GetConstructorTestCase.
class A1:
def __init__(self, a):
self.a = a
class B1(A1):
def __init__(self, b):
self.b = b
class C1(A1):
pass
class D1(C1, B1):
pass
if __builtins__.has_key('object'):
class A2(object):
def __init__(self, a):
self.a = a
class B2(A2):
def __init__(self, b):
self.b = b
class C2(A2):
pass
class D2(C2, B2):
pass
class N:
pass
class O:
def __init__(self, a, b=2, *args, **kwargs):
pass
class P(O):
pass
class Q(P):
def __init__(self, c, d=4):
pass
class GetConstructorTestCase(unittest.TestCase):
def test_getConstructor(self):
args = ('self', 'a', 'b', 'args', 'kwargs')
varnames = introspect.getConstructor(O).func_code.co_varnames
self.assertEqual(varnames, args)
varnames = introspect.getConstructor(P).func_code.co_varnames
self.assertEqual(varnames, args)
args = ('self', 'c', 'd')
varnames = introspect.getConstructor(Q).func_code.co_varnames
self.assertEqual(varnames, args)
def test_getConstructor_None(self):
values = (N, 1, 'spam', {}, [], (), dir)
for value in values:
self.assertEqual(introspect.getConstructor(N), None)
def test_getConstructor_MultipleInheritance(self):
# Test old style inheritance rules.
args = ('self', 'a')
varnames = introspect.getConstructor(D1).func_code.co_varnames
self.assertEqual(varnames, args)
if __builtins__.has_key('object'):
# Test new style inheritance rules as well.
args = ('self', 'b')
varnames = introspect.getConstructor(D2).func_code.co_varnames
self.assertEqual(varnames, args)
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,81 @@
#!/usr/bin/env python
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import unittest
# Import from this module's parent directory.
import os
import sys
sys.path.insert(0, os.pardir)
import pseudo
del sys.path[0]
del sys
del os
"""
These unittest methods are preferred:
-------------------------------------
self.assert_(expr, msg=None)
self.assertEqual(first, second, msg=None)
self.assertRaises(excClass, callableObj, *args, **kwargs)
self.fail(msg=None)
self.failIf(expr, msg=None)
"""
class ModuleTestCase(unittest.TestCase):
def test_module(self):
module = pseudo
self.assert_(module.__author__)
self.assert_(module.__cvsid__)
self.assert_(module.__revision__)
self.assert_(module.PseudoFile)
self.assert_(module.PseudoFileErr)
self.assert_(module.PseudoFileIn)
self.assert_(module.PseudoFileOut)
self.assert_(module.PseudoKeyword)
class PseudoTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
class PseudoFileTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
class PseudoFileOutTestCase(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def _write(self):
pass
def test_PseudoFileOut_goodInit(self):
self.assert_(pseudo.PseudoFileOut(write=self._write))
def test_PseudoFileOut_badInit(self):
self.assertRaises(ValueError, pseudo.PseudoFileOut, write='bad')
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,49 @@
#!/usr/bin/env python
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import unittest
import types
# Import from this module's parent directory.
import os
import sys
sys.path.insert(0, os.pardir)
import version
del sys.path[0]
del sys
del os
"""
These unittest methods are preferred:
-------------------------------------
self.assert_(expr, msg=None)
self.assertEqual(first, second, msg=None)
self.assertRaises(excClass, callableObj, *args, **kwargs)
self.fail(msg=None)
self.failIf(expr, msg=None)
"""
class ModuleTestCase(unittest.TestCase):
def test_module(self):
module = version
self.assert_(module.__author__)
self.assert_(module.__cvsid__)
self.assert_(module.__revision__)
self.assert_(module.VERSION)
class VersionTestCase(unittest.TestCase):
def test_VERSION(self):
self.assert_(type(version.VERSION) is types.StringType)
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import unittest
import glob
import os
def suite():
"""Return a test suite containing all test cases in all test modules.
Searches the current directory for any modules matching test_*.py."""
suite = unittest.TestSuite()
for filename in glob.glob('test_*.py'):
module = __import__(os.path.splitext(filename)[0])
suite.addTest(unittest.defaultTestLoader.loadTestsFromModule(module))
return suite
if __name__ == '__main__':
unittest.main(defaultTest='suite')

View File

@@ -0,0 +1,9 @@
"""Provides an object representing the current 'version' or 'release'
of Py as a whole. Individual classes, such as the shell, filling and
interpreter, each have a revision property based on the CVS Revision."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
VERSION = '0.9.3'

View File

@@ -0,0 +1,58 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class AcceleratorEntry:
""""""
def __init__(self):
""""""
pass
def __del__(self):
""""""
pass
def GetCommand(self):
""""""
pass
def GetFlags(self):
""""""
pass
def GetKeyCode(self):
""""""
pass
def Set(self):
""""""
pass
class AcceleratorTable(Object):
""""""
def __init__(self):
""""""
pass
def __del__(self):
""""""
pass

View File

@@ -0,0 +1,358 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import EvtHandler
import Parameters as wx
try:
True
except NameError:
True = 1==1
False = 1==0
class PyApp(EvtHandler):
"""Python Application base class.
It is used to:
- set and get application-wide properties;
- implement the windowing system message or event loop;
- initiate application processing via App.OnInit;
- allow default processing of events not handled by other objects
in the application."""
def __init__(self):
"""Create a PyApp instance."""
pass
def Dispatch(self):
"""Dispatches the next event in the windowing system event
queue.
This can be used for programming event loops."""
pass
def ExitMainLoop(self):
"""Call this to explicitly exit the main message (event) loop.
You should normally exit the main loop (and the application)
by deleting the top window, which wxPython does automatically."""
pass
def GetAppName(self):
"""Return the application name."""
pass
def GetAssertMode(self):
"""Return the current assertion mode."""
pass
def GetAuto3D(self):
"""Returns True if 3D control mode is on, False otherwise.
Windows only."""
pass
def GetClassName(self):
"""Return the class name of the application."""
pass
def GetExitOnFrameDelete(self):
"""Returns True if the application will exit when the
top-level window is deleted, False otherwise."""
pass
def GetPrintMode(self):
"""Deprecated."""
pass
def GetTopWindow(self):
"""Return the top window.
If the top window hasn't been set using App.SetTopWindow,
this method will find the first top-level window (frame or
dialog) and return that."""
pass
def GetUseBestVisual(self):
"""Return True if the application will use the best visual on
systems that support different visuals, False otherwise."""
pass
def GetVendorName(self):
"""Return the application's vendor name."""
pass
def Initialized(self):
"""Return True if the application has been initialized
(i.e. if App.OnInit has returned successfully). This can be
useful for error message routines to determine which method of
output is best for the current state of the program (some
windowing systems may not like dialogs to pop up before the
main loop has been entered)."""
pass
def MainLoop(self):
"""Called by wxWindows on creation of the application.
Override this if you wish to provide your own
(environment-dependent) main loop.
Return 0 under X, and the wParam of the WM_QUIT message under
Windows."""
pass
def OnAssert(self, file, line, cond, msg):
"""Called when an assert failure occurs, i.e. the condition
specified in ASSERT macro evaluated to FALSE. It is only
called in debug mode (when __WXDEBUG__ is defined) as asserts
are not left in the release code at all.
The base class version show the default assert failure dialog
box proposing to the user to stop the program, continue or
ignore all subsequent asserts.
file is the name of the source file where the assert occured
line is the line number in this file where the assert occured
cond is the condition of the failed assert in string form
msg is the message specified as argument to ASSERT_MSG or
FAIL_MSG, will be NULL if just ASSERT or FAIL was used"""
pass
def OnExit(self):
"""Provide this member function for any processing which needs
to be done as the application is about to exit. OnExit is
called after destroying all application windows and controls,
but before wxWindows cleanup."""
pass
def OnInit(self):
"""This must be provided by the application, and will usually
create the application's main window, optionally calling
App.SetTopWindow.
Return True to continue processing, False to exit the
application."""
pass
def OnInitGui(self):
"""Called just after the platform's GUI has been initialized,
but before the App.OnInit() gets called. Rarely needed in
practice. Unlike App.OnInit(), does not need to return
True/False."""
pass
def Pending(self):
"""Return True if unprocessed events are in the window system
event queue."""
pass
def ProcessIdle(self):
"""Sends the EVT_IDLE event and is called inside the MainLoop.
You only need this if you implement your own main loop."""
pass
def SetAppName(self, name):
"""Set the name of the application."""
pass
def SetAssertMode(self, mode):
"""Lets you control how C++ assertions are processed.
Valid modes are: PYAPP_ASSERT_SUPPRESS,
PYAPP_ASSERT_EXCEPTION, and PYAPP_ASSERT_DIALOG. Using
_SUPPRESS will give you behavior like the old final builds and
the assert will be ignored, _EXCEPTION is the new default
described above, and _DIALOG is like the default in 2.3.3.1
and prior hybrid builds. You can also combine _EXCEPTION and
_DIALOG if you wish, although I don't know why you would."""
pass
def SetAuto3D(self, auto3D):
"""Switches automatic 3D controls on or off. Windows only.
If auto3D is True, all controls will be created with 3D
appearances unless overridden for a control or dialog. The
default is True."""
pass
def SetClassName(self, name):
"""Set the class name of the application."""
pass
def SetExitOnFrameDelete(self, flag):
"""If flag is True (the default), the application will exit
when the top-level frame is deleted. If False, the
application will continue to run."""
pass
def SetPrintMode(self, mode):
"""Deprecated."""
pass
def SetTopWindow(self, window):
"""Set the 'top' window.
You can call this from within App.OnInit to let wxWindows
know which is the main window. You don't have to set the top
window; it is only a convenience so that (for example) certain
dialogs without parents can use a specific window as the top
window. If no top window is specified by the application,
wxWindows just uses the first frame or dialog in its top-level
window list, when it needs to use the top window."""
pass
def SetUseBestVisual(self, flag):
"""Allows the programmer to specify whether the application
will use the best visual on systems that support several
visual on the same display. This is typically the case under
Solaris and IRIX, where the default visual is only 8-bit
whereas certain applications are supposed to run in TrueColour
mode.
Note that this function has to be called in the constructor of
the App instance and won't have any effect when called later
on.
This function currently only has effect under GTK."""
pass
def SetVendorName(self, name):
"""Sets the name of application's vendor. The name will be
used in registry access."""
pass
def Yield(self, onlyIfNeeded=False):
"""Yields control to pending messages in the windowing system.
This can be useful, for example, when a time-consuming process
writes to a text window. Without an occasional yield, the
text window will not be updated properly, and on systems with
cooperative multitasking, such as Windows 3.1 other processes
will not respond.
Caution should be exercised, however, since yielding may allow
the user to perform actions which are not compatible with the
current task. Disabling menu items or whole menus during
processing can avoid unwanted reentrance of code: see
wx.SafeYield for a better function.
Calling Yield() recursively is normally an error and an assert
failure is raised in debug build if such situation is
detected. However if the the onlyIfNeeded parameter is True,
the method will just silently return False instead."""
pass
from wxPython.wx import wxPlatform
_redirect = (wxPlatform == '__WXMSW__' or wxPlatform == '__WXMAC__')
del wxPlatform
class App(PyApp):
"""The main application class.
Inherit from this class and implement an OnInit method that
creates a frame and then calls self.SetTopWindow(frame)."""
def __init__(self, redirect=_redirect, filename=None, useBestVisual=False):
"""Create an App instance.
redirect defaults to True on Windows and Mac. If redirect is
True, stdio goes to an output window or a file if filename is
not None."""
pass
del _redirect
class PyOnDemandOutputWindow:
"""Used by App to display stdout and stderr messages if app is
created using App(redirect=True). Mostly useful on Windows or
Mac where apps aren't always launched from the command line."""
pass
class PySimpleApp(App):
"""Use instead of App for simple apps with a simple frame or
dialog, particularly for testing."""
def __init__(self, flag=0):
"""Create a PySimpleApp instance.
flag is the same as App's redirect parameter to redirect stdio."""
pass
def OnInit(self):
"""Automatically does a wx.InitAllImageHandlers()."""
pass
class PyWidgetTester(App):
"""Use instead of App for testing widgets. Provides a frame
containing an instance of a widget.
Create a PyWidgetTester instance with the desired size for the
frame, then create the widget and show the frame using SetWidget."""
def __init__(self, size=(250, 100)):
"""Create a PyWidgetTester instance, with no stdio redirection.
size is for the frame to hold the widget."""
pass
def OnInit(self):
"""Creates a frame that will hold the widget to be tested."""
pass
def SetWidget(self, widgetClass, *args):
"""Create a widgetClass instance using the supplied args and
with a frame as parent, then show the frame."""
pass
class SingleInstanceChecker:
"""Allows one to check that only a single instance of a program is
running. To do it, you should create an object of this class. As
long as this object is alive, calls to IsAnotherRunning() from
other processes will return True.
As the object should have the life span as big as possible, it
makes sense to create it either as a global or in App.OnInit()."""
def __init__(self, name, path=wx.EmptyString):
"""Create a SingleInstanceChecker instance.
name should be as unique as possible. It is used as the mutex
name under Win32 and the lock file name under Unix.
App.GetAppName() and wx.GetUserId() are commonly used.
path is optional and is ignored under Win32 and used as the
directory to create the lock file in under Unix (default is
wx.GetHomeDir())."""
pass
def Create(self, name, path=wx.EmptyString):
"""Create a SingleInstanceChecker instance."""
pass
def IsAnotherRunning(self):
"""Return True if another copy of this program is already running."""
pass

View File

@@ -0,0 +1,206 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class Object:
"""Base class for all other wxPython classes."""
def __init__(self):
"""Create a Object instance."""
pass
def Destroy(self):
"""Destroy the Object instance."""
pass
def GetClassName(self):
"""Return the name of the class."""
pass
class EvtHandler(Object):
"""Base class that can handle events from the windowing system.
If the handler is part of a chain, the destructor will unlink
itself and restore the previous and next handlers so that they
point to each other."""
def __init__(self):
"""Create a EvtHandler instance."""
pass
def AddPendingEvent(self, event):
"""Post an event to be processed later.
event is an Event instance to add to process queue.
The difference between sending an event (using the
ProcessEvent method) and posting it is that in the first case
the event is processed before the function returns, while in
the second case, the function returns immediately and the
event will be processed sometime later (usually during the
next event loop iteration).
A copy of event is made by the function, so the original can
be deleted as soon as function returns (it is common that the
original is created on the stack). This requires that the
Event::Clone method be implemented by event so that it can
be duplicated and stored until it gets processed.
This is also the method to call for inter-thread
communication. It will post events safely between different
threads which means that this method is thread-safe by using
critical sections where needed. In a multi-threaded program,
you often need to inform the main GUI thread about the status
of other working threads and such notification should be done
using this method.
This method automatically wakes up idle handling if the
underlying window system is currently idle and thus would not
send any idle events. (Waking up idle handling is done
calling WakeUpIdle.)"""
pass
def Connect(self, id, lastId, eventType, func):
"""Connects the given function dynamically with the event
handler, id and event type. This is an alternative to the use
of static event tables.
id is the identifier (or first of the identifier range) to be
associated with the event handler function.
lastId is the second part of the identifier range to be
associated with the event handler function.
eventType is the event type to be associated with this event
handler.
function is the event handler function.
userData is data to be associated with the event table entry."""
pass
def Disconnect(self, id, lastId=-1, eventType=wx.EVT_NULL):
"""Disconnects the given function dynamically from the event
handler, using the specified parameters as search criteria and
returning True if a matching function has been found and
removed. This method can only disconnect functions which have
been added using the EvtHandler.Connect method. There is no
way to disconnect functions connected using the (static) event
tables.
id is the identifier (or first of the identifier range) to be
associated with the event handler function.
lastId is the second part of the identifier range to be
associated with the event handler function.
eventType is the event type to be associated with this event
handler.
function is the event handler function.
userData is data to be associated with the event table entry."""
pass
def GetEvtHandlerEnabled(self):
"""Return True if the event handler is enabled, False
otherwise."""
pass
def GetNextHandler(self):
"""Return the next handler in the chain."""
pass
def GetPreviousHandler(self):
"""Return the previous handler in the chain."""
pass
def ProcessEvent(self, event):
"""Processes an event, searching event tables and calling zero
or more suitable event handler function(s). Return True if a
suitable event handler function was found and executed, and
the function did not call Event.Skip().
event is an Event to process.
Normally, your application would not call this function: it is
called in the wxPython implementation to dispatch incoming
user interface events to the framework (and application).
However, you might need to call it if implementing new
functionality (such as a new control) where you define new
event types, as opposed to allowing the user to override
virtual functions.
An instance where you might actually override the ProcessEvent
function is where you want to direct event processing to event
handlers not normally noticed by wxWindows. For example, in
the document/view architecture, documents and views are
potential event handlers. When an event reaches a frame,
ProcessEvent will need to be called on the associated document
and view in case event handler functions are associated with
these objects. The property classes library (Property) also
overrides ProcessEvent for similar reasons.
The normal order of event table searching is as follows:
1. If the object is disabled (via a call to
EvtHandler.SetEvtHandlerEnabled) the function skips to step
(6).
2. If the object is a Window, ProcessEvent is recursively
called on the window's Validator. If this returns TRUE, the
function exits.
3. SearchEventTable is called for this event handler. If this
fails, the base class table is tried, and so on until no more
tables exist or an appropriate function was found, in which
case the function exits.
4. The search is applied down the entire chain of event
handlers (usually the chain has a length of one). If this
succeeds, the function exits.
5. If the object is a Window and the event is a
CommandEvent, ProcessEvent is recursively applied to the
parent window's event handler. If this returns TRUE, the
function exits.
6. Finally, ProcessEvent is called on the App object.
See also:
EvtHandler::SearchEventTable"""
pass
def SetEvtHandlerEnabled(self, enabled):
"""Enable or disable the event handler.
You can use this function to avoid having to remove the event
handler from the chain, for example when implementing a dialog
editor and changing from edit to test mode."""
pass
def SetNextHandler(self, handler):
"""Set the pointer to the next handler."""
pass
def SetPreviousHandler(self, handler):
"""Set the pointer to the previous handler."""
pass

View File

@@ -0,0 +1,485 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class Clipboard(Object):
""""""
def AddData(self):
""""""
pass
def Clear(self):
""""""
pass
def Close(self):
""""""
pass
def Flush(self):
""""""
pass
def GetData(self):
""""""
pass
def IsOpened(self):
""""""
pass
def IsSupported(self):
""""""
pass
def Open(self):
""""""
pass
def SetData(self):
""""""
pass
def UsePrimarySelection(self):
""""""
pass
def __init__(self):
""""""
pass
class DataFormat:
""""""
def GetId(self):
""""""
pass
def GetType(self):
""""""
pass
def SetId(self):
""""""
pass
def SetType(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class DataObject:
""""""
def GetAllFormats(self):
""""""
pass
def GetDataHere(self):
""""""
pass
def GetDataSize(self):
""""""
pass
def GetFormatCount(self):
""""""
pass
def GetPreferredFormat(self):
""""""
pass
def IsSupportedFormat(self):
""""""
pass
def SetData(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class DataObjectComposite(DataObject):
""""""
def Add(self):
""""""
pass
def __init__(self):
""""""
pass
class DataObjectSimple(DataObject):
""""""
def GetFormat(self):
""""""
pass
def SetFormat(self):
""""""
pass
def __init__(self):
""""""
pass
class PyDataObjectSimple(DataObjectSimple):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class BitmapDataObject(DataObjectSimple):
""""""
def GetBitmap(self):
""""""
pass
def SetBitmap(self):
""""""
pass
def __init__(self):
""""""
pass
class PyBitmapDataObject(BitmapDataObject):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class CustomDataObject(DataObjectSimple):
""""""
def GetData(self):
""""""
pass
def GetSize(self):
""""""
pass
def SetData(self):
""""""
pass
def TakeData(self):
""""""
pass
def __init__(self):
""""""
pass
class DragImage(Object):
""""""
def BeginDrag(self):
""""""
pass
def BeginDrag2(self):
""""""
pass
def EndDrag(self):
""""""
pass
def GetImageRect(self):
""""""
pass
def Hide(self):
""""""
pass
def Move(self):
""""""
pass
def RedrawImage(self):
""""""
pass
def SetBackingBitmap(self):
""""""
pass
def Show(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class DropSource:
""""""
def DoDragDrop(self):
""""""
pass
def GetDataObject(self):
""""""
pass
def SetCursor(self):
""""""
pass
def SetData(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_GiveFeedback(self):
""""""
pass
class DropTarget:
""""""
def __init__(self):
""""""
pass
class PyDropTarget(DropTarget):
""""""
def GetData(self):
""""""
pass
def GetDataObject(self):
""""""
pass
def SetDataObject(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_OnDragOver(self):
""""""
pass
def base_OnDrop(self):
""""""
pass
def base_OnEnter(self):
""""""
pass
def base_OnLeave(self):
""""""
pass
class FileDataObject(DataObjectSimple):
""""""
def GetFilenames(self):
""""""
pass
def __init__(self):
""""""
pass
class FileDropTarget(PyDropTarget):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_OnData(self):
""""""
pass
def base_OnDragOver(self):
""""""
pass
def base_OnDrop(self):
""""""
pass
def base_OnEnter(self):
""""""
pass
def base_OnLeave(self):
""""""
pass
class TextDataObject(DataObjectSimple):
""""""
def GetText(self):
""""""
pass
def GetTextLength(self):
""""""
pass
def SetText(self):
""""""
pass
def __init__(self):
""""""
pass
class PyTextDataObject(TextDataObject):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class TextDropTarget(PyDropTarget):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_OnData(self):
""""""
pass
def base_OnDragOver(self):
""""""
pass
def base_OnDrop(self):
""""""
pass
def base_OnEnter(self):
""""""
pass
def base_OnLeave(self):
""""""
pass
class URLDataObject(DataObjectComposite):
""""""
def GetURL(self):
""""""
pass
def SetURL(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,199 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class ConfigBase:
""""""
def DeleteAll(self):
""""""
pass
def DeleteEntry(self):
""""""
pass
def DeleteGroup(self):
""""""
pass
def Exists(self):
""""""
pass
def ExpandEnvVars(self):
""""""
pass
def Flush(self):
""""""
pass
def GetAppName(self):
""""""
pass
def GetEntryType(self):
""""""
pass
def GetFirstEntry(self):
""""""
pass
def GetFirstGroup(self):
""""""
pass
def GetNextEntry(self):
""""""
pass
def GetNextGroup(self):
""""""
pass
def GetNumberOfEntries(self):
""""""
pass
def GetNumberOfGroups(self):
""""""
pass
def GetPath(self):
""""""
pass
def GetStyle(self):
""""""
pass
def GetVendorName(self):
""""""
pass
def HasEntry(self):
""""""
pass
def HasGroup(self):
""""""
pass
def IsExpandingEnvVars(self):
""""""
pass
def IsRecordingDefaults(self):
""""""
pass
def Read(self):
""""""
pass
def ReadBool(self):
""""""
pass
def ReadFloat(self):
""""""
pass
def ReadInt(self):
""""""
pass
def RenameEntry(self):
""""""
pass
def RenameGroup(self):
""""""
pass
def SetAppName(self):
""""""
pass
def SetExpandEnvVars(self):
""""""
pass
def SetPath(self):
""""""
pass
def SetRecordDefaults(self):
""""""
pass
def SetStyle(self):
""""""
pass
def SetVendorName(self):
""""""
pass
def Write(self):
""""""
pass
def WriteBool(self):
""""""
pass
def WriteFloat(self):
""""""
pass
def WriteInt(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class Config(ConfigBase):
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class FileConfig(ConfigBase):
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,485 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class Point:
""""""
def Set(self):
""""""
pass
def __add__(self):
""""""
pass
def __del__(self):
""""""
pass
def __eq__(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __getitem__(self):
""""""
pass
def __init__(self):
""""""
pass
def __len__(self):
""""""
pass
def __ne__(self):
""""""
pass
def __nonzero__(self):
""""""
pass
def __setattr__(self):
""""""
pass
def __setitem__(self):
""""""
pass
def __str__(self):
""""""
pass
def __sub__(self):
""""""
pass
def asTuple(self):
""""""
pass
class Point2DDouble:
""""""
def GetCrossProduct(self):
""""""
pass
def GetDistance(self):
""""""
pass
def GetDistanceSquare(self):
""""""
pass
def GetDotProduct(self):
""""""
pass
def GetFloor(self):
""""""
pass
def GetRounded(self):
""""""
pass
def GetVectorAngle(self):
""""""
pass
def GetVectorLength(self):
""""""
pass
def Normalize(self):
""""""
pass
def SetPolarCoordinates(self):
""""""
pass
def SetVectorAngle(self):
""""""
pass
def SetVectorLength(self):
""""""
pass
def __eq__(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __getitem__(self):
""""""
pass
def __iadd__(self):
""""""
pass
def __idiv__(self):
""""""
pass
def __imul__(self):
""""""
pass
def __init__(self):
""""""
pass
def __isub__(self):
""""""
pass
def __len__(self):
""""""
pass
def __ne__(self):
""""""
pass
def __neg__(self):
""""""
pass
def __nonzero__(self):
""""""
pass
def __setattr__(self):
""""""
pass
def __setitem__(self):
""""""
pass
def __str__(self):
""""""
pass
def asTuple(self):
""""""
pass
class RealPoint:
""""""
def Set(self):
""""""
pass
def __add__(self):
""""""
pass
def __del__(self):
""""""
pass
def __eq__(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __getitem__(self):
""""""
pass
def __init__(self):
""""""
pass
def __len__(self):
""""""
pass
def __ne__(self):
""""""
pass
def __nonzero__(self):
""""""
pass
def __setattr__(self):
""""""
pass
def __setitem__(self):
""""""
pass
def __str__(self):
""""""
pass
def __sub__(self):
""""""
pass
def asTuple(self):
""""""
pass
class Rect:
""""""
def GetBottom(self):
""""""
pass
def GetHeight(self):
""""""
pass
def GetLeft(self):
""""""
pass
def GetPosition(self):
""""""
pass
def GetRight(self):
""""""
pass
def GetSize(self):
""""""
pass
def GetTop(self):
""""""
pass
def GetWidth(self):
""""""
pass
def GetX(self):
""""""
pass
def GetY(self):
""""""
pass
def Inflate(self):
""""""
pass
def Inside(self):
""""""
pass
def SetBottom(self):
""""""
pass
def SetHeight(self):
""""""
pass
def SetLeft(self):
""""""
pass
def SetPosition(self):
""""""
pass
def SetRight(self):
""""""
pass
def SetSize(self):
""""""
pass
def SetTop(self):
""""""
pass
def SetWidth(self):
""""""
pass
def SetX(self):
""""""
pass
def SetY(self):
""""""
pass
def __add__(self):
""""""
pass
def __del__(self):
""""""
pass
def __eq__(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __getitem__(self):
""""""
pass
def __init__(self):
""""""
pass
def __len__(self):
""""""
pass
def __ne__(self):
""""""
pass
def __nonzero__(self):
""""""
pass
def __setattr__(self):
""""""
pass
def __setitem__(self):
""""""
pass
def __str__(self):
""""""
pass
def asTuple(self):
""""""
pass
class Size:
""""""
def GetHeight(self):
""""""
pass
def GetWidth(self):
""""""
pass
def GetX(self):
""""""
pass
def GetY(self):
""""""
pass
def Set(self):
""""""
pass
def SetHeight(self):
""""""
pass
def SetWidth(self):
""""""
pass
def __del__(self):
""""""
pass
def __eq__(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __getitem__(self):
""""""
pass
def __init__(self):
""""""
pass
def __len__(self):
""""""
pass
def __ne__(self):
""""""
pass
def __nonzero__(self):
""""""
pass
def __setattr__(self):
""""""
pass
def __setitem__(self):
""""""
pass
def __str__(self):
""""""
pass
def asTuple(self):
""""""
pass

View File

@@ -0,0 +1,553 @@
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class DateSpan:
""""""
def Add(self):
""""""
pass
def GetDays(self):
""""""
pass
def GetMonths(self):
""""""
pass
def GetTotalDays(self):
""""""
pass
def GetWeeks(self):
""""""
pass
def GetYears(self):
""""""
pass
def Multiply(self):
""""""
pass
def Neg(self):
""""""
pass
def SetDays(self):
""""""
pass
def SetMonths(self):
""""""
pass
def SetWeeks(self):
""""""
pass
def SetYears(self):
""""""
pass
def Subtract(self):
""""""
pass
def __add__(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def __mul__(self):
""""""
pass
def __neg__(self):
""""""
pass
def __rmul__(self):
""""""
pass
def __sub__(self):
""""""
pass
class DateTime:
""""""
def AddDS(self):
""""""
pass
def AddTS(self):
""""""
pass
def Format(self):
""""""
pass
def FormatDate(self):
""""""
pass
def FormatISODate(self):
""""""
pass
def FormatISOTime(self):
""""""
pass
def FormatTime(self):
""""""
pass
def GetDay(self):
""""""
pass
def GetDayOfYear(self):
""""""
pass
def GetHour(self):
""""""
pass
def GetJDN(self):
""""""
pass
def GetJulianDayNumber(self):
""""""
pass
def GetLastMonthDay(self):
""""""
pass
def GetLastWeekDay(self):
""""""
pass
def GetMJD(self):
""""""
pass
def GetMillisecond(self):
""""""
pass
def GetMinute(self):
""""""
pass
def GetModifiedJulianDayNumber(self):
""""""
pass
def GetMonth(self):
""""""
pass
def GetNextWeekDay(self):
""""""
pass
def GetPrevWeekDay(self):
""""""
pass
def GetRataDie(self):
""""""
pass
def GetSecond(self):
""""""
pass
def GetTicks(self):
""""""
pass
def GetWeek(self):
""""""
pass
def GetWeekDay(self):
""""""
pass
def GetWeekDayInSameWeek(self):
""""""
pass
def GetWeekOfMonth(self):
""""""
pass
def GetWeekOfYear(self):
""""""
pass
def GetYear(self):
""""""
pass
def GetYearDay(self):
""""""
pass
def IsBetween(self):
""""""
pass
def IsDST(self):
""""""
pass
def IsEarlierThan(self):
""""""
pass
def IsEqualTo(self):
""""""
pass
def IsEqualUpTo(self):
""""""
pass
def IsLaterThan(self):
""""""
pass
def IsSameDate(self):
""""""
pass
def IsSameTime(self):
""""""
pass
def IsStrictlyBetween(self):
""""""
pass
def IsValid(self):
""""""
pass
def IsWorkDay(self):
""""""
pass
def MakeGMT(self):
""""""
pass
def MakeTimezone(self):
""""""
pass
def ParseDate(self):
""""""
pass
def ParseDateTime(self):
""""""
pass
def ParseFormat(self):
""""""
pass
def ParseRfc822Date(self):
""""""
pass
def ParseTime(self):
""""""
pass
def ResetTime(self):
""""""
pass
def Set(self):
""""""
pass
def SetDay(self):
""""""
pass
def SetHMS(self):
""""""
pass
def SetHour(self):
""""""
pass
def SetJDN(self):
""""""
pass
def SetMillisecond(self):
""""""
pass
def SetMinute(self):
""""""
pass
def SetMonth(self):
""""""
pass
def SetSecond(self):
""""""
pass
def SetTimeT(self):
""""""
pass
def SetToCurrent(self):
""""""
pass
def SetToLastMonthDay(self):
""""""
pass
def SetToLastWeekDay(self):
""""""
pass
def SetToNextWeekDay(self):
""""""
pass
def SetToPrevWeekDay(self):
""""""
pass
def SetToTheWeek(self):
""""""
pass
def SetToWeekDay(self):
""""""
pass
def SetToWeekDayInSameWeek(self):
""""""
pass
def SetToYearDay(self):
""""""
pass
def SetYear(self):
""""""
pass
def Subtract(self):
""""""
pass
def SubtractDS(self):
""""""
pass
def SubtractTS(self):
""""""
pass
def ToGMT(self):
""""""
pass
def ToTimezone(self):
""""""
pass
def __add__(self):
""""""
pass
def __cmp__(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def __str__(self):
""""""
pass
def __sub__(self):
""""""
pass
def _wxDateTimePtr__add__DS(self):
""""""
pass
def _wxDateTimePtr__add__TS(self):
""""""
pass
def _wxDateTimePtr__sub__DS(self):
""""""
pass
def _wxDateTimePtr__sub__DT(self):
""""""
pass
def _wxDateTimePtr__sub__TS(self):
""""""
pass
class TimeSpan:
""""""
def Abs(self):
""""""
pass
def Add(self):
""""""
pass
def Format(self):
""""""
pass
def GetDays(self):
""""""
pass
def GetHours(self):
""""""
pass
def GetMilliseconds(self):
""""""
pass
def GetMinutes(self):
""""""
pass
def GetSeconds(self):
""""""
pass
def GetWeeks(self):
""""""
pass
def IsEqualTo(self):
""""""
pass
def IsLongerThan(self):
""""""
pass
def IsNegative(self):
""""""
pass
def IsNull(self):
""""""
pass
def IsPositive(self):
""""""
pass
def IsShorterThan(self):
""""""
pass
def Multiply(self):
""""""
pass
def Neg(self):
""""""
pass
def Subtract(self):
""""""
pass
def __add__(self):
""""""
pass
def __cmp__(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def __mul__(self):
""""""
pass
def __neg__(self):
""""""
pass
def __rmul__(self):
""""""
pass
def __sub__(self):
""""""
pass

View File

@@ -0,0 +1,471 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
from Frames import Frame
import Parameters as wx
from Window import TopLevelWindow
class Dialog(TopLevelWindow):
""""""
def Centre(self):
""""""
pass
def Create(self):
""""""
pass
def CreateButtonSizer(self):
""""""
pass
def CreateTextSizer(self):
""""""
pass
def EndModal(self):
""""""
pass
def GetReturnCode(self):
""""""
pass
def IsModal(self):
""""""
pass
def SetModal(self):
""""""
pass
def SetReturnCode(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class ColourDialog(Dialog):
""""""
def GetColourData(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class ColourData(Object):
""""""
def GetChooseFull(self):
""""""
pass
def GetColour(self):
""""""
pass
def GetCustomColour(self):
""""""
pass
def SetChooseFull(self):
""""""
pass
def SetColour(self):
""""""
pass
def SetCustomColour(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class ColourDatabase(Object):
""""""
def Append(self):
""""""
pass
def FindColour(self):
""""""
pass
def FindName(self):
""""""
pass
def __init__(self):
""""""
pass
class DirDialog(Dialog):
""""""
def GetMessage(self):
""""""
pass
def GetPath(self):
""""""
pass
def GetStyle(self):
""""""
pass
def SetMessage(self):
""""""
pass
def SetPath(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class FileDialog(Dialog):
""""""
def GetDirectory(self):
""""""
pass
def GetFilename(self):
""""""
pass
def GetFilenames(self):
""""""
pass
def GetFilterIndex(self):
""""""
pass
def GetMessage(self):
""""""
pass
def GetPath(self):
""""""
pass
def GetPaths(self):
""""""
pass
def GetStyle(self):
""""""
pass
def GetWildcard(self):
""""""
pass
def SetDirectory(self):
""""""
pass
def SetFilename(self):
""""""
pass
def SetFilterIndex(self):
""""""
pass
def SetMessage(self):
""""""
pass
def SetPath(self):
""""""
pass
def SetStyle(self):
""""""
pass
def SetWildcard(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class FindReplaceDialog(Dialog):
""""""
def Create(self):
""""""
pass
def GetData(self):
""""""
pass
def SetData(self):
""""""
pass
def __init__(self):
""""""
pass
class FindReplaceData(Object):
""""""
def GetFindString(self):
""""""
pass
def GetFlags(self):
""""""
pass
def GetReplaceString(self):
""""""
pass
def SetFindString(self):
""""""
pass
def SetFlags(self):
""""""
pass
def SetReplaceString(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class FontDialog(Dialog):
""""""
def GetFontData(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class FontData(Object):
""""""
def EnableEffects(self):
""""""
pass
def GetAllowSymbols(self):
""""""
pass
def GetChosenFont(self):
""""""
pass
def GetColour(self):
""""""
pass
def GetEnableEffects(self):
""""""
pass
def GetInitialFont(self):
""""""
pass
def GetShowHelp(self):
""""""
pass
def SetAllowSymbols(self):
""""""
pass
def SetChosenFont(self):
""""""
pass
def SetColour(self):
""""""
pass
def SetInitialFont(self):
""""""
pass
def SetRange(self):
""""""
pass
def SetShowHelp(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class MessageDialog(Dialog):
""""""
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class MultiChoiceDialog(Dialog):
""""""
def GetSelections(self):
""""""
pass
def SetSelections(self):
""""""
pass
def __init__(self):
""""""
pass
class ProgressDialog(Frame):
""""""
def Resume(self):
""""""
pass
def Update(self):
""""""
pass
def __init__(self):
""""""
pass
class SingleChoiceDialog(Dialog):
""""""
def GetSelection(self):
""""""
pass
def GetStringSelection(self):
""""""
pass
def SetSelection(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class TextEntryDialog(Dialog):
""""""
def GetValue(self):
""""""
pass
def SetValue(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,25 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
class PyAssertionError(AssertionError):
""""""
pass
class PyDeadObjectError(AttributeError):
"""Instances of wx objects that are OOR capable will have their
__class__ attribute changed to a _wxPyDeadObject class when the
C++ object is deleted. Subsequent attempts to access object
attributes will raise this error, rather than segfault."""
pass

View File

@@ -0,0 +1,801 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
def EVT_ACTIVATE(win, func):
""""""
pass
def EVT_ACTIVATE_APP(win, func):
""""""
pass
def EVT_BUTTON(win, id, func):
""""""
pass
def EVT_CALCULATE_LAYOUT():
""""""
pass
def EVT_CHAR(win, func):
""""""
pass
def EVT_CHAR_HOOK(win, func):
""""""
pass
def EVT_CHECKBOX(win, id, func):
""""""
pass
def EVT_CHECKLISTBOX(win, id, func):
""""""
pass
def EVT_CHILD_FOCUS(win, func):
""""""
pass
def EVT_CHOICE(win, id, func):
""""""
pass
def EVT_CLOSE(win, func):
""""""
pass
def EVT_COMBOBOX(win, id, func):
""""""
pass
def EVT_COMMAND(win, id, cmd, func):
""""""
pass
def EVT_COMMAND_ENTER(win, id, func):
""""""
pass
def EVT_COMMAND_FIND():
""""""
pass
def EVT_COMMAND_FIND_CLOSE():
""""""
pass
def EVT_COMMAND_FIND_NEXT():
""""""
pass
def EVT_COMMAND_FIND_REPLACE():
""""""
pass
def EVT_COMMAND_FIND_REPLACE_ALL():
""""""
pass
def EVT_COMMAND_KILL_FOCUS(win, id, func):
""""""
pass
def EVT_COMMAND_LEFT_CLICK(win, id, func):
""""""
pass
def EVT_COMMAND_LEFT_DCLICK(win, id, func):
""""""
pass
def EVT_COMMAND_RANGE(win, id1, id2, cmd, func):
""""""
pass
def EVT_COMMAND_RIGHT_CLICK(win, id, func):
""""""
pass
def EVT_COMMAND_RIGHT_DCLICK(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_BOTTOM(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_LINEDOWN(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_LINEUP(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_PAGEDOWN(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_PAGEUP(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_THUMBRELEASE(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_THUMBTRACK(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLLWIN_TOP(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_BOTTOM(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_ENDSCROLL(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_LINEDOWN(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_LINEUP(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_PAGEDOWN(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_PAGEUP(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_THUMBRELEASE(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_THUMBTRACK(win, id, func):
""""""
pass
def EVT_COMMAND_SCROLL_TOP(win, id, func):
""""""
pass
def EVT_COMMAND_SET_FOCUS(win, id, func):
""""""
pass
def EVT_CONTEXT_MENU(win, func):
""""""
pass
def EVT_DISPLAY_CHANGED(win, func):
""""""
pass
def EVT_DROP_FILES(win, func):
""""""
pass
def EVT_END_PROCESS(eh, id, func):
""""""
pass
def EVT_END_SESSION(win, func):
""""""
pass
def EVT_ENTER_WINDOW(win, func):
""""""
pass
def EVT_ERASE_BACKGROUND(win, func):
""""""
pass
def EVT_ICONIZE(win, func):
""""""
pass
def EVT_IDLE(win, func):
""""""
pass
def EVT_INIT_DIALOG(win, func):
""""""
pass
def EVT_JOYSTICK_EVENTS(win, func):
""""""
pass
def EVT_JOY_DOWN(win, func):
""""""
pass
def EVT_JOY_MOVE(win, func):
""""""
pass
def EVT_JOY_UP(win, func):
""""""
pass
def EVT_JOY_ZMOVE(win, func):
""""""
pass
def EVT_KEY_DOWN(win, func):
""""""
pass
def EVT_KEY_UP(win, func):
""""""
pass
def EVT_KILL_FOCUS(win, func):
""""""
pass
def EVT_LEAVE_WINDOW(win, func):
""""""
pass
def EVT_LEFT_DCLICK(win, func):
""""""
pass
def EVT_LEFT_DOWN(win, func):
""""""
pass
def EVT_LEFT_UP(win, func):
""""""
pass
def EVT_LISTBOX(win, id, func):
""""""
pass
def EVT_LISTBOX_DCLICK(win, id, func):
""""""
pass
def EVT_LIST_BEGIN_DRAG():
""""""
pass
def EVT_LIST_BEGIN_LABEL_EDIT():
""""""
pass
def EVT_LIST_BEGIN_RDRAG():
""""""
pass
def EVT_LIST_CACHE_HINT():
""""""
pass
def EVT_LIST_COL_BEGIN_DRAG():
""""""
pass
def EVT_LIST_COL_CLICK():
""""""
pass
def EVT_LIST_COL_DRAGGING():
""""""
pass
def EVT_LIST_COL_END_DRAG():
""""""
pass
def EVT_LIST_COL_RIGHT_CLICK():
""""""
pass
def EVT_LIST_DELETE_ALL_ITEMS():
""""""
pass
def EVT_LIST_DELETE_ITEM():
""""""
pass
def EVT_LIST_END_LABEL_EDIT():
""""""
pass
def EVT_LIST_GET_INFO():
""""""
pass
def EVT_LIST_INSERT_ITEM():
""""""
pass
def EVT_LIST_ITEM_ACTIVATED():
""""""
pass
def EVT_LIST_ITEM_DESELECTED():
""""""
pass
def EVT_LIST_ITEM_FOCUSED():
""""""
pass
def EVT_LIST_ITEM_MIDDLE_CLICK():
""""""
pass
def EVT_LIST_ITEM_RIGHT_CLICK():
""""""
pass
def EVT_LIST_ITEM_SELECTED():
""""""
pass
def EVT_LIST_KEY_DOWN():
""""""
pass
def EVT_LIST_SET_INFO():
""""""
pass
def EVT_MAXIMIZE(win, func):
""""""
pass
def EVT_MENU(win, id, func):
""""""
pass
def EVT_MENU_CLOSE(win, func):
""""""
pass
def EVT_MENU_HIGHLIGHT(win, id, func):
""""""
pass
def EVT_MENU_HIGHLIGHT_ALL(win, func):
""""""
pass
def EVT_MENU_OPEN(win, func):
""""""
pass
def EVT_MENU_RANGE(win, id1, id2, func):
""""""
pass
def EVT_MIDDLE_DCLICK(win, func):
""""""
pass
def EVT_MIDDLE_DOWN(win, func):
""""""
pass
def EVT_MIDDLE_UP(win, func):
""""""
pass
def EVT_MOTION(win, func):
""""""
pass
def EVT_MOUSEWHEEL(win, func):
""""""
pass
def EVT_MOUSE_CAPTURE_CHANGED(win, func):
""""""
pass
def EVT_MOUSE_EVENTS(win, func):
""""""
pass
def EVT_MOVE(win, func):
""""""
pass
def EVT_NAVIGATION_KEY(win, func):
""""""
pass
def EVT_NOTEBOOK_PAGE_CHANGED(win, id, func):
""""""
pass
def EVT_NOTEBOOK_PAGE_CHANGING(win, id, func):
""""""
pass
def EVT_PAINT(win, func):
""""""
pass
def EVT_PALETTE_CHANGED(win, func):
""""""
pass
def EVT_QUERY_END_SESSION(win, func):
""""""
pass
def EVT_QUERY_LAYOUT_INFO():
""""""
pass
def EVT_QUERY_NEW_PALETTE(win, func):
""""""
pass
def EVT_RADIOBOX(win, id, func):
""""""
pass
def EVT_RADIOBUTTON(win, id, func):
""""""
pass
def EVT_RIGHT_DCLICK(win, func):
""""""
pass
def EVT_RIGHT_DOWN(win, func):
""""""
pass
def EVT_RIGHT_UP(win, func):
""""""
pass
def EVT_SASH_DRAGGED(win, id, func):
""""""
pass
def EVT_SASH_DRAGGED_RANGE(win, id1, id2, func):
""""""
pass
def EVT_SCROLL(win, func):
""""""
pass
def EVT_SCROLLWIN(win, func):
""""""
pass
def EVT_SCROLLWIN_BOTTOM(win, func):
""""""
pass
def EVT_SCROLLWIN_LINEDOWN(win, func):
""""""
pass
def EVT_SCROLLWIN_LINEUP(win, func):
""""""
pass
def EVT_SCROLLWIN_PAGEDOWN(win, func):
""""""
pass
def EVT_SCROLLWIN_PAGEUP(win, func):
""""""
pass
def EVT_SCROLLWIN_THUMBRELEASE(win, func):
""""""
pass
def EVT_SCROLLWIN_THUMBTRACK(win, func):
""""""
pass
def EVT_SCROLLWIN_TOP(win, func):
""""""
pass
def EVT_SCROLL_BOTTOM(win, func):
""""""
pass
def EVT_SCROLL_ENDSCROLL(win, func):
""""""
pass
def EVT_SCROLL_LINEDOWN(win, func):
""""""
pass
def EVT_SCROLL_LINEUP(win, func):
""""""
pass
def EVT_SCROLL_PAGEDOWN(win, func):
""""""
pass
def EVT_SCROLL_PAGEUP(win, func):
""""""
pass
def EVT_SCROLL_THUMBRELEASE(win, func):
""""""
pass
def EVT_SCROLL_THUMBTRACK(win, func):
""""""
pass
def EVT_SCROLL_TOP(win, func):
""""""
pass
def EVT_SET_CURSOR(win, func):
""""""
pass
def EVT_SET_FOCUS(win, func):
""""""
pass
def EVT_SHOW(win, func):
""""""
pass
def EVT_SIZE():
""""""
pass
def EVT_SLIDER(win, id, func):
""""""
pass
def EVT_SPIN(win, id, func):
""""""
pass
def EVT_SPINCTRL(win, id, func):
""""""
pass
def EVT_SPIN_DOWN(win, id, func):
""""""
pass
def EVT_SPIN_UP(win, id, func):
""""""
pass
def EVT_SPLITTER_DOUBLECLICKED(win, id, func):
""""""
pass
def EVT_SPLITTER_SASH_POS_CHANGED(win, id, func):
""""""
pass
def EVT_SPLITTER_SASH_POS_CHANGING(win, id, func):
""""""
pass
def EVT_SPLITTER_UNSPLIT(win, id, func):
""""""
pass
def EVT_SYS_COLOUR_CHANGED(win, func):
""""""
pass
def EVT_TASKBAR_LEFT_DCLICK(win, func):
""""""
pass
def EVT_TASKBAR_LEFT_DOWN(win, func):
""""""
pass
def EVT_TASKBAR_LEFT_UP(win, func):
""""""
pass
def EVT_TASKBAR_MOVE(win, func):
""""""
pass
def EVT_TASKBAR_RIGHT_DCLICK(win, func):
""""""
pass
def EVT_TASKBAR_RIGHT_DOWN(win, func):
""""""
pass
def EVT_TASKBAR_RIGHT_UP(win, func):
""""""
pass
def EVT_TEXT(win, id, func):
""""""
pass
def EVT_TEXT_ENTER(win, id, func):
""""""
pass
def EVT_TEXT_MAXLEN(win, id, func):
""""""
pass
def EVT_TEXT_URL(win, id, func):
""""""
pass
def EVT_TIMER(win, id, func):
""""""
pass
def EVT_TOGGLEBUTTON(win, id, func):
""""""
pass
def EVT_TOOL(win, id, func):
""""""
pass
def EVT_TOOL_ENTER(win, id, func):
""""""
pass
def EVT_TOOL_RANGE(win, id, id2, func):
""""""
pass
def EVT_TOOL_RCLICKED(win, id, func):
""""""
pass
def EVT_TOOL_RCLICKED_RANGE(win, id, id2, func):
""""""
pass
def EVT_TREE_BEGIN_DRAG():
""""""
pass
def EVT_TREE_BEGIN_LABEL_EDIT():
""""""
pass
def EVT_TREE_BEGIN_RDRAG():
""""""
pass
def EVT_TREE_DELETE_ITEM():
""""""
pass
def EVT_TREE_END_DRAG():
""""""
pass
def EVT_TREE_END_LABEL_EDIT():
""""""
pass
def EVT_TREE_GET_INFO():
""""""
pass
def EVT_TREE_ITEM_ACTIVATED():
""""""
pass
def EVT_TREE_ITEM_COLLAPSED():
""""""
pass
def EVT_TREE_ITEM_COLLAPSING():
""""""
pass
def EVT_TREE_ITEM_EXPANDED():
""""""
pass
def EVT_TREE_ITEM_EXPANDING():
""""""
pass
def EVT_TREE_ITEM_MIDDLE_CLICK():
""""""
pass
def EVT_TREE_ITEM_RIGHT_CLICK():
""""""
pass
def EVT_TREE_KEY_DOWN():
""""""
pass
def EVT_TREE_SEL_CHANGED():
""""""
pass
def EVT_TREE_SEL_CHANGING():
""""""
pass
def EVT_TREE_SET_INFO():
""""""
pass
def EVT_UPDATE_UI(win, id, func):
""""""
pass
def EVT_UPDATE_UI_RANGE(win, id, id2, func):
""""""
pass
def EVT_VLBOX(win, id, func):
""""""
pass
def EVT_WINDOW_CREATE(win, func):
""""""
pass
def EVT_WINDOW_CREATE_ID(win, id, func):
""""""
pass
def EVT_WINDOW_DESTROY(win, func):
""""""
pass
def EVT_WINDOW_DESTROY_ID(win, id, func):
""""""
pass

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,193 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class FSFile(Object):
""""""
def GetAnchor(self):
""""""
pass
def GetLocation(self):
""""""
pass
def GetMimeType(self):
""""""
pass
def GetModificationTime(self):
""""""
pass
def GetStream(self):
""""""
pass
def __init__(self):
""""""
pass
class FileSystem(Object):
""""""
def ChangePathTo(self):
""""""
pass
def FindFirst(self):
""""""
pass
def FindNext(self):
""""""
pass
def GetPath(self):
""""""
pass
def OpenFile(self):
""""""
pass
def __init__(self):
""""""
pass
class CPPFileSystemHandler(Object):
""""""
def __init__(self):
""""""
pass
class FileSystemHandler(CPPFileSystemHandler):
""""""
def CanOpen(self):
""""""
pass
def FindFirst(self):
""""""
pass
def FindNext(self):
""""""
pass
def GetAnchor(self):
""""""
pass
def GetLeftLocation(self):
""""""
pass
def GetMimeTypeFromExt(self):
""""""
pass
def GetProtocol(self):
""""""
pass
def GetRightLocation(self):
""""""
pass
def OpenFile(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class InternetFSHandler(CPPFileSystemHandler):
""""""
def CanOpen(self):
""""""
pass
def OpenFile(self):
""""""
pass
def __init__(self):
""""""
pass
class MemoryFSHandler(CPPFileSystemHandler):
""""""
def CanOpen(self):
""""""
pass
def FindFirst(self):
""""""
pass
def FindNext(self):
""""""
pass
def OpenFile(self):
""""""
pass
def __init__(self):
""""""
pass
class ZipFSHandler(CPPFileSystemHandler):
""""""
def CanOpen(self):
""""""
pass
def FindFirst(self):
""""""
pass
def FindNext(self):
""""""
pass
def OpenFile(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,519 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
from Window import TopLevelWindow, Window
class Frame(TopLevelWindow):
"""A frame is a window whose size and position can (usually) be
changed by the user. It usually has thick borders and a title bar,
and can optionally contain a menu bar, toolbar and status bar. A
frame can contain any window that is not a frame or dialog.
A frame that has a status bar and toolbar created via the
CreateStatusBar/CreateToolBar functions manages these windows, and
adjusts the value returned by GetClientSize to reflect the
remaining size available to application windows.
An application should normally define a CloseEvent handler for the
frame to respond to system close events, for example so that
related data and subwindows can be cleaned up."""
def __init__(self, parent, id, title, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE,
name=wx.PyFrameNameStr):
"""Create a Frame instance.
parent - The window parent. This may be None. If it is not
None, the frame will always be displayed on top of the parent
window on Windows.
id - The window identifier. It may take a value of -1 to
indicate a default value.
title - The caption to be displayed on the frame's title bar.
pos - The window position. A value of (-1, -1) indicates a
default position, chosen by either the windowing system or
wxWindows, depending on platform.
size - The window size. A value of (-1, -1) indicates a
default size, chosen by either the windowing system or
wxWindows, depending on platform.
style - The window style.
name - The name of the window. This parameter is used to
associate a name with the item, allowing the application user
to set Motif resource values for individual windows."""
pass
def Create(self, parent, id, title, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE,
name=wx.PyFrameNameStr):
"""Create a Frame instance."""
pass
def Command(self, id):
"""Simulate a menu command; id is a menu item identifier."""
pass
def CreateStatusBar(self, number=1, style=wx.ST_SIZEGRIP, id=-1,
name=wx.PyStatusLineNameStr):
"""Create a status bar at the bottom of frame.
number - The number of fields to create. Specify a value
greater than 1 to create a multi-field status bar.
style - The status bar style. See wx.StatusBar for a list of
valid styles.
id - The status bar window identifier. If -1, an identifier
will be chosen by wxWindows.
name - The status bar window name.
The width of the status bar is the whole width of the frame
(adjusted automatically when resizing), and the height and
text size are chosen by the host windowing system.
By default, the status bar is an instance of wx.StatusBar."""
pass
def CreateToolBar(self, style=wx.NO_BORDER | wx.TB_HORIZONTAL,
id=-1, name=wx.PyToolBarNameStr):
"""Create a toolbar at the top or left of frame.
style - The toolbar style. See wxToolBar for a list of valid
styles.
id - The toolbar window identifier. If -1, an identifier will
be chosen by wxWindows.
name - The toolbar window name.
By default, the toolbar is an instance of wx.ToolBar (which is
defined to be a suitable toolbar class on each platform, such
as wx.ToolBar95).
When a toolbar has been created with this function, or made
known to the frame with wx.Frame.SetToolBar, the frame will
manage the toolbar position and adjust the return value from
wx.Window.GetClientSize to reflect the available space for
application windows."""
pass
def DoGiveHelp(self, text, show):
"""Show help text (typically in the statusbar).
show is False if you are hiding the help, True otherwise.
Meant to be overridden if a derived frame wants to do
something else with help text from menus and etc. The default
implementation simply calls Frame.SetStatusText."""
pass
def GetClientAreaOrigin(self):
"""Return origin of frame client area (in client coordinates).
It may be different from (0, 0) if the frame has a toolbar."""
pass
def GetMenuBar(self):
"""Return menubar currently associated with frame (if any)."""
pass
def GetStatusBar(self):
"""Return status bar currently associated with frame (if any)."""
pass
def GetStatusBarPane(self):
"""Return status bar pane used to display menu/toolbar help."""
pass
def GetToolBar(self):
"""Return toolbar currently associated with frame (if any)."""
pass
def PopStatusText(self, number=0):
"""Redraw status bar with previous status text.
number - The status field (starting from zero)."""
pass
def ProcessCommand(self, id):
"""Process menu command; return True if processed.
id is the menu command identifier."""
pass
def PushStatusText(self, text, number=0):
"""Set status bar text and redraw status bar, remembering
previous text.
text - The text for the status field.
number - The status field (starting from zero).
Use an empty string to clear the status bar."""
pass
def SendSizeEvent(self):
"""Send a dummy size event to the frame forcing it to
reevaluate its children positions. It is sometimes useful to
call this function after adding or deleting a children after
the frame creation or if a child size changes.
Note that if the frame is using either sizers or constraints
for the children layout, it is enough to call Frame.Layout()
directly and this function should not be used in this case."""
pass
def SetMenuBar(self, menubar):
"""Show the menu bar in the frame.
menuBar - The menu bar to associate with the frame.
If the frame is destroyed, the menu bar and its menus will be
destroyed also, so do not delete the menu bar explicitly
(except by resetting the frame's menu bar to another frame or
NULL).
Under Windows, a call to Frame.OnSize is generated, so be sure
to initialize data members properly before calling SetMenuBar.
Note that it is not possible to call this function twice for
the same frame object."""
pass
def SetStatusBar(self, statBar):
"""Associate a status bar with the frame."""
pass
def SetStatusBarPane(self, n):
"""Set the status bar pane used to display menu and toolbar
help. Using -1 disables help display."""
pass
def SetStatusText(self, text, number=0):
"""Set status bar text and redraw status bar.
text - The text for the status field.
number - The status field (starting from zero).
Use an empty string to clear the status bar."""
pass
def SetStatusWidths(self, choices):
"""Sets the widths of the fields in the status bar.
choices - a Python list of integers, each of which is a status
field width in pixels. A value of -1 indicates that the field
is variable width; at least one field must be -1.
The widths of the variable fields are calculated from the
total width of all fields, minus the sum of widths of the
non-variable fields, divided by the number of variable fields."""
pass
def SetToolBar(self, toolbar):
"""Associate a toolbar with the frame."""
pass
class LayoutAlgorithm(Object):
"""LayoutAlgorithm implements layout of subwindows in MDI or SDI
frames. It sends a wx.CalculateLayoutEvent event to children of
the frame, asking them for information about their size. For MDI
parent frames, the algorithm allocates the remaining space to the
MDI client window (which contains the MDI child frames). For SDI
(normal) frames, a 'main' window is specified as taking up the
remaining space.
Because the event system is used, this technique can be applied to
any windows, which are not necessarily 'aware' of the layout
classes. However, you may wish to use wx.SashLayoutWindow for
your subwindows since this class provides handlers for the
required events, and accessors to specify the desired size of the
window. The sash behaviour in the base class can be used,
optionally, to make the windows user-resizable.
LayoutAlgorithm is typically used in IDE (integrated development
environment) applications, where there are several resizable
windows in addition to the MDI client window, or other primary
editing window. Resizable windows might include toolbars, a
project window, and a window for displaying error and warning
messages.
When a window receives an OnCalculateLayout event, it should call
SetRect in the given event object, to be the old supplied
rectangle minus whatever space the window takes up. It should
also set its own size accordingly.
SashLayoutWindow.OnCalculateLayout generates an OnQueryLayoutInfo
event which it sends to itself to determine the orientation,
alignment and size of the window, which it gets from internal
member variables set by the application.
The algorithm works by starting off with a rectangle equal to the
whole frame client area. It iterates through the frame children,
generating OnCalculateLayout events which subtract the window size
and return the remaining rectangle for the next window to process.
It is assumed (by SashLayoutWindow.OnCalculateLayout) that a
window stretches the full dimension of the frame client, according
to the orientation it specifies. For example, a horizontal window
will stretch the full width of the remaining portion of the frame
client area. In the other orientation, the window will be fixed
to whatever size was specified by OnQueryLayoutInfo. An alignment
setting will make the window 'stick' to the left, top, right or
bottom of the remaining client area. This scheme implies that
order of window creation is important. Say you wish to have an
extra toolbar at the top of the frame, a project window to the
left of the MDI client window, and an output window above the
status bar. You should therefore create the windows in this
order: toolbar, output window, project window. This ensures that
the toolbar and output window take up space at the top and bottom,
and then the remaining height in-between is used for the project
window.
LayoutAlgorithm is quite independent of the way in which
OnCalculateLayout chooses to interpret a window's size and
alignment. Therefore you could implement a different window class
with a new OnCalculateLayout event handler, that has a more
sophisticated way of laying out the windows. It might allow
specification of whether stretching occurs in the specified
orientation, for example, rather than always assuming
stretching. (This could, and probably should, be added to the
existing implementation).
The algorithm object does not respond to events, but itself
generates the following events in order to calculate window sizes:
EVT_QUERY_LAYOUT_INFO(func), EVT_CALCULATE_LAYOUT(func)."""
def __init__(self):
"""Create a LayoutAlgorithm instance."""
pass
def LayoutFrame(self, frame, mainWindow=wx.NULL):
"""Lay out the children of a normal frame.
mainWindow is set to occupy the remaining space. This
function simply calls LayoutWindow()."""
pass
def LayoutMDIFrame(self, frame, rect=wx.NULL):
"""Lay out the children of an MDI parent frame.
If rect is non-NULL, the given rectangle will be used as a
starting point instead of the frame's client area.
The MDI client window is set to occupy the remaining space."""
pass
def LayoutWindow(self, parent, mainWindow=wx.NULL):
"""Lay out the children of a normal frame or other window.
mainWindow is set to occupy the remaining space. If this is
not specified, then the last window that responds to a
calculate layout event in query mode will get the remaining
space (that is, a non-query OnCalculateLayout event will not
be sent to this window and the window will be set to the
remaining size)."""
pass
class MDIChildFrame(Frame):
""""""
def __init__(self):
""""""
pass
def Create(self):
""""""
pass
def Activate(self):
""""""
pass
def Maximize(self):
""""""
pass
def Restore(self):
""""""
pass
class MDIClientWindow(Window):
""""""
def __init__(self):
""""""
pass
def Create(self):
""""""
pass
class MDIParentFrame(Frame):
""""""
def __init__(self):
""""""
pass
def Create(self):
""""""
pass
def ActivateNext(self):
""""""
pass
def ActivatePrevious(self):
""""""
pass
def ArrangeIcons(self):
""""""
pass
def Cascade(self):
""""""
pass
def GetActiveChild(self):
""""""
pass
def GetClientWindow(self):
""""""
pass
def GetToolBar(self):
""""""
pass
def Tile(self):
""""""
pass
class MiniFrame(Frame):
""""""
def __init__(self):
""""""
pass
def Create(self):
""""""
pass
class SplashScreen(Frame):
""""""
def __init__(self):
""""""
pass
def GetSplashStyle(self):
""""""
pass
def GetSplashWindow(self):
""""""
pass
def GetTimeout(self):
""""""
pass
class SplashScreenWindow(Window):
""""""
def __init__(self):
""""""
pass
def GetBitmap(self):
""""""
pass
def SetBitmap(self):
""""""
pass
class StatusBar(Window):
""""""
def __init__(self):
""""""
pass
def Create(self):
""""""
pass
def GetBorderX(self):
""""""
pass
def GetBorderY(self):
""""""
pass
def GetFieldRect(self):
""""""
pass
def GetFieldsCount(self):
""""""
pass
def GetStatusText(self):
""""""
pass
def PopStatusText(self):
""""""
pass
def PushStatusText(self):
""""""
pass
def SetFieldsCount(self):
""""""
pass
def SetMinHeight(self):
""""""
pass
def SetStatusText(self):
""""""
pass
def SetStatusWidths(self):
""""""
pass

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,127 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
from Window import Window
class PopupWindow(Window):
""""""
def Create(self):
""""""
pass
def Position(self):
""""""
pass
def __init__(self):
""""""
pass
class PopupTransientWindow(PopupWindow):
""""""
def Dismiss(self):
""""""
pass
def Popup(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class TipProvider:
""""""
def GetCurrentTip(self):
""""""
pass
def GetTip(self):
""""""
pass
def PreprocessTip(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class PyTipProvider(TipProvider):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class TipWindow(PopupTransientWindow):
""""""
def Close(self):
""""""
pass
def SetBoundingRect(self):
""""""
pass
def __init__(self):
""""""
pass
class ToolTip(Object):
""""""
def GetTip(self):
""""""
pass
def GetWindow(self):
""""""
pass
def SetTip(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,142 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class ImageHandler(Object):
""""""
def CanRead(self):
""""""
pass
def GetExtension(self):
""""""
pass
def GetMimeType(self):
""""""
pass
def GetName(self):
""""""
pass
def GetType(self):
""""""
pass
def SetExtension(self):
""""""
pass
def SetMimeType(self):
""""""
pass
def SetName(self):
""""""
pass
def SetType(self):
""""""
pass
def __init__(self):
""""""
pass
class BMPHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class GIFHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class ICOHandler(BMPHandler):
""""""
def __init__(self):
""""""
pass
class CURHandler(ICOHandler):
""""""
def __init__(self):
""""""
pass
class ANIHandler(CURHandler):
""""""
def __init__(self):
""""""
pass
class JPEGHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class PCXHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class PNGHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class PNMHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass
class TIFFHandler(ImageHandler):
""""""
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,197 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class Joystick(Object):
""""""
def GetButtonState(self):
""""""
pass
def GetManufacturerId(self):
""""""
pass
def GetMaxAxes(self):
""""""
pass
def GetMaxButtons(self):
""""""
pass
def GetMovementThreshold(self):
""""""
pass
def GetNumberAxes(self):
""""""
pass
def GetNumberButtons(self):
""""""
pass
def GetNumberJoysticks(self):
""""""
pass
def GetPOVCTSPosition(self):
""""""
pass
def GetPOVPosition(self):
""""""
pass
def GetPollingMax(self):
""""""
pass
def GetPollingMin(self):
""""""
pass
def GetPosition(self):
""""""
pass
def GetProductId(self):
""""""
pass
def GetProductName(self):
""""""
pass
def GetRudderMax(self):
""""""
pass
def GetRudderMin(self):
""""""
pass
def GetRudderPosition(self):
""""""
pass
def GetUMax(self):
""""""
pass
def GetUMin(self):
""""""
pass
def GetUPosition(self):
""""""
pass
def GetVMax(self):
""""""
pass
def GetVMin(self):
""""""
pass
def GetVPosition(self):
""""""
pass
def GetXMax(self):
""""""
pass
def GetXMin(self):
""""""
pass
def GetYMax(self):
""""""
pass
def GetYMin(self):
""""""
pass
def GetZMax(self):
""""""
pass
def GetZMin(self):
""""""
pass
def GetZPosition(self):
""""""
pass
def HasPOV(self):
""""""
pass
def HasPOV4Dir(self):
""""""
pass
def HasPOVCTS(self):
""""""
pass
def HasRudder(self):
""""""
pass
def HasU(self):
""""""
pass
def HasV(self):
""""""
pass
def HasZ(self):
""""""
pass
def IsOk(self):
""""""
pass
def ReleaseCapture(self):
""""""
pass
def SetCapture(self):
""""""
pass
def SetMovementThreshold(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,80 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class IndividualLayoutConstraint(Object):
""""""
def Above(self):
""""""
pass
def Absolute(self):
""""""
pass
def AsIs(self):
""""""
pass
def Below(self):
""""""
pass
def LeftOf(self):
""""""
pass
def PercentOf(self):
""""""
pass
def RightOf(self):
""""""
pass
def SameAs(self):
""""""
pass
def Set(self):
""""""
pass
def Unconstrained(self):
""""""
pass
def __init__(self):
""""""
pass
class LayoutConstraints(Object):
""""""
def __getattr__(self):
""""""
pass
def __init__(self):
""""""
pass
def __setattr__(self):
""""""
pass

View File

@@ -0,0 +1,145 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class Log:
""""""
def Flush(self):
""""""
pass
def GetVerbose(self):
""""""
pass
def HasPendingMessages(self):
""""""
pass
def TimeStamp(self):
""""""
pass
def __init__(self):
""""""
pass
class PyLog(Log):
""""""
def Destroy(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class LogChain(Log):
""""""
def GetOldLog(self):
""""""
pass
def IsPassingMessages(self):
""""""
pass
def PassMessages(self):
""""""
pass
def SetLog(self):
""""""
pass
def __init__(self):
""""""
pass
class LogGui(Log):
""""""
def __init__(self):
""""""
pass
class LogNull:
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class LogStderr(Log):
""""""
def __init__(self):
""""""
pass
class LogTextCtrl(Log):
""""""
def __init__(self):
""""""
pass
class LogWindow(Log):
""""""
def GetFrame(self):
""""""
pass
def GetOldLog(self):
""""""
pass
def IsPassingMessages(self):
""""""
pass
def PassMessages(self):
""""""
pass
def Show(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,477 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object, EvtHandler
import Parameters as wx
from Window import Window
class FileHistory(Object):
""""""
def AddFileToHistory(self):
""""""
pass
def AddFilesToMenu(self):
""""""
pass
def AddFilesToThisMenu(self):
""""""
pass
def GetCount(self):
""""""
pass
def GetHistoryFile(self):
""""""
pass
def GetMaxFiles(self):
""""""
pass
def GetNoHistoryFiles(self):
""""""
pass
def Load(self):
""""""
pass
def RemoveFileFromHistory(self):
""""""
pass
def RemoveMenu(self):
""""""
pass
def Save(self):
""""""
pass
def UseMenu(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class Menu(EvtHandler):
""""""
def Append(self):
""""""
pass
def AppendCheckItem(self):
""""""
pass
def AppendItem(self):
""""""
pass
def AppendMenu(self):
""""""
pass
def AppendRadioItem(self):
""""""
pass
def AppendSeparator(self):
""""""
pass
def Break(self):
""""""
pass
def Check(self):
""""""
pass
def Delete(self):
""""""
pass
def DeleteItem(self):
""""""
pass
def Destroy(self):
""""""
pass
def DestroyId(self):
""""""
pass
def DestroyItem(self):
""""""
pass
def Enable(self):
""""""
pass
def FindItem(self):
""""""
pass
def FindItemById(self):
""""""
pass
def GetEventHandler(self):
""""""
pass
def GetHelpString(self):
""""""
pass
def GetInvokingWindow(self):
""""""
pass
def GetLabel(self):
""""""
pass
def GetMenuItemCount(self):
""""""
pass
def GetMenuItems(self):
""""""
pass
def GetParent(self):
""""""
pass
def GetStyle(self):
""""""
pass
def GetTitle(self):
""""""
pass
def Insert(self):
""""""
pass
def InsertCheckItem(self):
""""""
pass
def InsertItem(self):
""""""
pass
def InsertMenu(self):
""""""
pass
def InsertRadioItem(self):
""""""
pass
def InsertSeparator(self):
""""""
pass
def IsAttached(self):
""""""
pass
def IsChecked(self):
""""""
pass
def IsEnabled(self):
""""""
pass
def Prepend(self):
""""""
pass
def PrependCheckItem(self):
""""""
pass
def PrependItem(self):
""""""
pass
def PrependMenu(self):
""""""
pass
def PrependRadioItem(self):
""""""
pass
def PrependSeparator(self):
""""""
pass
def Remove(self):
""""""
pass
def RemoveItem(self):
""""""
pass
def SetEventHandler(self):
""""""
pass
def SetHelpString(self):
""""""
pass
def SetInvokingWindow(self):
""""""
pass
def SetLabel(self):
""""""
pass
def SetParent(self):
""""""
pass
def SetTitle(self):
""""""
pass
def UpdateUI(self):
""""""
pass
def __init__(self):
""""""
pass
class MenuBar(Window):
""""""
def Append(self):
""""""
pass
def Check(self):
""""""
pass
def Enable(self):
""""""
pass
def EnableTop(self):
""""""
pass
def FindItemById(self):
""""""
pass
def FindMenu(self):
""""""
pass
def FindMenuItem(self):
""""""
pass
def GetHelpString(self):
""""""
pass
def GetLabel(self):
""""""
pass
def GetLabelTop(self):
""""""
pass
def GetMenu(self):
""""""
pass
def GetMenuCount(self):
""""""
pass
def Insert(self):
""""""
pass
def IsChecked(self):
""""""
pass
def IsEnabled(self):
""""""
pass
def IsEnabledTop(self):
""""""
pass
def Remove(self):
""""""
pass
def Replace(self):
""""""
pass
def SetHelpString(self):
""""""
pass
def SetLabel(self):
""""""
pass
def SetLabelTop(self):
""""""
pass
def __init__(self):
""""""
pass
class MenuItem(Object):
""""""
def Check(self):
""""""
pass
def Enable(self):
""""""
pass
def GetAccel(self):
""""""
pass
def GetBitmap(self):
""""""
pass
def GetHelp(self):
""""""
pass
def GetId(self):
""""""
pass
def GetKind(self):
""""""
pass
def GetLabel(self):
""""""
pass
def GetMenu(self):
""""""
pass
def GetSubMenu(self):
""""""
pass
def GetText(self):
""""""
pass
def IsCheckable(self):
""""""
pass
def IsChecked(self):
""""""
pass
def IsEnabled(self):
""""""
pass
def IsSeparator(self):
""""""
pass
def IsSubMenu(self):
""""""
pass
def SetAccel(self):
""""""
pass
def SetBitmap(self):
""""""
pass
def SetCheckable(self):
""""""
pass
def SetHelp(self):
""""""
pass
def SetId(self):
""""""
pass
def SetSubMenu(self):
""""""
pass
def SetText(self):
""""""
pass
def Toggle(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,185 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
class FileType:
""""""
def GetAllCommands(self):
""""""
pass
def GetDescription(self):
""""""
pass
def GetExtensions(self):
""""""
pass
def GetIcon(self):
""""""
pass
def GetIconInfo(self):
""""""
pass
def GetMimeType(self):
""""""
pass
def GetMimeTypes(self):
""""""
pass
def GetOpenCommand(self):
""""""
pass
def GetPrintCommand(self):
""""""
pass
def SetCommand(self):
""""""
pass
def SetDefaultIcon(self):
""""""
pass
def Unassociate(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class FileTypeInfo:
""""""
def GetDescription(self):
""""""
pass
def GetExtensions(self):
""""""
pass
def GetExtensionsCount(self):
""""""
pass
def GetIconFile(self):
""""""
pass
def GetIconIndex(self):
""""""
pass
def GetMimeType(self):
""""""
pass
def GetOpenCommand(self):
""""""
pass
def GetPrintCommand(self):
""""""
pass
def GetShortDesc(self):
""""""
pass
def IsValid(self):
""""""
pass
def SetIcon(self):
""""""
pass
def SetShortDesc(self):
""""""
pass
def __init__(self):
""""""
pass
class MimeTypesManager:
""""""
def AddFallback(self):
""""""
pass
def Associate(self):
""""""
pass
def ClearData(self):
""""""
pass
def EnumAllFileTypes(self):
""""""
pass
def GetFileTypeFromExtension(self):
""""""
pass
def GetFileTypeFromMimeType(self):
""""""
pass
def Initialize(self):
""""""
pass
def ReadMailcap(self):
""""""
pass
def ReadMimeTypes(self):
""""""
pass
def Unassociate(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,558 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
class ArtProvider(Object):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class BusyCursor:
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class BusyInfo(Object):
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class Caret:
""""""
def GetPosition(self):
""""""
pass
def GetPositionTuple(self):
""""""
pass
def GetSize(self):
""""""
pass
def GetSizeTuple(self):
""""""
pass
def GetWindow(self):
""""""
pass
def Hide(self):
""""""
pass
def IsOk(self):
""""""
pass
def IsVisible(self):
""""""
pass
def Move(self):
""""""
pass
def MoveXY(self):
""""""
pass
def SetSize(self):
""""""
pass
def SetSizeWH(self):
""""""
pass
def Show(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class EncodingConverter(Object):
""""""
def Convert(self):
""""""
pass
def Init(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class DirItemData(Object):
""""""
def SetNewDirName(self):
""""""
pass
def __getattr__(self):
""""""
pass
def __init__(self):
""""""
pass
def __setattr__(self):
""""""
pass
class Effects(Object):
""""""
def DrawSunkenEdge(self):
""""""
pass
def GetDarkShadow(self):
""""""
pass
def GetFaceColour(self):
""""""
pass
def GetHighlightColour(self):
""""""
pass
def GetLightShadow(self):
""""""
pass
def GetMediumShadow(self):
""""""
pass
def Set(self):
""""""
pass
def SetDarkShadow(self):
""""""
pass
def SetFaceColour(self):
""""""
pass
def SetHighlightColour(self):
""""""
pass
def SetLightShadow(self):
""""""
pass
def SetMediumShadow(self):
""""""
pass
def TileBitmap(self):
""""""
pass
def __init__(self):
""""""
pass
class FontEnumerator:
""""""
def EnumerateEncodings(self):
""""""
pass
def EnumerateFacenames(self):
""""""
pass
def GetEncodings(self):
""""""
pass
def GetFacenames(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class FontMapper:
""""""
def CharsetToEncoding(self):
""""""
pass
def GetAltForEncoding(self):
""""""
pass
def IsEncodingAvailable(self):
""""""
pass
def SetConfig(self):
""""""
pass
def SetConfigPath(self):
""""""
pass
def SetDialogParent(self):
""""""
pass
def SetDialogTitle(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class LanguageInfo:
""""""
def __getattr__(self):
""""""
pass
def __init__(self):
""""""
pass
def __setattr__(self):
""""""
pass
class Locale:
""""""
def AddCatalog(self):
""""""
pass
def GetCanonicalName(self):
""""""
pass
def GetLanguage(self):
""""""
pass
def GetLocale(self):
""""""
pass
def GetName(self):
""""""
pass
def GetString(self):
""""""
pass
def GetSysName(self):
""""""
pass
def Init(self):
""""""
pass
def IsLoaded(self):
""""""
pass
def IsOk(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class NativeFontInfo:
""""""
def FromString(self):
""""""
pass
def FromUserString(self):
""""""
pass
def GetEncoding(self):
""""""
pass
def GetFaceName(self):
""""""
pass
def GetFamily(self):
""""""
pass
def GetPointSize(self):
""""""
pass
def GetStyle(self):
""""""
pass
def GetUnderlined(self):
""""""
pass
def GetWeight(self):
""""""
pass
def Init(self):
""""""
pass
def SetEncoding(self):
""""""
pass
def SetFaceName(self):
""""""
pass
def SetFamily(self):
""""""
pass
def SetPointSize(self):
""""""
pass
def SetStyle(self):
""""""
pass
def SetUnderlined(self):
""""""
pass
def SetWeight(self):
""""""
pass
def ToString(self):
""""""
pass
def ToUserString(self):
""""""
pass
def __init__(self):
""""""
pass
def __str__(self):
""""""
pass
class PyTimer(Object):
""""""
def GetInterval(self):
""""""
pass
def IsOneShot(self):
""""""
pass
def IsRunning(self):
""""""
pass
def SetOwner(self):
""""""
pass
def Start(self):
""""""
pass
def Stop(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class StopWatch:
""""""
def Pause(self):
""""""
pass
def Resume(self):
""""""
pass
def Start(self):
""""""
pass
def Time(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class SystemSettings:
""""""
def __init__(self):
""""""
pass
class Timer(PyTimer):
""""""
def __init__(self, evtHandler=None, id=-1):
"""Create a Timer instance."""
pass
class Wave(Object):
""""""
def IsOk(self):
""""""
pass
def Play(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class WindowDisabler:
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,240 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
from Window import Window
try:
True
except NameError:
True = 1==1
False = 1==0
class Panel(Window):
""""""
def __init__(self, parent, id, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.TAB_TRAVERSAL,
name=wx.PyPanelNameStr):
""""""
pass
def Create(self, parent, id, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.TAB_TRAVERSAL,
name=wx.PyPanelNameStr):
""""""
pass
def InitDialog(self):
""""""
pass
class PyPanel(Panel):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_AcceptsFocus(self):
""""""
pass
def base_AcceptsFocusFromKeyboard(self):
""""""
pass
def base_AddChild(self):
""""""
pass
def base_DoGetBestSize(self):
""""""
pass
def base_DoGetClientSize(self):
""""""
pass
def base_DoGetPosition(self):
""""""
pass
def base_DoGetSize(self):
""""""
pass
def base_DoGetVirtualSize(self):
""""""
pass
def base_DoMoveWindow(self):
""""""
pass
def base_DoSetClientSize(self):
""""""
pass
def base_DoSetSize(self):
""""""
pass
def base_DoSetVirtualSize(self):
""""""
pass
def base_GetMaxSize(self):
""""""
pass
def base_InitDialog(self):
""""""
pass
def base_RemoveChild(self):
""""""
pass
def base_TransferDataFromWindow(self):
""""""
pass
def base_TransferDataToWindow(self):
""""""
pass
def base_Validate(self):
""""""
pass
class ScrolledWindow(Panel):
""""""
def __init__(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL,
name=wx.PyPanelNameStr):
""""""
pass
def Create(self, parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL,
name=wx.PyPanelNameStr):
""""""
pass
def AdjustScrollbars(self):
""""""
pass
def CalcScrolledPosition(self, *args):
"""*args can be a point or (x, y) tuple"""
pass
def CalcScrolledPosition1(self, pt):
""""""
pass
def CalcScrolledPosition2(self, x, y):
""""""
pass
def CalcUnscrolledPosition(self, *args):
"""*args can be a point or (x, y) tuple"""
pass
def CalcUnscrolledPosition1(self, pt):
""""""
pass
def CalcUnscrolledPosition2(self, x, y):
""""""
pass
def EnableScrolling(self, xScrolling, yScrolling):
""""""
pass
def GetScaleX(self):
""""""
pass
def GetScaleY(self):
""""""
pass
def GetScrollPageSize(self, orient):
""""""
pass
def GetScrollPixelsPerUnit(self):
""""""
pass
def GetTargetWindow(self):
""""""
pass
def GetViewStart(self):
""""""
pass
def IsRetained(self):
""""""
pass
def Layout(self):
""""""
pass
def PrepareDC(self, dc):
""""""
pass
def Scroll(self, x, y):
""""""
pass
def SetScale(self, xs, ys):
""""""
pass
def SetScrollPageSize(self, orient, pageSize):
""""""
pass
def SetScrollRate(self, xstep, ystep):
"""Set the x, y scrolling increments."""
pass
def SetScrollbars(self, pixelsPerUnitX, pixelsPerUnitY,
noUnitsX, noUnitsY, xPos=0, yPos=0, noRefresh=False):
""""""
pass
def SetTargetWindow(self, window):
""""""
pass
def ViewStart(self):
""""""
pass

View File

@@ -0,0 +1,69 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
class _Param:
"""Used by this module to represent default wxPython parameter values,
including parameter representations like style=wx.HSCROLL|wx.VSCROLL."""
def __init__(self, value=None):
if value is None:
value = 'wx.' + self.__class__.__name__
self.value = value
def __repr__(self):
return self.value
def __or__(self, other):
value = '%s|%s' % (self, other)
return self.__class__(value)
_params = (
'BOTH',
'DEFAULT_FRAME_STYLE',
'DefaultPosition',
'DefaultSize',
'DefaultValidator',
'EmptyString',
'EVT_NULL',
'HORIZONTAL',
'HSCROLL',
'NO_BORDER',
'NULL',
'NullColour',
'PyFrameNameStr',
'PyNOTEBOOK_NAME',
'PyPanelNameStr',
'PyStatusLineNameStr',
'PySTCNameStr',
'PyToolBarNameStr',
'SIZE_AUTO',
'SIZE_USE_EXISTING',
'ST_SIZEGRIP',
'TAB_TRAVERSAL',
'TB_HORIZONTAL',
'VSCROLL',
)
## Create classes, then instances, like this:
## class BOTH(Param): pass
## BOTH = BOTH()
for _param in _params:
exec 'class %s(_Param): pass' % _param
exec '%s = %s()' % (_param, _param)
del _param
del _params
del _Param

View File

@@ -0,0 +1,651 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
from Dialogs import Dialog
from Frames import Frame
import Parameters as wx
class PageSetupDialog(Dialog):
""""""
def GetPageSetupData(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class PageSetupDialogData(Object):
""""""
def EnableHelp(self):
""""""
pass
def EnableMargins(self):
""""""
pass
def EnableOrientation(self):
""""""
pass
def EnablePaper(self):
""""""
pass
def EnablePrinter(self):
""""""
pass
def GetDefaultInfo(self):
""""""
pass
def GetDefaultMinMargins(self):
""""""
pass
def GetEnableHelp(self):
""""""
pass
def GetEnableMargins(self):
""""""
pass
def GetEnableOrientation(self):
""""""
pass
def GetEnablePaper(self):
""""""
pass
def GetEnablePrinter(self):
""""""
pass
def GetMarginBottomRight(self):
""""""
pass
def GetMarginTopLeft(self):
""""""
pass
def GetMinMarginBottomRight(self):
""""""
pass
def GetMinMarginTopLeft(self):
""""""
pass
def GetPaperId(self):
""""""
pass
def GetPaperSize(self):
""""""
pass
def GetPrintData(self):
""""""
pass
def Ok(self):
""""""
pass
def SetDefaultInfo(self):
""""""
pass
def SetDefaultMinMargins(self):
""""""
pass
def SetMarginBottomRight(self):
""""""
pass
def SetMarginTopLeft(self):
""""""
pass
def SetMinMarginBottomRight(self):
""""""
pass
def SetMinMarginTopLeft(self):
""""""
pass
def SetPaperId(self):
""""""
pass
def SetPaperSize(self):
""""""
pass
def SetPrintData(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class PrintDialog(Dialog):
""""""
def GetPrintDC(self):
""""""
pass
def GetPrintDialogData(self):
""""""
pass
def ShowModal(self):
""""""
pass
def __init__(self):
""""""
pass
class PrintDialogData(Object):
""""""
def EnableHelp(self):
""""""
pass
def EnablePageNumbers(self):
""""""
pass
def EnablePrintToFile(self):
""""""
pass
def EnableSelection(self):
""""""
pass
def GetAllPages(self):
""""""
pass
def GetCollate(self):
""""""
pass
def GetFromPage(self):
""""""
pass
def GetMaxPage(self):
""""""
pass
def GetMinPage(self):
""""""
pass
def GetNoCopies(self):
""""""
pass
def GetPrintData(self):
""""""
pass
def GetPrintToFile(self):
""""""
pass
def GetToPage(self):
""""""
pass
def Ok(self):
""""""
pass
def SetCollate(self):
""""""
pass
def SetFromPage(self):
""""""
pass
def SetMaxPage(self):
""""""
pass
def SetMinPage(self):
""""""
pass
def SetNoCopies(self):
""""""
pass
def SetPrintData(self):
""""""
pass
def SetPrintToFile(self):
""""""
pass
def SetSetupDialog(self):
""""""
pass
def SetToPage(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class PreviewFrame(Frame):
""""""
def Initialize(self):
""""""
pass
def __init__(self):
""""""
pass
class PrintData(Object):
""""""
def GetCollate(self):
""""""
pass
def GetColour(self):
""""""
pass
def GetDuplex(self):
""""""
pass
def GetFilename(self):
""""""
pass
def GetFontMetricPath(self):
""""""
pass
def GetNoCopies(self):
""""""
pass
def GetOrientation(self):
""""""
pass
def GetPaperId(self):
""""""
pass
def GetPaperSize(self):
""""""
pass
def GetPreviewCommand(self):
""""""
pass
def GetPrintMode(self):
""""""
pass
def GetPrinterCommand(self):
""""""
pass
def GetPrinterName(self):
""""""
pass
def GetPrinterOptions(self):
""""""
pass
def GetPrinterScaleX(self):
""""""
pass
def GetPrinterScaleY(self):
""""""
pass
def GetPrinterTranslateX(self):
""""""
pass
def GetPrinterTranslateY(self):
""""""
pass
def GetQuality(self):
""""""
pass
def Ok(self):
""""""
pass
def SetCollate(self):
""""""
pass
def SetColour(self):
""""""
pass
def SetDuplex(self):
""""""
pass
def SetFilename(self):
""""""
pass
def SetFontMetricPath(self):
""""""
pass
def SetNoCopies(self):
""""""
pass
def SetOrientation(self):
""""""
pass
def SetPaperId(self):
""""""
pass
def SetPaperSize(self):
""""""
pass
def SetPreviewCommand(self):
""""""
pass
def SetPrintMode(self):
""""""
pass
def SetPrinterCommand(self):
""""""
pass
def SetPrinterName(self):
""""""
pass
def SetPrinterOptions(self):
""""""
pass
def SetPrinterScaleX(self):
""""""
pass
def SetPrinterScaleY(self):
""""""
pass
def SetPrinterScaling(self):
""""""
pass
def SetPrinterTranslateX(self):
""""""
pass
def SetPrinterTranslateY(self):
""""""
pass
def SetPrinterTranslation(self):
""""""
pass
def SetQuality(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class PrintPreview(Object):
""""""
def GetCanvas(self):
""""""
pass
def GetCurrentPage(self):
""""""
pass
def GetFrame(self):
""""""
pass
def GetMaxPage(self):
""""""
pass
def GetMinPage(self):
""""""
pass
def GetPrintDialogData(self):
""""""
pass
def GetPrintout(self):
""""""
pass
def GetPrintoutForPrinting(self):
""""""
pass
def GetZoom(self):
""""""
pass
def Ok(self):
""""""
pass
def Print(self):
""""""
pass
def SetCanvas(self):
""""""
pass
def SetCurrentPage(self):
""""""
pass
def SetFrame(self):
""""""
pass
def SetPrintout(self):
""""""
pass
def SetZoom(self):
""""""
pass
def __init__(self):
""""""
pass
class Printer(Object):
""""""
def CreateAbortWindow(self):
""""""
pass
def GetPrintDialogData(self):
""""""
pass
def Print(self):
""""""
pass
def PrintDialog(self):
""""""
pass
def ReportError(self):
""""""
pass
def Setup(self):
""""""
pass
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass
class Printout(Object):
""""""
def Destroy(self):
""""""
pass
def GetDC(self):
""""""
pass
def GetPPIPrinter(self):
""""""
pass
def GetPPIScreen(self):
""""""
pass
def GetPageSizeMM(self):
""""""
pass
def GetPageSizePixels(self):
""""""
pass
def IsPreview(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_GetPageInfo(self):
""""""
pass
def base_HasPage(self):
""""""
pass
def base_OnBeginDocument(self):
""""""
pass
def base_OnBeginPrinting(self):
""""""
pass
def base_OnEndDocument(self):
""""""
pass
def base_OnEndPrinting(self):
""""""
pass
def base_OnPreparePrinting(self):
""""""
pass

View File

@@ -0,0 +1,77 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import EvtHandler
class Process(EvtHandler):
""""""
def CloseOutput(self):
""""""
pass
def Destroy(self):
""""""
pass
def Detach(self):
""""""
pass
def GetErrorStream(self):
""""""
pass
def GetInputStream(self):
""""""
pass
def GetOutputStream(self):
""""""
pass
def IsErrorAvailable(self):
""""""
pass
def IsInputAvailable(self):
""""""
pass
def IsInputOpened(self):
""""""
pass
def IsRedirected(self):
""""""
pass
def Redirect(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_OnTerminate(self):
""""""
pass

View File

@@ -0,0 +1,226 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
import Parameters as wx
from Window import Window
class SashWindow(Window):
""""""
def Create(self):
""""""
pass
def GetDefaultBorderSize(self):
""""""
pass
def GetEdgeMargin(self):
""""""
pass
def GetExtraBorderSize(self):
""""""
pass
def GetMaximumSizeX(self):
""""""
pass
def GetMaximumSizeY(self):
""""""
pass
def GetMinimumSizeX(self):
""""""
pass
def GetMinimumSizeY(self):
""""""
pass
def GetSashVisible(self):
""""""
pass
def HasBorder(self):
""""""
pass
def SetDefaultBorderSize(self):
""""""
pass
def SetExtraBorderSize(self):
""""""
pass
def SetMaximumSizeX(self):
""""""
pass
def SetMaximumSizeY(self):
""""""
pass
def SetMinimumSizeX(self):
""""""
pass
def SetMinimumSizeY(self):
""""""
pass
def SetSashBorder(self):
""""""
pass
def SetSashVisible(self):
""""""
pass
def __init__(self):
""""""
pass
class SashLayoutWindow(SashWindow):
""""""
def Create(self):
""""""
pass
def GetAlignment(self):
""""""
pass
def GetOrientation(self):
""""""
pass
def SetAlignment(self):
""""""
pass
def SetDefaultSize(self):
""""""
pass
def SetOrientation(self):
""""""
pass
def __init__(self):
""""""
pass
class SplitterWindow(Window):
""""""
def Create(self):
""""""
pass
def GetBorderSize(self):
""""""
pass
def GetMinimumPaneSize(self):
""""""
pass
def GetNeedUpdating(self):
""""""
pass
def GetSashPosition(self):
""""""
pass
def GetSashSize(self):
""""""
pass
def GetSplitMode(self):
""""""
pass
def GetWindow1(self):
""""""
pass
def GetWindow2(self):
""""""
pass
def Initialize(self):
""""""
pass
def IsSplit(self):
""""""
pass
def ReplaceWindow(self):
""""""
pass
def SetBorderSize(self):
""""""
pass
def SetMinimumPaneSize(self):
""""""
pass
def SetNeedUpdating(self):
""""""
pass
def SetSashPosition(self):
""""""
pass
def SetSashSize(self):
""""""
pass
def SetSplitMode(self):
""""""
pass
def SizeWindows(self):
""""""
pass
def SplitHorizontally(self):
""""""
pass
def SplitVertically(self):
""""""
pass
def Unsplit(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,605 @@
"""Decorator classes for documentation and shell scripting.
Sizer is the abstract base class used for laying out subwindows in a
window. You cannot use Sizer directly; instead, you will have to use
one of the sizer classes derived from it. Currently there are
BoxSizer, StaticBoxSizer, NotebookSizer, GridSizer, and FlexGridSizer.
The layout algorithm used by sizers in wxPython is closely related to
layout in other GUI toolkits, such as Java's AWT, the GTK toolkit or
the Qt toolkit. It is based upon the idea of the individual
subwindows reporting their minimal required size and their ability to
get stretched if the size of the parent window has changed. This will
most often mean, that the programmer does not set the original size of
a dialog in the beginning, rather the dialog will assigned a sizer and
this sizer will be queried about the recommended size. The sizer in
turn will query its children, which can be normal windows, empty space
or other sizers, so that a hierarchy of sizers can be constructed.
Note that wxSizer does not derive from wxWindow and thus do not
interfere with tab ordering and requires very little resources
compared to a real window on screen.
What makes sizers so well fitted for use in wxPython is the fact that
every control reports its own minimal size and the algorithm can
handle differences in font sizes or different window (dialog item)
sizes on different platforms without problems. If e.g. the standard
font as well as the overall design of Motif widgets requires more
space than on Windows, the initial dialog size will automatically be
bigger on Motif than on Windows.
If you wish to create a sizer class in wxPython you should derive the
class from PySizer in order to get Python-aware capabilities for the
various virtual methods.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
import Parameters as wx
try:
True
except NameError:
True = 1==1
False = 1==0
class Sizer(Object):
"""Sizer is the abstract base class used for laying out subwindows
in a window. You shouldn't use Sizer directly; instead, you should
use one of the sizer classes derived from it.
If you wish to create a sizer class in wxPython you should derive
the class from PySizer in order to get Python-aware capabilities
for the various virtual methods.
Placing a child sizer in a sizer allows you to create hierarchies
of sizers (typically a vertical box as the top sizer and several
horizontal boxes on the level beneath).
When you place a window in a sizer the window's initial size
(either set explicitly by the user or calculated internally when
using wxDefaultSize) is interpreted as the minimal and in many
cases also the initial size. This is particularly useful in
connection with SetSizeHints.
Adding spacers to sizers gives more flexibility in the design of
dialogs. Imagine for example a horizontal box with two buttons at
the bottom of a dialog: you might want to insert a space between
the two buttons and make that space stretchable using the
proportion flag and the result will be that the left button will
be aligned with the left side of the dialog and the right button
with the right side - the space in between will shrink and grow
with the dialog.
Several methods (Add, Insert, Prepend) take the following
parameters:
proportion - Used only by BoxSizer to indicate if a child of a
sizer can change its size in the main orientation of the BoxSizer,
where 0 stands for not changeable and a value of more than zero is
interpreted relative to the value of other children of the same
BoxSizer. For example, you might have a horizontal BoxSizer with
three children, two of which are supposed to change their size
with the sizer. Then the two stretchable windows would each get a
value of 1 to make them grow and shrink equally with the sizer's
horizontal dimension.
flag - This parameter can be used to set a number of flags which
can be combined using the binary OR operator |. Two main
behaviours are defined using these flags. One is the border
around a window: the border parameter determines the border width
whereas the flags given here determine where the border may be
(wx.TOP, wx.BOTTOM, wx.LEFT, wx.RIGHT or wx.ALL). The other flags
determine the child window's behaviour if the size of the sizer
changes. However this is not - in contrast to the proportion flag
- in the main orientation, but in the respectively other
orientation. So if you created a BoxSizer with the wx.VERTICAL
option, these flags will be relevant if the sizer changes its
horizontal size. A child may get resized to completely fill out
the new size (using either wx.GROW or wx.EXPAND), it may get
proportionally resized (wx.SHAPED), it may get centered
(wx.ALIGN_CENTER or wx.ALIGN_CENTRE) or it may get aligned to
either side (wx.ALIGN_LEFT and wx.ALIGN_TOP are set to 0 and thus
represent the default, wx.ALIGN_RIGHT and wx.ALIGN_BOTTOM have
their obvious meaning). With proportional resize, a child may
also be centered in the main orientation using
wx.ALIGN_CENTER_VERTICAL (same as wx.ALIGN_CENTRE_VERTICAL) and
wx.ALIGN_CENTER_HORIZONTAL (same as wx.ALIGN_CENTRE_HORIZONTAL)
flags. Finally, you can also specify wx.ADJUST_MINSIZE flag to
make the minimal size of the control dynamically adjust to the
value returned by its GetAdjustedBestSize() method - this allows,
for example, for correct relayouting of a static text control even
if its text is changed during run-time.
border - Determines the border width, if the flag parameter is set
to any border. A border is not a visible element, but rather a
margin of empty space surrounding the item.
userData - Allows an extra object to be attached to the sizer
item, for use in derived classes when sizing information is more
complex than the option and flag parameters will allow."""
def __init__(self):
"""Must be defined by subclasses."""
pass
def Add(self, item, proportion=0, flag=0, border=0,
userData=wx.NULL):
"""Add item to sizer.
item - window, sizer, or spacer. Spacer is specified with a
(width, height) tuple or wx.Size representing the spacer size.
Call Layout() to update the layout on-screen after adding."""
pass
def Clear(self, delete_windows=False):
"""Remove all items from this sizer.
If delete_windows is True, destroy any window items."""
pass
def DeleteWindows(self):
"""Destroy windows associated with this sizer."""
pass
def Destroy(self):
"""Destroy the sizer."""
pass
def Fit(self, window):
"""Resize window to match sizer's minimal size; return size.
This is commonly done in the constructor of the window itself."""
pass
def FitInside(self, window):
"""Resize window virtual size to match sizer's minimal size.
This will not alter the on screen size of the window, but may
cause the addition/removal/alteration of scrollbars required
to view the virtual area in windows which manage it."""
pass
def GetChildren(self):
"""Return list of SizerItem instances."""
pass
def GetMinSize(self):
"""Return the minimal size of the sizer.
This is either the combined minimal size of all the children
and their borders or the minimal size set by SetMinSize,
whichever is larger."""
pass
def GetMinSizeTuple(self):
"""Return the minimal size of the sizer as a tuple.
This is either the combined minimal size of all the children
and their borders or the minimal size set by SetMinSize,
whichever is larger."""
pass
def GetPosition(self):
"""Return the current position of the sizer."""
pass
def GetPositionTuple(self):
"""Return the current position of the sizer as a tuple."""
pass
def GetSize(self):
"""Return the current size of the sizer."""
pass
def GetSizeTuple(self):
"""Return the current size of the sizer as a tuple."""
pass
def Hide(self, item):
"""Hide item (sizer or window). To make a sizer item
disappear on-screen, use Hide() followed by Layout()."""
pass
def Insert(self, before, item, proportion=0, flag=0, border=0,
userData=wx.NULL):
"""Same as Add, but inserts item into list of items (windows,
subsizers or spacers) owned by this sizer.
Call Layout() to update the layout on-screen after inserting."""
pass
def IsShown(self, item):
"""Return True if item (sizer or window) is shown."""
pass
def Layout(self):
"""Force layout of children anew.
Use after adding or removing a child (window, other sizer, or
spacer) from the sizer while keeping the current dimension."""
pass
def Prepend(self, item, proportion=0, flag=0, border=0,
userData=wx.NULL):
"""Same as Add, but prepends item to beginning of list of
items (windows, subsizers or spacers) owned by this sizer.
Call Layout() to update the layout on-screen after prepending."""
pass
def Remove(self, item):
"""Remove item from the sizer.
item - sizer, window, or index of item in the sizer, typically
0 for the first item.
Does not cause any layout or resizing to take place, and does
not delete the child itself. Call Layout() to update the
layout on-screen after removing child.
Return True if child found and removed, False otherwise."""
pass
def SetDimension(self, x, y, width, height):
"""Force sizer to take the given dimension and thus force
items owned by sizer to resize themselves according to the
rules defined by the parameter in the Add and Prepend methods."""
pass
def SetItemMinSize(self, item, width, height):
"""Set minimal size of item.
item - sizer, window, or index of item in the sizer, typically
0 for the first item.
The item will be found recursively in the sizer's descendants.
Enables application to set size of item after initialization."""
pass
def SetMinSize(self, size):
"""Set minimal size.
Normally, sizer will calculate minimal size based on how much
space its children need. After calling this method,
GetMinSize will return the minimal size as requested by its
children or the minimal size set here, whichever is larger."""
pass
def SetSizeHints(self, window):
"""Set (and Fit) minimal size of window to match sizer's
minimal size. Commonly called in the window's init."""
pass
def SetVirtualSizeHints(self, window):
"""Set minimal size of window virtual area to match sizer's
minimal size. For windows with managed scrollbars this will
set them appropriately."""
pass
def Show(self, item, show=True):
"""Show or hide item (sizer or window). To make item
disappear or reappear on-screen, use Show() followed by
Layout()."""
pass
def ShowItems(self, show):
"""Recursively call Show() on all sizer items."""
pass
class PySizer(Sizer):
"""If you wish to create a custom sizer class you should derive
the class from PySizer in order to get Python-aware capabilities
for the various virtual methods."""
def __init__(self):
"""Create a PySizer instance. Override in subclass."""
pass
class BoxSizer(Sizer):
"""A box sizer is used to lay out a rather simple geometry,
typically a row or column or several hierarchies of either."""
def __init__(self, orient=wx.HORIZONTAL):
"""Create BoxSizer instance.
orient is either wx.VERTICAL or wx.HORIZONTAL"""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def GetOrientation(self):
"""Return orientation: wx.VERTICAL or wx.HORIZONTAL."""
pass
def RecalcSizes(self):
"""Recalculate sizes, then set the size of its children
(calling SetSize if child is a window). Do not call directly."""
pass
def SetOrientation(self, orient):
"""Set orientation to either wx.VERTICAL or wx.HORIZONTAL."""
pass
class StaticBoxSizer(BoxSizer):
"""Like BoxSizer, but adds a static box around the sizer. Note
that the static box has to be created separately."""
def __init__(self, box, orient=wx.HORIZONTAL):
"""Create StaticBoxSizer instance.
box - instance of wx.StaticBox
orient - either wx.VERTICAL or wx.HORIZONTAL"""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def GetStaticBox(self):
"""Return the static box associated with the sizer."""
pass
def RecalcSizes(self):
"""Recalculate sizes, then set the size of its children
(calling SetSize if child is a window). Do not call directly."""
pass
class GridSizer(Sizer):
"""A grid sizer lays out its children in a two-dimensional table
where all cells have the same size: the width of each cell is the
width of the widest child, the height of each cell is the height
of the tallest child. See also the FlexGridSizer."""
def __init__(self, rows=1, cols=0, vgap=0, hgap=0):
"""Create a GridSizer instance.
rows and cols - the number of rows and columns in the grid; if
either is zero, it will be calculated as the number of
children in the sizer, allowing the sizer grow dynamically.
vgap and hgap - extra space between all cells, in pixels."""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def GetCols(self):
"""Return the number of columns in the grid."""
pass
def GetHGap(self):
"""Return the horizontal gap (in pixels) between cells."""
pass
def GetRows(self):
"""Return the number of rows in the grid."""
pass
def GetVGap(self):
"""Return the vertical gap (in pixels) between cells."""
pass
def RecalcSizes(self):
"""Recalculate sizes, then set the size of its children
(calling SetSize if child is a window). Do not call directly."""
pass
def SetCols(self, cols):
"""Set the number of columns in the grid."""
pass
def SetHGap(self, gap):
"""Set the horizontal gap (in pixels) between cells."""
pass
def SetRows(self, rows):
"""Sets the number of rows in the grid."""
pass
def SetVGap(self, gap):
"""Set the vertical gap (in pixels) between cells."""
pass
class FlexGridSizer(GridSizer):
"""A flex grid sizer lays out its children in a two-dimensional
table where all cells in one row have the same height and all
cells in one column have the same width, but all cells are not
necessarily the same height and width, as in the GridSizer."""
def __init__(self, rows=1, cols=0, vgap=0, hgap=0):
"""Create a GridSizer instance.
rows and cols - the number of rows and columns in the grid; if
either is zero, it will be calculated as the number of
children in the sizer, allowing the sizer grow dynamically.
vgap and hgap - extra space between all cells, in pixels."""
pass
def AddGrowableCol(self, idx):
"""Specify that column idx (starting from zero) should expand
if there is extra space available to the sizer."""
pass
def AddGrowableRow(self, idx):
"""Specify that row idx (starting from zero) should expand if
there is extra space available to the sizer."""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def RecalcSizes(self):
"""Recalculate sizes, then set the size of its children
(calling SetSize if child is a window). Do not call directly."""
pass
def RemoveGrowableCol(self, idx):
"""Specify that column idx is no longer growable."""
pass
def RemoveGrowableRow(self, idx):
"""Specify that row idx is no longer growable."""
pass
class NotebookSizer(Sizer):
"""NotebookSizer works with a notebook to determine the size of
the biggest page and report an adjusted minimal size to a more
toplevel sizer. Do not add children to a NotebookSizer."""
def __init__(self, nb):
"""Create a NotebookSizer instance for notebook."""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def GetNotebook(self):
"""Return the notebook associated with the sizer."""
pass
def RecalcSizes(self):
"""Recalculate size. Do not call directly."""
pass
class SizerItem(Object):
"""SizerItem class. Wrapper for items managed by a sizer."""
def __init__(self, this):
"""Create a SizerItem instance. You don't normally create one
directly."""
pass
def CalcMin(self):
"""Calculate minimum size. Do not call directly."""
pass
def DeleteWindows(self):
"""Recursively destroy windows associated with this SizerItem."""
pass
def GetBorder(self):
"""Return border width."""
pass
def GetFlag(self):
"""Return flag value."""
pass
def GetOption(self):
"""Return option value."""
pass
def GetPosition(self):
"""Return wx.Point instance representing position relative to
the client area."""
pass
def GetRatio(self):
"""Return a floating point aspect ratio (width/height). If
wx.SHAPED flag is used item will maintain ratio when resized."""
pass
def GetSize(self):
"""Return wx.Size instance with size."""
pass
def GetSizer(self):
"""If IsSizer() return the sizer; otherwise return None."""
pass
def GetUserData(self):
"""Return a wx.PyUserData object."""
pass
def GetWindow(self):
"""If IsWindow() return the window; otherwise return None."""
pass
def IsShown(self):
"""Return True if item is shown."""
pass
def IsSizer(self):
"""Return True if SizerItem represents a sizer."""
pass
def IsSpacer(self):
"""Return True if SizerItem represents a spacer."""
pass
def IsWindow(self):
"""Return True if SizerItem represents a window."""
pass
def SetBorder(self, border):
"""Set border width for item."""
pass
def SetDimension(self, pos, size):
"""Set position and size for item."""
pass
def SetFlag(self, flag):
"""Set flag for item."""
pass
def SetInitSize(self, x, y):
"""Set initial size of item."""
pass
def SetOption(self, option):
"""Set option for item."""
pass
def SetRatio(self, ratio):
"""Set a floating point aspect ratio (width/height). If
wx.SHAPED flag is used item will maintain ratio when resized."""
pass
def SetRatioSize(self, size):
"""Set a floating point aspect ratio (width/height). If
wx.SHAPED flag is used item will maintain ratio when resized."""
pass
def SetRatioWH(self, width, height):
"""Set a floating point aspect ratio (width/height). If
wx.SHAPED flag is used item will maintain ratio when resized."""
pass
def SetSizer(self, sizer):
"""Set sizer associated with SizerItem."""
pass
def SetWindow(self, window):
"""Set window associated with SizerItem."""
pass
def Show(self, show):
"""Is show is True, show item, otherwise hide item."""
pass

View File

@@ -0,0 +1,96 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
class InputStream:
""""""
def CanRead(self):
""""""
pass
def Eof(self):
""""""
pass
def GetC(self):
""""""
pass
def LastRead(self):
""""""
pass
def Peek(self):
""""""
pass
def SeekI(self):
""""""
pass
def TellI(self):
""""""
pass
def Ungetch(self):
""""""
pass
def __init__(self):
""""""
pass
def close(self):
""""""
pass
def eof(self):
""""""
pass
def flush(self):
""""""
pass
def read(self):
""""""
pass
def readline(self):
""""""
pass
def readlines(self):
""""""
pass
def seek(self):
""""""
pass
def tell(self):
""""""
pass
class OutputStream:
""""""
def __init__(self):
""""""
pass
def write(self):
""""""
pass

View File

@@ -0,0 +1,643 @@
"""wxStyledTextControl constants for documentation.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wxPython import wx
from wxPython import stc
"""
>>> from wxPython import stc_c
>>> def gen_constants():
... print '# Begin generated constants.'
... for item in dir(stc_c): # dir returns a sorted list.
... if not callable(stc_c.__dict__[item]) \
... and not item.startswith('__'):
... print item, '=', 'stc.' + item, ' #', \
... repr(stc_c.__dict__[item])
... print '# End generated constants.'
"""
# Begin generated constants.
STC_USE_DND = stc.STC_USE_DND # 1
wxEVT_STC_CHANGE = stc.wxEVT_STC_CHANGE # 10206
wxEVT_STC_CHARADDED = stc.wxEVT_STC_CHARADDED # 10208
wxEVT_STC_DOUBLECLICK = stc.wxEVT_STC_DOUBLECLICK # 10213
wxEVT_STC_DO_DROP = stc.wxEVT_STC_DO_DROP # 10227
wxEVT_STC_DRAG_OVER = stc.wxEVT_STC_DRAG_OVER # 10226
wxEVT_STC_DWELLEND = stc.wxEVT_STC_DWELLEND # 10224
wxEVT_STC_DWELLSTART = stc.wxEVT_STC_DWELLSTART # 10223
wxEVT_STC_KEY = stc.wxEVT_STC_KEY # 10212
wxEVT_STC_MACRORECORD = stc.wxEVT_STC_MACRORECORD # 10216
wxEVT_STC_MARGINCLICK = stc.wxEVT_STC_MARGINCLICK # 10217
wxEVT_STC_MODIFIED = stc.wxEVT_STC_MODIFIED # 10215
wxEVT_STC_NEEDSHOWN = stc.wxEVT_STC_NEEDSHOWN # 10218
wxEVT_STC_PAINTED = stc.wxEVT_STC_PAINTED # 10220
wxEVT_STC_POSCHANGED = stc.wxEVT_STC_POSCHANGED # 10219
wxEVT_STC_ROMODIFYATTEMPT = stc.wxEVT_STC_ROMODIFYATTEMPT # 10211
wxEVT_STC_SAVEPOINTLEFT = stc.wxEVT_STC_SAVEPOINTLEFT # 10210
wxEVT_STC_SAVEPOINTREACHED = stc.wxEVT_STC_SAVEPOINTREACHED # 10209
wxEVT_STC_START_DRAG = stc.wxEVT_STC_START_DRAG # 10225
wxEVT_STC_STYLENEEDED = stc.wxEVT_STC_STYLENEEDED # 10207
wxEVT_STC_UPDATEUI = stc.wxEVT_STC_UPDATEUI # 10214
wxEVT_STC_URIDROPPED = stc.wxEVT_STC_URIDROPPED # 10222
wxEVT_STC_USERLISTSELECTION = stc.wxEVT_STC_USERLISTSELECTION # 10221
wxEVT_STC_ZOOM = stc.wxEVT_STC_ZOOM # 10228
wxSTC_ADA_CHARACTER = stc.wxSTC_ADA_CHARACTER # 5
wxSTC_ADA_COMMENT = stc.wxSTC_ADA_COMMENT # 1
wxSTC_ADA_DEFAULT = stc.wxSTC_ADA_DEFAULT # 0
wxSTC_ADA_IDENTIFIER = stc.wxSTC_ADA_IDENTIFIER # 7
wxSTC_ADA_NUMBER = stc.wxSTC_ADA_NUMBER # 2
wxSTC_ADA_OPERATOR = stc.wxSTC_ADA_OPERATOR # 6
wxSTC_ADA_STRING = stc.wxSTC_ADA_STRING # 4
wxSTC_ADA_STRINGEOL = stc.wxSTC_ADA_STRINGEOL # 8
wxSTC_ADA_WORD = stc.wxSTC_ADA_WORD # 3
wxSTC_AVE_COMMENT = stc.wxSTC_AVE_COMMENT # 1
wxSTC_AVE_DEFAULT = stc.wxSTC_AVE_DEFAULT # 0
wxSTC_AVE_ENUM = stc.wxSTC_AVE_ENUM # 7
wxSTC_AVE_IDENTIFIER = stc.wxSTC_AVE_IDENTIFIER # 9
wxSTC_AVE_KEYWORD = stc.wxSTC_AVE_KEYWORD # 4
wxSTC_AVE_NUMBER = stc.wxSTC_AVE_NUMBER # 2
wxSTC_AVE_OPERATOR = stc.wxSTC_AVE_OPERATOR # 10
wxSTC_AVE_STATEMENT = stc.wxSTC_AVE_STATEMENT # 5
wxSTC_AVE_STRING = stc.wxSTC_AVE_STRING # 6
wxSTC_AVE_STRINGEOL = stc.wxSTC_AVE_STRINGEOL # 8
wxSTC_AVE_WORD = stc.wxSTC_AVE_WORD # 3
wxSTC_BAAN_COMMENT = stc.wxSTC_BAAN_COMMENT # 1
wxSTC_BAAN_COMMENTDOC = stc.wxSTC_BAAN_COMMENTDOC # 2
wxSTC_BAAN_DEFAULT = stc.wxSTC_BAAN_DEFAULT # 0
wxSTC_BAAN_IDENTIFIER = stc.wxSTC_BAAN_IDENTIFIER # 8
wxSTC_BAAN_NUMBER = stc.wxSTC_BAAN_NUMBER # 3
wxSTC_BAAN_OPERATOR = stc.wxSTC_BAAN_OPERATOR # 7
wxSTC_BAAN_PREPROCESSOR = stc.wxSTC_BAAN_PREPROCESSOR # 6
wxSTC_BAAN_STRING = stc.wxSTC_BAAN_STRING # 5
wxSTC_BAAN_STRINGEOL = stc.wxSTC_BAAN_STRINGEOL # 9
wxSTC_BAAN_WORD = stc.wxSTC_BAAN_WORD # 4
wxSTC_BAAN_WORD2 = stc.wxSTC_BAAN_WORD2 # 10
wxSTC_BAT_COMMAND = stc.wxSTC_BAT_COMMAND # 5
wxSTC_BAT_COMMENT = stc.wxSTC_BAT_COMMENT # 1
wxSTC_BAT_DEFAULT = stc.wxSTC_BAT_DEFAULT # 0
wxSTC_BAT_HIDE = stc.wxSTC_BAT_HIDE # 4
wxSTC_BAT_IDENTIFIER = stc.wxSTC_BAT_IDENTIFIER # 6
wxSTC_BAT_LABEL = stc.wxSTC_BAT_LABEL # 3
wxSTC_BAT_OPERATOR = stc.wxSTC_BAT_OPERATOR # 7
wxSTC_BAT_WORD = stc.wxSTC_BAT_WORD # 2
wxSTC_B_COMMENT = stc.wxSTC_B_COMMENT # 1
wxSTC_B_DATE = stc.wxSTC_B_DATE # 8
wxSTC_B_DEFAULT = stc.wxSTC_B_DEFAULT # 0
wxSTC_B_IDENTIFIER = stc.wxSTC_B_IDENTIFIER # 7
wxSTC_B_KEYWORD = stc.wxSTC_B_KEYWORD # 3
wxSTC_B_NUMBER = stc.wxSTC_B_NUMBER # 2
wxSTC_B_OPERATOR = stc.wxSTC_B_OPERATOR # 6
wxSTC_B_PREPROCESSOR = stc.wxSTC_B_PREPROCESSOR # 5
wxSTC_B_STRING = stc.wxSTC_B_STRING # 4
wxSTC_CACHE_CARET = stc.wxSTC_CACHE_CARET # 1
wxSTC_CACHE_DOCUMENT = stc.wxSTC_CACHE_DOCUMENT # 3
wxSTC_CACHE_NONE = stc.wxSTC_CACHE_NONE # 0
wxSTC_CACHE_PAGE = stc.wxSTC_CACHE_PAGE # 2
wxSTC_CARET_EVEN = stc.wxSTC_CARET_EVEN # 8
wxSTC_CARET_JUMPS = stc.wxSTC_CARET_JUMPS # 16
wxSTC_CARET_SLOP = stc.wxSTC_CARET_SLOP # 1
wxSTC_CARET_STRICT = stc.wxSTC_CARET_STRICT # 4
wxSTC_CASE_LOWER = stc.wxSTC_CASE_LOWER # 2
wxSTC_CASE_MIXED = stc.wxSTC_CASE_MIXED # 0
wxSTC_CASE_UPPER = stc.wxSTC_CASE_UPPER # 1
wxSTC_CHARSET_ANSI = stc.wxSTC_CHARSET_ANSI # 0
wxSTC_CHARSET_ARABIC = stc.wxSTC_CHARSET_ARABIC # 178
wxSTC_CHARSET_BALTIC = stc.wxSTC_CHARSET_BALTIC # 186
wxSTC_CHARSET_CHINESEBIG5 = stc.wxSTC_CHARSET_CHINESEBIG5 # 136
wxSTC_CHARSET_DEFAULT = stc.wxSTC_CHARSET_DEFAULT # 1
wxSTC_CHARSET_EASTEUROPE = stc.wxSTC_CHARSET_EASTEUROPE # 238
wxSTC_CHARSET_GB2312 = stc.wxSTC_CHARSET_GB2312 # 134
wxSTC_CHARSET_GREEK = stc.wxSTC_CHARSET_GREEK # 161
wxSTC_CHARSET_HANGUL = stc.wxSTC_CHARSET_HANGUL # 129
wxSTC_CHARSET_HEBREW = stc.wxSTC_CHARSET_HEBREW # 177
wxSTC_CHARSET_JOHAB = stc.wxSTC_CHARSET_JOHAB # 130
wxSTC_CHARSET_MAC = stc.wxSTC_CHARSET_MAC # 77
wxSTC_CHARSET_OEM = stc.wxSTC_CHARSET_OEM # 255
wxSTC_CHARSET_RUSSIAN = stc.wxSTC_CHARSET_RUSSIAN # 204
wxSTC_CHARSET_SHIFTJIS = stc.wxSTC_CHARSET_SHIFTJIS # 128
wxSTC_CHARSET_SYMBOL = stc.wxSTC_CHARSET_SYMBOL # 2
wxSTC_CHARSET_THAI = stc.wxSTC_CHARSET_THAI # 222
wxSTC_CHARSET_TURKISH = stc.wxSTC_CHARSET_TURKISH # 162
wxSTC_CHARSET_VIETNAMESE = stc.wxSTC_CHARSET_VIETNAMESE # 163
wxSTC_CMD_BACKTAB = stc.wxSTC_CMD_BACKTAB # 2328
wxSTC_CMD_CANCEL = stc.wxSTC_CMD_CANCEL # 2325
wxSTC_CMD_CHARLEFT = stc.wxSTC_CMD_CHARLEFT # 2304
wxSTC_CMD_CHARLEFTEXTEND = stc.wxSTC_CMD_CHARLEFTEXTEND # 2305
wxSTC_CMD_CHARRIGHT = stc.wxSTC_CMD_CHARRIGHT # 2306
wxSTC_CMD_CHARRIGHTEXTEND = stc.wxSTC_CMD_CHARRIGHTEXTEND # 2307
wxSTC_CMD_CLEAR = stc.wxSTC_CMD_CLEAR # 2180
wxSTC_CMD_COPY = stc.wxSTC_CMD_COPY # 2178
wxSTC_CMD_CUT = stc.wxSTC_CMD_CUT # 2177
wxSTC_CMD_DELETEBACK = stc.wxSTC_CMD_DELETEBACK # 2326
wxSTC_CMD_DELETEBACKNOTLINE = stc.wxSTC_CMD_DELETEBACKNOTLINE # 2344
wxSTC_CMD_DELLINELEFT = stc.wxSTC_CMD_DELLINELEFT # 2395
wxSTC_CMD_DELLINERIGHT = stc.wxSTC_CMD_DELLINERIGHT # 2396
wxSTC_CMD_DELWORDLEFT = stc.wxSTC_CMD_DELWORDLEFT # 2335
wxSTC_CMD_DELWORDRIGHT = stc.wxSTC_CMD_DELWORDRIGHT # 2336
wxSTC_CMD_DOCUMENTEND = stc.wxSTC_CMD_DOCUMENTEND # 2318
wxSTC_CMD_DOCUMENTENDEXTEND = stc.wxSTC_CMD_DOCUMENTENDEXTEND # 2319
wxSTC_CMD_DOCUMENTSTART = stc.wxSTC_CMD_DOCUMENTSTART # 2316
wxSTC_CMD_DOCUMENTSTARTEXTEND = stc.wxSTC_CMD_DOCUMENTSTARTEXTEND # 2317
wxSTC_CMD_EDITTOGGLEOVERTYPE = stc.wxSTC_CMD_EDITTOGGLEOVERTYPE # 2324
wxSTC_CMD_FORMFEED = stc.wxSTC_CMD_FORMFEED # 2330
wxSTC_CMD_HOME = stc.wxSTC_CMD_HOME # 2312
wxSTC_CMD_HOMEDISPLAY = stc.wxSTC_CMD_HOMEDISPLAY # 2345
wxSTC_CMD_HOMEDISPLAYEXTEND = stc.wxSTC_CMD_HOMEDISPLAYEXTEND # 2346
wxSTC_CMD_HOMEEXTEND = stc.wxSTC_CMD_HOMEEXTEND # 2313
wxSTC_CMD_LINECUT = stc.wxSTC_CMD_LINECUT # 2337
wxSTC_CMD_LINEDELETE = stc.wxSTC_CMD_LINEDELETE # 2338
wxSTC_CMD_LINEDOWN = stc.wxSTC_CMD_LINEDOWN # 2300
wxSTC_CMD_LINEDOWNEXTEND = stc.wxSTC_CMD_LINEDOWNEXTEND # 2301
wxSTC_CMD_LINEEND = stc.wxSTC_CMD_LINEEND # 2314
wxSTC_CMD_LINEENDDISPLAY = stc.wxSTC_CMD_LINEENDDISPLAY # 2347
wxSTC_CMD_LINEENDDISPLAYEXTEND = stc.wxSTC_CMD_LINEENDDISPLAYEXTEND # 2348
wxSTC_CMD_LINEENDEXTEND = stc.wxSTC_CMD_LINEENDEXTEND # 2315
wxSTC_CMD_LINESCROLLDOWN = stc.wxSTC_CMD_LINESCROLLDOWN # 2342
wxSTC_CMD_LINESCROLLUP = stc.wxSTC_CMD_LINESCROLLUP # 2343
wxSTC_CMD_LINETRANSPOSE = stc.wxSTC_CMD_LINETRANSPOSE # 2339
wxSTC_CMD_LINEUP = stc.wxSTC_CMD_LINEUP # 2302
wxSTC_CMD_LINEUPEXTEND = stc.wxSTC_CMD_LINEUPEXTEND # 2303
wxSTC_CMD_LOWERCASE = stc.wxSTC_CMD_LOWERCASE # 2340
wxSTC_CMD_NEWLINE = stc.wxSTC_CMD_NEWLINE # 2329
wxSTC_CMD_PAGEDOWN = stc.wxSTC_CMD_PAGEDOWN # 2322
wxSTC_CMD_PAGEDOWNEXTEND = stc.wxSTC_CMD_PAGEDOWNEXTEND # 2323
wxSTC_CMD_PAGEUP = stc.wxSTC_CMD_PAGEUP # 2320
wxSTC_CMD_PAGEUPEXTEND = stc.wxSTC_CMD_PAGEUPEXTEND # 2321
wxSTC_CMD_PASTE = stc.wxSTC_CMD_PASTE # 2179
wxSTC_CMD_REDO = stc.wxSTC_CMD_REDO # 2011
wxSTC_CMD_SELECTALL = stc.wxSTC_CMD_SELECTALL # 2013
wxSTC_CMD_TAB = stc.wxSTC_CMD_TAB # 2327
wxSTC_CMD_UNDO = stc.wxSTC_CMD_UNDO # 2176
wxSTC_CMD_UPPERCASE = stc.wxSTC_CMD_UPPERCASE # 2341
wxSTC_CMD_VCHOME = stc.wxSTC_CMD_VCHOME # 2331
wxSTC_CMD_VCHOMEEXTEND = stc.wxSTC_CMD_VCHOMEEXTEND # 2332
wxSTC_CMD_WORDLEFT = stc.wxSTC_CMD_WORDLEFT # 2308
wxSTC_CMD_WORDLEFTEXTEND = stc.wxSTC_CMD_WORDLEFTEXTEND # 2309
wxSTC_CMD_WORDPARTLEFT = stc.wxSTC_CMD_WORDPARTLEFT # 2390
wxSTC_CMD_WORDPARTLEFTEXTEND = stc.wxSTC_CMD_WORDPARTLEFTEXTEND # 2391
wxSTC_CMD_WORDPARTRIGHT = stc.wxSTC_CMD_WORDPARTRIGHT # 2392
wxSTC_CMD_WORDPARTRIGHTEXTEND = stc.wxSTC_CMD_WORDPARTRIGHTEXTEND # 2393
wxSTC_CMD_WORDRIGHT = stc.wxSTC_CMD_WORDRIGHT # 2310
wxSTC_CMD_WORDRIGHTEXTEND = stc.wxSTC_CMD_WORDRIGHTEXTEND # 2311
wxSTC_CMD_ZOOMIN = stc.wxSTC_CMD_ZOOMIN # 2333
wxSTC_CMD_ZOOMOUT = stc.wxSTC_CMD_ZOOMOUT # 2334
wxSTC_CONF_COMMENT = stc.wxSTC_CONF_COMMENT # 1
wxSTC_CONF_DEFAULT = stc.wxSTC_CONF_DEFAULT # 0
wxSTC_CONF_DIRECTIVE = stc.wxSTC_CONF_DIRECTIVE # 9
wxSTC_CONF_EXTENSION = stc.wxSTC_CONF_EXTENSION # 4
wxSTC_CONF_IDENTIFIER = stc.wxSTC_CONF_IDENTIFIER # 3
wxSTC_CONF_IP = stc.wxSTC_CONF_IP # 8
wxSTC_CONF_NUMBER = stc.wxSTC_CONF_NUMBER # 2
wxSTC_CONF_OPERATOR = stc.wxSTC_CONF_OPERATOR # 7
wxSTC_CONF_PARAMETER = stc.wxSTC_CONF_PARAMETER # 5
wxSTC_CONF_STRING = stc.wxSTC_CONF_STRING # 6
wxSTC_CP_UTF8 = stc.wxSTC_CP_UTF8 # 65001
wxSTC_CURSORNORMAL = stc.wxSTC_CURSORNORMAL # -1
wxSTC_CURSORWAIT = stc.wxSTC_CURSORWAIT # 3
wxSTC_C_CHARACTER = stc.wxSTC_C_CHARACTER # 7
wxSTC_C_COMMENT = stc.wxSTC_C_COMMENT # 1
wxSTC_C_COMMENTDOC = stc.wxSTC_C_COMMENTDOC # 3
wxSTC_C_COMMENTDOCKEYWORD = stc.wxSTC_C_COMMENTDOCKEYWORD # 17
wxSTC_C_COMMENTDOCKEYWORDERROR = stc.wxSTC_C_COMMENTDOCKEYWORDERROR # 18
wxSTC_C_COMMENTLINE = stc.wxSTC_C_COMMENTLINE # 2
wxSTC_C_COMMENTLINEDOC = stc.wxSTC_C_COMMENTLINEDOC # 15
wxSTC_C_DEFAULT = stc.wxSTC_C_DEFAULT # 0
wxSTC_C_IDENTIFIER = stc.wxSTC_C_IDENTIFIER # 11
wxSTC_C_NUMBER = stc.wxSTC_C_NUMBER # 4
wxSTC_C_OPERATOR = stc.wxSTC_C_OPERATOR # 10
wxSTC_C_PREPROCESSOR = stc.wxSTC_C_PREPROCESSOR # 9
wxSTC_C_REGEX = stc.wxSTC_C_REGEX # 14
wxSTC_C_STRING = stc.wxSTC_C_STRING # 6
wxSTC_C_STRINGEOL = stc.wxSTC_C_STRINGEOL # 12
wxSTC_C_UUID = stc.wxSTC_C_UUID # 8
wxSTC_C_VERBATIM = stc.wxSTC_C_VERBATIM # 13
wxSTC_C_WORD = stc.wxSTC_C_WORD # 5
wxSTC_C_WORD2 = stc.wxSTC_C_WORD2 # 16
wxSTC_DIFF_ADDED = stc.wxSTC_DIFF_ADDED # 6
wxSTC_DIFF_COMMAND = stc.wxSTC_DIFF_COMMAND # 2
wxSTC_DIFF_COMMENT = stc.wxSTC_DIFF_COMMENT # 1
wxSTC_DIFF_DEFAULT = stc.wxSTC_DIFF_DEFAULT # 0
wxSTC_DIFF_DELETED = stc.wxSTC_DIFF_DELETED # 5
wxSTC_DIFF_HEADER = stc.wxSTC_DIFF_HEADER # 3
wxSTC_DIFF_POSITION = stc.wxSTC_DIFF_POSITION # 4
wxSTC_EDGE_BACKGROUND = stc.wxSTC_EDGE_BACKGROUND # 2
wxSTC_EDGE_LINE = stc.wxSTC_EDGE_LINE # 1
wxSTC_EDGE_NONE = stc.wxSTC_EDGE_NONE # 0
wxSTC_EIFFEL_CHARACTER = stc.wxSTC_EIFFEL_CHARACTER # 5
wxSTC_EIFFEL_COMMENTLINE = stc.wxSTC_EIFFEL_COMMENTLINE # 1
wxSTC_EIFFEL_DEFAULT = stc.wxSTC_EIFFEL_DEFAULT # 0
wxSTC_EIFFEL_IDENTIFIER = stc.wxSTC_EIFFEL_IDENTIFIER # 7
wxSTC_EIFFEL_NUMBER = stc.wxSTC_EIFFEL_NUMBER # 2
wxSTC_EIFFEL_OPERATOR = stc.wxSTC_EIFFEL_OPERATOR # 6
wxSTC_EIFFEL_STRING = stc.wxSTC_EIFFEL_STRING # 4
wxSTC_EIFFEL_STRINGEOL = stc.wxSTC_EIFFEL_STRINGEOL # 8
wxSTC_EIFFEL_WORD = stc.wxSTC_EIFFEL_WORD # 3
wxSTC_EOL_CR = stc.wxSTC_EOL_CR # 1
wxSTC_EOL_CRLF = stc.wxSTC_EOL_CRLF # 0
wxSTC_EOL_LF = stc.wxSTC_EOL_LF # 2
wxSTC_ERR_BORLAND = stc.wxSTC_ERR_BORLAND # 5
wxSTC_ERR_CMD = stc.wxSTC_ERR_CMD # 4
wxSTC_ERR_CTAG = stc.wxSTC_ERR_CTAG # 9
wxSTC_ERR_DEFAULT = stc.wxSTC_ERR_DEFAULT # 0
wxSTC_ERR_DIFF_ADDITION = stc.wxSTC_ERR_DIFF_ADDITION # 11
wxSTC_ERR_DIFF_CHANGED = stc.wxSTC_ERR_DIFF_CHANGED # 10
wxSTC_ERR_DIFF_DELETION = stc.wxSTC_ERR_DIFF_DELETION # 12
wxSTC_ERR_DIFF_MESSAGE = stc.wxSTC_ERR_DIFF_MESSAGE # 13
wxSTC_ERR_GCC = stc.wxSTC_ERR_GCC # 2
wxSTC_ERR_LUA = stc.wxSTC_ERR_LUA # 8
wxSTC_ERR_MS = stc.wxSTC_ERR_MS # 3
wxSTC_ERR_NET = stc.wxSTC_ERR_NET # 7
wxSTC_ERR_PERL = stc.wxSTC_ERR_PERL # 6
wxSTC_ERR_PYTHON = stc.wxSTC_ERR_PYTHON # 1
wxSTC_FIND_MATCHCASE = stc.wxSTC_FIND_MATCHCASE # 4
wxSTC_FIND_REGEXP = stc.wxSTC_FIND_REGEXP # 2097152
wxSTC_FIND_WHOLEWORD = stc.wxSTC_FIND_WHOLEWORD # 2
wxSTC_FIND_WORDSTART = stc.wxSTC_FIND_WORDSTART # 1048576
wxSTC_FOLDLEVELBASE = stc.wxSTC_FOLDLEVELBASE # 1024
wxSTC_FOLDLEVELHEADERFLAG = stc.wxSTC_FOLDLEVELHEADERFLAG # 8192
wxSTC_FOLDLEVELNUMBERMASK = stc.wxSTC_FOLDLEVELNUMBERMASK # 4095
wxSTC_FOLDLEVELWHITEFLAG = stc.wxSTC_FOLDLEVELWHITEFLAG # 4096
wxSTC_HBA_COMMENTLINE = stc.wxSTC_HBA_COMMENTLINE # 82
wxSTC_HBA_DEFAULT = stc.wxSTC_HBA_DEFAULT # 81
wxSTC_HBA_IDENTIFIER = stc.wxSTC_HBA_IDENTIFIER # 86
wxSTC_HBA_NUMBER = stc.wxSTC_HBA_NUMBER # 83
wxSTC_HBA_START = stc.wxSTC_HBA_START # 80
wxSTC_HBA_STRING = stc.wxSTC_HBA_STRING # 85
wxSTC_HBA_STRINGEOL = stc.wxSTC_HBA_STRINGEOL # 87
wxSTC_HBA_WORD = stc.wxSTC_HBA_WORD # 84
wxSTC_HB_COMMENTLINE = stc.wxSTC_HB_COMMENTLINE # 72
wxSTC_HB_DEFAULT = stc.wxSTC_HB_DEFAULT # 71
wxSTC_HB_IDENTIFIER = stc.wxSTC_HB_IDENTIFIER # 76
wxSTC_HB_NUMBER = stc.wxSTC_HB_NUMBER # 73
wxSTC_HB_START = stc.wxSTC_HB_START # 70
wxSTC_HB_STRING = stc.wxSTC_HB_STRING # 75
wxSTC_HB_STRINGEOL = stc.wxSTC_HB_STRINGEOL # 77
wxSTC_HB_WORD = stc.wxSTC_HB_WORD # 74
wxSTC_HJA_COMMENT = stc.wxSTC_HJA_COMMENT # 57
wxSTC_HJA_COMMENTDOC = stc.wxSTC_HJA_COMMENTDOC # 59
wxSTC_HJA_COMMENTLINE = stc.wxSTC_HJA_COMMENTLINE # 58
wxSTC_HJA_DEFAULT = stc.wxSTC_HJA_DEFAULT # 56
wxSTC_HJA_DOUBLESTRING = stc.wxSTC_HJA_DOUBLESTRING # 63
wxSTC_HJA_KEYWORD = stc.wxSTC_HJA_KEYWORD # 62
wxSTC_HJA_NUMBER = stc.wxSTC_HJA_NUMBER # 60
wxSTC_HJA_REGEX = stc.wxSTC_HJA_REGEX # 67
wxSTC_HJA_SINGLESTRING = stc.wxSTC_HJA_SINGLESTRING # 64
wxSTC_HJA_START = stc.wxSTC_HJA_START # 55
wxSTC_HJA_STRINGEOL = stc.wxSTC_HJA_STRINGEOL # 66
wxSTC_HJA_SYMBOLS = stc.wxSTC_HJA_SYMBOLS # 65
wxSTC_HJA_WORD = stc.wxSTC_HJA_WORD # 61
wxSTC_HJ_COMMENT = stc.wxSTC_HJ_COMMENT # 42
wxSTC_HJ_COMMENTDOC = stc.wxSTC_HJ_COMMENTDOC # 44
wxSTC_HJ_COMMENTLINE = stc.wxSTC_HJ_COMMENTLINE # 43
wxSTC_HJ_DEFAULT = stc.wxSTC_HJ_DEFAULT # 41
wxSTC_HJ_DOUBLESTRING = stc.wxSTC_HJ_DOUBLESTRING # 48
wxSTC_HJ_KEYWORD = stc.wxSTC_HJ_KEYWORD # 47
wxSTC_HJ_NUMBER = stc.wxSTC_HJ_NUMBER # 45
wxSTC_HJ_REGEX = stc.wxSTC_HJ_REGEX # 52
wxSTC_HJ_SINGLESTRING = stc.wxSTC_HJ_SINGLESTRING # 49
wxSTC_HJ_START = stc.wxSTC_HJ_START # 40
wxSTC_HJ_STRINGEOL = stc.wxSTC_HJ_STRINGEOL # 51
wxSTC_HJ_SYMBOLS = stc.wxSTC_HJ_SYMBOLS # 50
wxSTC_HJ_WORD = stc.wxSTC_HJ_WORD # 46
wxSTC_HPA_CHARACTER = stc.wxSTC_HPA_CHARACTER # 110
wxSTC_HPA_CLASSNAME = stc.wxSTC_HPA_CLASSNAME # 114
wxSTC_HPA_COMMENTLINE = stc.wxSTC_HPA_COMMENTLINE # 107
wxSTC_HPA_DEFAULT = stc.wxSTC_HPA_DEFAULT # 106
wxSTC_HPA_DEFNAME = stc.wxSTC_HPA_DEFNAME # 115
wxSTC_HPA_IDENTIFIER = stc.wxSTC_HPA_IDENTIFIER # 117
wxSTC_HPA_NUMBER = stc.wxSTC_HPA_NUMBER # 108
wxSTC_HPA_OPERATOR = stc.wxSTC_HPA_OPERATOR # 116
wxSTC_HPA_START = stc.wxSTC_HPA_START # 105
wxSTC_HPA_STRING = stc.wxSTC_HPA_STRING # 109
wxSTC_HPA_TRIPLE = stc.wxSTC_HPA_TRIPLE # 112
wxSTC_HPA_TRIPLEDOUBLE = stc.wxSTC_HPA_TRIPLEDOUBLE # 113
wxSTC_HPA_WORD = stc.wxSTC_HPA_WORD # 111
wxSTC_HPHP_COMMENT = stc.wxSTC_HPHP_COMMENT # 124
wxSTC_HPHP_COMMENTLINE = stc.wxSTC_HPHP_COMMENTLINE # 125
wxSTC_HPHP_DEFAULT = stc.wxSTC_HPHP_DEFAULT # 118
wxSTC_HPHP_HSTRING = stc.wxSTC_HPHP_HSTRING # 119
wxSTC_HPHP_HSTRING_VARIABLE = stc.wxSTC_HPHP_HSTRING_VARIABLE # 126
wxSTC_HPHP_NUMBER = stc.wxSTC_HPHP_NUMBER # 122
wxSTC_HPHP_OPERATOR = stc.wxSTC_HPHP_OPERATOR # 127
wxSTC_HPHP_SIMPLESTRING = stc.wxSTC_HPHP_SIMPLESTRING # 120
wxSTC_HPHP_VARIABLE = stc.wxSTC_HPHP_VARIABLE # 123
wxSTC_HPHP_WORD = stc.wxSTC_HPHP_WORD # 121
wxSTC_HP_CHARACTER = stc.wxSTC_HP_CHARACTER # 95
wxSTC_HP_CLASSNAME = stc.wxSTC_HP_CLASSNAME # 99
wxSTC_HP_COMMENTLINE = stc.wxSTC_HP_COMMENTLINE # 92
wxSTC_HP_DEFAULT = stc.wxSTC_HP_DEFAULT # 91
wxSTC_HP_DEFNAME = stc.wxSTC_HP_DEFNAME # 100
wxSTC_HP_IDENTIFIER = stc.wxSTC_HP_IDENTIFIER # 102
wxSTC_HP_NUMBER = stc.wxSTC_HP_NUMBER # 93
wxSTC_HP_OPERATOR = stc.wxSTC_HP_OPERATOR # 101
wxSTC_HP_START = stc.wxSTC_HP_START # 90
wxSTC_HP_STRING = stc.wxSTC_HP_STRING # 94
wxSTC_HP_TRIPLE = stc.wxSTC_HP_TRIPLE # 97
wxSTC_HP_TRIPLEDOUBLE = stc.wxSTC_HP_TRIPLEDOUBLE # 98
wxSTC_HP_WORD = stc.wxSTC_HP_WORD # 96
wxSTC_H_ASP = stc.wxSTC_H_ASP # 15
wxSTC_H_ASPAT = stc.wxSTC_H_ASPAT # 16
wxSTC_H_ATTRIBUTE = stc.wxSTC_H_ATTRIBUTE # 3
wxSTC_H_ATTRIBUTEUNKNOWN = stc.wxSTC_H_ATTRIBUTEUNKNOWN # 4
wxSTC_H_CDATA = stc.wxSTC_H_CDATA # 17
wxSTC_H_COMMENT = stc.wxSTC_H_COMMENT # 9
wxSTC_H_DEFAULT = stc.wxSTC_H_DEFAULT # 0
wxSTC_H_DOUBLESTRING = stc.wxSTC_H_DOUBLESTRING # 6
wxSTC_H_ENTITY = stc.wxSTC_H_ENTITY # 10
wxSTC_H_NUMBER = stc.wxSTC_H_NUMBER # 5
wxSTC_H_OTHER = stc.wxSTC_H_OTHER # 8
wxSTC_H_QUESTION = stc.wxSTC_H_QUESTION # 18
wxSTC_H_SCRIPT = stc.wxSTC_H_SCRIPT # 14
wxSTC_H_SGML_1ST_PARAM = stc.wxSTC_H_SGML_1ST_PARAM # 23
wxSTC_H_SGML_1ST_PARAM_COMMENT = stc.wxSTC_H_SGML_1ST_PARAM_COMMENT # 30
wxSTC_H_SGML_BLOCK_DEFAULT = stc.wxSTC_H_SGML_BLOCK_DEFAULT # 31
wxSTC_H_SGML_COMMAND = stc.wxSTC_H_SGML_COMMAND # 22
wxSTC_H_SGML_COMMENT = stc.wxSTC_H_SGML_COMMENT # 29
wxSTC_H_SGML_DEFAULT = stc.wxSTC_H_SGML_DEFAULT # 21
wxSTC_H_SGML_DOUBLESTRING = stc.wxSTC_H_SGML_DOUBLESTRING # 24
wxSTC_H_SGML_ENTITY = stc.wxSTC_H_SGML_ENTITY # 28
wxSTC_H_SGML_ERROR = stc.wxSTC_H_SGML_ERROR # 26
wxSTC_H_SGML_SIMPLESTRING = stc.wxSTC_H_SGML_SIMPLESTRING # 25
wxSTC_H_SGML_SPECIAL = stc.wxSTC_H_SGML_SPECIAL # 27
wxSTC_H_SINGLESTRING = stc.wxSTC_H_SINGLESTRING # 7
wxSTC_H_TAG = stc.wxSTC_H_TAG # 1
wxSTC_H_TAGEND = stc.wxSTC_H_TAGEND # 11
wxSTC_H_TAGUNKNOWN = stc.wxSTC_H_TAGUNKNOWN # 2
wxSTC_H_VALUE = stc.wxSTC_H_VALUE # 19
wxSTC_H_XCCOMMENT = stc.wxSTC_H_XCCOMMENT # 20
wxSTC_H_XMLEND = stc.wxSTC_H_XMLEND # 13
wxSTC_H_XMLSTART = stc.wxSTC_H_XMLSTART # 12
wxSTC_INDIC0_MASK = stc.wxSTC_INDIC0_MASK # 32
wxSTC_INDIC1_MASK = stc.wxSTC_INDIC1_MASK # 64
wxSTC_INDIC2_MASK = stc.wxSTC_INDIC2_MASK # 128
wxSTC_INDICS_MASK = stc.wxSTC_INDICS_MASK # 224
wxSTC_INDIC_DIAGONAL = stc.wxSTC_INDIC_DIAGONAL # 3
wxSTC_INDIC_MAX = stc.wxSTC_INDIC_MAX # 7
wxSTC_INDIC_PLAIN = stc.wxSTC_INDIC_PLAIN # 0
wxSTC_INDIC_SQUIGGLE = stc.wxSTC_INDIC_SQUIGGLE # 1
wxSTC_INDIC_STRIKE = stc.wxSTC_INDIC_STRIKE # 4
wxSTC_INDIC_TT = stc.wxSTC_INDIC_TT # 2
wxSTC_INVALID_POSITION = stc.wxSTC_INVALID_POSITION # -1
wxSTC_KEY_ADD = stc.wxSTC_KEY_ADD # 310
wxSTC_KEY_BACK = stc.wxSTC_KEY_BACK # 8
wxSTC_KEY_DELETE = stc.wxSTC_KEY_DELETE # 308
wxSTC_KEY_DIVIDE = stc.wxSTC_KEY_DIVIDE # 312
wxSTC_KEY_DOWN = stc.wxSTC_KEY_DOWN # 300
wxSTC_KEY_END = stc.wxSTC_KEY_END # 305
wxSTC_KEY_ESCAPE = stc.wxSTC_KEY_ESCAPE # 7
wxSTC_KEY_HOME = stc.wxSTC_KEY_HOME # 304
wxSTC_KEY_INSERT = stc.wxSTC_KEY_INSERT # 309
wxSTC_KEY_LEFT = stc.wxSTC_KEY_LEFT # 302
wxSTC_KEY_NEXT = stc.wxSTC_KEY_NEXT # 307
wxSTC_KEY_PRIOR = stc.wxSTC_KEY_PRIOR # 306
wxSTC_KEY_RETURN = stc.wxSTC_KEY_RETURN # 13
wxSTC_KEY_RIGHT = stc.wxSTC_KEY_RIGHT # 303
wxSTC_KEY_SUBTRACT = stc.wxSTC_KEY_SUBTRACT # 311
wxSTC_KEY_TAB = stc.wxSTC_KEY_TAB # 9
wxSTC_KEY_UP = stc.wxSTC_KEY_UP # 301
wxSTC_LASTSTEPINUNDOREDO = stc.wxSTC_LASTSTEPINUNDOREDO # 256
wxSTC_LEXER_START = stc.wxSTC_LEXER_START # 4000
wxSTC_LEX_ADA = stc.wxSTC_LEX_ADA # 20
wxSTC_LEX_ASP = stc.wxSTC_LEX_ASP # 29
wxSTC_LEX_AUTOMATIC = stc.wxSTC_LEX_AUTOMATIC # 1000
wxSTC_LEX_AVE = stc.wxSTC_LEX_AVE # 19
wxSTC_LEX_BAAN = stc.wxSTC_LEX_BAAN # 31
wxSTC_LEX_BATCH = stc.wxSTC_LEX_BATCH # 12
wxSTC_LEX_BULLANT = stc.wxSTC_LEX_BULLANT # 27
wxSTC_LEX_CONF = stc.wxSTC_LEX_CONF # 17
wxSTC_LEX_CONTAINER = stc.wxSTC_LEX_CONTAINER # 0
wxSTC_LEX_CPP = stc.wxSTC_LEX_CPP # 3
wxSTC_LEX_DIFF = stc.wxSTC_LEX_DIFF # 16
wxSTC_LEX_EIFFEL = stc.wxSTC_LEX_EIFFEL # 23
wxSTC_LEX_EIFFELKW = stc.wxSTC_LEX_EIFFELKW # 24
wxSTC_LEX_ERRORLIST = stc.wxSTC_LEX_ERRORLIST # 10
wxSTC_LEX_HTML = stc.wxSTC_LEX_HTML # 4
wxSTC_LEX_LATEX = stc.wxSTC_LEX_LATEX # 14
wxSTC_LEX_LISP = stc.wxSTC_LEX_LISP # 21
wxSTC_LEX_LUA = stc.wxSTC_LEX_LUA # 15
wxSTC_LEX_MAKEFILE = stc.wxSTC_LEX_MAKEFILE # 11
wxSTC_LEX_MATLAB = stc.wxSTC_LEX_MATLAB # 32
wxSTC_LEX_NNCRONTAB = stc.wxSTC_LEX_NNCRONTAB # 26
wxSTC_LEX_NULL = stc.wxSTC_LEX_NULL # 1
wxSTC_LEX_PASCAL = stc.wxSTC_LEX_PASCAL # 18
wxSTC_LEX_PERL = stc.wxSTC_LEX_PERL # 6
wxSTC_LEX_PHP = stc.wxSTC_LEX_PHP # 30
wxSTC_LEX_PROPERTIES = stc.wxSTC_LEX_PROPERTIES # 9
wxSTC_LEX_PYTHON = stc.wxSTC_LEX_PYTHON # 2
wxSTC_LEX_RUBY = stc.wxSTC_LEX_RUBY # 22
wxSTC_LEX_SCRIPTOL = stc.wxSTC_LEX_SCRIPTOL # 33
wxSTC_LEX_SQL = stc.wxSTC_LEX_SQL # 7
wxSTC_LEX_TCL = stc.wxSTC_LEX_TCL # 25
wxSTC_LEX_VB = stc.wxSTC_LEX_VB # 8
wxSTC_LEX_VBSCRIPT = stc.wxSTC_LEX_VBSCRIPT # 28
wxSTC_LEX_XCODE = stc.wxSTC_LEX_XCODE # 13
wxSTC_LEX_XML = stc.wxSTC_LEX_XML # 5
wxSTC_LISP_COMMENT = stc.wxSTC_LISP_COMMENT # 1
wxSTC_LISP_DEFAULT = stc.wxSTC_LISP_DEFAULT # 0
wxSTC_LISP_IDENTIFIER = stc.wxSTC_LISP_IDENTIFIER # 9
wxSTC_LISP_KEYWORD = stc.wxSTC_LISP_KEYWORD # 3
wxSTC_LISP_NUMBER = stc.wxSTC_LISP_NUMBER # 2
wxSTC_LISP_OPERATOR = stc.wxSTC_LISP_OPERATOR # 10
wxSTC_LISP_STRING = stc.wxSTC_LISP_STRING # 6
wxSTC_LISP_STRINGEOL = stc.wxSTC_LISP_STRINGEOL # 8
wxSTC_LUA_CHARACTER = stc.wxSTC_LUA_CHARACTER # 7
wxSTC_LUA_COMMENT = stc.wxSTC_LUA_COMMENT # 1
wxSTC_LUA_COMMENTDOC = stc.wxSTC_LUA_COMMENTDOC # 3
wxSTC_LUA_COMMENTLINE = stc.wxSTC_LUA_COMMENTLINE # 2
wxSTC_LUA_DEFAULT = stc.wxSTC_LUA_DEFAULT # 0
wxSTC_LUA_IDENTIFIER = stc.wxSTC_LUA_IDENTIFIER # 11
wxSTC_LUA_LITERALSTRING = stc.wxSTC_LUA_LITERALSTRING # 8
wxSTC_LUA_NUMBER = stc.wxSTC_LUA_NUMBER # 4
wxSTC_LUA_OPERATOR = stc.wxSTC_LUA_OPERATOR # 10
wxSTC_LUA_PREPROCESSOR = stc.wxSTC_LUA_PREPROCESSOR # 9
wxSTC_LUA_STRING = stc.wxSTC_LUA_STRING # 6
wxSTC_LUA_STRINGEOL = stc.wxSTC_LUA_STRINGEOL # 12
wxSTC_LUA_WORD = stc.wxSTC_LUA_WORD # 5
wxSTC_LUA_WORD2 = stc.wxSTC_LUA_WORD2 # 13
wxSTC_LUA_WORD3 = stc.wxSTC_LUA_WORD3 # 14
wxSTC_LUA_WORD4 = stc.wxSTC_LUA_WORD4 # 15
wxSTC_LUA_WORD5 = stc.wxSTC_LUA_WORD5 # 16
wxSTC_LUA_WORD6 = stc.wxSTC_LUA_WORD6 # 17
wxSTC_L_COMMAND = stc.wxSTC_L_COMMAND # 1
wxSTC_L_COMMENT = stc.wxSTC_L_COMMENT # 4
wxSTC_L_DEFAULT = stc.wxSTC_L_DEFAULT # 0
wxSTC_L_MATH = stc.wxSTC_L_MATH # 3
wxSTC_L_TAG = stc.wxSTC_L_TAG # 2
wxSTC_MAKE_COMMENT = stc.wxSTC_MAKE_COMMENT # 1
wxSTC_MAKE_DEFAULT = stc.wxSTC_MAKE_DEFAULT # 0
wxSTC_MAKE_IDENTIFIER = stc.wxSTC_MAKE_IDENTIFIER # 3
wxSTC_MAKE_IDEOL = stc.wxSTC_MAKE_IDEOL # 9
wxSTC_MAKE_OPERATOR = stc.wxSTC_MAKE_OPERATOR # 4
wxSTC_MAKE_PREPROCESSOR = stc.wxSTC_MAKE_PREPROCESSOR # 2
wxSTC_MAKE_TARGET = stc.wxSTC_MAKE_TARGET # 5
wxSTC_MARGIN_NUMBER = stc.wxSTC_MARGIN_NUMBER # 1
wxSTC_MARGIN_SYMBOL = stc.wxSTC_MARGIN_SYMBOL # 0
wxSTC_MARKER_MAX = stc.wxSTC_MARKER_MAX # 31
wxSTC_MARKNUM_FOLDER = stc.wxSTC_MARKNUM_FOLDER # 30
wxSTC_MARKNUM_FOLDEREND = stc.wxSTC_MARKNUM_FOLDEREND # 25
wxSTC_MARKNUM_FOLDERMIDTAIL = stc.wxSTC_MARKNUM_FOLDERMIDTAIL # 27
wxSTC_MARKNUM_FOLDEROPEN = stc.wxSTC_MARKNUM_FOLDEROPEN # 31
wxSTC_MARKNUM_FOLDEROPENMID = stc.wxSTC_MARKNUM_FOLDEROPENMID # 26
wxSTC_MARKNUM_FOLDERSUB = stc.wxSTC_MARKNUM_FOLDERSUB # 29
wxSTC_MARKNUM_FOLDERTAIL = stc.wxSTC_MARKNUM_FOLDERTAIL # 28
wxSTC_MARK_ARROW = stc.wxSTC_MARK_ARROW # 2
wxSTC_MARK_ARROWDOWN = stc.wxSTC_MARK_ARROWDOWN # 6
wxSTC_MARK_ARROWS = stc.wxSTC_MARK_ARROWS # 24
wxSTC_MARK_BACKGROUND = stc.wxSTC_MARK_BACKGROUND # 22
wxSTC_MARK_BOXMINUS = stc.wxSTC_MARK_BOXMINUS # 14
wxSTC_MARK_BOXMINUSCONNECTED = stc.wxSTC_MARK_BOXMINUSCONNECTED # 15
wxSTC_MARK_BOXPLUS = stc.wxSTC_MARK_BOXPLUS # 12
wxSTC_MARK_BOXPLUSCONNECTED = stc.wxSTC_MARK_BOXPLUSCONNECTED # 13
wxSTC_MARK_CHARACTER = stc.wxSTC_MARK_CHARACTER # 10000
wxSTC_MARK_CIRCLE = stc.wxSTC_MARK_CIRCLE # 0
wxSTC_MARK_CIRCLEMINUS = stc.wxSTC_MARK_CIRCLEMINUS # 20
wxSTC_MARK_CIRCLEMINUSCONNECTED = stc.wxSTC_MARK_CIRCLEMINUSCONNECTED # 21
wxSTC_MARK_CIRCLEPLUS = stc.wxSTC_MARK_CIRCLEPLUS # 18
wxSTC_MARK_CIRCLEPLUSCONNECTED = stc.wxSTC_MARK_CIRCLEPLUSCONNECTED # 19
wxSTC_MARK_DOTDOTDOT = stc.wxSTC_MARK_DOTDOTDOT # 23
wxSTC_MARK_EMPTY = stc.wxSTC_MARK_EMPTY # 5
wxSTC_MARK_LCORNER = stc.wxSTC_MARK_LCORNER # 10
wxSTC_MARK_LCORNERCURVE = stc.wxSTC_MARK_LCORNERCURVE # 16
wxSTC_MARK_MINUS = stc.wxSTC_MARK_MINUS # 7
wxSTC_MARK_PLUS = stc.wxSTC_MARK_PLUS # 8
wxSTC_MARK_ROUNDRECT = stc.wxSTC_MARK_ROUNDRECT # 1
wxSTC_MARK_SHORTARROW = stc.wxSTC_MARK_SHORTARROW # 4
wxSTC_MARK_SMALLRECT = stc.wxSTC_MARK_SMALLRECT # 3
wxSTC_MARK_TCORNER = stc.wxSTC_MARK_TCORNER # 11
wxSTC_MARK_TCORNERCURVE = stc.wxSTC_MARK_TCORNERCURVE # 17
wxSTC_MARK_VLINE = stc.wxSTC_MARK_VLINE # 9
wxSTC_MASK_FOLDERS = stc.wxSTC_MASK_FOLDERS # -33554432
wxSTC_MATLAB_COMMAND = stc.wxSTC_MATLAB_COMMAND # 2
wxSTC_MATLAB_COMMENT = stc.wxSTC_MATLAB_COMMENT # 1
wxSTC_MATLAB_DEFAULT = stc.wxSTC_MATLAB_DEFAULT # 0
wxSTC_MATLAB_IDENTIFIER = stc.wxSTC_MATLAB_IDENTIFIER # 7
wxSTC_MATLAB_KEYWORD = stc.wxSTC_MATLAB_KEYWORD # 4
wxSTC_MATLAB_NUMBER = stc.wxSTC_MATLAB_NUMBER # 3
wxSTC_MATLAB_OPERATOR = stc.wxSTC_MATLAB_OPERATOR # 6
wxSTC_MATLAB_STRING = stc.wxSTC_MATLAB_STRING # 5
wxSTC_MODEVENTMASKALL = stc.wxSTC_MODEVENTMASKALL # 3959
wxSTC_MOD_BEFOREDELETE = stc.wxSTC_MOD_BEFOREDELETE # 2048
wxSTC_MOD_BEFOREINSERT = stc.wxSTC_MOD_BEFOREINSERT # 1024
wxSTC_MOD_CHANGEFOLD = stc.wxSTC_MOD_CHANGEFOLD # 8
wxSTC_MOD_CHANGEMARKER = stc.wxSTC_MOD_CHANGEMARKER # 512
wxSTC_MOD_CHANGESTYLE = stc.wxSTC_MOD_CHANGESTYLE # 4
wxSTC_MOD_DELETETEXT = stc.wxSTC_MOD_DELETETEXT # 2
wxSTC_MOD_INSERTTEXT = stc.wxSTC_MOD_INSERTTEXT # 1
wxSTC_NNCRONTAB_ASTERISK = stc.wxSTC_NNCRONTAB_ASTERISK # 6
wxSTC_NNCRONTAB_COMMENT = stc.wxSTC_NNCRONTAB_COMMENT # 1
wxSTC_NNCRONTAB_DEFAULT = stc.wxSTC_NNCRONTAB_DEFAULT # 0
wxSTC_NNCRONTAB_ENVIRONMENT = stc.wxSTC_NNCRONTAB_ENVIRONMENT # 9
wxSTC_NNCRONTAB_IDENTIFIER = stc.wxSTC_NNCRONTAB_IDENTIFIER # 10
wxSTC_NNCRONTAB_KEYWORD = stc.wxSTC_NNCRONTAB_KEYWORD # 4
wxSTC_NNCRONTAB_MODIFIER = stc.wxSTC_NNCRONTAB_MODIFIER # 5
wxSTC_NNCRONTAB_NUMBER = stc.wxSTC_NNCRONTAB_NUMBER # 7
wxSTC_NNCRONTAB_SECTION = stc.wxSTC_NNCRONTAB_SECTION # 3
wxSTC_NNCRONTAB_STRING = stc.wxSTC_NNCRONTAB_STRING # 8
wxSTC_NNCRONTAB_TASK = stc.wxSTC_NNCRONTAB_TASK # 2
wxSTC_OPTIONAL_START = stc.wxSTC_OPTIONAL_START # 3000
wxSTC_PERFORMED_REDO = stc.wxSTC_PERFORMED_REDO # 64
wxSTC_PERFORMED_UNDO = stc.wxSTC_PERFORMED_UNDO # 32
wxSTC_PERFORMED_USER = stc.wxSTC_PERFORMED_USER # 16
wxSTC_PL_ARRAY = stc.wxSTC_PL_ARRAY # 13
wxSTC_PL_BACKTICKS = stc.wxSTC_PL_BACKTICKS # 20
wxSTC_PL_CHARACTER = stc.wxSTC_PL_CHARACTER # 7
wxSTC_PL_COMMENTLINE = stc.wxSTC_PL_COMMENTLINE # 2
wxSTC_PL_DATASECTION = stc.wxSTC_PL_DATASECTION # 21
wxSTC_PL_DEFAULT = stc.wxSTC_PL_DEFAULT # 0
wxSTC_PL_ERROR = stc.wxSTC_PL_ERROR # 1
wxSTC_PL_HASH = stc.wxSTC_PL_HASH # 14
wxSTC_PL_HERE_DELIM = stc.wxSTC_PL_HERE_DELIM # 22
wxSTC_PL_HERE_Q = stc.wxSTC_PL_HERE_Q # 23
wxSTC_PL_HERE_QQ = stc.wxSTC_PL_HERE_QQ # 24
wxSTC_PL_HERE_QX = stc.wxSTC_PL_HERE_QX # 25
wxSTC_PL_IDENTIFIER = stc.wxSTC_PL_IDENTIFIER # 11
wxSTC_PL_LONGQUOTE = stc.wxSTC_PL_LONGQUOTE # 19
wxSTC_PL_NUMBER = stc.wxSTC_PL_NUMBER # 4
wxSTC_PL_OPERATOR = stc.wxSTC_PL_OPERATOR # 10
wxSTC_PL_POD = stc.wxSTC_PL_POD # 3
wxSTC_PL_PREPROCESSOR = stc.wxSTC_PL_PREPROCESSOR # 9
wxSTC_PL_PUNCTUATION = stc.wxSTC_PL_PUNCTUATION # 8
wxSTC_PL_REGEX = stc.wxSTC_PL_REGEX # 17
wxSTC_PL_REGSUBST = stc.wxSTC_PL_REGSUBST # 18
wxSTC_PL_SCALAR = stc.wxSTC_PL_SCALAR # 12
wxSTC_PL_STRING = stc.wxSTC_PL_STRING # 6
wxSTC_PL_STRING_Q = stc.wxSTC_PL_STRING_Q # 26
wxSTC_PL_STRING_QQ = stc.wxSTC_PL_STRING_QQ # 27
wxSTC_PL_STRING_QR = stc.wxSTC_PL_STRING_QR # 29
wxSTC_PL_STRING_QW = stc.wxSTC_PL_STRING_QW # 30
wxSTC_PL_STRING_QX = stc.wxSTC_PL_STRING_QX # 28
wxSTC_PL_SYMBOLTABLE = stc.wxSTC_PL_SYMBOLTABLE # 15
wxSTC_PL_WORD = stc.wxSTC_PL_WORD # 5
wxSTC_PRINT_BLACKONWHITE = stc.wxSTC_PRINT_BLACKONWHITE # 2
wxSTC_PRINT_COLOURONWHITE = stc.wxSTC_PRINT_COLOURONWHITE # 3
wxSTC_PRINT_COLOURONWHITEDEFAULTBG = stc.wxSTC_PRINT_COLOURONWHITEDEFAULTBG # 4
wxSTC_PRINT_INVERTLIGHT = stc.wxSTC_PRINT_INVERTLIGHT # 1
wxSTC_PRINT_NORMAL = stc.wxSTC_PRINT_NORMAL # 0
wxSTC_PROPS_ASSIGNMENT = stc.wxSTC_PROPS_ASSIGNMENT # 3
wxSTC_PROPS_COMMENT = stc.wxSTC_PROPS_COMMENT # 1
wxSTC_PROPS_DEFAULT = stc.wxSTC_PROPS_DEFAULT # 0
wxSTC_PROPS_DEFVAL = stc.wxSTC_PROPS_DEFVAL # 4
wxSTC_PROPS_SECTION = stc.wxSTC_PROPS_SECTION # 2
wxSTC_P_CHARACTER = stc.wxSTC_P_CHARACTER # 4
wxSTC_P_CLASSNAME = stc.wxSTC_P_CLASSNAME # 8
wxSTC_P_COMMENTBLOCK = stc.wxSTC_P_COMMENTBLOCK # 12
wxSTC_P_COMMENTLINE = stc.wxSTC_P_COMMENTLINE # 1
wxSTC_P_DEFAULT = stc.wxSTC_P_DEFAULT # 0
wxSTC_P_DEFNAME = stc.wxSTC_P_DEFNAME # 9
wxSTC_P_IDENTIFIER = stc.wxSTC_P_IDENTIFIER # 11
wxSTC_P_NUMBER = stc.wxSTC_P_NUMBER # 2
wxSTC_P_OPERATOR = stc.wxSTC_P_OPERATOR # 10
wxSTC_P_STRING = stc.wxSTC_P_STRING # 3
wxSTC_P_STRINGEOL = stc.wxSTC_P_STRINGEOL # 13
wxSTC_P_TRIPLE = stc.wxSTC_P_TRIPLE # 6
wxSTC_P_TRIPLEDOUBLE = stc.wxSTC_P_TRIPLEDOUBLE # 7
wxSTC_P_WORD = stc.wxSTC_P_WORD # 5
wxSTC_SCMOD_ALT = stc.wxSTC_SCMOD_ALT # 4
wxSTC_SCMOD_CTRL = stc.wxSTC_SCMOD_CTRL # 2
wxSTC_SCMOD_SHIFT = stc.wxSTC_SCMOD_SHIFT # 1
wxSTC_SCRIPTOL_CHARACTER = stc.wxSTC_SCRIPTOL_CHARACTER # 7
wxSTC_SCRIPTOL_COMMENT = stc.wxSTC_SCRIPTOL_COMMENT # 1
wxSTC_SCRIPTOL_COMMENTBASIC = stc.wxSTC_SCRIPTOL_COMMENTBASIC # 19
wxSTC_SCRIPTOL_COMMENTDOC = stc.wxSTC_SCRIPTOL_COMMENTDOC # 3
wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD # 17
wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR # 18
wxSTC_SCRIPTOL_COMMENTLINE = stc.wxSTC_SCRIPTOL_COMMENTLINE # 2
wxSTC_SCRIPTOL_COMMENTLINEDOC = stc.wxSTC_SCRIPTOL_COMMENTLINEDOC # 15
wxSTC_SCRIPTOL_DEFAULT = stc.wxSTC_SCRIPTOL_DEFAULT # 0
wxSTC_SCRIPTOL_IDENTIFIER = stc.wxSTC_SCRIPTOL_IDENTIFIER # 11
wxSTC_SCRIPTOL_NUMBER = stc.wxSTC_SCRIPTOL_NUMBER # 4
wxSTC_SCRIPTOL_OPERATOR = stc.wxSTC_SCRIPTOL_OPERATOR # 10
wxSTC_SCRIPTOL_PREPROCESSOR = stc.wxSTC_SCRIPTOL_PREPROCESSOR # 9
wxSTC_SCRIPTOL_REGEX = stc.wxSTC_SCRIPTOL_REGEX # 14
wxSTC_SCRIPTOL_STRING = stc.wxSTC_SCRIPTOL_STRING # 6
wxSTC_SCRIPTOL_STRINGEOL = stc.wxSTC_SCRIPTOL_STRINGEOL # 12
wxSTC_SCRIPTOL_UUID = stc.wxSTC_SCRIPTOL_UUID # 8
wxSTC_SCRIPTOL_VERBATIM = stc.wxSTC_SCRIPTOL_VERBATIM # 13
wxSTC_SCRIPTOL_WORD = stc.wxSTC_SCRIPTOL_WORD # 5
wxSTC_SCRIPTOL_WORD2 = stc.wxSTC_SCRIPTOL_WORD2 # 16
wxSTC_START = stc.wxSTC_START # 2000
wxSTC_STYLE_BRACEBAD = stc.wxSTC_STYLE_BRACEBAD # 35
wxSTC_STYLE_BRACELIGHT = stc.wxSTC_STYLE_BRACELIGHT # 34
wxSTC_STYLE_CONTROLCHAR = stc.wxSTC_STYLE_CONTROLCHAR # 36
wxSTC_STYLE_DEFAULT = stc.wxSTC_STYLE_DEFAULT # 32
wxSTC_STYLE_INDENTGUIDE = stc.wxSTC_STYLE_INDENTGUIDE # 37
wxSTC_STYLE_LASTPREDEFINED = stc.wxSTC_STYLE_LASTPREDEFINED # 39
wxSTC_STYLE_LINENUMBER = stc.wxSTC_STYLE_LINENUMBER # 33
wxSTC_STYLE_MAX = stc.wxSTC_STYLE_MAX # 127
wxSTC_TIME_FOREVER = stc.wxSTC_TIME_FOREVER # 10000000
wxSTC_USE_POPUP = stc.wxSTC_USE_POPUP # 1
wxSTC_VISIBLE_SLOP = stc.wxSTC_VISIBLE_SLOP # 1
wxSTC_VISIBLE_STRICT = stc.wxSTC_VISIBLE_STRICT # 4
wxSTC_WRAP_NONE = stc.wxSTC_WRAP_NONE # 0
wxSTC_WRAP_WORD = stc.wxSTC_WRAP_WORD # 1
wxSTC_WS_INVISIBLE = stc.wxSTC_WS_INVISIBLE # 0
wxSTC_WS_VISIBLEAFTERINDENT = stc.wxSTC_WS_VISIBLEAFTERINDENT # 2
wxSTC_WS_VISIBLEALWAYS = stc.wxSTC_WS_VISIBLEALWAYS # 1
# End generated constants.

View File

@@ -0,0 +1,26 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
class MutexGuiLocker:
""""""
def __del__(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,403 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
from Controls import Control
import Parameters as wx
class ToolBarBase(Control):
""""""
def AddCheckLabelTool(self):
""""""
pass
def AddCheckTool(self):
""""""
pass
def AddControl(self):
""""""
pass
def AddLabelTool(self):
""""""
pass
def AddRadioLabelTool(self):
""""""
pass
def AddRadioTool(self):
""""""
pass
def AddSeparator(self):
""""""
pass
def AddSimpleTool(self):
""""""
pass
def AddTool(self):
""""""
pass
def ClearTools(self):
""""""
pass
def DeleteTool(self):
""""""
pass
def DeleteToolByPos(self):
""""""
pass
def DoAddTool(self):
""""""
pass
def DoInsertTool(self):
""""""
pass
def EnableTool(self):
""""""
pass
def FindControl(self):
""""""
pass
def FindToolForPosition(self):
""""""
pass
def GetMargins(self):
""""""
pass
def GetMaxCols(self):
""""""
pass
def GetMaxRows(self):
""""""
pass
def GetToolBitmapSize(self):
""""""
pass
def GetToolClientData(self):
""""""
pass
def GetToolEnabled(self):
""""""
pass
def GetToolLongHelp(self):
""""""
pass
def GetToolMargins(self):
""""""
pass
def GetToolPacking(self):
""""""
pass
def GetToolSeparation(self):
""""""
pass
def GetToolShortHelp(self):
""""""
pass
def GetToolSize(self):
""""""
pass
def GetToolState(self):
""""""
pass
def InsertControl(self):
""""""
pass
def InsertLabelTool(self):
""""""
pass
def InsertSeparator(self):
""""""
pass
def InsertSimpleTool(self):
""""""
pass
def InsertTool(self):
""""""
pass
def IsVertical(self):
""""""
pass
def Realize(self):
""""""
pass
def RemoveTool(self):
""""""
pass
def SetMargins(self):
""""""
pass
def SetMarginsXY(self):
""""""
pass
def SetMaxRowsCols(self):
""""""
pass
def SetRows(self):
""""""
pass
def SetToggle(self):
""""""
pass
def SetToolBitmapSize(self):
""""""
pass
def SetToolClientData(self):
""""""
pass
def SetToolLongHelp(self):
""""""
pass
def SetToolPacking(self):
""""""
pass
def SetToolSeparation(self):
""""""
pass
def SetToolShortHelp(self):
""""""
pass
def ToggleTool(self):
""""""
pass
def __init__(self):
""""""
pass
class ToolBar(ToolBarBase):
""""""
def Create(self):
""""""
pass
def FindToolForPosition(self):
""""""
pass
def __init__(self):
""""""
pass
class ToolBarSimple(ToolBarBase):
""""""
def Create(self):
""""""
pass
def FindToolForPosition(self):
""""""
pass
def __init__(self):
""""""
pass
class ToolBarToolBase(Object):
""""""
def Attach(self):
""""""
pass
def CanBeToggled(self):
""""""
pass
def Destroy(self):
""""""
pass
def Detach(self):
""""""
pass
def Enable(self):
""""""
pass
def GetBitmap(self):
""""""
pass
def GetBitmap1(self):
""""""
pass
def GetBitmap2(self):
""""""
pass
def GetClientData(self):
""""""
pass
def GetControl(self):
""""""
pass
def GetDisabledBitmap(self):
""""""
pass
def GetId(self):
""""""
pass
def GetKind(self):
""""""
pass
def GetLabel(self):
""""""
pass
def GetLongHelp(self):
""""""
pass
def GetNormalBitmap(self):
""""""
pass
def GetShortHelp(self):
""""""
pass
def GetStyle(self):
""""""
pass
def GetToolBar(self):
""""""
pass
def IsButton(self):
""""""
pass
def IsControl(self):
""""""
pass
def IsEnabled(self):
""""""
pass
def IsSeparator(self):
""""""
pass
def IsToggled(self):
""""""
pass
def SetBitmap1(self):
""""""
pass
def SetBitmap2(self):
""""""
pass
def SetClientData(self):
""""""
pass
def SetDisabledBitmap(self):
""""""
pass
def SetLabel(self):
""""""
pass
def SetLongHelp(self):
""""""
pass
def SetNormalBitmap(self):
""""""
pass
def SetShortHelp(self):
""""""
pass
def SetToggle(self):
""""""
pass
def Toggle(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1,403 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import Object
from Controls import Control
import Parameters as wx
class TreeCtrl(Control):
"""A tree control presents information as a hierarchy, with items
that may be expanded to show further items. Items in a tree
control are referenced by wx.TreeItemId handles, which may be
tested for validity by calling TreeItemId.IsOk()."""
def AddRoot(self):
""""""
pass
def AppendItem(self):
""""""
pass
def AssignImageList(self):
""""""
pass
def AssignStateImageList(self):
""""""
pass
def Collapse(self):
""""""
pass
def CollapseAndReset(self):
""""""
pass
def Create(self):
""""""
pass
def Delete(self):
""""""
pass
def DeleteAllItems(self):
""""""
pass
def DeleteChildren(self):
""""""
pass
def EditLabel(self):
""""""
pass
def EnsureVisible(self):
""""""
pass
def Expand(self):
""""""
pass
def GetBoundingRect(self):
""""""
pass
def GetChildrenCount(self):
""""""
pass
def GetCount(self):
""""""
pass
def GetEditControl(self):
""""""
pass
def GetFirstChild(self):
""""""
pass
def GetFirstVisibleItem(self):
""""""
pass
def GetImageList(self):
""""""
pass
def GetIndent(self):
""""""
pass
def GetItemBackgroundColour(self):
""""""
pass
def GetItemData(self):
""""""
pass
def GetItemFont(self):
""""""
pass
def GetItemImage(self):
""""""
pass
def GetItemParent(self):
""""""
pass
def GetItemSelectedImage(self):
""""""
pass
def GetItemText(self):
""""""
pass
def GetItemTextColour(self):
""""""
pass
def GetLastChild(self):
""""""
pass
def GetNextChild(self):
""""""
pass
def GetNextSibling(self):
""""""
pass
def GetNextVisible(self):
""""""
pass
def GetPrevSibling(self):
""""""
pass
def GetPrevVisible(self):
""""""
pass
def GetPyData(self):
""""""
pass
def GetRootItem(self):
""""""
pass
def GetSelection(self):
""""""
pass
def GetSelections(self):
""""""
pass
def GetSpacing(self):
""""""
pass
def GetStateImageList(self):
""""""
pass
def HitTest(self):
""""""
pass
def InsertItem(self):
""""""
pass
def InsertItemBefore(self):
""""""
pass
def IsBold(self):
""""""
pass
def IsExpanded(self):
""""""
pass
def IsSelected(self):
""""""
pass
def IsVisible(self):
""""""
pass
def ItemHasChildren(self):
""""""
pass
def PrependItem(self):
""""""
pass
def ScrollTo(self):
""""""
pass
def SelectItem(self):
""""""
pass
def SetImageList(self):
""""""
pass
def SetIndent(self):
""""""
pass
def SetItemBackgroundColour(self):
""""""
pass
def SetItemBold(self):
""""""
pass
def SetItemData(self):
""""""
pass
def SetItemFont(self):
""""""
pass
def SetItemHasChildren(self):
""""""
pass
def SetItemImage(self):
""""""
pass
def SetItemSelectedImage(self):
""""""
pass
def SetItemText(self):
""""""
pass
def SetItemTextColour(self):
""""""
pass
def SetPyData(self):
""""""
pass
def SetSpacing(self):
""""""
pass
def SetStateImageList(self):
""""""
pass
def SortChildren(self):
""""""
pass
def Toggle(self):
""""""
pass
def Unselect(self):
""""""
pass
def UnselectAll(self):
""""""
pass
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
class TreeItemAttr:
""""""
def GetBackgroundColour(self):
""""""
pass
def GetFont(self):
""""""
pass
def GetTextColour(self):
""""""
pass
def HasBackgroundColour(self):
""""""
pass
def HasFont(self):
""""""
pass
def HasTextColour(self):
""""""
pass
def SetBackgroundColour(self):
""""""
pass
def SetFont(self):
""""""
pass
def SetTextColour(self):
""""""
pass
def __init__(self):
""""""
pass
class TreeItemData(Object):
"""TreeItemData is some (arbitrary) user class associated with
some item. The main advantage of having this class is that
TreeItemData objects are destroyed automatically by the tree and
the memory and any other resources associated with a tree item
will be automatically freed when it is deleted."""
def __init__(self, obj=wx.NULL):
"""Associate any Python object with tree item using
wxTreeItemData as container."""
pass
def GetData(self):
"""Return the Python object."""
pass
def GetId(self):
"""Return the item associated with this node."""
pass
def SetData(self, obj):
"""Associate Python object with tree item."""
pass
def SetId(self, id):
"""Set the item associated with this node."""
pass
class TreeItemId:
"""Item in a TreeCtrl."""
## You wouldn't create these directly.
## def __init__(self):
## """"""
## pass
def IsOk(self):
"""Return True if item is valid."""
pass
def Ok(self):
"""Synonym for IsOk."""
pass

View File

@@ -0,0 +1,56 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import EvtHandler
import Parameters as wx
try:
True
except NameError:
True = 1==1
False = 1==0
class Validator(EvtHandler):
""""""
def __init__(self):
""""""
pass
def Clone(self):
""""""
pass
def GetWindow(self):
""""""
pass
def SetWindow(self, window):
""""""
pass
class PyValidator(Validator):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self, _class, incref=True):
""""""
pass

View File

@@ -0,0 +1,850 @@
"""Decorator classes for documentation and shell scripting.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
from Base import EvtHandler
import Parameters as wx
try:
True
except NameError:
True = 1==1
False = 1==0
class Window(EvtHandler):
""""""
def __init__(self, parent, id, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=0, name=wx.PyPanelNameStr):
""""""
pass
def AcceptsFocus(self):
""""""
pass
def AddChild(self, child):
""""""
pass
def CaptureMouse(self):
""""""
pass
def Center(self, direction=wx.BOTH):
""""""
pass
def CenterOnParent(self, direction=wx.BOTH):
""""""
pass
def CenterOnScreen(self, direction=wx.BOTH):
""""""
pass
def Centre(self, direction=wx.BOTH):
""""""
pass
def CentreOnParent(self, direction=wx.BOTH):
""""""
pass
def CentreOnScreen(self, direction=wx.BOTH):
""""""
pass
def Clear(self):
""""""
pass
def ClientToScreen(self, pt):
""""""
pass
def ClientToScreenXY(self, x, y):
""""""
pass
def Close(self, force=False):
""""""
pass
def ConvertDialogPointToPixels(self, pt):
""""""
pass
def ConvertDialogSizeToPixels(self, sz):
""""""
pass
def ConvertPixelPointToDialog(self, pt):
""""""
pass
def ConvertPixelSizeToDialog(self, sz):
""""""
pass
def Create(self, parent, id, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=0, name=wx.PyPanelNameStr):
""""""
pass
def DLG_PNT(self, win, point_or_x, y=None):
""""""
pass
def DLG_SZE(self, win, size_width, height=None):
""""""
pass
def Destroy(self):
""""""
pass
def DestroyChildren(self):
""""""
pass
def DragAcceptFiles(self, accept):
"""Windows only."""
pass
def Enable(self, enable):
""""""
pass
def FindWindowById(self, id):
""""""
pass
def FindWindowByName(self, name):
""""""
pass
def Fit(self):
""""""
pass
def FitInside(self):
""""""
pass
def Freeze(self):
""""""
pass
def GetAcceleratorTable(self):
""""""
pass
def GetAdjustedBestSize(self):
""""""
pass
def GetAutoLayout(self):
""""""
pass
def GetBackgroundColour(self):
""""""
pass
def GetBestSize(self):
""""""
pass
def GetBestVirtualSize(self):
""""""
pass
def GetBorder(self):
""""""
pass
def GetCaret(self):
""""""
pass
def GetCharHeight(self):
""""""
pass
def GetCharWidth(self):
""""""
pass
def GetChildren(self):
""""""
pass
def GetClientAreaOrigin(self):
""""""
pass
def GetClientRect(self):
""""""
pass
def GetClientSize(self):
""""""
pass
def GetClientSizeTuple(self):
""""""
pass
def GetConstraints(self):
""""""
pass
def GetContainingSizer(self):
""""""
pass
def GetCursor(self):
""""""
pass
def GetDefaultItem(self):
""""""
pass
def GetDropTarget(self):
""""""
pass
def GetEventHandler(self):
""""""
pass
def GetFont(self):
""""""
pass
def GetForegroundColour(self):
""""""
pass
def GetFullTextExtent(self):
""""""
pass
def GetGrandParent(self):
""""""
pass
def GetHandle(self):
""""""
pass
def GetHelpText(self):
""""""
pass
def GetId(self):
""""""
pass
def GetLabel(self):
""""""
pass
def GetMaxSize(self):
""""""
pass
def GetName(self):
""""""
pass
def GetParent(self):
""""""
pass
def GetPosition(self):
""""""
pass
def GetPositionTuple(self):
""""""
pass
def GetRect(self):
""""""
pass
def GetScrollPos(self, orientation):
""""""
pass
def GetScrollRange(self, orientation):
""""""
pass
def GetScrollThumb(self, orientation):
""""""
pass
def GetSize(self):
""""""
pass
def GetSizeTuple(self):
""""""
pass
def GetSizer(self):
""""""
pass
def GetTextExtent(self, string):
""""""
pass
def GetTitle(self):
""""""
pass
def GetToolTip(self):
""""""
pass
def GetUpdateRegion(self):
""""""
pass
def GetValidator(self):
""""""
pass
def GetVirtualSize(self):
""""""
pass
def GetVirtualSizeTuple(self):
""""""
pass
def GetWindowStyleFlag(self):
""""""
pass
def HasCapture(self):
""""""
pass
def HasScrollbar(self, orient):
""""""
pass
def Hide(self):
""""""
pass
def HitTest(self, pt):
""""""
pass
def InitDialog(self):
""""""
pass
def IsBeingDeleted(self):
""""""
pass
def IsEnabled(self):
""""""
pass
def IsExposed(self, x, y, w=0, h=0):
""""""
pass
def IsExposedPoint(self, pt):
""""""
pass
def IsExposedRect(self, rect):
""""""
pass
def IsRetained(self):
""""""
pass
def IsShown(self):
""""""
pass
def IsTopLevel(self):
""""""
pass
def Layout(self):
""""""
pass
def LineDown(self):
""""""
pass
def LineUp(self):
""""""
pass
def LoadFromResource(self, parent, resourceName, resourceTable=wx.NULL):
"""Only if USE_WX_RESOURCES."""
pass
def Lower(self):
""""""
pass
def MakeModal(self, flag=True):
""""""
pass
def Move(self, point, flags=wx.SIZE_USE_EXISTING):
""""""
pass
def MoveXY(self, x, y, flags=wx.SIZE_USE_EXISTING):
""""""
pass
def OnPaint(self, event):
"""Windows only."""
pass
def PageDown(self):
""""""
pass
def PageUp(self):
""""""
pass
def PopEventHandler(self, deleteHandler=False):
""""""
pass
def PopupMenu(self, menu, pos):
""""""
pass
def PopupMenuXY(self, menu, x, y):
""""""
pass
def PushEventHandler(self, handler):
""""""
pass
def Raise(self):
""""""
pass
def Refresh(self, eraseBackground=True, rect=wx.NULL):
""""""
pass
def RefreshRect(self, rect):
""""""
pass
def ReleaseMouse(self):
""""""
pass
def RemoveChild(self, child):
""""""
pass
def RemoveEventHandler(self, handler):
""""""
pass
def Reparent(self, newParent):
""""""
pass
def ScreenToClient(self, pt):
""""""
pass
def ScreenToClientXY(self, x, y):
""""""
pass
def ScrollLines(self, lines):
""""""
pass
def ScrollPages(self, pages):
""""""
pass
def ScrollWindow(self, dx, dy, rect=wx.NULL):
""""""
pass
def SetAcceleratorTable(self, accel):
""""""
pass
def SetAutoLayout(self, autoLayout):
""""""
pass
def SetBackgroundColour(self, colour):
""""""
pass
def SetCaret(self, caret):
""""""
pass
def SetClientSize(self, size):
""""""
pass
def SetClientSizeWH(self, width, height):
""""""
pass
def SetConstraints(self, constraints):
""""""
pass
def SetContainingSizer(self, sizer):
""""""
pass
def SetCursor(self, cursor):
""""""
pass
def SetDefaultItem(self, btn):
""""""
pass
def SetDimensions(self):
""""""
pass
def SetDropTarget(self, target):
""""""
pass
def SetEventHandler(self, handler):
""""""
pass
def SetExtraStyle(self, exStyle):
""""""
pass
def SetFocus(self):
""""""
pass
def SetFocusFromKbd(self):
""""""
pass
def SetFont(self, font):
""""""
pass
def SetForegroundColour(self, colour):
""""""
pass
def SetHelpText(self, helpText):
""""""
pass
def SetHelpTextForId(self, text):
""""""
pass
def SetId(self, id):
""""""
pass
def SetLabel(self, label):
""""""
pass
def SetName(self, name):
""""""
pass
def SetPosition(self, pos, flags=wx.SIZE_USE_EXISTING):
""""""
pass
def SetRect(self, rect, sizeFlags=wx.SIZE_AUTO):
""""""
pass
def SetScrollPos(self, orientation, pos, refresh=True):
""""""
pass
def SetScrollbar(self, orientation, pos, thumbSize, range, refresh=True):
""""""
pass
def SetSize(self, x, y, width, height, sizeFlags=wx.SIZE_AUTO):
""""""
pass
def SetSizeHints(self, minW, minH, maxW=-1, maxH=-1, incW=-1, incH=-1):
""""""
pass
def SetSizer(self, sizer, deleteOld=True):
""""""
pass
def SetSizerAndFit(self, sizer, deleteOld=True):
""""""
pass
def SetTitle(self, title):
""""""
pass
def SetTmpDefaultItem(self, win):
""""""
pass
def SetToolTip(self, tooltip):
""""""
pass
def SetToolTipString(self, tip):
""""""
pass
def SetValidator(self, validator):
""""""
pass
def SetVirtualSize(self, size):
""""""
pass
def SetVirtualSizeHints(self, minW, minH, maxW=-1, maxH=-1):
""""""
pass
def SetVirtualSizeWH(self, x, y):
""""""
pass
def SetWindowStyle(self, style):
""""""
pass
def SetWindowStyleFlag(self, style):
""""""
pass
def Show(self, show=True):
""""""
pass
def Thaw(self):
""""""
pass
def TransferDataFromWindow(self):
""""""
pass
def TransferDataToWindow(self):
""""""
pass
def UnsetConstraints(self, constraints):
""""""
pass
def Update(self):
""""""
pass
def UpdateWindowUI(self):
""""""
pass
def Validate(self):
""""""
pass
def WarpPointer(self, x, y):
""""""
pass
class PyWindow(Window):
""""""
def __init__(self):
""""""
pass
def _setCallbackInfo(self):
""""""
pass
def base_AcceptsFocus(self):
""""""
pass
def base_AcceptsFocusFromKeyboard(self):
""""""
pass
def base_AddChild(self):
""""""
pass
def base_DoGetBestSize(self):
""""""
pass
def base_DoGetClientSize(self):
""""""
pass
def base_DoGetPosition(self):
""""""
pass
def base_DoGetSize(self):
""""""
pass
def base_DoGetVirtualSize(self):
""""""
pass
def base_DoMoveWindow(self):
""""""
pass
def base_DoSetClientSize(self):
""""""
pass
def base_DoSetSize(self):
""""""
pass
def base_DoSetVirtualSize(self):
""""""
pass
def base_GetMaxSize(self):
""""""
pass
def base_InitDialog(self):
""""""
pass
def base_RemoveChild(self):
""""""
pass
def base_TransferDataFromWindow(self):
""""""
pass
def base_TransferDataToWindow(self):
""""""
pass
def base_Validate(self):
""""""
pass
class TopLevelWindow(Window):
""""""
def Create(self):
""""""
pass
def GetIcon(self):
""""""
pass
def GetTitle(self):
""""""
pass
def Iconize(self):
""""""
pass
def IsFullScreen(self):
""""""
pass
def IsIconized(self):
""""""
pass
def IsMaximized(self):
""""""
pass
def Maximize(self):
""""""
pass
def Restore(self):
""""""
pass
def SetIcon(self):
""""""
pass
def SetIcons(self):
""""""
pass
def SetTitle(self):
""""""
pass
def ShowFullScreen(self):
""""""
pass
def __init__(self):
""""""
pass

View File

@@ -0,0 +1 @@
# Orbtech python package.

View File

@@ -0,0 +1,17 @@
"""Decorator utility for documentation and shell scripting.
When you import stc from this module, all of the classes get decorated
with docstrings from our decoration class definitions.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wxPython import stc
import stc_
import decorator
decorator.decorate(real=stc, decoration=stc_)

View File

@@ -0,0 +1,17 @@
"""Decorator utility for documentation and shell scripting.
When you import wx from this module, all of the classes get decorated
with docstrings from our decoration class definitions.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
from wxPython import wx
import wx_
import decorator
decorator.decorate(real=wx, decoration=wx_)

View File

@@ -0,0 +1,93 @@
"""Decorator utility for documentation and shell scripting."""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import inspect
try:
True
except NameError:
True = 1==1
False = 1==0
def decorate(real, decoration):
"""Decorate real module with docstrings from decoration module."""
realdict = real.__dict__
for item in decoration.__dict__.values():
if inspect.isclass(item):
decorateClass(item, realdict)
elif inspect.isfunction(item):
decorateFunction(item, realdict)
def decorateClass(item, realdict):
classname = item.__name__
if not classname.startswith('wx'):
classname = 'wx' + classname
try:
wxclass = realdict[classname]
except:
# print classname
pass
else:
if item.__doc__:
wxclass.__doc__ = item.__doc__
# Get attributes from only the item's local dictionary!
for attrname, attr in item.__dict__.items():
# If the attribute has a docstring, and the wx class has a
# matching attribute.
if hasattr(attr, '__doc__') and hasattr(wxclass, attrname):
if inspect.isfunction(attr):
# Class methods are functions.
doc = getdoc(attr, drop=True)
# Is getattr() okay, or do we want to only look in
# the wxclass.__dict__ and wxclassPtr.__dict__?
wxattr = getattr(wxclass, attrname)
# Our class code may be defined incorrectly, and
# the wxattr may not actually be a class method,
# but that's okay because the following attempt
# will simply fail.
try:
func = wxattr.im_func
func.__doc__ = doc
except:
pass
def decorateFunction(item, realdict):
funcname = item.__name__
if funcname in realdict.keys():
func = realdict[funcname]
doc = getdoc(item, drop=False)
try:
# Built-in functions have a read-only docstring. :-(
func.__doc__ = doc
except:
# print funcname
pass
def getdoc(attr, drop=False):
"""Return a docstring for attr, which should be a method."""
doc = ''
if attr.__doc__:
doc = inspect.getdoc(attr).strip()
name = attr.__name__
# tip is a string with name(argspec), like: "SetLabel(label)"
tip = ''
argspec = apply(inspect.formatargspec, inspect.getargspec(attr))
# The first parameter to a method is a reference to an instance,
# usually coded as "self", and is usually passed automatically by
# Python and therefore we want to drop it.
temp = argspec.split(',')
if len(temp) == 1: # No other arguments.
argspec = '()'
elif drop: # Drop the first argument.
argspec = '(' + ','.join(temp[1:]).lstrip()
else:
argspec = ','.join(temp).lstrip()
tip = name + argspec
firstline = doc.split('\n')[0].lstrip()
if tip != firstline:
doc = '%s\n\n%s' % (tip, doc)
return doc

View File

@@ -0,0 +1,71 @@
import inspect
from wxPython import wx
def scan():
d = wx.__dict__
newd = {}
keys = d.keys()
keys.sort()
for key in keys:
if key.endswith('Ptr'):
# Skip
pass
elif key+'Ptr' in keys:
# Rename
newd[key] = d[key+'Ptr']
else:
# Include as is
newd[key] = d[key]
d = newd
keys = d.keys()
keys.sort()
for key in keys:
value = d[key]
if inspect.isclass(value):
# genClass(value)
pass
elif callable(value):
genFunction(value)
pass
else:
# print type(value), value
pass
def genClass(cls):
sp4 = ' ' * 4
name = cls.__name__
if name.endswith('Ptr'):
name = name[:-3]
## if name != 'wxNotebook':
## return
parent = ''
if cls.__bases__:
parent = cls.__bases__[0].__name__
if parent.endswith('Ptr'):
parent = parent[:-3]
parent = '(%s)' % parent
items = cls.__dict__.keys()
items.sort()
print
print 'class %s%s:' % (name, parent)
print sp4 + '""""""'
print
for item in items:
attr = cls.__dict__[item]
if inspect.isfunction(attr):
print sp4 + 'def ' + item + '(self):'
print sp4 + sp4 + '""""""'
print sp4 + sp4 + 'pass'
print
def genFunction(func):
sp4 = ' ' * 4
name = func.__name__
print 'def %s():' % name
print sp4 + '""""""'
print sp4 + 'pass'
print

View File

@@ -0,0 +1,133 @@
"""API generator for decorator classes.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import inspect
import os
import sys
import types
header = '''\
"""wxPython decorator classes.
This file is automatically generated, and these are not the real
wxPython classes. These are Python versions for API documentation
purposes only.
Please send corrections, questions, and suggestions to:
Patrick K. O'Brien <pobrien@orbtech.com>
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
from wxd import Parameters as wx
try:
True
except NameError:
True = 1==1
False = 1==0
'''
modlist = [
'Base',
'Window',
'Frames',
'Accelerators',
'App',
'ClipDragDrop',
'Config',
'Controls',
'DataStructures',
'DateTime',
'Dialogs',
'Drawing',
'Errors',
'EventFunctions',
'Events',
'FileSystem',
'Functions',
'Help',
'ImageHandlers',
'Joystick',
'LayoutConstraints',
'Logging',
'Menus',
'MimeTypes',
'Misc',
'Panel',
'Printing',
'Process',
'SashSplitter',
'Sizers',
'Streams',
'Threading',
'ToolBar',
'Tree',
'Validators',
]
dir = os.path.realpath('api/wx/')
filename = os.path.join(dir, '__init__.py')
def main():
modules = {}
f = file(filename, 'w')
f.write(header)
for modname in modlist:
modules[modname] = __import__(modname, globals())
for modname in modlist:
module = modules[modname]
try:
source = inspect.getsource(module)
except IOError:
print 'No source for', module
else:
# Remove everything up to the first class or function definition.
splitter = '\n\nclass '
parts = source.split(splitter, 1)
if len(parts) == 2:
source = splitter + parts[1]
else:
splitter = '\n\ndef '
parts = source.split(splitter, 1)
if len(parts) == 2:
source = splitter + parts[1]
source = '\n\n\n' + source.strip()
f.write(source)
print 'Writing', modname
f.write('\n')
f.close()
# Add constants and any other missing stuff.
f = file(filename, 'a')
f.write('\n\n## Other Stuff:\n\n')
import wx as old
old = old.__dict__
sys.path.insert(0, dir) # Munge the sys.path so that we can
import __init__ # import the file we just created.
new = __init__.__dict__
l = [(k, v) for (k, v) in old.items() if (not k.startswith('_')
and not k.endswith('Ptr')
and not (k == 'cvar'))]
l.sort()
from wxPython import wx
for key, value in l:
if key not in new:
if (inspect.isclass(value)
or inspect.isroutine(value)
or type(value) is types.InstanceType):
value = repr(value)
text = '%s = %r' % (key, value)
f.write(text + '\n')
print 'Writing', text
f.close()
if __name__ == '__main__':
main()

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,66 @@
"""Decorator classes for documentation and shell scripting.
Information contained in this module, and all modules imported by this
module, is covered by the wxWindows Free Documentation Licence. See
the LICENSE.txt file for details.
"""
__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>"
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
# These are not the real wxPython classes. These are Python versions
# for documentation purposes. They are also used to apply docstrings
# to the real wxPython classes, which are SWIG-generated wrappers for
# C-language classes.
_topics = {
'Accelerators': None,
'App': None,
'Base': None,
'ClipDragDrop': None,
'Config': None,
'Controls': None,
'DataStructures': None,
'DateTime': None,
'Dialogs': None,
'Drawing': None,
'Errors': None,
'EventFunctions': None,
'Events': None,
'FileSystem': None,
'Frames': None,
'Functions': None,
'Help': None,
'ImageHandlers': None,
'Joystick': None,
'LayoutConstraints': None,
'Logging': None,
'Menus': None,
'MimeTypes': None,
'Misc': None,
'Panel': None,
'Printing': None,
'Process': None,
'SashSplitter': None,
'Sizers': None,
'Streams': None,
'Threading': None,
'ToolBar': None,
'Tree': None,
'Validators': None,
'Window': None,
}
for topic in _topics.keys():
_topics[topic] = __import__(topic, globals())
exec 'from %s import *' % topic
del topic # Cleanup the namespace.
try:
del wx # Cleanup any module that imports Parameters as wx.
except:
pass