Robin Dunn
c91397af88
it looks better if we just change the main bitmap, not all of them.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:51:34 +00:00
Robin Dunn
0e65b1d1cd
Patch #1738147 Improved imagebrowser
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:16:37 +00:00
Robin Dunn
14b4674a0b
bugfixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:15:13 +00:00
Robin Dunn
dcc8666d99
zap an extra print statement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-08 05:03:19 +00:00
Robin Dunn
b40cb84f3f
Patch from Paul McNett to check for the Acrobat version more robustly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 18:47:19 +00:00
Robin Dunn
27c390f313
Convert '0' or '1' to int before converting to bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:53:10 +00:00
Robin Dunn
3a21ebbefd
Check for 8.0 too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 21:51:36 +00:00
Robin Dunn
006c2c2d82
Additional tags to treat as bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:57 +00:00
Robin Dunn
e99d058646
Show the .this attribute too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:50:10 +00:00
Robin Dunn
f3e0dee205
catch exceptions from ConvertToBitmap and bail out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 21:36:53 +00:00
Robin Dunn
675d0ab503
Remove the Skip, it causes problems in wxGTK...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:55:57 +00:00
Robin Dunn
8e367593b8
Use RemoveEventHandler instead of PopEventHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:51:37 +00:00
Robin Dunn
d40652f42e
masked/textctrl.py: A code refactoring bugfix for .ChangeValue() support.
...
masked/combobox.py: Several fixes for value selection behavior, and
one for navigation in readonly control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 19:48:22 +00:00
Robin Dunn
cf151d7e00
Fix pywxrc's generation of menu and menubar classes and aldo fix how
...
it generates attributes for menus, menubars and menuitems comtained in
other objects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:56:25 +00:00
Robin Dunn
d9f0e96051
Typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 18:54:09 +00:00
Robin Dunn
718170fcde
backport more icon changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:50:13 +00:00
Robin Dunn
66b9271785
More icon changes (backport),
...
process UPDATE_UI for move and refresh buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Bryan Petty
39406bda13
This commit was manufactured by cvs2svn to create branch
...
'WX_2_8_BRANCH'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Robin Dunn
98c16c304e
no need to import customtreectrl here,
...
switch to """ instead of '''
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:30 +00:00
Robin Dunn
a329847b07
Need to UnInit the AuiManager when closing the frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:02 +00:00
Robin Dunn
1ee028bf83
some new icons for XRCed (backport)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Bryan Petty
4a71e14016
This commit was manufactured by cvs2svn to create branch
...
'WX_2_8_BRANCH'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Robin Dunn
2033f5ec6a
A bit of cleanup, use a lighter shade of grey for the default pen, use
...
the base class HasFlag, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:09:21 +00:00
Robin Dunn
f24fd27a8e
Workaround corner case where a widget can have a containing sizer, but
...
no sizer item. (The static box in a StaticBoxSizer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:15 +00:00
Robin Dunn
0d7fe3edac
Ensure that wnd is not None before calling Hide
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:41:40 +00:00
Robin Dunn
fed4b83921
SetFont fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:40:07 +00:00
Robin Dunn
03c88f6092
more backports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:34:23 +00:00
Robin Dunn
161fe81e73
Doc and version update from Chris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:02:14 +00:00
Robin Dunn
e057fb3454
Backport: Various fixes and improvements to get look-and-feel similar across
...
different platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:01:08 +00:00
Robin Dunn
8c9f00aaa3
backport more fixes from HEAD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:01:32 +00:00
Robin Dunn
8764117f28
Fixes from Chris
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 04:46:44 +00:00
Robin Dunn
c9e1d317b1
Fix to previous masked.TextCtrl change, to ensure inheritance chain
...
for derived controls isn't broken by new .ChangeValue() support in
base control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:12:28 +00:00
Robin Dunn
7dc46e9d9e
Patch #1710943 , Fix a bug in pywxrc script for "MenuBar" and "Menu"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:12:06 +00:00
Robin Dunn
e75f43c577
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@45743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 01:00:30 +00:00
Robin Dunn
c3e1d30aea
backport of XRCed changes from today
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 06:03:28 +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
611d0e5cea
Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Robin Dunn
3bd8d81d3e
backport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:15:09 +00:00
Robin Dunn
d698728cea
backported Roman's latest updates on HEAD to 2.8 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 18:49:06 +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
f5850761c3
Use wx.FileHistory for the recent files menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +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
bf2481b9cf
Patch from Andrea that fixes the following problems/issues:
...
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +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
08e98210c4
Patch from Rob McMullen allowing the plot title to be optional
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:55:12 +00:00
Robin Dunn
123129601c
fix offset of widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:54:05 +00:00
Robin Dunn
4366f1b660
Use disabled state if needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:52:55 +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
43ea4adf3f
fix typo: GetClosetPoint --> GetClosestPoint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:31:13 +00:00
Robin Dunn
411f2d350b
Fix for bug #1681052
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:22:41 +00:00