Commit Graph

374 Commits

Author SHA1 Message Date
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
Roman Rolinsky
96bfe7feee fix for empty value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:48:00 +00:00
Roman Rolinsky
b3d78b0cc5 fix for non-utf-8 character support in 'content'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:04:37 +00:00
Roman Rolinsky
e484fddf08 hopefully this will fix some encoding problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:01:42 +00:00
Roman Rolinsky
e98e706227 debug is not defined here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 16:00:54 +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
dc690d951f wx.HIDE_READONLY is gone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 22:45:55 +00:00
Robin Dunn
10383fe27b Allow for non-ascii text in resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 19:20:45 +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
0fe9c32957 Make it possible for pywxrc to generate just the gettext _() strings
with no other code, and also make it possible to process more than one
XRC file at once into a single output module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 04:49:07 +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
29a41103aa Ported XRCed to the wx namespace, and also enabled the selected,
focus, and disabled bitmaps of wxBitmapButton to actually be treated
like bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:57:57 +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
2240b1aa74 Make the app object be global in case it is run multiple times, such
as from encode_bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-10 23:22:27 +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
7e05216cce Patch from Eli Golovinsky. Adds generation of _() code for gettext
and other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-03 01:47:57 +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
Roman Rolinsky
0cbb7d59d4 added TreeCtrl.WindowIndex method for skipping items like MenuBar
when counting window children


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:13:51 +00:00
Robin Dunn
73b2a9a749 First pass at integrating a code generator in XRCed. Initial patch
from Eli Golovinsky, with lots of additional mods by me.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 06:17:11 +00:00
Robin Dunn
a2234452a7 wxNotebookSizer is gone now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 19:24:39 +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
Roman Rolinsky
20002db0f8 implemented locating objects in gridbag sizer,
expanding tree to show selected object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 17:36:21 +00:00
Roman Rolinsky
28e65e0fa0 Second fix for Copy/Paste (using expat.native_encoding property).
Added cellpos,cellspan properties for Spacer in GridBag sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:55:17 +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
Roman Rolinsky
ecc19da767 version 0.1.7-3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:39:07 +00:00
Roman Rolinsky
9932837291 ignore wrong colour spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:38:20 +00:00
Roman Rolinsky
ebaaf8f630 fix for copy/paste to work with i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:36: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
f65bb0f8ab * wx.Panel doesn't have a SetTitle anymore. What was this used for
anyway?

* Allow  wxMenuBar to be created inside a wxFrame

* More robust clipboard handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:49:58 +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
Robin Dunn
c15cc56f2d Make the 'this' attribute a real attribute of the Facade, not a
viritual one.  This is needed because of some SWIG optimizations that
will skip using getattr to find the 'this'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:19:25 +00:00
Robin Dunn
b0429a4019 Publisher is now able to parse a dotted notation string
into a topic tuple.  For example: subscribing to "timer.clock.seconds"
is the same as subscribing to ("timer", "clock", "seconds").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:17:20 +00:00
Robin Dunn
b30b49e993 Workaround the lack of a wx.EVT_FIND_CLOSE on Windows when doing a
normal search.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:14:24 +00:00
Robin Dunn
e773f79b19 Allow clearing the history, and saving the history on demand
Let the session tab show all of the history
Fix case-sensitive searches to actually allow case-insensitive
Make wx.WXK_NUMPAD_ENTER equivalent to wx.WXK_RETURN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:21:26 +00:00
Robin Dunn
df75c66c35 Give attribution to Jorgen Bodde
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:08:06 +00:00
Roman Rolinsky
0159bfd008 corrected positioning of internal panels, as the default value -1
was used as a real coordinate causing extra pixels in the right margin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 14:23:48 +00:00
Robin Dunn
1ad0de842d Treat Ctrl-Shift-Backspace the same as ESC in the shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:41:10 +00:00