Commit Graph

3917 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
da9714b5c8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:27:13 +00:00
Robin Dunn
a7c987f91e Tweaks needed to update to current CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 23:24:56 +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
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