Commit Graph

3881 Commits

Author SHA1 Message Date
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
8f7ed3f3a5 More fixes needed for allowing classes to be derived from PyAuiDockArt
and PyAuiTabArt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 23:28:30 +00:00
Robin Dunn
a78303202f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:43:08 +00:00
Robin Dunn
e6c222e712 wxMac has wxGLContext.SetCurrent now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:27:28 +00:00
Robin Dunn
41b2b34b1b Add wxCONTROL_FLAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:26:44 +00:00
Robin Dunn
927773c764 Add wxAPPLY, wxCLOSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:25:45 +00:00
Robin Dunn
3eddc6bc00 Add wxSVGFileDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:23:35 +00:00
Robin Dunn
9b89d98dac User lower case property names in wx.DateSpan and wx.TimeSpan in order
to not conflict with static methods with same names.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:16:57 +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
7e173fdcef Forward declare new wxPy classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 19:51:09 +00:00
Robin Dunn
8c3a71838a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:56:21 +00:00
Robin Dunn
cc8ce392c5 wx.VScrolledWindow has been refactored, and new wx.HScrolledWindow and
wx.HVScrolledWindow classes have been added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:54:12 +00:00
Robin Dunn
c655dbdd89 SetCanFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:53:36 +00:00
Robin Dunn
6493d270f2 wizard classes don't take resource parameter anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:52:43 +00:00
Robin Dunn
c4b330b35d wxNullIconBundle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:51:33 +00:00
Robin Dunn
171284c29a Add wxEXEC_NOEVENTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:50:48 +00:00
Robin Dunn
e1a4589263 update wx.IconBundle methods and docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:49:47 +00:00
Robin Dunn
c533405853 SetDefault returns the former default widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:45:56 +00:00
Robin Dunn
3b0265a32c wx.IconBundle support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:44:59 +00:00
Robin Dunn
91d6301a7b wxMac: The get-url apple event is now supported, simply override
wx.App.MacOpenURL to receive it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:44:02 +00:00
Robin Dunn
363868e5eb Add wx.Position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:41:45 +00:00
Robin Dunn
26ee65c723 STC is not a separate library anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:38:48 +00:00
Robin Dunn
99953df064 tweaks needed for new GLCanvas API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:37:24 +00:00
Robin Dunn
e3e99f92bd trim whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:36:26 +00:00
Robin Dunn
c0a4dfbb0a Test EVT_TREE_ITEM_ACTIVATED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:35:36 +00:00
Robin Dunn
b4aa9fec65 All platforms have the same GLCanvas API now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:34:20 +00:00
Robin Dunn
9c8d71beb8 Use the wxWANTS_CHARS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:23:41 +00:00
Robin Dunn
8dda1e5b25 Don't use stc lib if building monolithic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:23:01 +00:00
Robin Dunn
9859d369b4 Use our own getters and properties for wxVisualAttributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Robin Dunn
ddeca22ce8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:37:01 +00:00
Robin Dunn
70ee369088 Elippsis and markup support for wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:26:39 +00:00
Robin Dunn
10f9d5a25b Add wx.SizerItem.Assign* methods, deprecate coresponding wx.SizerItem.Set* methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:25:19 +00:00
Robin Dunn
030e504664 remove some problem commas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:24:35 +00:00
Robin Dunn
d029969fcc Primary selection stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:23:35 +00:00
Robin Dunn
c5a8bc105c fix test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:21:35 +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
828ed945a7 Gizmos has been moved to wxCode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 21:19:13 +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