Commit Graph

39130 Commits

Author SHA1 Message Date
Robin Dunn
30d91f9ebc Preferences for default "sizeritem" parameters for new panels and
controls can be configured ("File">"Preferences...").

Implemented comment object for including simple one-line comments and
comment directives as tree nodes. No validation is performed for a
valid XML string so comments must not contain "-->". Comment directive
is a special comment starting with '%' character, followed by a line
of python code. It is executed using 'exec' when the resource file is
opened. This is useful to import plugin modules containing custom
handlers which are specific to the resource file, hovewer this is of
course a security hole if you use foreign XRC files. A warning is
displayed if the preference option 'ask' is selected (by default).

Added support for custom controls and plugin modules. Refer to this
wxPythonWiki for the details:
        http://wiki.wxpython.org/index.cgi/XRCed#custom

Tool panel sections can be collapsed/expanded by clicking on the
label of a tool group.

Some undo/redo and other fixes.

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

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).

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/branches/WX_2_8_BRANCH@44949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:55:26 +00:00
Bryan Petty
459fbbc100 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@44948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 17:55:26 +00:00
Robin Dunn
0996afab2e Fix docs about wx.SizerFlags.Border
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:27:10 +00:00
Robin Dunn
925723fb81 fix typo in ctor name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:05:13 +00:00
Robin Dunn
6008a5a288 New version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:03:52 +00:00
Robin Dunn
6c51117514 Update to 0.8 from Frank
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:02:51 +00:00
Robin Dunn
306a5d85e7 update the info panel when refreshing the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:48 +00:00
Robin Dunn
dc04c2d154 Patch from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:01:05 +00:00
Benjamin Williams
ac7d2adfa6 applied patch 1683441
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 14:52:48 +00:00
Chris Elliott
43b544be3d adds gtk1, which was not in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 12:50:38 +00:00
Vadim Zeitlin
5799c14012 give us wxSTAY_ON_TOP style if our parent has it, otherwise we wouldn't be visible behind it (patch 1683221)[backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 20:39:13 +00:00
Vadim Zeitlin
1c885a7afe fix XModifierKeymap memory leak (patch 1683137) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:49:06 +00:00
Vadim Zeitlin
e16c771033 updated copyright and version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 12:00:42 +00:00
Vadim Zeitlin
3af556e74e added samples/minimal/Info.plist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 11:59:13 +00:00
Vadim Zeitlin
574a10327f fix extra indentation in wxHTML_ALIGN_JUSTIFY display (patch 1565375) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:41:37 +00:00
Vadim Zeitlin
c09ab22919 output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 14:40:30 +00:00
Vadim Zeitlin
a3e7853b08 shutdown sockets gracefully instead of doing it with TCP reset (patch 1682438) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 02:15:31 +00:00
Julian Smart
25a07ef892 Further correction in case where string value is omitted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:13:14 +00:00
Vadim Zeitlin
29435411cb call GetWidth/Height() only once in Rotate() and not inside the loops (patch 1681544) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:23:07 +00:00
Julian Smart
6c4293efcc Don't send initial event in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 16:09:57 +00:00
Vadim Zeitlin
f23c26e8f7 rebaked after version change to 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:00:16 +00:00
Chris Elliott
9d467ea93d add readme.txt to files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:55:02 +00:00
Vadim Zeitlin
f78799054b regenerated after 2.8.3 version update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:44:53 +00:00
Vadim Zeitlin
d255901207 numped up revision for 2.8.3 (there have been no API changes whatsoever)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 14:35:31 +00:00
Stefan Csomor
6e05e54122 removing superfluous file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 13:57:29 +00:00
Chris Elliott
bbe61f41ec update to 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 13:02:10 +00:00
Stefan Csomor
7fef4d1ff3 library architecture for debug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:07:42 +00:00
Stefan Csomor
8e219408ed product name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:05:02 +00:00
Stefan Csomor
617c3ec30d adapting version numbers for 2.8.3, adding new file, building native arch for debug builds, adding run script for static target as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 12:02:55 +00:00
Stefan Csomor
d59b88c939 adapting version numbers for 2.8.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 10:31:35 +00:00
Chris Elliott
561e395420 update to 2.8.3 (configure and version.bkl to follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:54:05 +00:00
Julian Smart
f4c858ac7b Change log and readme/manual contents update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:45:17 +00:00
Julian Smart
953ca2aab4 Reverted changes that broke accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 09:40:24 +00:00
Vadim Zeitlin
a1ac47b927 fix GetSize() for large files (patch 1680876) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:21:59 +00:00
Vadim Zeitlin
3a5c9d1005 don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:29:43 +00:00
Benjamin Williams
6ecfa38fff prevent disappearing menus in tabmdi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 13:52:34 +00:00
Vadim Zeitlin
17865d5407 include wxUniv files in wxDFB distribution [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 12:03:26 +00:00
Vadim Zeitlin
b61fb62542 added wxSafeConvertXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 11:30:36 +00:00
Benjamin Williams
711bdb6a28 applied 1661995 (somehow this didn't get applied to the 2.8 branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 10:37:45 +00:00
Benjamin Williams
bdbaa5280d applied patch 1675101 - reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 08:38:23 +00:00
Julian Smart
0a2a5608a1 Applied patch [ 1678626 ] Non-ascii characters in wxRichTextCtrl (unicode build)
Laumingis Skripkauskas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 07:46:56 +00:00
Vadim Zeitlin
788cc3ac41 added wxSafeConvertMB2WX/WX2MB() and use them when interfacing with C functions which crash if we pass them NULL pointers [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:40:32 +00:00
Paul Cornett
5409d2ca03 fix assertions on invalid items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 23:29:26 +00:00
Julian Smart
b40735833e Fixed wrapping with tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 12:48:38 +00:00
Paul Cornett
4a2dbb5fb1 don't create new refdata unnecessarily in Unshare()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:29:49 +00:00
Vadim Zeitlin
17df84c821 include wx/utils.h in PCH-less build to ensure that we get the correct (DLL-exported) declaration of wxHandleFatalExceptions() as otherwise it was silently not exported (patch 1674514) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:24:09 +00:00
Vadim Zeitlin
a7cffe675e added wxDIRCTRL_EDIT_LABELS style support (patch 1676853) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:23:26 +00:00
Vadim Zeitlin
2f9bbd2b04 return effective dnd operation result and not the expected one (replaces patch 1677399) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:29:30 +00:00
Vadim Zeitlin
908edf446e set SO_REUSEADDR before binding for UDP sockets too (2nd part of patch 1667145) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:19:25 +00:00
Vadim Zeitlin
a185136829 allow using numpad enter key to activate the default button too (patch 1640446) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 16:08:59 +00:00