Commit Graph

200 Commits

Author SHA1 Message Date
Robin Dunn
2314e5ec5c Add Resize, SetRGBRect, Size, and GetOrFindMaskColour methods to wx.Image
Added wx.Rect.IsEmpty


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 00:18:49 +00:00
Robin Dunn
e7cece45fb Remove refrences to building OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 00:13:58 +00:00
Robin Dunn
3ad32babc1 reworded a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 20:57:37 +00:00
Robin Dunn
67a5217c4f new style flags for wxBufferedDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:58:32 +00:00
Robin Dunn
a0c70b7642 Don't build the old versions of OGL or iewin by default anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 19:19:25 +00:00
Robin Dunn
e63d6c308f doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:40:32 +00:00
Robin Dunn
7257be76ea Finalize --> Realize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 18:02:02 +00:00
Robin Dunn
9718534022 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 01:13:12 +00:00
Robin Dunn
d1dc2b32e0 Added docview modules from Peter Yared and Morgan Hua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 23:50:26 +00:00
Robin Dunn
2da0c077ce bumped subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 18:41:51 +00:00
Robin Dunn
51c5e1f21e Added wx.lib.gestures module from Daniel Pozmanter which supports
using Mouse Gestures in an application.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 18:02:19 +00:00
Robin Dunn
b3b61cdaa0 Added wx.DatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:38:30 +00:00
Robin Dunn
c6b65b76a1 wx.SL_INVERSE works for the big 3 now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 20:00:18 +00:00
Robin Dunn
e6bd0b8ba6 updated with new stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:51:37 +00:00
Robin Dunn
aeee37c362 * Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other
things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
  off.

* Create a custom version of the "default" ctor for wxCursor on wxGTK

* Switch to new format string and name string constants for default
  values

* Changes some public data members of event classes into properties as
  they are no longer public in the C++.

* Added wxSL_INVERSE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:38:51 +00:00
Robin Dunn
b76160efd2 Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:38:15 +00:00
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