Commit Graph

184 Commits

Author SHA1 Message Date
Robin Dunn
d31aa173fe notes about more changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:49:58 +00:00
Robin Dunn
9283228f86 Added wxStdDialogButtonSizer, which is a a special sizer that knows
how to order and position standard buttons in order to conform to the
current platform's standards.  You simply need to add each `wx.Button`
to the sizer, and be sure to create the buttons using the standard
ID's.  Then call `Finalize` and the sizer will take care of the rest.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:55:57 +00:00
Robin Dunn
669e06d77e Docs for [GS]etDefaultPyEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:16:50 +00:00
Robin Dunn
54e72b1a7f Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:29:41 +00:00
Robin Dunn
3c1705d911 Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:53:38 +00:00
Robin Dunn
94fd5e4dc1 Allow the OOR reference to be saved without doing an INCREF. This
solves the circular reference problem with wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:50:29 +00:00
Robin Dunn
850ab20b18 Added notes for recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:00:28 +00:00
Robin Dunn
9828eeb4a3 added overview text for wx.MediaCtrl demo, udpated CHANGES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:49:08 +00:00
Robin Dunn
66b50a8ff9 bump subrelease
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:55:07 +00:00
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
2b00444c2b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 03:41:00 +00:00
Robin Dunn
1a084a3c2f corrected function name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 23:59:44 +00:00
Robin Dunn
3249a43c96 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 21:23:08 +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
ff0ac6b070 fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 17:28:37 +00:00
Robin Dunn
72ddfce0dd PNG Alpha is working on wxGTK2 now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:39:44 +00:00
Robin Dunn
9004ba6af3 version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 18:12:00 +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
Robin Dunn
db93f8f85b typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-24 01:04:11 +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
60b517c1f3 regenned the ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 15:21:38 +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
4efdef2c87 Docs updates for 2.5.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 19:30:24 +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
502827c88f Don't make the metadata xml file anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:55:39 +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
cb56afc421 * build and distrib tweaks.
* restructuring of installer packages
* MSW build can use either MONOLITHIC or multi-lib wx build


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 00:48:34 +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
1a0f14e16a Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 20:08:01 +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
0190c47234 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@29063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 18:48:25 +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
dd7cd4a04c more doc fixes and clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 23:52:33 +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
df1a2934e9 regenerated ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-27 23:11:31 +00:00