Commit Graph

276 Commits

Author SHA1 Message Date
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
Robin Dunn
5079d4eb41 Patch for [ 1489711 ] analogclock hour hand sticks on 12:00 noon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 16:36:55 +00:00
Robin Dunn
38d4ee871b always make a buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-12 17:58:10 +00:00
Robin Dunn
9f4cc34f37 some docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 00:13:05 +00:00
Robin Dunn
35d8bffe01 MaskedEdit patch from Will Sadkin:
- Added handling for WXK_DELETE and WXK_INSERT, such that shift-delete
   cuts, shift-insert pastes, and ctrl-insert copies.
 - Fixed masked.numctrl to allow space for a group char, as this format is
   apparently used in several world locales.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-10 22:13:54 +00:00
Robin Dunn
fad1650360 Using buffered drawing won't let the themed background show through,
so use an ordinary wx.PaintDC instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 19:59:06 +00:00
Robin Dunn
04c4117bb7 fix scope of setting self.files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 19:12:13 +00:00
Robin Dunn
991e49b62a No need to use 2-phase create of the text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 15:52:06 +00:00
Robin Dunn
069eeb1772 colSortFlag shoudl be an int, not a Boolean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-02 03:44:25 +00:00
Robin Dunn
f4102f1735 wx.lib.mixins.listctrl.TextEditMixin: Fixed the double END_LABEL_EDIT
event problem in TextEditMixin by checking if the editor was already
hidden before continuing with the CloseEditor method.  Also added code
to OpenEditor to send the BEGIN_LABEL_EDIT event and to not allow the
opening of the editor to continue if the event handler doesn't allow
it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 15:41:53 +00:00
Robin Dunn
b8aab4d28d memory dc must have bitmap selected into it before it can be used for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:57:30 +00:00
Robin Dunn
4dca6329b1 wxMessageBox --> wx.MessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 23:14:49 +00:00
Robin Dunn
9c5c87674a Added SetSashPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-15 14:58:36 +00:00
Robin Dunn
b14b1312ac fix a typo causing the wrong method to be called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 19:09:04 +00:00
Robin Dunn
4e20fcc551 Ensure the button still exists after the Notify before doing anything
with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:18:25 +00:00
Robin Dunn
aca310e5cc DocView and ActiveGrid IDE updates from Morgan Hua:
New Features: In Tab-View mode, Ctrl-number will take the user to
    the numbered tab view.  Modified files now show an '*' astrisk in
    the view title.  Debugger framework can now support PHP debugging.
    Not important for python development, but at least that means the
    debugger framework is more generalized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:26:03 +00:00
Robin Dunn
639158366c Some minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:59:14 +00:00
Robin Dunn
4725f47eb2 Various wxHtml updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:30:35 +00:00
Robin Dunn
0cdd86d6d0 wx.lib.pubsub updates from Oliver Schoenborn:
- the hash problem re non-hashable objects
    - now supports listeners that use *args as an argument
      (listener(*args) was not passing the validity test)
    - corrected some mistakes in documentation
    - added some clarifications (hopefully useful for first time
      users)
    - changed the way singleton is implemented since old way prevented
      pydoc etc from extracting docs for Publisher


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 01:15:20 +00:00
Robin Dunn
2f643d0600 Force a full refresh when the focus changes so the bitmap button will
redraw its label if needed.  Also give defaults to more of the ctor parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 00:12:11 +00:00
Robin Dunn
b82f68a95b Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:33:01 +00:00
Robin Dunn
8948306f78 Fixed problem in wx.lib.splitter when used on 64-bit platforms. Used
the current length of the list for specifying an append instead of
sys.maxint.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:19:34 +00:00
Robin Dunn
ccd34c944d Need to tell which object to Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:41:47 +00:00
Robin Dunn
de2a042405 avoid assert in wxMac port, only change the font point size when we
are going to be using it in objects that need to draw text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:20:48 +00:00
Robin Dunn
9c6e3c5714 Use self.GetCanvas() instead of just self.GetCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:14:46 +00:00
Robin Dunn
71caeaf3c0 Add scrollbars when the plot is zoomed in, and also the ability to
grab a zoomed plot and move it around with a mouse drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:45:37 +00:00
Robin Dunn
23a023642c Added CheckListCtrlMixin from Bruce Who
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:22:53 +00:00
Robin Dunn
caeac82e4d Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:17:54 +00:00
Robin Dunn
a6cb8040a8 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:29:52 +00:00
Robin Dunn
b0d45269cc Applied patch #1441370: lib.plot - allow passing in wx.Colour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:44:48 +00:00