Commit Graph

84 Commits

Author SHA1 Message Date
Robin Dunn
6b9f434ef3 * wxPrintDialog no longer derives from wxDialog.
* Add wxRTTI info for wxPyPrintout
* wxPrintFactory probably doesn't need to be exposed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:30:14 +00:00
Robin Dunn
7aada1e05a Lots of tweaks and additions to get caught up with CVS HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:27:12 +00:00
Robin Dunn
2268569346 Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on
the default way that class objectss are converted to strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 18:16:31 +00:00
Robin Dunn
ca8071ca9f OGL patch from Shane Holloway:
Two simple problems found in the new python ogl code.  First is
    the patch for _canvas.py.  Essentially:

        dx = abs(dc.LogicalToDeviceX(x - self._firstDragX))
        dy = abs(dc.LogicalToDeviceY(y - self._firstDragY))

    was incorrect because (x,y) and (self._firstDragX,
    self._firstDragY) are both already in Logical coordinates.
    Therefore the difference between the two is also in logical
    coordinates, and the conversion call is an error.  This bug
    surfaces when you have OGL on a scrollwin, and you are far from
    the origin of the canvas.

    The second change in _composit.py basically removes the assumption
    that the child is in both self._children and self._divisions.
    Causes many problems when it's not.  ;)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 18:14:45 +00:00
Robin Dunn
48023e151f Backed out Oliver's PyPlot changes at Gordon's request.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:03:21 +00:00
Robin Dunn
ecf0b9f982 PyPlot updates from Oliver Schoenborn:
- Factored out "draw command" so extensions easier to implement: clean
      separation b/w user's "draw" (Draw) and internal "draw" (_draw)
    - Added ability to define your own ticks at PlotCanvas.Draw
    - Added better bar charts: PolyBar class and getBarTicksGen()
    - Put legend writing for a Poly* into Poly* class where it belongs
    - If no legend specified or exists, no gap created


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 18:38:04 +00:00
Robin Dunn
0dece789bc Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 01:11:19 +00:00
Kevin Hock
34621cc5d6 Documentation patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Robin Dunn
85245f48ad wxPython on OSX can now be built in Unicode mode, can support multiple
version installs, and comes with an uninstaller script.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 02:50:05 +00:00
Robin Dunn
f6f1e19f76 Some tweaks for WebKitCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 21:00:30 +00:00
Robin Dunn
b31cbeb974 More PyPlot updates from Gordon Williams:
- Imported modules given leading underscore to name.
   - Added Cursor Line Tracking and User Point Labels.
   - Demo for Cursor Line Tracking and Point Labels.
   - Size of plot preview frame adjusted to show page better.
   - Added helper functions PositionUserToScreen and
     PositionScreenToUser in PlotCanvas.
   - Added functions GetClosestPoints (all curves) and GetClosestPoint
     (only closest curve) can be in either user coords or screen
     coords.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 03:58:40 +00:00
Robin Dunn
07aff078f8 just a whitespace change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:07:51 +00:00
Robin Dunn
15513a8066 Applied patch from Pim Van Heuven that modifies 4 files:
- wxPython/demo/ListCtrl_edit.py (new demo)
    - wxPython/demo/Main.py (include new demo in demo app)
    - wxPython/wx/lib/mixins/listctrl.py (several improvements to
      TextEditMixin)
    - wxPython/wx/lib/wxpTag.py (some small fixes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 18:45:21 +00:00
Robin Dunn
f54a36bba8 MaskedEdit updates from Will Sadkin:
- Added '*' mask char that means "all ansii chars" (ords 32-255)
    - Added proper unicode support to masked controls and wx.tools.dbg
    - Fixed two reported missing import bugs introduced by package
      creation
    - Converted masked package doc strings to reST format for better
      epydoc support
    - lots of doc string improvements and function hiding to better
      reflect package's public contents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 22:13:18 +00:00
Robin Dunn
c0e1f6b66e Mention TaskBarIcon and other recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:30:24 +00:00
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