Robin Dunn
3f492c34a1
Richtext updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:53:22 +00:00
Robin Dunn
7bbac90b23
tweak layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:31 +00:00
Robin Dunn
04fc249824
menu and accel tweaks for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:49:09 +00:00
Robin Dunn
a6b501a057
Toss in a few Refresh() calls to make this sample work better on wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:19:08 +00:00
Robin Dunn
991dc050e0
Use the wx.CP_NO_TLW_RESIZE style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:18:25 +00:00
Robin Dunn
0518197407
Don't change the tree fonts when running on the older comctl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-13 02:17:14 +00:00
Robin Dunn
dad1c9b9ae
rename new image, add to encode_bitmaps.py
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:28:01 +00:00
Kevin Ollivier
d330c453a5
Don't highlight the active pane, and add source png for the custom control to the demo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:08:33 +00:00
Robin Dunn
321f7d7394
Don't allow AUI flaotables by default and remove the Options menu
...
since it is mostly about AUI stuff.
Change the tree icon when there is user-modified code.
Save and restore the current item and the expansion state when
rebuilding the tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:42:16 +00:00
Robin Dunn
36def90d09
The handlers for EVT_CLOSE and EVT_MENU(wx.ID_EXIT) should not be the same
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:22:27 +00:00
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