Commit Graph

3056 Commits

Author SHA1 Message Date
Robin Dunn
6af7d1bdb7 3 parameter wx.ImageList.Replace is now available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:01:51 +00:00
Robin Dunn
9034710113 Main now takes a list of args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:51 +00:00
Robin Dunn
07e3a44f88 DrawCheckButton -- > DrawCheckBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 02:00:13 +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
dd70f7a2ad some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-30 05:18:44 +00:00
Robin Dunn
181568ed64 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@38853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 06:34:04 +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
da91cb0fd1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 00:22:55 +00:00
Robin Dunn
50efceee4e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 23:00:39 +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
e48f0e09bf Add AppendSubMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:56 +00:00
Robin Dunn
1412e528f8 Removed GetVisible and SetVisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:24 +00:00
Robin Dunn
e0de65e8b8 Added wx.RendererNative.DrawCheckButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:55:25 +00:00
Robin Dunn
46992103a3 Added wx.StandardPaths.GetDocumentsDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:54:14 +00:00
Robin Dunn
99a001dd43 Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
are initialized.  They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.)  This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Robin Dunn
e9d6f3a473 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 07:30:59 +00:00
Robin Dunn
c072c75701 Give wxDataObjectComposite a way to report what kind of data was given
to it from the clipboard or DnD source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:35:08 +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
de871c916e Add wxButtonToolBar, but since it is currently only enabled for Mac
leave it #if'd out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:15:56 +00:00
Robin Dunn
2890ca155b Remove wxHVScrolledWindow wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:06:41 +00:00
Robin Dunn
1564807335 Wrap some deprecation wrappers around newly deprecated items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:02:59 +00:00
Robin Dunn
e6f85a8554 Add some missing wxPyBeginBlockThreads calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 04:29:30 +00:00
Robin Dunn
2d6a2f1d78 Add wxST_DOTS_MIDDLE and wxST_DOTS_END constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:43:37 +00:00
Robin Dunn
ffb4a474d3 Acquire the GIL in GetSelections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 01:18:23 +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
David Surovell
1dc0f664d7 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 08:04:13 +00:00
Robin Dunn
c5ce3dfb1e Added CmdDown() to grid events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 00:15:04 +00:00
Robin Dunn
284ee6c3da Give wx.GridTableBase a destructor, and clear the ownership when it is
passed to SetTable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 21:49:20 +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
fdcbb1ce01 Minor tweaks to bring up to date with CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:35:05 +00:00
Robin Dunn
dd8659cac6 Update with 2.6.3.2 info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 02:34:10 +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
985eb16c7b EVT_TEXT_ENTER handler on a combobox needs evt.Skip() otherwise the
dropdown may not close


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:29:14 +00:00
Robin Dunn
1fce4e9668 Fixed the equality and inequality operators for some of the basic
data types (wx.Point, wx.Size, wx.Colour, etc.) to no longer raise a
TypeError if the compared object is not compatible, but to just return
a boolean as expected.  For example::

	  wx.Colour(64,0,64) == 123      ==> False


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:29:39 +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
faca2e452f Fixed reference leak in wx.gizmos.TreeListCtrl.GetSelections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:38:38 +00:00
Robin Dunn
b8c4ab9cbc Added GetResourcesDir and GetLocalizedResourcesDir to
wx.StandardPaths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-29 02:34:00 +00:00
Robin Dunn
70b5f65e55 Some tweaks to build hosts and tasks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:25:30 +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
3640e087dd Updated 2.6.3.0's CHANGES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:19:18 +00:00
Robin Dunn
a9d06ca68a install the analogclock package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:16:49 +00:00