Robin Dunn
7ed43ac2e8
SWIGged update for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-11-06 04:23:54 +00:00
Robin Dunn
2b3a3838ee
Added Python == and != operators for some basic classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 21:04:49 +00:00
Robin Dunn
fd512ba286
Various wxPython updates to go along with recent changes in CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:39:28 +00:00
Robin Dunn
8038a80241
SWIGged updates for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:48:24 +00:00
Robin Dunn
3de0866e8c
Compilation fixes for wxPython's wxWizard, added wxRegionFromPoints
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:35:18 +00:00
Robin Dunn
33ffdd7291
Added some rectangle based method overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 20:02:18 +00:00
Robin Dunn
3eb221f6dd
Updates related to wxID_ANY and etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:54:13 +00:00
Robin Dunn
756ed80cb8
An implementation of wxPen.GetDashes.
...
wxSplitterEvent derives from wxNotifyEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:46:10 +00:00
Robin Dunn
d394edcac8
wxDF_HTML and FloodFill interface updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:42:09 +00:00
Robin Dunn
d3bfec747d
Some little additions to how wxBufferedDC is wrapped.
...
SHow how to use the wxBufferedDC in the demo.
Other demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 01:25:47 +00:00
Robin Dunn
68bc8549d8
Move font and encoding related classes to a new module. Added
...
wxLocale and wxEncodingConverter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 18:15:21 +00:00
Robin Dunn
0e9b78ce36
Added wxIconBundle and wxTopLevelWindow.SetIcons.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:33:16 +00:00
Robin Dunn
137b5242b1
More unicode related cleanup and fixes for wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 05:50:09 +00:00
Robin Dunn
e9159fe8e8
Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
...
little fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Robin Dunn
a541c32586
Core wxPython (non-contrib) now fully works with Unicode!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:30:20 +00:00
Robin Dunn
7248a051ef
Added a wxIconFromBitmap "constructor" for wxIcon.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:04:56 +00:00
Robin Dunn
96de41c2c5
Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
...
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning. Cells with
not item assigned to it are just left blank. Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.
A few other minor changes too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +00:00
Robin Dunn
d063802fcf
more wxMac specific updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 04:18:57 +00:00
Robin Dunn
fe40185d40
Check for existing colour names when adding to wxTheColourDatabase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:44:05 +00:00
Robin Dunn
f54a35fe22
Updated the build docs a bit, added wxMetafileDataObject, and some
...
cleanup and fixes here and there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 21:03:27 +00:00
Robin Dunn
23bed52041
wxPyEmptyStr --> wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:16:16 +00:00
Robin Dunn
ce914f7319
Changes to match recent CVS updates, added demo for wxGenericDirCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 03:22:03 +00:00
Robin Dunn
68320e40cd
Added wxGenericDirCtrl and other varioius updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 04:54:19 +00:00
Robin Dunn
1893b02945
SWIGged updates for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:40:50 +00:00
Robin Dunn
6abe8375ac
SWIGged code updates for wxMAC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-06 01:14:26 +00:00
Robin Dunn
b5a5d6473c
Some updates to go with changes in current CVS.
...
Added wxSplashScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:45:33 +00:00
Robin Dunn
c594325333
Changes to ensure that GDI objects returned from Python methods are
...
copied, not just left as references. The old way was
counter-intuitive for Python.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-29 00:51:59 +00:00
Robin Dunn
2f4e928794
Changes needed to solve wxPython's OOR problem for the wxOGL shapes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 02:56:59 +00:00
Robin Dunn
05f30eecb7
Fixed a problem in the demo and plugged a potential leak in SetDashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:43:04 +00:00
Robin Dunn
98624b49d3
Various other tweaks and updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:18:00 +00:00
Robin Dunn
eedf876b34
Added wxPostscriptDC to wxPython
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:34:26 +00:00
Robin Dunn
e6056257ab
First pass at wxPython for Mac (darwin only so far). It
...
builds but doesn't run yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:08:14 +00:00
Robin Dunn
17c0e08c61
fixes for the wxPre* helpers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:23:04 +00:00
Robin Dunn
76e280e796
reference count bugs in DrawXXXList fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:30:53 +00:00
Robin Dunn
9d37f96428
Added some optimization methods to wxPython's wxDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:06:09 +00:00
Robin Dunn
ecc08ead91
Various updates, changes for wxTopLevelWindow, fixes for
...
wxPen.SetDashes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:11:47 +00:00
Robin Dunn
6ee2116be1
bug #463146
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 16:32:33 +00:00
Robin Dunn
19a97bd6f9
Significantly changed how the Python interpreter lock and thread state
...
are managed, which should fix the problem of running on a
multi-processor machine.
Some fixes for some of the contributed library modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 01:51:13 +00:00
Robin Dunn
6d8b4f8d2b
Added wxNativeFontInfo and wxFontMapper.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 05:00:15 +00:00
Robin Dunn
c7e7022c2c
Deprecated PyShell and PyShellWindow, added a snapshot of PyCrust.
...
Added the new virtual list capabilities to wxListCtrl.
Other odds and ends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 19:19:48 +00:00
Robin Dunn
d56cebe7a4
Added ability to use xml resource files. Still need to add ability to
...
subclass wxXmlResourceHandler, etc...
Added wxGridAutoEditMixin to the mixins library package.
Made ColourSelect be derived from wxButton.
Fixed a few bugs here and there, added some missing methods, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 21:43:26 +00:00
Robin Dunn
25832b3f2b
changed version number
...
A few final twaeks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 05:59:09 +00:00
Robin Dunn
9416aa89ca
Implemented the first phase of OOR (Original Object Return). See the
...
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can. By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before. This should
reduce or eliminiate the need for wxPyTypeCast. (Woo Hoo!) The
objects returned are still not the original Python object, but that is
the next step. (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)
A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 22:47:09 +00:00
Robin Dunn
926bb76c2a
Some tweaks and cleanup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 18:37:26 +00:00
Robin Dunn
0a651eb856
A few changes to match header changes and let wxPython compile again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-20 00:36:03 +00:00
Robin Dunn
96bfd05319
Images can now be embedded in Python source files.
...
Added tools to do the embedding.
Added Constructors/methods where needed.
Updated the demo to use mostly embedded images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 19:36:36 +00:00
Robin Dunn
0569df0fc9
Changed wxFont, wxPen, wxBrush to not implicitly use the wxTheXXXList
...
behind the scenes, but to use normal ctor and dtors.
Exposed the wxTheXXXLists to wxPython.
Also wxTheColourDatabase and added a library module to load LOTS more
colour names into the colour database.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-14 08:05:03 +00:00
Robin Dunn
1b62f00d8e
Copied/merged from the 2.2 branch.
...
Changes needed to build with new event system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-16 08:19:50 +00:00
Robin Dunn
b68dc582b8
More cleanup. Removed all wxPyDefaultXXX since they aren't needed any
...
more. Regenerated wxGTK code from this morning's changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-22 06:51:21 +00:00
Robin Dunn
de20db997d
Fixed a bunch of leaking references in how the callbacks deal with
...
objects. Should be MUCH better now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 08:37:52 +00:00