Commit Graph

305 Commits

Author SHA1 Message Date
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
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
a3cee65ed4 Use GetKeyCode() instead of KeyCode()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:09:27 +00:00
Robin Dunn
49e0b673c3 Update from Frank with fixes for running on wxMSW 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:14:57 +00:00
Robin Dunn
f77c79d049 Added wx.lib.dragscroller from Riaan Booysen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-06 04:18:36 +00:00
Robin Dunn
6e28ff0ce7 Give PlotCanvas the full compliment of constructor parameters again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:59:24 +00:00
Robin Dunn
9f54c187b0 Patch #1547057: Disable grid lines in wx.lib.printout.PrintTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:15:40 +00:00
Robin Dunn
8c29915355 Patch from Will Sadkin:
- Fixed masked.numctrl to properly limit integer controls, and
   also handle '-.00' properly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:13:58 +00:00
Robin Dunn
4f708f05dc Added wx.lib.combotreebox from Frank Niessink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:32:48 +00:00
Robin Dunn
d6d222febb Change Miki's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:49:34 +00:00
Robin Dunn
82184c0abf Patch #1540143 Add optional labelwidths to filebrowsebutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:16:18 +00:00
Robin Dunn
ca501b065e Use global font and pen to reduce GDI objects created. Patch #1540457
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 19:22:23 +00:00
Robin Dunn
f3768653d6 Docstrings and other fixes from David Hughes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 16:10:42 +00:00
Robin Dunn
e5fb6f92f1 if Acrobat is >= 7.0 then use acrobat by embedding it in a IE window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 20:58:10 +00:00
Robin Dunn
3c1f75d54a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 20:53:16 +00:00
Robin Dunn
a6c129111b Don't use a saved label size incase the size changes. Patch from Hong Yuan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:48:47 +00:00
Robin Dunn
a43dbe7260 Remove use of wxHIDE_READONLY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 22:30:12 +00:00