Commit Graph

3272 Commits

Author SHA1 Message Date
Robin Dunn
2bbabc0647 Fix typo that caused a global variable to be used instead of the local
function parameter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 17:22:21 +00:00
Robin Dunn
8b4c82b815 build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 04:01:16 +00:00
Robin Dunn
47136f0f6d Added ExpandAll and ExpandAllChildren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 22:28:05 +00:00
Robin Dunn
b9db15f1e9 The richtext code is now in it's own lib/DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:23:54 +00:00
Robin Dunn
706c14d6d1 Removed __future__ import that has been in the "past" for several
years now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 22:24:00 +00:00
Robin Dunn
ae200bfcb5 Added SWIG patches to allow compiling the generated code with
Python 2.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 02:34:31 +00:00
Robin Dunn
b02396e86f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 23:05:12 +00:00
Robin Dunn
e0c068c0e8 new wxTreeEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:46:34 +00:00
Robin Dunn
6eed24bf78 Don't use custom bg style except on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:39:31 +00:00
Robin Dunn
9718662d67 Picker control updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:37:13 +00:00
Robin Dunn
cf952100f3 Changed call order of the PreCreate method, and pass the pre instance
to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:36:24 +00:00
Robin Dunn
3ad84671d3 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:35:33 +00:00
Robin Dunn
48e71d8ad7 New SetModified method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:33:14 +00:00
Robin Dunn
c6e49b914c New wxNB_HITTEST_ONPAGE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:31:36 +00:00
Robin Dunn
cbb4b39d97 Added missing platform constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:47 +00:00
Robin Dunn
a43dbe7260 Remove use of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:12 +00:00
Robin Dunn
16182b7b52 Put wxHIDE_READONLY back for compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:29:27 +00:00
Robin Dunn
2305710499 wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:02:59 +00:00
Robin Dunn
5079d4eb41 Patch for [ 1489711 ] analogclock hour hand sticks on 12:00 noon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 16:36:55 +00:00
Robin Dunn
909b16f629 Make the picker headers accessible to all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 20:50:01 +00:00
Robin Dunn
3370ec75f4 Prevent exception if there is an attribute named just '_'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:16:33 +00:00
Robin Dunn
501b023b17 Revert last change, it causes problems with not being able to use
AutoCompletion in situations like "test=foo."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:36:56 +00:00
Robin Dunn
15fa9a1f82 fixed line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 06:38:38 +00:00
Robin Dunn
b850e7f334 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:33:05 +00:00
Robin Dunn
8942133af3 GetItemFromPoint is protected on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:27:52 +00:00
Robin Dunn
e2e2649fab Correctly handle the release of ownership of the wx.FSFile returned
from wx.FileSystemHandler.OpenFile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 22:25:33 +00:00
Robin Dunn
cffdf649a9 Add support for generating classes for menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:12:18 +00:00
Robin Dunn
ab3db25392 Allow AutoCompletion for items in collections too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 19:09:03 +00:00
Robin Dunn
a353270280 Help text for regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 19:08:21 +00:00
Robin Dunn
9a45f8a323 Change header label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 18:55:07 +00:00
Robin Dunn
38d4ee871b always make a buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 17:58:10 +00:00
Robin Dunn
9f4cc34f37 some docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 00:13:05 +00:00
Robin Dunn
35d8bffe01 MaskedEdit patch from Will Sadkin:
- Added handling for WXK_DELETE and WXK_INSERT, such that shift-delete
   cuts, shift-insert pastes, and ctrl-insert copies.
 - Fixed masked.numctrl to allow space for a group char, as this format is
   apparently used in several world locales.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 22:13:54 +00:00
