Commit Graph

1084 Commits

Author SHA1 Message Date
Robin Dunn
bfddbb17dc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:59:39 +00:00
Robin Dunn
248ed9435a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:24:10 +00:00
Robin Dunn
da397248d3 doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 19:06:04 +00:00
Robin Dunn
3ea6e0ec63 Docstrings for the sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 05:18:49 +00:00
Robin Dunn
d55734102e Added more default args as needed to allow most window types to be
constructed with only the parent window arg.  In some cases other args
may be required for normal operation, but they can usually be set
after construction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:53:05 +00:00
Robin Dunn
b2eb030f9e set the modules' pacakge name to "wx" using a new SWIG feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:29:55 +00:00
Robin Dunn
0439c23bdd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 22:08:55 +00:00
Robin Dunn
e3b71cb883 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:57:03 +00:00
Robin Dunn
ab1f7d2aa9 All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already
been created and will raise a wx.PyNoAppError exception if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:38:05 +00:00
Robin Dunn
6186384153 comments and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 20:40:12 +00:00
Robin Dunn
96fc3ef4f0 Add GetHDC back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 20:38:55 +00:00
Robin Dunn
629f3c1bea reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:20:11 +00:00
Robin Dunn
729b64a3c1 docstring tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:14:07 +00:00
Robin Dunn
99b1023fd8 Put a rreminder in the comments about s bit of duplicated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:57:23 +00:00
Robin Dunn
a07a67e664 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:44:04 +00:00
Robin Dunn
c61fb03543 Oops, forgot to return a value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:38:57 +00:00
Robin Dunn
68e533f887 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:13:30 +00:00
Robin Dunn
1a10c4833a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:03:52 +00:00
Robin Dunn
8e0ecdd955 Docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 02:59:17 +00:00
Robin Dunn
ae662096c3 Add PreGrid()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 02:58:08 +00:00
Robin Dunn
ad411ab2f1 Decref items added to lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 02:57:09 +00:00
Robin Dunn
89c876de1c wxGTK now uses gtk_init_check so wxPython can raise an exception if
there is no DISPLAY available or other initializaion problem.

wx.GetKeyState now has an implementation for wxGTK and is able to
detect the up/down or toggle state of modifier and toggle keys.

The LC_NUMERIC locale is now reset back to "C" (compatibility) when
running on wxGTK to work around the fact that GTK requires the locale
to be set to the system settings but Python depends on LC_NUMERIC
remaining compatible with "C".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-21 00:23:50 +00:00
Robin Dunn
5e4ca4a837 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:22:49 +00:00
Robin Dunn
6d2e144a7c Subindent support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:20:00 +00:00
Robin Dunn
a31507415d wx.InitAllImageHandlers is now an empty function that does nothing but
exist for backwards compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:16:17 +00:00
Robin Dunn
a5ee0656c2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:26:50 +00:00
Robin Dunn
caef1a4da6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 22:18:25 +00:00
Robin Dunn
db3e571a39 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:38:16 +00:00
Robin Dunn
1a10485f79 Add SetBestSize, GetDefaultAttributes and fixed ShouldInheritColours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:37:26 +00:00
Robin Dunn
d474ed7b17 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:31:33 +00:00
Robin Dunn
b60f943bd9 Accept old 'faceName' keyword arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:30:49 +00:00
Robin Dunn
04633c190f Fix docs for Bind
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:30:05 +00:00
Robin Dunn
c92d92835d Change the C name of my wxGetApp so it doesn't conflict if wxPython is
linked statically with a C++ wxWidgets app.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:27:23 +00:00
Robin Dunn
c8fac2b60d Modules generated by SWIG can now have module docstrings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:25:33 +00:00
Robin Dunn
41e2b43ea4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 02:07:04 +00:00
Robin Dunn
79fccf9d17 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:51:41 +00:00
Robin Dunn
15817c7e82 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:45:38 +00:00
Robin Dunn
d07d2bc9d0 Some docstring additions, reformats and epydoc markup.
Removed RefDoc macros, instead made all the normal Docstring macros
take an extra parameter to be used for the optional details postion of
the docstring.  The intent is that the docstrings put in the generated
.py files checked in to CVS and delivered in releases will be only a
paragraph or two, but when used for generating the epydoc reference
docs they can optionally contain a lot more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:17:48 +00:00
Robin Dunn
ecd216fc87 made wx.Joystick stub (for platforms without joystick support) be
unicode compatible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:08:37 +00:00
Robin Dunn
2693507fda Made wx.Locale() make an unitialized locale while still allowing
wx.Locale(language) to still work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:07:57 +00:00
Robin Dunn
1a6bba1e93 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 19:43:56 +00:00
Robin Dunn
1c0f361be2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 17:59:43 +00:00
Robin Dunn
60a71c29fd Added missing Detach method wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 00:40:49 +00:00
Robin Dunn
313feadc84 Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
timer as the event object in wxTimerEvents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Robin Dunn
0346c96434 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:37:37 +00:00
Robin Dunn
b1f29bf76f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:20:24 +00:00
Robin Dunn
b65ac702f1 Don't turn off kwargs for these methods any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:12:18 +00:00
Robin Dunn
36cadbf72d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:11:02 +00:00
Robin Dunn
68cc401372 Switch to using a Python buffer object for the sound from data methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:59 +00:00
Robin Dunn
97d6a30b2c wxMemoryBuffer typemap needs to set the data length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:13 +00:00