Commit Graph

3991 Commits

Author SHA1 Message Date
Robin Dunn
dad1c9b9ae rename new image, add to encode_bitmaps.py
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:28:01 +00:00
Kevin Ollivier
d330c453a5 Don't highlight the active pane, and add source png for the custom control to the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 15:08:33 +00:00
Robin Dunn
38d5d92565 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:46:17 +00:00
Robin Dunn
321f7d7394 Don't allow AUI flaotables by default and remove the Options menu
since it is mostly about AUI stuff.

Change the tree icon when there is user-modified code.

Save and restore the current item and the expansion state when
rebuilding the tree.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 07:42:16 +00:00
Robin Dunn
36def90d09 The handlers for EVT_CLOSE and EVT_MENU(wx.ID_EXIT) should not be the same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:22:27 +00:00
Robin Dunn
2afefd2523 Mention the actual version of TreeMixin we are using
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:18:38 +00:00
Robin Dunn
45d023b7d2 fix default styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 23:17:59 +00:00
Robin Dunn
1ac4f9d97b Add a few more tips for the tip window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:59:06 +00:00
Robin Dunn
824b3e0ab8 Use a wx.FileConfig to store options, and use wx.StandardPaths to know
where to put it.  Also use this dir for the cache of modified sample
files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 22:58:44 +00:00
Robin Dunn
a369962eda Bail out of SetTreeModified if not using the CustomTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 21:17:38 +00:00
Robin Dunn
2440002b75 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:52:43 +00:00
Robin Dunn
b4e7d19cea reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:51:28 +00:00
Robin Dunn
718170fcde backport more icon changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 03:50:13 +00:00
Robin Dunn
66b9271785 More icon changes (backport),
process UPDATE_UI for move and refresh buttons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Bryan Petty
39406bda13 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@45908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:46:57 +00:00
Robin Dunn
98c16c304e no need to import customtreectrl here,
switch to """ instead of '''


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:30 +00:00
Robin Dunn
a329847b07 Need to UnInit the AuiManager when closing the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:37:02 +00:00
Robin Dunn
52f1f72876 Need the sound flags for the !wxUSE_SOUND case too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:36:40 +00:00
Robin Dunn
8e5daaa57c Use native wx.TreeCtrl by default, but make it easy to switch back to
CustomTreeCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-09 00:35:57 +00:00
Robin Dunn
1ee028bf83 some new icons for XRCed (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Bryan Petty
4a71e14016 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@45899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:47:37 +00:00
Robin Dunn
2405814403 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:42:31 +00:00
Robin Dunn
04b3d5e844 Andrea's patch (plus some changes of my own) to add icons and other
features to the demo's main frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:36:58 +00:00
Robin Dunn
2033f5ec6a A bit of cleanup, use a lighter shade of grey for the default pen, use
the base class HasFlag, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:09:21 +00:00
Robin Dunn
5ff565de94 delete the AuiManager before destroying the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:51:21 +00:00
Robin Dunn
9e47df4fba fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:36 +00:00
Robin Dunn
f24fd27a8e Workaround corner case where a widget can have a containing sizer, but
no sizer item.  (The static box in a StaticBoxSizer)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:50:15 +00:00
Robin Dunn
d67347f960 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 17:49:25 +00:00
Robin Dunn
422771b89d select the parent or the root if the current/selected item is one
being deleted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:50:20 +00:00
Robin Dunn
770b865b66 add a Py 2.5 build on OSX 10.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:48:37 +00:00
Robin Dunn
d637430584 test app for TLW transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:46:23 +00:00
Robin Dunn
6b4b24eee9 Avoid using wx.ClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:48 +00:00
Robin Dunn
551c802495 Adapt to ProgressDialog.Update change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:44:04 +00:00
Robin Dunn
1130e951de docstring fixEnsure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:42:20 +00:00
Robin Dunn
0d7fe3edac Ensure that wnd is not None before calling Hide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:41:40 +00:00
Robin Dunn
fed4b83921 SetFont fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:40:07 +00:00
Robin Dunn
03c88f6092 more backports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 02:34:23 +00:00
Robin Dunn
161fe81e73 Doc and version update from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:02:14 +00:00
Robin Dunn
e057fb3454 Backport: Various fixes and improvements to get look-and-feel similar across
different platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 01:01:08 +00:00
Robin Dunn
17adffb5e9 update generated doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:47:51 +00:00
Robin Dunn
310ed6a345 Correct import
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:46:45 +00:00
Robin Dunn
c0aa162dcd add floatcanvas/Utilities subpackage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:46:00 +00:00
Robin Dunn
972a78b5b5 Suppress log message, work around deprecation warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:45:02 +00:00
Robin Dunn
8c9f00aaa3 backport more fixes from HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 17:01:32 +00:00
Robin Dunn
8764117f28 Fixes from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 04:46:44 +00:00
Robin Dunn
58bcd368ff Rephrase the text about the new XRCed feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:13:45 +00:00
Robin Dunn
c9e1d317b1 Fix to previous masked.TextCtrl change, to ensure inheritance chain
for derived controls isn't broken by new .ChangeValue() support in
base control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 21:12:28 +00:00
Robin Dunn
a3c484e025 Mention today's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:14:11 +00:00
Robin Dunn
7dc46e9d9e Patch #1710943, Fix a bug in pywxrc script for "MenuBar" and "Menu"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 06:12:06 +00:00
Robin Dunn
5ae04a0c4e Updates to MaskedEdit controls from Will Sadkin:
maskededit.py:
    Added parameter option stopFieldChangeIfInvalid, which can be used to
    relax the validation rules for a control, but make best efforts to stop
    navigation out of that field should its current value be invalid.  Note:
    this does not prevent the value from remaining invalid if focus for the
    control is lost, via mousing etc.

  numctrl.py, demo / MaskedNumCtrl.py:
    In response to user request, added limitOnFieldChange feature, so that
    out-of-bounds values can be temporarily added to the control, but should
    navigation be attempted out of an invalid field, it will not navigate,
    and if focus is lost on a control so limited with an invalid value, it
    will change the value to the nearest bound.

  combobox.py:
    Added handler for EVT_COMBOBOX to address apparently inconsistent behavior
    of control when the dropdown control is used to do a selection.

  textctrl.py
    Added support for ChangeValue() function, similar to that of the base
    control, added in wxPython 2.7.1.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 05:23:01 +00:00