Commit Graph

618 Commits

Author SHA1 Message Date
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
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
87439dd8ae SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:34:42 +00:00
Robin Dunn
db0ff83efb Updates to match recent CVS changes.
Plugged some resource count leaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 20:56:34 +00:00
Robin Dunn
9f9eb285d7 Added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 15:35:15 +00:00
Robin Dunn
0f5fa11181 more tweaks for API changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 21:47:58 +00:00
Robin Dunn
f60765b0fc A few little cleanups, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 20:55:53 +00:00
Robin Dunn
ffd990f695 Added a few new flags, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:59 +00:00
Robin Dunn
7c41d11aed Added wxFileHistory demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:37 +00:00
Robin Dunn
4069916857 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 05:44:55 +00:00
Robin Dunn
cce8089628 Demo update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 20:34:26 +00:00
Robin Dunn
accfe34dfa Updates for wxListCtrlAutoWidthMixin needed for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 20:33:20 +00:00
Robin Dunn
a323d3bda7 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 19:25:11 +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
d6eacb2570 Fixed a few little bugs in how some methods are wrapped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:34:02 +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
726fc00ab9 Added wxListCtrlAutoWidthMixin from Erik Westra.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:31:23 +00:00
Robin Dunn
15030c51b8 A saner implementation for the new wxToolBar methods that keeps
backwards compatilibilty (including keyword args names for wxPython)
and still exposes the new stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:29:35 +00:00
Robin Dunn
342639eb74 Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:28:01 +00:00
Robin Dunn
468c1af05b Trying wxTE_PROCESS_ENTER and EVT_TEXT_ENTER on a combobox, doesn't
work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:27:19 +00:00
Robin Dunn
0b9dfbc00e Give access to m_lastKeydownConsumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 01:19:59 +00:00
Robin Dunn
b1c9fc705e Updates for new wxToolBar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 01:44:34 +00:00
Robin Dunn
c12de7f83a Updates for new wxToolBar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 01:10:28 +00:00
Robin Dunn
be86ffe39e Updates to match recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 22:06:04 +00:00
Robin Dunn
b96c7a38a8 Updates to match recent CVS changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:55:33 +00:00
Václav Slavík
090b9059ed don't include wxhtml.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:24:46 +00:00
Václav Slavík
546bfbea81 wxITEM_FOO instead of wxItem_Foo, for the sake of consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 19:18:51 +00:00
Robin Dunn
c3bfa1cb28 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 20:35:45 +00:00
Robin Dunn
682f5b48d2 Some distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 18:05:10 +00:00
Robin Dunn
3413be7569 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 17:36:14 +00:00
Robin Dunn
9a74fcaf97 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 06:48:55 +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
ccf691a4ea Fixed problem between the splash screen and tip dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:48:16 +00:00
Robin Dunn
10ef30eb53 wxStyledTextCtrl can now be built and used when wxUSE_UNICODE==1.
When in unicode mode Scintilla uses UTF-8 internally so the wxSTC
wrapper only needs to convert to/from UTF-8 in the right places.
Still need to figure out to get unicode characters from key/char
events...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:43:39 +00:00
Robin Dunn
a884bee57a SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 23:10:23 +00:00
Robin Dunn
1a2fb4cd61 Updated wxSTC from Scintilla 1.40 to Scintilla 1.45
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:31:01 +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
cac344f664 Fixed a typo in one of the virtual callback macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 18:30:09 +00:00
Robin Dunn
49df1f5269 Newly SWIGged sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:20:45 +00:00
Robin Dunn
1496068d02 Changes needed for wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 20:42:58 +00:00
Robin Dunn
26e335b844 Some little tweaks and cleanups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:30:21 +00:00
Robin Dunn
69ca6f3cd5 Updated unicode sample again. Added two more languages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 18:29:26 +00:00
Robin Dunn
257f0da1af updated unicode sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 01:42:41 +00:00
Robin Dunn
03d84e7af8 A Unicode sample for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:27:45 +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
e5dd90b137 More little demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:26:55 +00:00
Robin Dunn
031787ded7 Updated demo to be a more realistic dialog, to show tab traversal,
etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:25:56 +00:00
Robin Dunn
caa74ba3bb Updated demo to show EVT_COLOURSELECT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:25:18 +00:00
Robin Dunn
6824d4f9e0 Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:40:13 +00:00
Robin Dunn
c8bc7bb84d Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:29:04 +00:00
Robin Dunn
da0ddbd6df SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 23:55:25 +00:00
Robin Dunn
4be610641a New SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:19:28 +00:00
Robin Dunn
936bea5dc1 Reformatted some demo text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:18:55 +00:00
Robin Dunn
f9bd2c1bdf Added a reminder to myself for later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:57 +00:00
Robin Dunn
633d5f82fc Removed redundant definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 03:18:40 +00:00
Václav Slavík
dd1d4b137b applied patch to wxEditableListBox that adds wxEL_ALLOW_{EDIT,NEW,DELETE} with obvious meanings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:57:35 +00:00
Robin Dunn
91a64dfd31 Little tweaks and fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:06:21 +00:00
Robin Dunn
ff42dd6650 Changes for recent htmlhelp updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:05:27 +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
6187ec8f45 Added patch that adds style flags for wxEditableListBox to not use
some of its standard buttons.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 21:10:04 +00:00
Robin Dunn
c1beeb57cf Yet another update of XRCed. Fixes some display issues and some minor
buglets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 17:55:41 +00:00
Robin Dunn
55d186514e SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:48:34 +00:00
Robin Dunn
3999941a70 Bugfix for wxTreeCtrl.InsertItemBefore and more SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:47:30 +00:00
Robin Dunn
18fc9fa3b5 More XRCed updates from Roman
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:33:31 +00:00
Robin Dunn
f0972d1ea4 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:36:54 +00:00
Robin Dunn
7d0180d415 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:34:32 +00:00
Robin Dunn
e5d41db01a Added some anchor related methods to wxHtmlWindow as suggested on the
wxPython-users list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:33:58 +00:00
Robin Dunn
c6ebc32af0 more updates for recent toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:21 +00:00
Robin Dunn
79f1d86caf Added python support for a virtual CanDismiss method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:32:00 +00:00
Robin Dunn
445365141a Added a Python-specific Append method to the wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:31:15 +00:00
Robin Dunn
88c7f3f938 rearrainging a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 20:29:55 +00:00
Robin Dunn
f0c20d947b A new version of XRCed from Roman Rolinsky with a few tweaks by me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 21:41:19 +00:00
Robin Dunn
dae710e70d fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:06:32 +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
5ae7602641 Moved declaratrions of wxPyInputStream and etc. into it's own header
file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 17:05:56 +00:00
Robin Dunn
4152e8b9fd Moved declaratrions of wxPyInputStream and etc. into it's own header
file.

