Commit Graph

539 Commits

Author SHA1 Message Date
Robin Dunn
0b0849b5a5 Forward port recent changes on the 2.8 branch to HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-16 23:39:42 +00:00
Roman Rolinsky
4427147544 - undo/redo fixes for moving and cut/paste;
- compatibility check for non-container controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 12:24:44 +00:00
Roman Rolinsky
a297dec681 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-14 10:24:38 +00:00
Roman Rolinsky
8ecb322ecb final touch for icons - transparency handled by ArtProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:24:30 +00:00
Roman Rolinsky
690a4c0a9b use Tango icons on MAC & MSW;
process UPDATE_UI for move and refresh buttons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:31:05 +00:00
Roman Rolinsky
38f43f0246 tango-compliant icons (first try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:28:58 +00:00
Roman Rolinsky
8329541967 using Tango icons on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:28:14 +00:00
Roman Rolinsky
52e75e6a80 tango icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 18:26:44 +00:00
Roman Rolinsky
fa64a0c396 * bugfixes for tree move operations and undo/redo
* Mac LnF ameliorations
* some sizing/spacing changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 22:25:57 +00:00
Roman Rolinsky
2702a0c1bf iconization of the properties window together with the main to
fix blocking on wxGTK;

do not put Open/Save/... toolbar icons on Mac - they are ugly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:10:53 +00:00
Roman Rolinsky
1feeb78361 Yield causes premature redrawing of the test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-07 20:08:19 +00:00
Roman Rolinsky
62602fbd53 test needed for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 13:36:59 +00:00
Roman Rolinsky
9e20825c53 Various fixes and improvements to get look-and-feel similar across
different platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 23:34:59 +00:00
Roman Rolinsky
610e05a433 fix for testing if a property is in allParams - it must be a sequence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 07:35:01 +00:00
Roman Rolinsky
fdfebc6ac2 style required on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:13:51 +00:00
Roman Rolinsky
0d2cd276cc optimized highlighting to reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 22:10:52 +00:00
Roman Rolinsky
c3793e4660 set drop target on panel if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 23:43:48 +00:00
Roman Rolinsky
ed650677e1 drag-and-drop with left button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 15:48:42 +00:00
Roman Rolinsky
42a505eae0 moved setting itemColour to XML_Tree.Clean where it belongs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 08:31:19 +00:00
Robin Dunn
0433abb04f Another fix for: AttributeError: 'XML_Tree' object has no attribute 'itemColour'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-29 00:05:34 +00:00
Robin Dunn
09a68e8818 Ensure there is a g.testWin before trying to use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 22:13:31 +00:00
Roman Rolinsky
b67bca8c6b drop highlight color fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:33:54 +00:00
Roman Rolinsky
2fe1143153 fixes to move-around methods related to current selection highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:24:57 +00:00
Roman Rolinsky
a7d8ec1e42 cursor image type fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 20:19:56 +00:00
Roman Rolinsky
2755491049 test prevented to update encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 20:32:14 +00:00
Roman Rolinsky
a0477b5a2b final revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:55:10 +00:00
Roman Rolinsky
375e3718e8 some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:54:29 +00:00
Roman Rolinsky
e5b889c91e drag-and-drop highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:53:32 +00:00
Roman Rolinsky
c08eb1d348 more param renaming, some sizing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:52:15 +00:00
Roman Rolinsky
5c82ed90df drag-and-drop adding of controls to test window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:51:14 +00:00
Roman Rolinsky
da7d0696d1 set labels for new controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:48:12 +00:00
Roman Rolinsky
1b701a43b8 specify order of radios in prefs dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:42:52 +00:00
Roman Rolinsky
04fc5ddd16 made main toolbar bitmaps 24x24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 19:33:38 +00:00
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