Commit Graph

3024 Commits

Author SHA1 Message Date
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
Robin Dunn
6cedc146fa Add wxHelpProvider destructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 02:16:08 +00:00
Robin Dunn
f70ec5b8f7 Demonstrate setting metal appearance for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 22:17:39 +00:00
Mart Raudsepp
a9c876c0b0 Test wxPython CIA announcement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 12:19:16 +00:00
Robin Dunn
1c47620268 New source dirs that need installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:45 +00:00
Robin Dunn
0ae3258d7a SWIG 1.3.29 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-18 01:03:08 +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
David Surovell
611ac06b89 cleanup - fixed a warning, some typos, and made minor reformatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 04:09:10 +00:00
Robin Dunn
3abaf18160 The dummy wxDisplay class is no longer needed as there is now always a
wxDisplay class available, but it has limiited functionality if
wxUSE_DISPLAY is zero.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 01:30:21 +00:00
Robin Dunn
8f146d6b11 updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:54:51 +00:00
Robin Dunn
90ab4a358c Add GetClientArea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 00:50:33 +00:00
Robin Dunn
1c71765a15 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:41:43 +00:00
Robin Dunn
75219dcb68 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:24:27 +00:00
Robin Dunn
3c31306c74 Docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 23:22:10 +00:00
Robin Dunn
8072477d51 Enable OnDrawSeparator and OnDrawBackground to be overridable in wx.HtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-16 02:30:42 +00:00
Robin Dunn
d0bc88b82a Added some overview text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:27:11 +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