Commit Graph

332 Commits

Author SHA1 Message Date
Robin Dunn
11fb907322 removed #!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 16:11:25 +00:00
Robin Dunn
f1d829c194 Another patch from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 19:30:46 +00:00
Robin Dunn
c93dc2cb46 More patches from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 02:43:45 +00:00
Robin Dunn
179172dc8f Guard against EVT_PAINT recurrsion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-29 17:43:30 +00:00
Robin Dunn
03181d8c1e add a missing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 22:23:58 +00:00
Patrick K. O'Brien
71837a8e1b revised module docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 21:51:59 +00:00
Robin Dunn
af9a9a4528 Updated to get rid of apply and map, and only update the ColourDB once.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 20:34:25 +00:00
Robin Dunn
5375befac8 Fixed some float --> int warnings and ensured that the ColourDB is updated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 20:33:18 +00:00
Patrick K. O'Brien
db90456c7a new minor version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:54:58 +00:00
Robin Dunn
a8a844ded4 Added Chris Barker's FloatCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:28:19 +00:00
Robin Dunn
72f7f6a467 Fix some refresh issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:53:33 +00:00
Robin Dunn
f0e615b6ab Updates to wxMaskedEditCtrl.
Added wxMaskedNumCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:29:40 +00:00
Patrick K. O'Brien
3adf0c5b2b whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 13:19:28 +00:00
Robin Dunn
3a78892d31 Added wxPython.lib.newevent from Miki Tebeka
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:37:40 +00:00
Robin Dunn
5e899a81d9 fixed indentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:22:50 +00:00
Robin Dunn
b4d05d410b Applied Patch #775357
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:21:17 +00:00
Robin Dunn
f3927bf5d3 Changes when/how the wxApp object is created.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:02:36 +00:00
Robin Dunn
f00a46313d Fixed some float --> int conversion warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:30:35 +00:00
Robin Dunn
75cf127cf9 Added character coding comment for Python 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 20:22:15 +00:00
Robin Dunn
9245f5cd38 Unicode fix from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 20:21:28 +00:00
Roman Rolinsky
3dd0697400 slightly changed text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 09:58:37 +00:00
Roman Rolinsky
0e573042c4 Fixed problems with wxStaticBitmap (stock_id attribute, icon type
switching).

Changed some dimensions in properties panel elements.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-12 09:45:35 +00:00
Robin Dunn
e3a3fdc83f only match the regex at the end of the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 15:08:00 +00:00
Robin Dunn
6168f561d8 Patch from Will Sadkin fixing parameter order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-06 15:14:17 +00:00
Robin Dunn
bd07ff5792 Applied patch that converts the throbber to using timers instead of threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 01:53:08 +00:00
Robin Dunn
972e8710d4 Fixed some line-endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 23:21:35 +00:00
Robin Dunn
e6874ccf25 Patch from Will Sadkin
##  Version 1.3
##   1. Made it possible to configure grouping, decimal and shift-decimal characters,
##      to make controls more usable internationally.
##   2. Added code to smart "adjust" value strings presented to .SetValue()
##      for right-aligned numeric format controls if they are shorter than
##      than the control width,  prepending the missing portion, prepending control
##      template left substring for the missing characters, so that setting
##      numeric values is easier.
##   3. Renamed SetMaskParameters SetCtrlParameters() (with old name preserved
##      for b-c), as this makes more sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 18:33:13 +00:00
Robin Dunn
7739ea4c67 Switched back to "PyCrust.ico" because Windows explorer can apparently
only associate one "py.ico" at a time, even if they are located in
different directories.

Also added Linux /usr/lib/menu entries for the Py apps and XRCed when
building the RPMs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 07:10:21 +00:00
Robin Dunn
27feadf334 only measure one line at a time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:38:05 +00:00
Robin Dunn
b7094fec10 Ensure there is no border on the generic static texts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:37:38 +00:00
Roman Rolinsky
16e4e873a2 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 11:00:09 +00:00
Robin Dunn
63d2cc405d Draw with a different color if the control is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:33:42 +00:00
Robin Dunn
16ec06b235 Add style parameter to wxMultipleChoiceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:21:49 +00:00
Robin Dunn
526bdb340c Patch from Will Sadkin, allows the emptyInvalid flag to apply to subfields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:29:08 +00:00
Robin Dunn
78a07fd17b Draw the stripy background on wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:44:42 +00:00
Robin Dunn
7a4ac109ec Fixes parsing when using mxDateTime, patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 20:06:07 +00:00
Robin Dunn
4e78ec2f5a Added warning to the docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:50:39 +00:00
Robin Dunn
c8ad57a77a Ensure that the focus gets redirected to the embedded control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 18:26:47 +00:00
Roman Rolinsky
ff5bb76716 two-stage creation of XRC-based dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-20 13:26:38 +00:00
Robin Dunn
9831428651 Patch from Eugene Rimsky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 23:55:09 +00:00
Patrick K. O'Brien
519a8af2fa Protect against inspect.getdoc() failing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-19 21:41:24 +00:00
Robin Dunn
a5d0a5701f Fixed a couple minor bugs and changed copyright info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:33:47 +00:00
Patrick K. O'Brien
1a24baa1a0 Fixed sort bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 20:02:08 +00:00
Roman Rolinsky
ff7744a993 just a test for IsShown (no refreshing if not)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:12:39 +00:00
Roman Rolinsky
ec3435a947 new version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:39 +00:00
Roman Rolinsky
86a574a07a added Expand/Collapse handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:11:30 +00:00
Roman Rolinsky
336b1df17d fixed sizes of some controls under windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:10:45 +00:00
Roman Rolinsky
adf520e7a8 changed scrolled window to container, but there's still no support in wxXRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 14:09:06 +00:00
Robin Dunn
346573fc95 More patches to the masked edit control from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 21:42:47 +00:00
Robin Dunn
e0b302e05d Patches to the masked edit control from Will Sadkin:
##   1. Fixed .SetValue() to replace the current value, rather than the current
##      selection. Also changed it to generate ValueError if presented with
##      either a value which doesn't follow the format or won't fit.  Also made
##      set value adjust numeric and date controls as if user entered the value.
##      Expanded doc explaining how SetValue() works.
##   2. Fixed EUDATE* autoformats, fixed IsDateType mask list, and added ability to
##      use 3-char months for dates, and EUDATETIME, and EUDATEMILTIME autoformats.
##   3. Made all date autoformats automatically pick implied "datestyle".
##   4. Added IsModified override, since base wxTextCtrl never reports modified if
##      .SetValue used to change the value, which is what the masked edit controls
##      use internally.
##   5. Fixed bug in date position adjustment on 2 to 4 digit date conversion when
##      using tab to "leave field" and auto-adjust.
##   6. Fixed bug in _isCharAllowed() for negative number insertion on pastes,
##      and bug in ._Paste() that didn't account for signs in signed masks either.
##   7. Fixed issues with _adjustPos for right-insert fields causing improper
##      selection/replacement of values
##   8. Fixed _OnHome handler to properly handle extending current selection to
##      beginning of control.
##   9. Exposed all (valid) autoformats to demo, binding descriptions to
##      autoformats.
##  10. Fixed a couple of bugs in email regexp.
##  11. Modified autoformats to be more amenable to international use.
##  12. Clarified meaning of '-' formatcode in doc.
##  13. Fixed a couple of coding bugs being flagged by Python2.1.
##  14. Fixed several issues with sign positioning, erasure and validity
##      checking for "numeric" masked controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 14:29:43 +00:00