Commit Graph

506 Commits

Author SHA1 Message Date
Robin Dunn
52cd064365 Use wx.FileHistory for the recent files menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +00:00
Robin Dunn
5cc18d7986 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/trunk@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
be3eff6271 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/trunk@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +00:00
Robin Dunn
7d36c6a8eb Patch from FN that fixes bug in RefreshItem on an item that has no
corresponding node in the tree yet (because its parent isn't expanded
yet) triggered an exception.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:59:00 +00:00
Robin Dunn
e734e438fc patch from Andrea fixing sending of events and drawing of lines at root.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:20:16 +00:00
Robin Dunn
cbfc9df676 Merge recent changes from 2.8 branch.
Make updates for recent changes on CVS HEAD.
Remove or workaround deprecated items.
Fix compile errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 01:49:46 +00:00
Roman Rolinsky
37867b24f6 default setting fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 19:09:58 +00:00
Roman Rolinsky
7058b79442 warning about %comments, CHANGES.txt updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 15:42:23 +00:00
Roman Rolinsky
5050b626e5 Added Preferences dialog (and defaults for some parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:19:53 +00:00
Roman Rolinsky
552240ce17 collapsing tool panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:14:49 +00:00
Roman Rolinsky
c1dda21b64 default values for option and flag (TODO: preferences dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:27:25 +00:00
Roman Rolinsky
f2ccaa2279 another fix for undo/redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 22:39:26 +00:00
Roman Rolinsky
a023b456b4 - undo/redo fix for nonchecked items
- global modified state set as soon as possible
- "option" property renamed to "proportion"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 19:17:27 +00:00
Roman Rolinsky
8c64c153a0 searching for plugins in XRCEDPATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 02:30:13 +00:00
Roman Rolinsky
aea9f6d5d3 cleanup of modules loaded from comment directives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:18:26 +00:00
Roman Rolinsky
a616619755 moved custom menu up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:17:48 +00:00
Roman Rolinsky
c0d5ae7447 more custom classes support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 18:33:45 +00:00
Roman Rolinsky
00d153468c Support for custom controls, first attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:59:38 +00:00
Roman Rolinsky
fe295b0d3e editing comments by editing tree label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:37:08 +00:00
Roman Rolinsky
b372319fa0 Implemented xxxComment. Due to different minidom XML types (Comments
are not Elements) had to add xxxObject.isElement flag and changed
xxxObject.element variable to xxxObject.node (xxxComment is derived
from xxxObject to minimize changes in processing). More testing is still
needed to verify that things didn't break. Use previous commit (0.1.8-4
release on 2007/03/10) if you need a stable version.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 05:08:45 +00:00
Roman Rolinsky
047c5f3e6d Comment icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 04:35:57 +00:00
Roman Rolinsky
e5280d4fa4 Tree-Comment.png
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 04:35:16 +00:00
Roman Rolinsky
d84cc8c13b made test window for Dialog and Wizard a child of g.frame
for consistency (probably not important)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:22:00 +00:00
Roman Rolinsky
4ecdf8fc40 Ctrl-H must not be used on Mac...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:16:48 +00:00
Roman Rolinsky
e2dc45d8f1 0.1.8-4
-------

Fixes for wxMSW (notebook highlighting, control sizes, tree Unselect).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 13:12:44 +00:00
Roman Rolinsky
538a0c0de2 0.1.8-3
-------

Notebook page highlighting fix. Highlight resizes when the window
is resized. ParamUnit spin button detects event handler re-entry
(wxGTK probably has a bug in wxSpinButton with repeated events).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 15:49:35 +00:00
Roman Rolinsky
7df24e7868 0.1.8-2
-------

Fix for dealing with empty 'growable' property, using MiniFrame
for properties panel, the panel is restored together with the
main window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 14:45:12 +00:00
Roman Rolinsky
b03466749c 1.8-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:51 +00:00
Roman Rolinsky
c37cba8974 Fixed SetItemBold and editing 'growable' properties of
wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:07 +00:00
Robin Dunn
3c69a2ec86 merge from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:24:56 +00:00
Roman Rolinsky
75aa19469b Version 1.8-0
New feature added from a patch submitted on sourceforge by botg:
moving of tree items.

Bugs fixed:
- ChecklistBox content editing;
- Window styles more in sync with the docs;
- Replacing items;
- Reference property page created correctly (every property is
  optional).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 15:40:32 +00:00
Robin Dunn
fd363e1abc Added stepColour utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 19:51:08 +00:00
Robin Dunn
65d7319f85 styles, toolbar, and other visual tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:41 +00:00
Robin Dunn
27587c251c The inspect module is now a widget browser plus a shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:37:12 +00:00
Robin Dunn
61071e6160 some minor tweaks to make it possible to not show the default intro text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:05:14 +00:00
Robin Dunn
3e47020738 Use the system settings for the selection colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:03:46 +00:00
Robin Dunn
302129f896 PyCrust now has an option for showing/hiding the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 19:20:32 +00:00
Robin Dunn
46831f391b Bug fix from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:51 +00:00
Robin Dunn
cfce9d35ad Just reset the size, not the minsize too, when changing the label or
font.  This is how the native static text widgets behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:30 +00:00
Robin Dunn
e1463b9df0 Patches from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:52:32 +00:00
Robin Dunn
c306c1e0f6 put wx in the shell's namespace too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:50:51 +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
169f3a3d6f Added a set of button classes to wx.lib.buttons from David Hughes that
uses the native renderer to draw the button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:51:18 +00:00
Robin Dunn
d81ab2beb8 Use correct flags Chinese
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:46:22 +00:00
Robin Dunn
5fe636c6e2 wx.lib.masked: Patch from Will Sadkin. Includes Unicode fixes, plus
more helpful exceptions and ability to designate fields in mask
without intervening fixed characters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:57:31 +00:00
Robin Dunn
13db99f1f5 Added some modules from Riaan Booysen:
* wx.lib.flagart:  contains icons of the flags of many countries.

    * wx.lib.art.img2pyartprov: makes images embedded in a python file
      with img2py available via the wx.ArtProvider.

    * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language,
      which uses the country flag icons.

    * An I18N sample for the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:51:13 +00:00
Kevin Ollivier
d10d4362bb Native control on Mac draws its own arrows, so don't draw them ourselves in that case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:01:22 +00:00
Robin Dunn
359ed0f85c Updates from Dan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 02:28:03 +00:00
Vadim Zeitlin
f365323fd6 make wxGetKeyState() work for non-modifier keys; corrected some key mappings (patch 1521490)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:19:46 +00:00
Vadim Zeitlin
ea839c294e generate middle click events (backport from HEAD of the patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:12:51 +00:00