Robin Dunn
1ac4f9d97b
Add a few more tips for the tip window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:59:06 +00:00
Robin Dunn
824b3e0ab8
Use a wx.FileConfig to store options, and use wx.StandardPaths to know
...
where to put it. Also use this dir for the cache of modified sample
files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:58:44 +00:00
Robin Dunn
a369962eda
Bail out of SetTreeModified if not using the CustomTreeCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:17:38 +00:00
Robin Dunn
8e5daaa57c
Use native wx.TreeCtrl by default, but make it easy to switch back to
...
CustomTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:35:57 +00:00
Robin Dunn
04b3d5e844
Andrea's patch (plus some changes of my own) to add icons and other
...
features to the demo's main frame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:36:58 +00:00
Robin Dunn
5ff565de94
delete the AuiManager before destroying the frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:51:21 +00:00
Robin Dunn
6b4b24eee9
Avoid using wx.ClientDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:48 +00:00
Robin Dunn
310ed6a345
Correct import
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:46:45 +00:00
Robin Dunn
5ae04a0c4e
Updates to MaskedEdit controls from Will Sadkin:
...
maskededit.py:
Added parameter option stopFieldChangeIfInvalid, which can be used to
relax the validation rules for a control, but make best efforts to stop
navigation out of that field should its current value be invalid. Note:
this does not prevent the value from remaining invalid if focus for the
control is lost, via mousing etc.
numctrl.py, demo / MaskedNumCtrl.py:
In response to user request, added limitOnFieldChange feature, so that
out-of-bounds values can be temporarily added to the control, but should
navigation be attempted out of an invalid field, it will not navigate,
and if focus is lost on a control so limited with an invalid value, it
will change the value to the nearest bound.
combobox.py:
Added handler for EVT_COMBOBOX to address apparently inconsistent behavior
of control when the dropdown control is used to do a selection.
textctrl.py
Added support for ChangeValue() function, similar to that of the base
control, added in wxPython 2.7.1.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 05:23:01 +00:00
Robin Dunn
3f4ec51e47
Updated FloatCanvas code from Chris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 05:55:19 +00:00
Robin Dunn
3640fa6670
demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:53:24 +00:00
Robin Dunn
35e224a636
test activate event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:52:35 +00:00
Robin Dunn
372cc7aca9
Update treemixin to 1.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:50:36 +00:00
Robin Dunn
ce7feab06b
wx.lib.flatnotebook: Patch from Andrea that implements the following:
...
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);
* Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;
* Updated the demo module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
579c608e3e
0.9.1 of TreeMixin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:55:31 +00:00
Robin Dunn
d376e326d8
Update to 0.9 of TreeMixin.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:50:46 +00:00
Robin Dunn
8595a01736
fix import
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:32:28 +00:00
Robin Dunn
6c51117514
Update to 0.8 from Frank
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:02:51 +00:00
Robin Dunn
c80bb70aaa
Renamed the wx.lib.inspect and wx.lib.mixins.inspect modules to
...
inspection, in order to avoid conflicts with the inspect module in the
standard Python library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 19:24:13 +00:00
Robin Dunn
caee23d55d
wx.lib.customtreectrl patches from Andrea:
...
1. ExpandAll has been renamed as ExpandAllChildren, and the new
ExpandAll now takes no input arguments (consistent with
wx.TreeCtrl)
2. ctstyle keyword is now defaulted to 0: every style related to
CustomTreeCtrl and the underlying wx.PyScrolledWindow should be
declared using the keyword "style" only. For backward
compatibility, ctstyle continues to work as I merged ctstyle and
style in the __init__ method.
3. GetClassDefaultAttributes is now a classmethod.
4. UnselectAll bug fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 21:04:52 +00:00
Robin Dunn
25f8729c3d
Updated to TreeMixin 0.7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:35:07 +00:00
Robin Dunn
f1cafba603
Added the wx.SizerFlags class, and also added AddF, InsertF and
...
PrependF methods to wx.Sizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-26 23:22:25 +00:00
Robin Dunn
30a04aa8cc
show better technique for updating drawing from outside of EVT_PAINT handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:40:24 +00:00
Robin Dunn
65df1b5001
enable this demo for the Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-21 23:37:37 +00:00
Robin Dunn
27315f82f2
Add a bit of testing code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-20 02:18:37 +00:00
Robin Dunn
27b13b5b0c
Add wx.DD_DIR_MUST_EXIST style. (Patch #1662736 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 21:17:27 +00:00
Robin Dunn
55ce0bae63
TreeMixins 0.6 from Frank
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-19 20:31:11 +00:00
Robin Dunn
b293a41f30
use InspectableApp for testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:47:24 +00:00
Robin Dunn
31fff11b15
Add wx.lib.mixins.treemixin from Frank Niessink.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-16 23:34:47 +00:00
Robin Dunn
076c29d8f7
Check for NotImplementedError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-10 00:14:56 +00:00
Robin Dunn
47f2df6d21
ensure that a bad locale is destroyed before it is attempted to be used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 23:42:57 +00:00
Robin Dunn
d650caff99
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 22:48:21 +00:00
Robin Dunn
4771f3e8ef
refactor InspectionTool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-26 22:39:24 +00:00
Robin Dunn
fc368d7872
reorder the creation of the drag objects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 22:52:44 +00:00
Robin Dunn
3565c263f5
minor tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 22:52:24 +00:00
Robin Dunn
712c874643
use the run module when run standalone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-24 00:01:12 +00:00
Robin Dunn
8030e0e954
minor tweaks for the widget inspector
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:39:00 +00:00
Robin Dunn
19a885344a
minor tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:42:56 +00:00
Robin Dunn
156d7d8626
Use the SearchCtrl for the filter. Make the accelerator table usable
...
again for testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:28:40 +00:00
Robin Dunn
a8990bd443
don't use default style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 23:54:11 +00:00
Robin Dunn
34d71f81f4
Added wx.aui.AuiNotebook.GetAuiManager().
...
Added wx.aui.AuiMDIParentFrame and wx.aui.AuiMDIChildFrame, which
essentially implement the MDI interface using a normal wx.Frame and a
wx.aui.AuiNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 09:01:34 +00:00
Kevin Ollivier
b64274c77a
Add a grid sizer demo, and document the props accepted by SetSizerProps.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 02:09:00 +00:00
Robin Dunn
c81f58f7e5
Remove some items from the Recent additions list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 23:19:29 +00:00
Robin Dunn
eee9bf2e5c
reformat the overview string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-02 23:18:23 +00:00
Kevin Ollivier
3bdec81e14
Adding overview docs and a couple tweaks to the demo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 06:50:13 +00:00
Kevin Ollivier
5448935a30
Add SizedControls demo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-31 06:06:05 +00:00
Robin Dunn
f0db59f269
remove debug code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:52:48 +00:00
Robin Dunn
4b32f8c79e
minor demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:19:04 +00:00
Robin Dunn
facc1d350b
wx.lib.customtreectrl patches from Andrea Gavana.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:18:07 +00:00
Robin Dunn
0d8a01fdaa
Fix for the Demos menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-15 23:15:59 +00:00