Commit Graph
406 Commits
Author SHA1 Message Date
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 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 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 1bd5559898 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:17:03 +00:00
Robin Dunn 554f62e979 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 05:06:32 +00:00
Robin Dunn 0085ce4937 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 04:18:43 +00:00
Robin Dunn 1e9bafca0f Updated to Scintilla 1.67
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 01:48:03 +00:00
Robin Dunn 760b2b99f3 Use wxSystemSetitngs for the rule color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:04:21 +00:00
Robin Dunn b1fcee843e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:13:50 +00:00
Robin Dunn 830f23c593 Remove calls to dc.BeginDrawing and dc.EndDrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 17:28:12 +00:00
David Surovell 63811cf00a removed deprecated wxDC.[Begin,End]Drawing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 09:32:05 +00:00
Robin Dunn 7e08d4efc7 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-02 02:02:04 +00:00
Robin Dunn 214c4fbea5 Changes needed to be able to build with SWIG 1.3.24, 1.3.27 as well as
the upcoming 1.3.28, using #if statements on SWIG_VERSION.

Adjustments to ownership of SWIG objects, add some destructors and
explicitly disown non-window objects when their ownership is
transfered to a C++ object.

Since all window objects are owned by their parent, or by themselves,
always set their thisown attribute to False.

Explicitly set thisown to False after any Destroy() methods are
called, so SWIG doesn't try to destroy them again.

Etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:09:45 +00:00
Robin Dunn 7bdb1bc42b fix for broken files that were recently checked in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-24 02:32:18 +00:00
Robin Dunn 7449af7300 reSWIGged with the new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 23:04:44 +00:00
Robin Dunn 32fe513144 reSWIGged with new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 23:01:54 +00:00
Robin Dunn 1069efb91a comment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 22:48:14 +00:00
Robin Dunn 6b6e73390c Fix for MSVC 6 compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 05:22:16 +00:00
Robin Dunn 17991ec034 merge #4 from 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 23:15:38 +00:00
Robin Dunn 9d7dfdff8c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:23:18 +00:00
Robin Dunn 943e8dfd02 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 19:11:14 +00:00
Kevin Ollivier 2f91e3dfd2 Fixes so that wxPython builds on 2.7. Mostly removing references to all functions that require WXWIN_2_4_COMPATIBILITY to be defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 06:57:46 +00:00
Kevin Ollivier 4136a15d56 Removing old iewin extension. Replaced by activex/wxie.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 05:37:59 +00:00
Kevin Ollivier 39fc328f03 Use TranslateAccelerator so that TAB, Return, etc. keys are properly processed by wxActiveX controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 01:42:32 +00:00
David Surovell 7ec81a8c2d fixed improper (long) casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-28 22:24:00 +00:00
Dimitri Schoolwerth 412e0d47c0 applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Mart Raudsepp 8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Robin Dunn 9c721ebf97 Unregister the object too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 21:03:59 +00:00
Robin Dunn 535ffb932a Patch from Ole André, call RegisterActiveObject() so the objects can
be retrieved from the PyWin32 modules.




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 20:45:24 +00:00
Julian Smart d69225772a Olly Betts' typo patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:29:22 +00:00
Robin Dunn 6c75a4cf0f Removed unnecessary files, removed or replaced images that we're not
sure of their origin or license.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:55:42 +00:00
Dimitri Schoolwerth 0a3d6509d4 removed redundant preprocessor check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 01:48:22 +00:00
Robin Dunn 71237536b6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:19:32 +00:00
Robin Dunn 5ba5649b59 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 18:19:21 +00:00
Robin Dunn 19f8ec0aae Fixup for docstrings being inherited instead of usign the right ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-07 07:20:51 +00:00
Robin Dunn 49bdcd64e0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 20:40:34 +00:00
Robin Dunn 2583401b90 Mark GetFrame functions as returning a new instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 20:25:41 +00:00
Robin Dunn 27fb7603d8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-20 21:47:05 +00:00
Robin Dunn a1b6e73b79 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 23:23:41 +00:00
Robin Dunn 15ad5b1f0a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 22:43:33 +00:00
Robin Dunn 3727c043a8 Allow to set a style's wxFontEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 22:30:40 +00:00
Robin Dunn 9ad7392b6a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 22:11:12 +00:00
Robin Dunn f2ccce28ad Add docstrings for wxSTC methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 21:41:28 +00:00
Robin Dunn 1ce1bd84ea Added Python methods to wxStyledTextCtrl that allow to get/set text in
UTF8 in either unicode or ansi builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 19:41:33 +00:00
Robin Dunn 66af7a7540 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 06:29:58 +00:00
Robin Dunn ba74db02e8 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 06:08:28 +00:00
Robin Dunn 02b455f2f4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 05:55:37 +00:00
Robin Dunn 7993762b11 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:44:14 +00:00
Robin Dunn 1822e713ae reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:21:46 +00:00