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
Robin Dunn
6231770f89
Patch from Andrea: fixes no page chang* events with mouse right click,
...
plus a couple of other minor issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:09:18 +00:00
Robin Dunn
122c2bae32
don't clear the tooltip unless there is one.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:41:50 +00:00
Robin Dunn
61b3549028
More updates from Andrea
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 22:41:17 +00:00
Robin Dunn
37840b8bc1
updates from Andrea, plus some fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:16 +00:00
Robin Dunn
c78a1b7649
Patch #1576397 , fix to properly render months that start on a Sunday
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 00:15:33 +00:00
Robin Dunn
f9c1b462c7
Add a utility function that can calculate word-wrap line breaks, and
...
use it in the AboutBox demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:49:43 +00:00
Robin Dunn
99ceaa26e4
some fixes in the compatibility class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:06:50 +00:00
Robin Dunn
8170f2ee3e
can put back the wx.BufferedPaintDC now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 00:15:57 +00:00
Robin Dunn
331139716c
updates from Andrea
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 23:24:40 +00:00
Robin Dunn
1c92f2983d
only need a (1,1) bitmap for measuring
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:58:05 +00:00
Robin Dunn
6a64d5510c
Give up on trying to fix all the buffered dc problems and just
...
check-in the FlatNotebook update from Andrea using self-buffering
instead of wx.BufferedPaintDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 08:35:24 +00:00
Robin Dunn
369be443aa
Don't use the window position as the x offset when painting the full
...
row highlight, always use zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:54:08 +00:00
Robin Dunn
ce7088dd4e
Give some more specific info if PyWin can't be imported when frozen in
...
a py2exe exexcutable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:51:03 +00:00
Robin Dunn
cc202d9b5e
convert unicode filename to file system encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:48:59 +00:00
Robin Dunn
0a7f54ff76
update to latest from Andrea
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:34:05 +00:00
Robin Dunn
287490fa90
default ID value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:32:08 +00:00
Robin Dunn
c8f129d067
Add CustomTreeCtrl from Andrea Gavana
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 02:23:32 +00:00
Robin Dunn
cc30c63a4c
rename the ID parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 23:21:07 +00:00
Robin Dunn
75c39820b8
some tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:54:48 +00:00
Robin Dunn
9d45af36fe
always use wxPyPanel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 00:52:29 +00:00
Robin Dunn
6cb4f153c3
Add FlatNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:24:18 +00:00
Robin Dunn
2fd34892c1
Don't use the old wxPython namespace
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:31:28 +00:00
Robin Dunn
66dae888d1
Added the wx.lib.buttonpanel module, which is a tweaked version of
...
Andrea Gavana's FancyButtonPanel module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:23:17 +00:00
Robin Dunn
e90db86e7e
Don't autosize if the height is too small. Interaction with the
...
horizontal scrollbar can sometimes cause problems in this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 20:13:15 +00:00
Robin Dunn
4123a7a9b8
Workaround some platform differences
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 17:26:23 +00:00
Robin Dunn
c7c45995e6
handle starting out with multiple lines of text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 04:58:32 +00:00
Robin Dunn
ac9d5e9574
Added wx.lib.expando, a multi-line textctrl that exands as more lines
...
are needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 04:15:20 +00:00
Robin Dunn
45c0ea45ff
Add support for aborting the worker thread
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 19:14:02 +00:00
Robin Dunn
85a94ef07b
Import numpy.oldnumeric
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-21 16:56:50 +00:00
Robin Dunn
8bbd1bbf18
Added wx.lib.delayedresult from Oliver Schoenborn.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 21:06:57 +00:00
Robin Dunn
d3e6a1f2db
Remove some testing code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 00:38:53 +00:00