Robin Dunn
1d4d7a48fb
A bunch of little demo tweaks that have accumulated over time...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 17:38:10 +00:00
Robin Dunn
3d668dd2ec
Use correct method name for GetRowLabelValue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-30 22:07:08 +00:00
Robin Dunn
026aef43fa
Another spelling error fix that didn't get saved before... <grumble>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 23:20:36 +00:00
Robin Dunn
f93c98c628
Another spelling error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 20:39:14 +00:00
Robin Dunn
b76262b81d
Lots of spelling errors fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 19:31:42 +00:00
Robin Dunn
bd85a2f331
Demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-01 04:43:51 +00:00
Robin Dunn
715b6543b6
SWitch to using wxCAL_SEQUENTIAL_MONTH_SELECTION style for the demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 19:21:42 +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
Robin Dunn
ddf8d2dfb9
data file for FloatCanvas demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 20:22:25 +00:00
Robin Dunn
8faa1f356d
Increase the initial size of the log window a bit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:50:49 +00:00
Robin Dunn
4f62b37a95
Fix sample so it works correctly when NUmeric is not installed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 19:43:59 +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
aaf015186e
Use newevent module
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-25 18:43:31 +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
Robin Dunn
0b51434e6e
demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 02:04:38 +00:00
Robin Dunn
467760b6d4
Recoded images
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 23:04:51 +00:00
Robin Dunn
5f00f92581
demo tweak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 22:02:46 +00:00
Bryan Petty
38046fb37c
This commit was manufactured by cvs2svn to create branch
...
'WX_2_4_BRANCH'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 12:06:26 +00:00
Robin Dunn
b89c96ee05
Oops, forgot the very long line was still there. Take it back out.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:53:09 +00:00
Robin Dunn
1f1b5e9336
Demo/test tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 22:48:04 +00:00
Robin Dunn
9e039e3753
Various testing changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 17:13:42 +00:00
Robin Dunn
21de2c2911
Show how to iterate selected items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 17:12:36 +00:00
Robin Dunn
f73cf2885e
Added a sample of using wxFileDialog for saving
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 19:02:22 +00:00
Robin Dunn
f4e8f51c54
Use wxSTC in the demo for displaying the soucre code of the samples.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 18:39:54 +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
f9747bcfed
Some demo tweaks and a bug workaround
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:29:17 +00:00
Robin Dunn
0097dbcc26
SetAllPages needs to be used if the Min and Max pages are set.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 23:40:05 +00:00
Robin Dunn
6bf7626a0c
some other tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 01:08:44 +00:00
Robin Dunn
3b9de29c38
Clearly state that the new wx module is being used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:18:44 +00:00
Robin Dunn
e1663a1065
some test code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 21:18:19 +00:00
Robin Dunn
83ef7e2eaf
Moved hangman to samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 21:24:25 +00:00
Robin Dunn
6bc7d0dda4
Some demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-06 20:04:50 +00:00
Robin Dunn
7296575156
Add the test for __main__ to all that didn't have it, so all demo
...
samples can be run standalone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 23:48:28 +00:00
Robin Dunn
46ddee38b0
Converted the main demo framework files to the new namespace, (none of
...
the actual samples yet except NewNamespace...)
Added the GridDragAndDrop sample
Fixed the NewNamespace sample to actually have something to display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 23:18:16 +00:00
Robin Dunn
eeab02964a
Demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 00:54:35 +00:00
Robin Dunn
2d77bf096f
Added test case for inserting menu items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 22:31:49 +00:00
Robin Dunn
3fd659e9e4
Added various tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 00:22:27 +00:00
Robin Dunn
53c72358c0
Added "megaGrid" sample to the demo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 16:47:49 +00:00
Robin Dunn
d6738b5fb6
Updated some test code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 18:29:32 +00:00
Robin Dunn
7160e19699
Modified frame styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-16 17:47:09 +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
Robin Dunn
f632c16831
Typos fixed and other tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:55:07 +00:00
Robin Dunn
2f511ce8d0
Added wrappers for wxTreeListCtrl, only to wxPython so far but it
...
could probably go into contrib/gizmos with some more work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 00:44:13 +00:00
Robin Dunn
bba6d4f731
typo fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 17:55:15 +00:00
Robin Dunn
a16bcfcef2
Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
...
<e_lub@yahoo.com > wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Robin Dunn
ffac66d530
Added some new test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:26:15 +00:00
Robin Dunn
5dc5e70e20
Added masked edit controls (wxPython.lib.maskededit) by Jeff Childers
...
and Will Sadkin. Updated wxTimeCtrl to use MaskedEdit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:25:23 +00:00
Robin Dunn
e8e8026ec7
Added AnalogClock class to library
...
Added NewNamespace sample to the demo
Other demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 21:10:28 +00:00
Robin Dunn
cf83df6d61
Backported the controls on a toolbar fix for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 21:05:53 +00:00
Robin Dunn
ce60b8194a
Some NewId() --> wxNewId() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 15:05:19 +00:00