Commit Graph

156 Commits

Author SHA1 Message Date
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