Robin Dunn
d00077abbe Switch to overriding OnAssertFailure instead of OnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 03:31:01 +00:00
Robin Dunn
fad1650360 Using buffered drawing won't let the themed background show through,
so use an ordinary wx.PaintDC instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 19:59:06 +00:00
Robin Dunn
71f1747cd5 Give wxMac its own set of face names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 19:55:28 +00:00
Robin Dunn
3764716de6 Don't use an accelerator for the About box. Ctl(Cmd)-H is reserved on
the Mac anyway.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 18:05:55 +00:00
Robin Dunn
04c4117bb7 fix scope of setting self.files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:12:13 +00:00
Robin Dunn
2965bd7b21 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:11:45 +00:00
Robin Dunn
267985181a Add KeyEvent method for setting the m_uniChar member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:11:02 +00:00
Robin Dunn
d211a853c5 Added wrappers for the Picker controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 02:26:41 +00:00
Robin Dunn
092f0ed782 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 19:21:28 +00:00
Robin Dunn
0fade4f147 More compilation fixes. Move dummy wxPowerEvent to where it can be
seen by other modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 17:50:09 +00:00
Robin Dunn
401569f1a1 Set MONOLITHIC for posix platforms based on the output of wx-config,
use this to add the media lib if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 17:49:06 +00:00
Robin Dunn
4e67f28fb7 Fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 23:00:02 +00:00
Robin Dunn
daf22b890b Typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 18:08:18 +00:00
Roman Rolinsky
96bfe7feee fix for empty value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:48:00 +00:00
Roman Rolinsky
b3d78b0cc5 fix for non-utf-8 character support in 'content'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:04:37 +00:00
Roman Rolinsky
e484fddf08 hopefully this will fix some encoding problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:01:42 +00:00
Roman Rolinsky
e98e706227 debug is not defined here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:00:54 +00:00
Robin Dunn
b6fe9de819 Make it possible to override VER_FLAGS from the command-line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:00:19 +00:00
Robin Dunn
88bb598337 Added wxWINDOW_STYLE_MASK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:58:24 +00:00
Robin Dunn
e19f96049e New methods for dragging coloumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:57:30 +00:00
Robin Dunn
991e49b62a No need to use 2-phase create of the text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:52:06 +00:00
Robin Dunn
069eeb1772 colSortFlag shoudl be an int, not a Boolean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 03:44:25 +00:00
Robin Dunn
bf158fe6c6 Switch to bzip2 for compression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 03:43:46 +00:00
Robin Dunn
dc690d951f wx.HIDE_READONLY is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:45:55 +00:00
Robin Dunn
704eda0cdc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 21:18:31 +00:00
Robin Dunn
3b91982e01 Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
match changes made in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:57:05 +00:00
Robin Dunn
ee77681f4e Take out AdjustPagebreak for now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:41:45 +00:00
Robin Dunn
5c20af5de8 wxFileDialog SetStyle and GetStyle are gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 20:29:13 +00:00
Robin Dunn
d0e2ede057 Added wxHyperlinkCtrl, wxPowerEvent, and lots of little things to
match changes made in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 19:52:17 +00:00
Robin Dunn
10383fe27b Allow for non-ascii text in resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:20:45 +00:00
Robin Dunn
45dc66f8e2 Some tweaks to reflect changes in wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 18:36:37 +00:00
Robin Dunn
bd2903e1c3 Another stab (hopefully the last) at how to handle the delayed
initialization of the stock objects.  Go ahead and create an
uninitialized instance using __new__, and then just set the .this
attribute when the app is initialized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:43:24 +00:00
Robin Dunn
293524e162 Use MustHaveApp for wx.RendererNative.Get and others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:35:36 +00:00
Robin Dunn
f4102f1735 wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:41:53 +00:00
Robin Dunn
0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +00:00
Robin Dunn
f05326bac1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:15:19 +00:00
Robin Dunn
06810ecffb reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 21:08:28 +00:00
Robin Dunn
6dc3c14ff2 Minor fixes for the overzealous renamer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:06:18 +00:00
Robin Dunn
c68c9afe84 a bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:38 +00:00
Robin Dunn
7847dc507a Add some dtor wrappers for the print dialogs that are not really
dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 02:05:01 +00:00
Robin Dunn
30fc5e8fee Added wrappers and demo for RichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 01:10:25 +00:00
Robin Dunn
13bf44b079 Demo the page setup dialog instead of the print setup dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 22:58:12 +00:00
Robin Dunn
2131d850ee reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:02:29 +00:00
Robin Dunn
b8aab4d28d memory dc must have bitmap selected into it before it can be used for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:57:30 +00:00
Robin Dunn
4b40bcb44d DeprecationWarning for the old wxPython package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:25:12 +00:00
Robin Dunn
8d7e482e06 generated rename directives are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:10:46 +00:00
Robin Dunn
4dca6329b1 wxMessageBox --> wx.MessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 23:14:49 +00:00
Robin Dunn
1767b394f0 Don't set a module attribute for the *_swigregister functions, just
call the one in the extension module directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 16:15:41 +00:00
Robin Dunn
d306ba9b27 Added SetQuickBestSize and GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:57:05 +00:00
Robin Dunn
bbf0bd0538 Undo part of lst change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:45:03 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Robin Dunn
0d6e24c346 Forgot about dropping the 'wx' for some Python objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 23:37:32 +00:00
Robin Dunn
c15893b50e I haven't taught SWIG about wxChar, so pretend it's a wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:20:15 +00:00
Robin Dunn
05c43d4677 Clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:15:32 +00:00
Robin Dunn
7e8142e986 Use Bind for OnCloseWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:13:35 +00:00
Robin Dunn
69555b5c86 Use %rename("%(wxpy)s")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:20:10 +00:00
Robin Dunn
ddc00ed1ea Set BUILD_RENAMERS default to zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:15:33 +00:00
Robin Dunn
d9f09ac42c Added SWIG patch that enables the wx-dropping renames to be done
internally instead of needing to be generated in a second pass after
processing the XML output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:14:20 +00:00
Robin Dunn
29a41103aa Ported XRCed to the wx namespace, and also enabled the selected,
focus, and disabled bitmaps of wxBitmapButton to actually be treated
like bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:57:57 +00:00
Robin Dunn
2daad28083 wxMSW doesn't have the default ctor or Create method for wxDirDialog yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 15:32:26 +00:00
Robin Dunn
9c5c87674a Added SetSashPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:58:36 +00:00
Robin Dunn
2240b1aa74 Make the app object be global in case it is run multiple times, such
as from encode_bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:22:27 +00:00
Robin Dunn
01f6b6d3c8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:12:34 +00:00
Robin Dunn
4a692286ca We no longer use the xml files, (and havn't for some time) so stop
generating them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:09:22 +00:00
Robin Dunn
68d76e7385 Add wx.TextAttr.Merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:41:13 +00:00
Robin Dunn
7e25260c0d GetXRCID has a new parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:57:09 +00:00
Robin Dunn
0cfaa1dab1 Added wxDD_CHANGE_DIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:56:15 +00:00
Robin Dunn
41d4305cd3 minor wx.DirDialog updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:55:27 +00:00
Robin Dunn
b14b1312ac fix a typo causing the wrong method to be called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:09:04 +00:00
Robin Dunn
ab0c98223a Added Get/SetItemToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 19:42:17 +00:00
Robin Dunn
4e20fcc551 Ensure the button still exists after the Notify before doing anything
with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:18:25 +00:00
Robin Dunn
7f80dd64ec Handle object ownership of wxTreeListColumnInfo and wxPyTreeItemData properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:16:52 +00:00
Robin Dunn
8ec09aacc6 wx.ProgressDialog.Update now returns two values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:15:48 +00:00
Robin Dunn
27eac64cf9 Font size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:09:24 +00:00
Robin Dunn
1e19282e10 Use SetBackgroundStyle for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:47 +00:00
Robin Dunn
4b13569ffb Add test for a stock button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:08:09 +00:00
Robin Dunn
1d14e1836a Add GetAsString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:41 +00:00
Robin Dunn
229acc7990 Amazingly GetInt returns an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:07:00 +00:00
Robin Dunn
4a983d2c63 IsAlwaysMaximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:06:37 +00:00
Robin Dunn
ef802f32a3 Expose UpdateScrollbar and RemoveScrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:05:58 +00:00
Robin Dunn
4ba3af91ab Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:04:22 +00:00
Robin Dunn
57ffa5851d Redo (again) how the stock objects are initialized in wxPython.
Factor out the wxPyTwoIntItem_helper template function so it can be
used in other extension modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:03:39 +00:00
Robin Dunn
f6e949dfbe Ignore Destroy calls on wx.BusyInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:02:40 +00:00
Robin Dunn
6af7d1bdb7 3 parameter wx.ImageList.Replace is now available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:01:51 +00:00
Robin Dunn
9034710113 Main now takes a list of args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:51 +00:00
Robin Dunn
07e3a44f88 DrawCheckButton -- > DrawCheckBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:13 +00:00
Robin Dunn
7e05216cce Patch from Eli Golovinsky. Adds generation of _() code for gettext
and other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 01:47:57 +00:00
Robin Dunn
dd70f7a2ad some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 05:18:44 +00:00
Robin Dunn
181568ed64 DocView and ActiveGrid IDE updates from Morgan Hua:
New Features: In Tab-View mode, Ctrl-number will take the user to
    the numbered tab view.  Modified files now show an '*' astrisk in
    the view title.  Debugger framework can now support PHP debugging.
    Not important for python development, but at least that means the
    debugger framework is more generalized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:34:04 +00:00
Robin Dunn
aca310e5cc DocView and ActiveGrid IDE updates from Morgan Hua:
New Features: In Tab-View mode, Ctrl-number will take the user to
    the numbered tab view.  Modified files now show an '*' astrisk in
    the view title.  Debugger framework can now support PHP debugging.
    Not important for python development, but at least that means the
    debugger framework is more generalized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:26:03 +00:00
Robin Dunn
da91cb0fd1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:22:55 +00:00
Robin Dunn
50efceee4e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:00:39 +00:00
Robin Dunn
639158366c Some minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:59:14 +00:00
Robin Dunn
e48f0e09bf Add AppendSubMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:56 +00:00
Robin Dunn
1412e528f8 Removed GetVisible and SetVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:24 +00:00
Robin Dunn
e0de65e8b8 Added wx.RendererNative.DrawCheckButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:55:25 +00:00
Robin Dunn
46992103a3 Added wx.StandardPaths.GetDocumentsDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:54:14 +00:00
Robin Dunn
99a001dd43 Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
are initialized.  They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.)  This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Robin Dunn
e9d6f3a473 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 07:30:59 +00:00
Robin Dunn
c072c75701 Give wxDataObjectComposite a way to report what kind of data was given
to it from the clipboard or DnD source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:35:08 +00:00
Robin Dunn
4725f47eb2 Various wxHtml updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:30:35 +00:00
Robin Dunn
de871c916e Add wxButtonToolBar, but since it is currently only enabled for Mac
leave it #if'd out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:15:56 +00:00
Robin Dunn
2890ca155b Remove wxHVScrolledWindow wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:06:41 +00:00
Robin Dunn
1564807335 Wrap some deprecation wrappers around newly deprecated items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:02:59 +00:00
Robin Dunn
e6f85a8554 Add some missing wxPyBeginBlockThreads calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 04:29:30 +00:00
Robin Dunn
2d6a2f1d78 Add wxST_DOTS_MIDDLE and wxST_DOTS_END constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:43:37 +00:00
Robin Dunn
ffb4a474d3 Acquire the GIL in GetSelections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:18:23 +00:00
Roman Rolinsky
0cbb7d59d4 added TreeCtrl.WindowIndex method for skipping items like MenuBar
when counting window children


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:13:51 +00:00
David Surovell
1dc0f664d7 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 08:04:13 +00:00
Robin Dunn
c5ce3dfb1e Added CmdDown() to grid events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:15:04 +00:00
Robin Dunn
284ee6c3da Give wx.GridTableBase a destructor, and clear the ownership when it is
passed to SetTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 21:49:20 +00:00
Robin Dunn
73b2a9a749 First pass at integrating a code generator in XRCed. Initial patch
from Eli Golovinsky, with lots of additional mods by me.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 06:17:11 +00:00
Robin Dunn
a2234452a7 wxNotebookSizer is gone now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 19:24:39 +00:00
Robin Dunn
fdcbb1ce01 Minor tweaks to bring up to date with CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:35:05 +00:00
Robin Dunn
dd8659cac6 Update with 2.6.3.2 info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:34:10 +00:00
Robin Dunn
0cdd86d6d0 wx.lib.pubsub updates from Oliver Schoenborn:
- the hash problem re non-hashable objects
    - now supports listeners that use *args as an argument
      (listener(*args) was not passing the validity test)
    - corrected some mistakes in documentation
    - added some clarifications (hopefully useful for first time
      users)
    - changed the way singleton is implemented since old way prevented
      pydoc etc from extracting docs for Publisher


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 01:15:20 +00:00
Robin Dunn
2f643d0600 Force a full refresh when the focus changes so the bitmap button will
redraw its label if needed.  Also give defaults to more of the ctor parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 00:12:11 +00:00