Commit Graph

522 Commits

Author SHA1 Message Date
Robin Dunn
5d26a7e65f Changes for the embedded sample to build on Linux
Swigged updates for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 06:18:39 +00:00
Robin Dunn
a24268437f Fixed the bugs preventing wxPython from being embedded in a wxWindows
app, and added a sample showing how to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 04:45:47 +00:00
Robin Dunn
f44602beb7 Removed wxVTKRenderWindow since VTK now includes a much better python
module that allows you to use VTK in a wxPython window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:49:15 +00:00
Robin Dunn
6e2129f90f Changed the name of export.h to wxPython.h so it wouldn't be so
generic.  This is the header that should be included by 3rd party
stuff that is embedding wxPython or making a new wxPython extension
module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:46:14 +00:00
Robin Dunn
3481e3efb8 wxTimer was in the wrong place in the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:27:05 +00:00
Robin Dunn
322a3817ea Removed the old patch files for swig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:26:02 +00:00
Robin Dunn
bee7191838 Ignore generated Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 02:56:48 +00:00
Robin Dunn
eb28fd4762 swigged updates for wxMac
fix for wxMac refresh problem in the demo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 02:49:37 +00:00
Robin Dunn
8381e4cdd3 swigged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:21:15 +00:00
Robin Dunn
237a74ba5b Switch to using a wxBufferedPaintDC, also draw/erase the focus
indicator differently to workaround double focus event problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:17:08 +00:00
Robin Dunn
0bdca46de4 Put the panel-under-htmlwindow hack back in since the problem still
happens.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:09:48 +00:00
Robin Dunn
002b1ea670 Updates for building wxSWIG on Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 20:19:23 +00:00
Robin Dunn
6ef4d8f9e6 Added execut bit for configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 20:04:19 +00:00
Robin Dunn
c90f71dd8c Since I have made several changes to SWIG over the years to accomodate
special cases and other things in wxPython, and since I plan on making
several more, I've decided to put the SWIG sources in wxPython's CVS
instead of relying on maintaining patches.  This effectivly becomes a
fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
doesn't have some things I rely on in 1.1, not to mention that my
custom patches would all have to be redone, I felt that this is the
easier road to take.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 19:56:57 +00:00
Robin Dunn
3bd1e03385 Various minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 18:55:23 +00:00
Robin Dunn
f2a10cdc48 A couple demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-23 15:58:41 +00:00
Robin Dunn
2a74d1415b Changes to match CVS updates over the weekend.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:45:07 +00:00
Robin Dunn
d55d6b3f45 Added wxImage.GetDataBuffer which returns an in-place edit buffer of
the image data.  (Patch #546009)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 21:18:52 +00:00
Robin Dunn
b98a5dfcdd SWIGed changes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:50 +00:00
Robin Dunn
d975da9bc4 Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:19 +00:00
Robin Dunn
2d956b5802 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:52 +00:00
Robin Dunn
9c67cbec02 Reorganized the tree in the wxPython demo, hooked the MDI demos into
the main demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:08 +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
33ff77f695 Some wxGrid related classes now support OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:37:09 +00:00
Robin Dunn
e3dbf5934e Don't do the wx cleanup if wxPython didn't do the initialization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:36:21 +00:00
Robin Dunn
6d9022fe3b Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:35:20 +00:00
Robin Dunn
82550f2324 Added some methods to be consistent with wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:45 +00:00
Robin Dunn
19e30148e1 A few tweaks and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:03:11 +00:00
Robin Dunn
f772a88b55 Removed package from imports since the modules are in the same package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 18:00:36 +00:00
Robin Dunn
eb88b74249 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:52:54 +00:00
Robin Dunn
36d9119341 typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:33:33 +00:00
Robin Dunn
1757121732 A new listctrl mixin class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:32:55 +00:00
Robin Dunn
9398120d29 Use the OOR typemap for wxTreeCtrls too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 21:31:57 +00:00
Robin Dunn
d6021a0490 Some updates for 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 17:30:02 +00:00
Robin Dunn
59988cd010 SWIGged updates for wxMAC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 03:42:53 +00:00
Robin Dunn
94c162795e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:42:45 +00:00
Robin Dunn
174911cfd6 Already had wxEVT_MOUSE_CAPTURE_CHANGED, don't need it twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:42:14 +00:00
Robin Dunn
6d26dc89c5 Added wxMouseCaptureChangedEvent. Added some missing Capture related methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:37:32 +00:00
Robin Dunn
37bd51c0d5 Typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 01:36:21 +00:00
Robin Dunn
5c8e1089c7 Fix for Python 2.2 defining NDEBUG and conflicting with __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 00:54:43 +00:00
Robin Dunn
9de06a7953 Use wxBufferedDC in the doodle sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-13 00:39:12 +00:00
Robin Dunn
fc51b8c37e Better error message, flags --> style in wxHtmlWindow, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:13:29 +00:00
Robin Dunn
c893f25d86 Fixed GetShapeList and similar methods to use OOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 23:12:02 +00:00
Robin Dunn
301dfd6748 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 19:27:53 +00:00
Robin Dunn
e0422aa695 Refresh of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:42:07 +00:00
Robin Dunn
7cdaed0ba0 Changes to match cvs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:39:58 +00:00
Robin Dunn
c8b34a16f7 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instance object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:14:34 +00:00
Robin Dunn
4acff284f9 A little black magic... When the C++ object (for a window or
whatever) is deleted there is no way to force the Python shadow object
to also be destroyed and clean up all references to it.  This leads to
crashes if the shadow object tries to call a method with the old C++
pointer...  The black magic I've done is to replace the __class__ in the
Python instanc object with a class that raises an exception whenever a
method call is attempted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 22:01:45 +00:00
Robin Dunn
31fa82942c New PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 21:57:35 +00:00
Robin Dunn
aacd7bb647 Forgot to set OOR info on wxSplashScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 20:55:12 +00:00