Commit Graph

483 Commits

Author SHA1 Message Date
Roman Rolinsky
4ecdf8fc40 Ctrl-H must not be used on Mac...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 01:16:48 +00:00
Roman Rolinsky
e2dc45d8f1 0.1.8-4
-------

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 13:12:44 +00:00
Roman Rolinsky
538a0c0de2 0.1.8-3
-------

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 15:49:35 +00:00
Roman Rolinsky
7df24e7868 0.1.8-2
-------

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/trunk@44630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 14:45:12 +00:00
Roman Rolinsky
b03466749c 1.8-1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:51 +00:00
Roman Rolinsky
c37cba8974 Fixed SetItemBold and editing 'growable' properties of
wxFlexGridSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 09:19:07 +00:00
Robin Dunn
3c69a2ec86 merge from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:24:56 +00:00
Roman Rolinsky
75aa19469b Version 1.8-0
New feature added from a patch submitted on sourceforge by botg:
moving of tree items.

Bugs fixed:
- ChecklistBox content editing;
- Window styles more in sync with the docs;
- Replacing items;
- Reference property page created correctly (every property is
  optional).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-06 15:40:32 +00:00
Robin Dunn
fd363e1abc Added stepColour utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 19:51:08 +00:00
Robin Dunn
65d7319f85 styles, toolbar, and other visual tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-18 21:51:41 +00:00
Robin Dunn
27587c251c The inspect module is now a widget browser plus a shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:37:12 +00:00
Robin Dunn
61071e6160 some minor tweaks to make it possible to not show the default intro text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:05:14 +00:00
Robin Dunn
3e47020738 Use the system settings for the selection colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-17 23:03:46 +00:00
Robin Dunn
302129f896 PyCrust now has an option for showing/hiding the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 19:20:32 +00:00
Robin Dunn
46831f391b Bug fix from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:51 +00:00
Robin Dunn
cfce9d35ad Just reset the size, not the minsize too, when changing the label or
font.  This is how the native static text widgets behave.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:40:30 +00:00
Robin Dunn
e1463b9df0 Patches from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:52:32 +00:00
Robin Dunn
c306c1e0f6 put wx in the shell's namespace too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-22 23:50:51 +00:00
Robin Dunn
facc1d350b wx.lib.customtreectrl patches from Andrea Gavana.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-18 23:18:07 +00:00
Robin Dunn
169f3a3d6f Added a set of button classes to wx.lib.buttons from David Hughes that
uses the native renderer to draw the button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 01:51:18 +00:00
Robin Dunn
d81ab2beb8 Use correct flags Chinese
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-08 23:46:22 +00:00
Robin Dunn
5fe636c6e2 wx.lib.masked: Patch from Will Sadkin. Includes Unicode fixes, plus
more helpful exceptions and ability to designate fields in mask
without intervening fixed characters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-05 18:57:31 +00:00
Robin Dunn
13db99f1f5 Added some modules from Riaan Booysen:
* wx.lib.flagart:  contains icons of the flags of many countries.

    * wx.lib.art.img2pyartprov: makes images embedded in a python file
      with img2py available via the wx.ArtProvider.

    * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language,
      which uses the country flag icons.

    * An I18N sample for the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-02 04:51:13 +00:00
Kevin Ollivier
d10d4362bb Native control on Mac draws its own arrows, so don't draw them ourselves in that case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:01:22 +00:00
Robin Dunn
359ed0f85c Updates from Dan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-23 02:28:03 +00:00
Vadim Zeitlin
f365323fd6 make wxGetKeyState() work for non-modifier keys; corrected some key mappings (patch 1521490)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:19:46 +00:00
Vadim Zeitlin
ea839c294e generate middle click events (backport from HEAD of the patch 1521314)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:12:51 +00:00
Robin Dunn
13542f4946 Ensure the old tree item still exists before using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:50:44 +00:00
Robin Dunn
2efbde68e9 no need to use a throw-away bitmap, just use th eone built-in to the
buffered DC instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-21 03:44:35 +00:00
Kevin Ollivier
8bc0c17afc Migate to the new wxRendererNative::DrawItemSelectionRect function where available, and fix selected text color on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 06:47:48 +00:00
Robin Dunn
41fa9bfc46 Corrected double destruction of views
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:36:54 +00:00
Robin Dunn
855dd2ecee GetNumberOfLines on GTK doesn't count wrapped lines again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 05:17:30 +00:00
Robin Dunn
05d46ba223 Patch #1591763 Set focus when clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 03:46:37 +00:00
Robin Dunn
7a0a389e19 fixed indentation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 01:47:10 +00:00
Robin Dunn
58dbf9d0a2 better check for valid font and color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 20:51:20 +00:00
Robin Dunn
edd13c9d8a Patch from F. Oliver Gathmann to observer enabled/disabled state of
the control by changing text fg color.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 22:03:45 +00:00
Robin Dunn
3793805980 Patch from Dj Gilcrease adding the FNB_HIDE_ON_SINGLE_TAB flag for
wx.lib.flatnotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:28:36 +00:00
Roman Rolinsky
88e183d769 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:52:02 +00:00
Roman Rolinsky
f53185301e withard styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 10:50:22 +00:00
Robin Dunn
eecfab1796 A patch from Frame Niessink which adds an additional style that
(un)checks a parent when all children are (un)checked,
i.e. TR_AUTO_CHECK_PARENT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 08:04:27 +00:00
Robin Dunn
6e65f80be5 Always draw the selection of selected items, not just when they have
an icon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 18:43:07 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Robin Dunn
a9b4d1ec97 Patch from Dj Gilcrease to fix gradients.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:54:23 +00:00
Robin Dunn
01732ba144 Factor the brush selection out of OnPaint so it can be overridden in
derived classes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:30:47 +00:00
Robin Dunn
2356118e69 Fixes from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:29:47 +00:00
Robin Dunn
d819fba8ae Patch #1581767: Another fix for wx.lib.calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:12:12 +00:00
Robin Dunn
9443113386 Lots of little tweaks, mostly to draw selected items better such that
they look right with the new wxMac DC, but also other general
improvements as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:07:21 +00:00
Robin Dunn
70e8e9b8f2 wxMac apparently doesn't send EVT_SHOW, so just use wx.CallAfter instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:21:21 +00:00
Robin Dunn
84752aa52a Change Refresh to Reset to avoid conflict with base class Refresh
Don't use wx.ClientDC, just draw to the bitmap when needed, and then
use Refresh for painting.  This works better on Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:20:43 +00:00
Robin Dunn
b93f7ba634 ensure that the MasedEditMixin's version of IsEmpty is the one used.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 21:38:55 +00:00