Commit Graph

69 Commits

Author SHA1 Message Date
Robin Dunn
38b97c15ac Moved xrc out of contrib and into the core source dir, just like in
C++.  It will now always be built.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 16:49:01 +00:00
Robin Dunn
96d49f0eea Added limited support for wxEventLoop (you can't derive from a
wx.PyEventLoop version yet...)  Updated and moved the sample showing
how to replace the MainLoop to samples/mainloop/mainloop.py.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 01:02:00 +00:00
Robin Dunn
8dca2f3d86 Some change notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 02:57:37 +00:00
Robin Dunn
6c3f6fe9b0 another change note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 21:34:52 +00:00
Robin Dunn
5f13b2cac9 Forgot about CalendarEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 20:54:41 +00:00
Robin Dunn
31b468292c Extended the wx.calendar.CalendarCtrl class with methods that get/set
a Python datetime or date object.  (These will only work with Python
2.3+) The methods are PySetDate, PyGetDate, PySetLowerDateLimit,
PySetUpperDateLimit, PySetDateRange, PyGetLowerDateLimit, and
PyGetUpperDateLimit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 20:53:21 +00:00
Robin Dunn
6afcb80068 Added RequestUserAttention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 19:16:36 +00:00
Robin Dunn
da72c54000 New SWIG runtime files and api updates for the move to SWIG 1.3.22
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 18:59:20 +00:00
Robin Dunn
11908acc89 Removed my copy of distutils from the wxPython source tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 17:26:39 +00:00
Robin Dunn
71e60f703c Since it is documented, changed GetOrCreateCellAttr from protected to
public so it can be used from wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 19:30:19 +00:00
Robin Dunn
4f5ff1b284 notes about recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 23:38:20 +00:00
Robin Dunn
9c61851294 note another bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-27 23:10:57 +00:00
Robin Dunn
b5f2d1f347 List soem of the bugs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-26 03:10:21 +00:00
Robin Dunn
3801d366cb add new section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:45:24 +00:00
Robin Dunn
e155ca47f5 Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 00:20:36 +00:00
Robin Dunn
e410692605 bump version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 16:28:43 +00:00
Robin Dunn
9fa2073f08 version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:43:59 +00:00
Robin Dunn
887a1bd93e Update the notebook before running the sample in case it is a modal
dialog, (but the best thing to do is to just always make a panel with
buttons to launch the dialog...)

Fix the find text to ensure that the found text is visible

Added ability to open a PyShell window that has the app and demo frame
preloaded in the namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:23:52 +00:00
Robin Dunn
7332129f44 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 00:37:27 +00:00
Robin Dunn
08ecc92023 Applied (and heavily modified) a patch from Eugene
<svip123@fastmail.fm> that allows the sample modules in the demo to be
edited and reloaded, all from within the demo.  You can switch back
and forth beteen the default and your edited version, and any errors
ocurring upon the reload are reported on the Demo tab.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 00:09:45 +00:00
Robin Dunn
d8ef5f5623 fixed version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:25:29 +00:00
Robin Dunn
2ce9b1bfd3 mention *TabOrder and Navigate methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:04:32 +00:00
Robin Dunn
da2c76724f More notes about sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 21:40:01 +00:00
Robin Dunn
857878dfee Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:18:42 +00:00
Robin Dunn
6431656829 Some doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 20:26:43 +00:00
Robin Dunn
4a3b9daf8b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:30:40 +00:00
Robin Dunn
42463de267 Added a new version (0.8.3) of FloatCanvas from Chris Barker. It's
now in a subpackage of wx.lib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:29:41 +00:00
Robin Dunn
d85004c5ae Removed the deprecated ErrorDialogs and PythonBitmaps modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:15:46 +00:00
Robin Dunn
d55734102e Added more default args as needed to allow most window types to be
constructed with only the parent window arg.  In some cases other args
may be required for normal operation, but they can usually be set
after construction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:53:05 +00:00
Robin Dunn
c816999159 clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 22:11:25 +00:00
Robin Dunn
ab1f7d2aa9 All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
be698f5030 remove EVT_STC_POSCHANGED as it's been deprecated in Scintilla for
several releases now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:26:42 +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
cb8f28ba1e Some typos fixed. More text about the changes to sizers, minsize, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 18:07:01 +00:00
Robin Dunn
28eab81fdc Switch to the TreeListCtrl from the wxCode project.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:59:23 +00:00
Robin Dunn
89c876de1c wxGTK now uses gtk_init_check so wxPython can raise an exception if
there is no DISPLAY available or other initializaion problem.

wx.GetKeyState now has an implementation for wxGTK and is able to
detect the up/down or toggle state of modifier and toggle keys.

The LC_NUMERIC locale is now reset back to "C" (compatibility) when
running on wxGTK to work around the fact that GTK requires the locale
to be set to the system settings but Python depends on LC_NUMERIC
remaining compatible with "C".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:23:50 +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
a31507415d wx.InitAllImageHandlers is now an empty function that does nothing but
exist for backwards compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:16:17 +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
165e6ca32a Deprecated wx.iewin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:22:44 +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
Dimitri Schoolwerth
653d2f0cb3 fixed a few typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 17:45:59 +00:00
Robin Dunn
ffcb969ec6 Tweak the text about Sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 00:37:18 +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
ba938c3d00 Added some convenience methods to wx.Bitmap: SetSize, GetSize, and
wx.EmptyBitmap can be called with a wx.Size (or a 2-element sequence)
object too.  Similar changes were done for wx.Image as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:23:17 +00:00
Robin Dunn
1980f3fa71 More about the sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:13:35 +00:00
Robin Dunn
761b244f84 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@26668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:35:36 +00:00
Robin Dunn
95fed4d84b notes about sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:42:54 +00:00
Robin Dunn
db4daa84f5 What the hell, let's spin up another full release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:39:08 +00:00