Commit Graph

3041 Commits

Author SHA1 Message Date
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
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
6802574779 more size_t --> unsigned int changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:13:33 +00:00
Robin Dunn
5bd24f7242 Make WXK*PRIOR and WXK*NEXT be aliases for WXK*PAGEUP and WXK*PAGEDOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 04:14:29 +00:00
Robin Dunn
50f151d726 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:52:48 +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
a62df55f4d Need to use wizard.GetPageAreaSizer().Add(page) now to get the layout
handled correctly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:13:59 +00:00
Robin Dunn
cdd7b180fe wxFileSystemHandler needs a destructor and to give ownership to wxFileSystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:12:12 +00:00
Robin Dunn
2fbb702ba3 Length --> length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:10:48 +00:00
Robin Dunn
3f5ec80664 Several instances of int --> unsigned int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 00:08:45 +00:00
Robin Dunn
6cfc5ebfa7 no longer need reverse renamers for the *Ptr classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 15:56:22 +00:00
Robin Dunn
f52cbe909c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:26:35 +00:00
Robin Dunn
607a3fa066 Editors, Renderers and Attrs need to have a destructor so SWIG won't
complain about it, but since they are protected in C++ we need to give
them a dummy one.  In the future these shoud be changed to use
%ref/%unref and let SWIG manage the refcount for us.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 18:02:37 +00:00
Robin Dunn
ce1522a1f2 Use the static method instead of the global alias
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-20 17:56:42 +00:00
Robin Dunn
80b6bf7c7c A bit of cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:22:08 +00:00
Robin Dunn
ac288fac82 docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:17:43 +00:00