Commit Graph

88 Commits

Author SHA1 Message Date
Robin Dunn
a1a43473a6 Added a typemap that converts strings to wxColour objects either using
the colour name or a string of the format #RRGGBB

Started the wxStyledTextCtrl Python demos

Other assorted tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-20 07:37:58 +00:00
Robin Dunn
50963011c2 updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 06:25:47 +00:00
Robin Dunn
9bf69b7bb5 more changes to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-17 04:25:48 +00:00
Robin Dunn
02d3522ba6 More ActiveX stuff. Can now automatically catch callbacks (events) from the
COM object.  I actually create a new class on the fly that derives
from wxWindow, the COM CoClass and others needed to make it all work.
The resulting class can be instantiated just like wxWindow, used in
sizers, etc.  It also responds to all COM method calls, properties, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-13 08:17:58 +00:00
Robin Dunn
aaca0586f2 FileBrowseButton now has history, updated demo
Added ActiveXWrapper and demos.  It can't do callback events yet, but
I'm working on it.  Can curently embed a control and make method calls
to it.

Updated the wxCalendar (python version)  and it's demo.  It now has
printing support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-12 03:06:57 +00:00
Robin Dunn
87b389965c More grid demos and some bugs fixed
Made (virtual method) callbacks into Python code more safe, and
removed the confusion if there was a matching method in the base
class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-08 08:11:20 +00:00
Robin Dunn
787b465cf0 Lots of little changes.
Added wrappers for the new wxGrid, and beginings of the demo of it.
Changed version number


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-05 18:29:28 +00:00
Robin Dunn
48ed8556ac First pass on STC wrappers
Lots of little fixes, tweaks, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-26 02:39:21 +00:00
Robin Dunn
7ff49f0c73 More updates.
Began splitting up wxEntry so wxPython can use the bits it needs
instead of copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:24:00 +00:00
Robin Dunn
4c9993c3c7 updates to correct build errors (new locations, etc.)
minor bug fixes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 03:20:42 +00:00
Robin Dunn
dcd386834a Added wrapper for wxListCtrl.SortItems. Added column sorting to the
demo to show how to use it.

Other fixes and updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:05:41 +00:00
Robin Dunn
714d23b44b Some minor updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 05:57:16 +00:00
Robin Dunn
854862f58d Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:01:58 +00:00
Robin Dunn
164b735b71 Fixed thread state problem in wxTreeCtrl.GetBoundingBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 00:29:38 +00:00
Robin Dunn
990416e0bd minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 06:37:06 +00:00
Robin Dunn
e02c03a42e some fixes and code regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 21:36:20 +00:00
Robin Dunn
0c3d4bfdcf workaround font data bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 20:29:11 +00:00
Robin Dunn
eec92d76f8 Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:07:04 +00:00
Robin Dunn
8e425133fb Various odds and ends, minor fixes, and cleanups...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 06:58:56 +00:00
Robin Dunn
a1df7a9526 small fixes and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 09:09:50 +00:00
Robin Dunn
b7e7242718 wxFloatbar fixes
other odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:58:23 +00:00
Robin Dunn
f2a497dcf9 Made wxEditor constructor args consistent with other window classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:30:51 +00:00
Robin Dunn
f0b0b7d4b8 Fixes to avoid an endless event looping for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:26:21 +00:00
Robin Dunn
1b55cabf50 Added wxEditor from Dirc Holtwic
Some tweaks and fixes
Some distrib updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 08:29:02 +00:00
Robin Dunn
54b9688254 Enabling the use of masks for wxGTK in some of the demos
wxWindow.GetHandle returns the X-Window instead of the GtkWidget
pointer so the X-Window can be given to other Python modules such as
VTK.

wxPython.lib.vtk updated to get the window handle at widget creation
instead of in the constructor.

other updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:10:32 +00:00
Robin Dunn
3af4e610b1 Added some missing EVT_ functions
Fixes to wxPython.lib.wxCalendar for new toolbar and region code
other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 20:07:27 +00:00
Robin Dunn
d2103cf2e2 Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
is better and compatible with the wxGLCanvas.  You can get it at
http://starship.python.net:9673/crew/da/Code/PyOpenGL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:44:29 +00:00
Robin Dunn
9c00cfa3e5 Wrapper updates for wxHtmlLinkInfo and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 03:28:55 +00:00
Robin Dunn
f17fee68ea A bugfix in the wxTreeCtrl.GetItem wrapper
Some test/demo modifications and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 22:43:59 +00:00
Robin Dunn
9b3d3bc44b New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:05:08 +00:00
Robin Dunn
5bff6bb8ea Fixes for differences between wxMSW and wxGTK`
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:46:19 +00:00
Robin Dunn
78385733e7 Some GenButton enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 06:38:17 +00:00
Robin Dunn
fbff5d1ba5 One more quickie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 08:09:25 +00:00
Robin Dunn
6999b0d8e9 Added rotated text support
Added Some generic button and toggle button classes
Lots of little fixes, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 07:59:23 +00:00
Robin Dunn
5ed3dab261 bitmap mask tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 18:20:01 +00:00
Robin Dunn
5d1bd85974 Testing wxListBox.Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:36:47 +00:00
Robin Dunn
a6ad3e89c6 Various small fixes and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:23:57 +00:00
Robin Dunn
694759cfeb Bug fixes, new tests and demos, new generated source...
Added FileBrowseButton class to the library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:08:14 +00:00
Robin Dunn
899493dd61 Added some test code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:03:09 +00:00
Robin Dunn
2baa7b0cda fixing binary again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:25:43 +00:00
Robin Dunn
dafb483b3a Fixed bug in DnD. wxDragSource will now delete itself when done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 03:37:01 +00:00
Robin Dunn
06d2a9e76e here it is again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:17:21 +00:00
Robin Dunn
7812795ed3 forgot to add the image with binary flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:16:32 +00:00
Robin Dunn
9fb56e0cbc Added SplashScreen class from Mike Fletcher and use it in the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:15:12 +00:00
Robin Dunn
e395c057a3 updated wxMVCTree, VTK, and the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 05:34:40 +00:00
Robin Dunn
6230a84fdc more tweaks for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 07:33:29 +00:00
Robin Dunn
e19b716460 Added a demo showing how to use wxPostEvent
Added an MVCTree contribution
Some final tweaks for this release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:52:53 +00:00
Robin Dunn
e0473f5f5a Tweaking some of the new wxPython stuff for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 22:47:12 +00:00
Robin Dunn
944930d5f5 Added calendar contributed by Lorne White
Some tweaks for wxFloatbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 08:03:29 +00:00
Robin Dunn
be2577e4e6 wxSizer patches by Alexander Smishlajev <als@turnhere.com>
Adds some wxALIGN_* flags to increase ability to position item
    within its allotted space.

    Adds wxSHAPED flag that enforces proportional resizing on growable
    items.

    Adds a sample and updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 23:02:41 +00:00