SWIGged updates for wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 16:59:20 +00:00
Robin Dunn
cbf60e091e Moved declaratrions of wxPyInputStream and etc. into it's own header
file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:53:14 +00:00
Robin Dunn
afb810d936 Changed the img2py tool to use PNG instead of XPM for embedding image
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.

A few other changes to match recent additions to CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +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
a341e32e10 SIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:02:33 +00:00
Robin Dunn
94082a71f8 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 20:47:46 +00:00
Robin Dunn
2403536a34 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:59:59 +00:00
Robin Dunn
f74ff5efa5 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
689fceb7a7 Updated PyCrust from Patrick O'Brien
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:09:42 +00:00
Robin Dunn
14afa2cbca Better wrapper for wxListCtrl.GetColumn, and some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:54:23 +00:00
Robin Dunn
c921c2cd3a Better doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:51:11 +00:00
Robin Dunn
a1bfae9d83 A few tweaks and some cleanup for the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:50:27 +00:00
Robin Dunn
be90c029fd As per the wx-dev discussion in early Jan, replaced
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of.  Windows will now remove
themselves from a sizer when destroyed.  Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Robin Dunn
ef2060faf3 SWIGged updates for wxGTK for recent changes
A few other little cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
c0fbf24ba6 A little different fix for how to delay the call to __wxCleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
154747f5be A fix for incorrect wrapping of wxPallet.GetRGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:00:29 +00:00
Robin Dunn
be43cc441a A fix for Python 2.2 which can sometimes call __wxCleanup before all
the other wxPython objects have been deleted.

Other various things to match recent CVS changes in wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 21:28:41 +00:00
Robin Dunn
167a4bb9fd New PyCrust source from Patrick's CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:41:10 +00:00
Robin Dunn
769a9cb2b8 The calltip window and autocomplete window in wxSTC will now use a
wxPopupWindow if available so they can extend beyond the client area
of the STC if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 00:40:42 +00:00
Robin Dunn
ad07d019d6 Added notes for what to do if VC has an internal compiler error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 22:23:55 +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
1192dbd450 added sample (currently commented out) of how to veto column size events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:04:53 +00:00
Robin Dunn
96e5ef7631 Moved utils.i back into the core since it imports it anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 01:04:20 +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
Václav Slavík
20ae6f8d09 wxXmlInitXmlModule no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 23:53:43 +00:00
Robin Dunn
d43d449bdd A little cleanup for this demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 01:10:06 +00:00
Robin Dunn
8cb490124b wxPyEmptyStr --> wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:19:04 +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
faf82e9bd3 Updated contrib from Lorne White
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:14:14 +00:00
Robin Dunn
3f0d9059c6 better log messages for this demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:13:33 +00:00