Commit Graph

353 Commits

Author SHA1 Message Date
Robin Dunn
718903fe64 wxStdButtonSizer Finalise --> Realize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:49:03 +00:00
Robin Dunn
006f35560e Avoid doing a str(object) since in some cases it can result in very
large strings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:50:41 +00:00
Robin Dunn
24054d48e9 can't have a zero sized font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:46:40 +00:00
Robin Dunn
8e738329a9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:52:34 +00:00
Robin Dunn
7ab7156341 Don't do str() on Numeric arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:43:00 +00:00
Robin Dunn
0f9da07463 Use wx.StdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 19:27:56 +00:00
Robin Dunn
f062c0e2ee Patch #1113284: wx.lib.calendar SetBusType() problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 19:35:40 +00:00
Roman Rolinsky
ab24d4425a Locate command, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 19:57:50 +00:00
Roman Rolinsky
fd91945141 Batch of changes:
- converting relative paths to absolute to compensate chdir
  - added Locate command (Edit menu)
  - Notebook children are highlighted correctly (at least on wxGTK 2.5.3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 19:49:04 +00:00
Kevin Ollivier
acb7a89ad0 Fixed problem with incorrect panel background on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 21:30:38 +00:00
Robin Dunn
8d9be42a28 Patch from Prabhu Ramachandran to make introspection of lazily
evaluated objects not create the final object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:18:17 +00:00
Robin Dunn
b81de788b4 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:15:52 +00:00
Robin Dunn
fec9bb97b3 a bit of code cleanupt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:15:08 +00:00
Robin Dunn
acb0429704 Play nice with sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:14:15 +00:00
Robin Dunn
3dd9536f2e Fix for bug [ 1098263 ] wx.lib.ogl control points leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 03:48:06 +00:00
Roman Rolinsky
759c619e28 checking for dom.encoding == None
temporary fix for wxPyAssertion from XRC library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:35:35 +00:00
Roman Rolinsky
f19b8f1124 wxIcon correctly handled now (it has no "icon" tag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:32:23 +00:00
Robin Dunn
de6ca7ff44 Changed GetSystemColour to GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:19:17 +00:00
Robin Dunn
0d2653ff97 Added default values for some parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:01:08 +00:00
Robin Dunn
4f686d3271 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 06:05:09 +00:00
Robin Dunn
7353d81801 Applied patch #1084332: xrced does not respect encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:39:09 +00:00
Robin Dunn
152d7d3516 made dates in comments consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 17:53:56 +00:00
Robin Dunn
fab7c93158 ensure that yesr is an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 22:00:43 +00:00
Robin Dunn
b50732d9c4 commented out dbg message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 21:01:12 +00:00
Robin Dunn
bc37bfe2ee Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 20:58:44 +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
1c7da10ebf Only do this Show on wxGTK as it is needed there but can cause display
problems on MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 18:30:41 +00:00
Robin Dunn
c59e73e82d Ensure the first EVT_SIZE has happened before the first EVT_PAINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:35:54 +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
02c3b4d92b A small fix for attachment popints and comments, from Pierre.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 15:24:55 +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
f2f8a5fce8 Show PlatformInfo in the About box too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:31:23 +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
a38c690323 wxRect --> wx.Rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:51:57 +00:00
Robin Dunn
58c132bbfc line segment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:59 +00:00
Robin Dunn
303aff5ed8 dc.DrawLines fixed [1046055]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:10 +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
Roman Rolinsky
80389ff709 Applied changes by Bartlomiej Gorny for recent files and style panel fix.
cellpos & cellspan parameters are changed to type ParamPosSize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 00:00:31 +00:00
Roman Rolinsky
3b35f6d8b3 fixed spacer image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 23:55:29 +00:00
Roman Rolinsky
714457aeda Fixed spacer image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 23:48:27 +00:00
Robin Dunn
00b9c8672f Patch from Gordon Williams:
- Added bar graph demo
   - Modified line end shape from round to square.
   - Removed FloatDCWrapper for conversion to ints and ints in arguments


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 20:15:55 +00:00
Robin Dunn
2a0495c9f7 FloatCanvas patch from Chris Barker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 19:28:57 +00:00
Robin Dunn
2e0ae50eca A Python version of wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:32:25 +00:00
Robin Dunn
0297af1520 Fixed typo, patch from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 18:14:20 +00:00
Robin Dunn
94bc006bd2 Correct call to shape.Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 23:12:29 +00:00
Robin Dunn
84c8e900a6 Added missing setters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 16:13:30 +00:00
Robin Dunn
fdf907adb6 wx.NO_BORDER style sets the bezel width to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:47:16 +00:00
Robin Dunn
cd5cb880d0 Fixes for bug #1031151 and #1031239
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 00:43:47 +00:00
Robin Dunn
162662e91c Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:33:07 +00:00
Robin Dunn
ae601e32a8 Point x,y fixes from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:21:57 +00:00
Robin Dunn
5dd0f8257c Correct indentation and Snap calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:29:43 +00:00
Robin Dunn
558d682c9e Append --> append
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:27:38 +00:00
Robin Dunn
241d5f3d34 Fix for ogl.FORMAT_SIZE_TO_CONTENTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 19:54:05 +00:00
Robin Dunn
60509cc126 fixed case typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 23:14:24 +00:00
Robin Dunn
d8f9d612be Fixed wrong append() name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 23:50:59 +00:00
Robin Dunn
cccce1a6e7 Added wx.lib.ticker.Ticker class from Chris Mellon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 22:00:21 +00:00
Robin Dunn
b2371711d0 Updated generic window styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:47:01 +00:00
Robin Dunn
3d49f2fb17 Added 3-state checkbox and toggle button support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:22:35 +00:00
Robin Dunn
79609e6f24 Adding DrawnShape (patch from Pierre Hjälm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 14:54:13 +00:00
Robin Dunn
73b79b9938 don't show the message dialog on import unless there is already an app object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:57:23 +00:00
Robin Dunn
678666f238 Use default heights on the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:29:23 +00:00
Robin Dunn
ae5aafdc71 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:07:54 +00:00
Robin Dunn
8ab1534028 wxListCtrl --> wx.ListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:07:15 +00:00
Robin Dunn
ac1c82d736 comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:05:59 +00:00
Robin Dunn
f86c9a1ff0 Use the right class name for caling __init__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:04:29 +00:00
Robin Dunn
19cc8ed9e1 Various tweaks and fixes from Kevin A.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:03:01 +00:00
Robin Dunn
2871fade83 Hide page2 until it is needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 16:59:43 +00:00
Robin Dunn
5cd66f076f Put back the caching of property panels (as there is a noticable
improvement in speed) but just Hide() them instead of Reparent().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 22:52:35 +00:00
Robin Dunn
a78714eb8c Don't cache property and style panels as wxMac can't do Reparenting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 18:34:29 +00:00
Robin Dunn
c9c4689547 Don't call wx.ThePenList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 02:34:03 +00:00
Robin Dunn
9e26b2b2aa layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 20:04:47 +00:00
Robin Dunn
1b72277062 tweak border size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 15:21:11 +00:00
Robin Dunn
d6dabac05d updated to wx namespace by Peter Damoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 15:20:25 +00:00
Robin Dunn
89977ceb4e workaround for wxMac weirdness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:17:09 +00:00
Robin Dunn
5193b348e8 SetSizeHints --> SetMinSize or SetBestFittingSize, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 22:24:57 +00:00
Robin Dunn
d2d049f28a Just to be sure...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:24:25 +00:00
Robin Dunn
339983ff62 Patches from Will Sadkin:
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
  by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
  generated on control destruction, to prevent tracebacks

TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
  is called.
- Added AppendItems() for ComboBox

NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
  than '.'

TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
  appropriately if format supports it, and added code to check if
  local timezone uses "AM/PM" for this concept; if not, control now
  defaults to 24hour format, and disallows the am/pm form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:38:34 +00:00
Robin Dunn
5e1796efd3 Updates from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:19:47 +00:00
Robin Dunn
a61c65b304 Blind fix to avoid a PyDeadObject error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:35:10 +00:00
Robin Dunn
f50544d8c5 Allow style to be specified for ScrolledMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:34:19 +00:00
Robin Dunn
4c53d5301b fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:33:37 +00:00
Robin Dunn
1fa4b13e1c Skip, Skip, Skip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:12:48 +00:00
Robin Dunn
4e4a10ba27 Refresh after changing the bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:04:04 +00:00
Robin Dunn
bbc5a00631 Use top-level parent for the dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:23:08 +00:00
Robin Dunn
edf3b4dcba override GetLabe/SetLabel as on wxMac it will draw its own label that
interferes with ours.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:21:46 +00:00
Robin Dunn
478ba84485 Fix for drag object bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:39:24 +00:00
Robin Dunn
5f280eaa57 Patch from Will Sadkin:
- Fixed intra-right-insert-field erase.
- Allowed right-insert in ipaddrctrl subfields.
- Made _SetValue() place cursor after last non-blank character inserted,
  rather than end of mask.
- Fixed combobox autoselect behavior to work similarly as above, so that
  said selection will only select the non-empty text, as per request.
- Fixed some incorrect undo behavior for right-insert fields
- Allowed derived classes (eg. numctrl) to pass modified values for undo
  processing (to handle/ignore grouping chars properly.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 16:25:55 +00:00
Robin Dunn
a2df8090e8 Patch from Pierre Hjälm.
"""
It removes "from __future__ import division", fixes a couple of bugs and
adds a lot of whitespace.

Since I also removed an instance of [::-1] for list reversing, I think this
ought to work on older pythons (I have not tested though).
"""




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 16:32:03 +00:00
Robin Dunn
3d7d51faea Set the client size as calculated, but use the full size for the size hints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 23:18:57 +00:00
Robin Dunn
fdc775af55 docstrign tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:52:01 +00:00
Robin Dunn
ebd7cc3ae8 reordered base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:22:30 +00:00
Robin Dunn
c6ca8c022c clip notebook children to help reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 20:17:31 +00:00
Robin Dunn
19a4dcb8cf The new OGL doesn't have to be compatible with the bugs in the old
one!  ;-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:12:26 +00:00
Robin Dunn
e72d7b7716 Can't call ShiftDown when it is a CommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:09:51 +00:00
Robin Dunn
31f8e937b8 pi --> math.pi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:02:05 +00:00
Robin Dunn
f8a11ef915 remove the Yield's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:01:20 +00:00
Robin Dunn
db4aa52561 Don't draw if the panel is too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 00:07:42 +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
b2f6eb0606 Since everything in the submodules is to appear in the pacakge
namespace rename the submodule to have a leading underscore to make it
easier to document it that way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:12:01 +00:00
Robin Dunn
ebc89b9f61 namespace fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 04:45:04 +00:00
Robin Dunn
6fd864d159 Added $Id keyword, a bit of cleanup and also some backwards
compatibility aliases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:49:09 +00:00
Robin Dunn
aef87ac0ff comment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:47:57 +00:00
Robin Dunn
28bed70aa9 Use new DrawPoint signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:59:01 +00:00
Robin Dunn
241af5cf6a Don't use deprecated wx.MaskColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:45:17 +00:00
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
Patrick K. O'Brien
d351525a9b shell.autoCompleteAutoHide added with default of True.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 02:53:13 +00:00
Patrick K. O'Brien
07b87e8d9b Fixed problem with Calltip tab not refreshing properly on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 21:48:07 +00:00
Patrick K. O'Brien
65d005e44d Cosmetic changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 19:28:51 +00:00
Robin Dunn
4c8347a5ab Decorator classes are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-03 23:36:49 +00:00
Robin Dunn
ae18f6104c Use correct name for event type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 22:43:39 +00:00
Patrick K. O'Brien
e757654cd8 Minor cleanup for 2.5. Upped version to 0.9.4. Removed use of decorators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 23:37:41 +00:00
Robin Dunn
226b64025a ensure that SetDimensions params are ints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 00:00:13 +00:00
Robin Dunn
2461468b51 Add some missing wx. prefixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 23:27:39 +00:00
Robin Dunn
b701254ac2 Use new SystemSettings names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-20 23:31:20 +00:00
Robin Dunn
1c01bc8e05 Ignore the args and args errors on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 03:38:34 +00:00
Robin Dunn
289128a4fb Don't create the fonts until after they are needed (after the App
object has been created.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 03:05:02 +00:00
Robin Dunn
50940aad97 prevent checking for empty string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 23:34:18 +00:00
Robin Dunn
5e8b10e902 On Windows the wxBitmapButton can't be borderless if you use
wxBU_AUTODRAW, but wxGenBitmapButton can do it easily


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 23:15:53 +00:00
Robin Dunn
b09afc93f5 ON XP when pages are added to a Notebook their colours (and their
children's) are modified to match the theme colours for notebook pages
rather than normal panel colours.  When items are added dynamically
after the fact to the notebook pages then we need to fiddle with the
colours ourself.

Also, since xrced is importing from wxPython.wx then DC.Draw methods
now need to use the old parameter syntax.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:44:52 +00:00
Roman Rolinsky
a4c013b2b1 wxGridBahSizer support
exception handling while loading resource

some fixes (GetFirstChild, XRCID instead of FindByName, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 18:43:42 +00:00
Roman Rolinsky
d563e57f21 replaced by CHANGES.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 15:44:50 +00:00
Robin Dunn
47e8744686 Use "import wx". wxPython.wx now has backwards compatible DC's and so
since this module was using the new DC's it could no longer use
wxPython.wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:41:22 +00:00
Robin Dunn
36a1dad6e8 Fixed the docstring, default module is now wx, not wxPython.wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:33:09 +00:00
Robin Dunn
35095c028d new DC API fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 03:25:58 +00:00
Robin Dunn
6dfb13b1b7 Set the DC font before drawing the label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 21:37:45 +00:00
Robin Dunn
6046f86450 Ensure that the dirdialog is destroyed after use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-05 19:54:39 +00:00
Robin Dunn
31c07ca5a3 wxBell --> wx.Bell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-02 17:35:26 +00:00
Robin Dunn
c3bc3b6184 a bit of tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:39:36 +00:00
Robin Dunn
c843129522 Force integer values for positions and sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 01:38:32 +00:00
Roman Rolinsky
2481bf3cb6 added subclass attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-25 23:28:17 +00:00
Robin Dunn
d4b73b1b8e More lib and demo patches to drop the wx prefix (Jeff has been busy!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 19:09:54 +00:00
Robin Dunn
33785d9f22 More lib and demo changes for dropping the wx prefix, from Jeff G.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 19:36:30 +00:00
Robin Dunn
76f48e3308 Fixed indetation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 01:03:19 +00:00
Robin Dunn
c1ea08d355 Tweaking names (Thanks Jeff!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-18 19:10:26 +00:00
Robin Dunn
9d6685e21c Added PyPlot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 03:25:56 +00:00
Robin Dunn
b881fc787d Lots of wx namespace updates for the wx.lib package and the demo from
Jeff Grimmett with some tweaks and changes from Robin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 00:34:40 +00:00
Robin Dunn
3252e504a5 newevent module now returns a PyEventBinder instead of a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-09 02:25:58 +00:00
Robin Dunn
4da6d35e8f Expose SetClippingRegion(point, size)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-28 18:42:44 +00:00
Robin Dunn
e6c3f9eb6a wx namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-26 06:11:01 +00:00
Robin Dunn
c7ad88ef81 Don't put the introspected argstr in the docstring if the firstline
appears to have one already.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-25 21:50:05 +00:00
Robin Dunn
fd3f2efe79 Lots of little bug fixes, API updates, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 22:57:49 +00:00
Robin Dunn
6a62357c17 Forgot to remove the debug prints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 21:16:46 +00:00
Robin Dunn
fb757066df Fix problems with the wxHtmpTagHandler wrappers and related
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-22 21:08:20 +00:00
Robin Dunn
7722248d75 Lots of bup fixes, API updates, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-21 07:39:05 +00:00
Roman Rolinsky
31f0435291 XMLID -> XRCID, Number -> GetCount, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 19:05:45 +00:00
Roman Rolinsky
fdc1a8be8f removed second parameter from GetFirstChild calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 19:04:48 +00:00