Commit Graph

213 Commits

Author SHA1 Message Date
Robin Dunn
7f2a8ba844 allow border flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 20:42:17 +00:00
Robin Dunn
280432a984 Added newDirectory flag to DirBrowseButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 23:52:44 +00:00
Robin Dunn
b0f3dd44e4 Use GetMark if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 16:22:31 +00:00
Robin Dunn
edef8600a6 delete singleInstanceChecker when exiting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:35:34 +00:00
Robin Dunn
f75e95f5f4 NotebookSizer is deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:32:02 +00:00
Robin Dunn
74b8945829 Updates for doc/view from Morgan Hua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:16:34 +00:00
Robin Dunn
7a0c9b3917 Updates for MouseGestures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:03:35 +00:00
Robin Dunn
766abb5bc9 Patch from Will Sadkin:
Enclosed are two patches, one for timectrl, re: exceptions (now?)
    thrown on wxDateTime.strftime(%p) in a non-am/pm locale, and one
    for a problem that prevented input into the integer digit of a
    integerwidth=1 numctrl, if the current value was 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:45:13 +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
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
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