Commit Graph

94 Commits

Author SHA1 Message Date
Robin Dunn
68c0610dae Don't scroll too far if the child getting the focus is large.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 04:22:16 +00:00
Robin Dunn
04717ee7df fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 14:55:43 +00:00
Robin Dunn
f847103a32 Added a Python port of the OGL library, deprecated the C++ wrapped version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 02:13:04 +00:00
Robin Dunn
9ef73d79c5 Fixed some colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:32:11 +00:00
Robin Dunn
e5ce86d84f Fix printing?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:01:08 +00:00
Robin Dunn
d1e0545303 Replaced wx/lib/pubsub.py with a version that uses weak references to
track the subscribers.  Thanks go to Oliver Schoenborn and Robb
Shecter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:20:49 +00:00
Robin Dunn
969d9b6fa9 Added a generic StaticBitmap class in wx.lib.statbmp for the same
reasons that stattext was created, so it could be mouse sensitive on
all platforms like normal windows.  Also updated stattext.py and
buttons.py to handle attribute (font & colour) defaults and
inheritance the new way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:22:39 +00:00
Robin Dunn
5841276a80 Added wx.lib.mixins.listctrl.TextEditMixin, a mixin class that allows
all columns of a wx.ListCtrl in report mode to be edited.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:45:06 +00:00
Robin Dunn
d7403ad2d1 Reverted to old method names/signatures for wx.DC, updated lib and
demo to match.  Also fixed some deprecation warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:41:33 +00:00
Robin Dunn
dce2bd223c Docstring updates and tweaks for epydoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-30 06:14:22 +00:00
Robin Dunn
68ae5821b6 Adds wxSplitterWindow support, patch from Steve Hartwell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 22:32:23 +00:00
Robin Dunn
99109c0ff1 better __docfilter__ and other epydoc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:26:48 +00:00
Robin Dunn
5020e71e3d fixed introspection of objects with attrs without string names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 23:38:06 +00:00
Robin Dunn
da8d6ffa57 Patches from KevinO that work around issues where the widget isn't
fully created yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-26 22:25:44 +00:00
Robin Dunn
0c8f286073 wx.StaticBox and siblings creation order, and other fixes from Kevin Ollivier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 00:39:05 +00:00
Robin Dunn
07ec2506d5 Use the right classname
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 00:38:55 +00:00
Robin Dunn
a400c2ec04 A way to make the DC classes in wxPython look like the ones in 2.5, so
code can be written that works with both versions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 23:22:46 +00:00
Robin Dunn
3e7c608160 bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:48:18 +00:00
Robin Dunn
9abdd2cb90 Remove some obsolete window styles, added a new sizer flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:47:24 +00:00
Robin Dunn
89f9e172e2 MaskedEditControl bugfix pach from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 01:45:27 +00:00
Robin Dunn
c878ceeae8 Added new MaskedEditControl code from Will Sadkin. The modules are
now locaed in their own sub-package, wx.lib.masked.  Demos updated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:24:37 +00:00
Robin Dunn
3429f8d028 Make sure the window is not iconized before saving position and size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:14:03 +00:00
Robin Dunn
7efa87d202 MacSetTheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:28:25 +00:00
Robin Dunn
f52e0cf489 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
102e2b26c0 Various layout tweaks, wx.FIXED_SIZE added, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:25:11 +00:00
Robin Dunn
31fbbf7871 tweak line number size just a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 19:26:34 +00:00
Robin Dunn
bb1cf3d151 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 19:24:11 +00:00
Robin Dunn
4263de1e05 Add a set for wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 01:03:11 +00:00
Robin Dunn
99b486ab37 Better font selection and sizes for wxGTK2, tweaked call tip colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 00:24:02 +00:00
Robin Dunn
c7fa61e5ec A clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 00:22:08 +00:00
Robin Dunn
8f8c4b4045 Moved config.py to the root because if wxPython hasn't been built yet
it can't be imported from wx.build.config since wx._core doesn't
exist.  It is still copied down to wx/build for the install though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-26 00:21:33 +00:00
Robin Dunn
1128a89b82 The setup.py script will now install wxPython's headers as part of the
standard install.

Moved the bulk of setup.py to wx/build/config.py so 3rd party modules
that wish to use the same setup/configuration code can do so simply by
importing this module form their own setup.py scripts.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 21:36:29 +00:00
Robin Dunn
9472490a67 # 17/03/2004 - Joerg "Adi" Sieker adi@sieker.info
# o Added keyboard navigation to the control.
#   Use the cursor keys to navigate through the ages. :)
#   The Home key function as go to today
# o select day is now a filled rect instead of just an outline


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-25 03:43:21 +00:00
Robin Dunn
b7c75283f2 Lindsay Mathieson's newest wxActiveX class has been wrapped into a new
extension module called wx.activex.  Lots of demo and lib updates to
go along with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:29:50 +00:00
Robin Dunn
622a19f0ea Don't bind events to the return value of SetDefault, D'oh!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 23:09:55 +00:00
Robin Dunn
8b7fa2d969 Give BitmapButton its own demo, get rid of ErrorDialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 22:45:00 +00:00
Patrick K. O'Brien
d40bbd4dac Eliminate relative imports and make them more py2exe friendly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 13:42:37 +00:00
Patrick K. O'Brien
f65958ccce Changed default shell.autoCompleteAutoHide to False.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-15 02:30:07 +00:00
Robin Dunn
fffd96b769 MaskedEditCtrl updates from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 20:58:16 +00:00
Robin Dunn
64ff2615ae Remove #!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 20:57:15 +00:00
Robin Dunn
a5deb2fbe7 Fixed some wx prefix issues, changed the self test to use a sizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:50:39 +00:00
Robin Dunn
b25cb7db43 Updated wx.lib.calendar with many fixes and enhancements from Joerg
"Adi" Sieker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 23:21:37 +00:00
Robin Dunn
fda1446558 Don't use AA fonts to avoide measurment problem on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 20:43:47 +00:00
Robin Dunn
9513c5b609 The UseAntiAliasing is off by default on wxMac. Add a menu item to
the Py* Apps for experimenting with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-23 22:36:24 +00:00
Robin Dunn
f04ad14aa1 Updated the AnalogClockWindow with many enhancements from from
E. A. Tacão.




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 01:52:33 +00:00
Robin Dunn
a27d1f42e2 Big fixes. Can now use colour names, and exports the event type to
the old namespace


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 01:51:41 +00:00
Patrick K. O'Brien
a47c63ba51 Changed default namespace of Shell to __main__.__dict__, instead of an
empty dictionary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-19 13:53:20 +00:00
Patrick K. O'Brien
6513628384 Fix test broken by change in package name from PyCrust to py.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 02:52:06 +00:00
Patrick K. O'Brien
578b389d6e The truth is out there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-13 02:47:59 +00:00
Robin Dunn
edfeb1b84d Use "wxCheckListBox" instead of the deprecated "wxCheckList"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:22:50 +00:00