Commit Graph

1581 Commits

Author SHA1 Message Date
Robin Dunn
28eab81fdc Switch to the TreeListCtrl from the wxCode project.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:59:23 +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
1eac708b09 Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 04:54:56 +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
9ef73d79c5 Fixed some colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:32:11 +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
e5ce86d84f Fix printing?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 03:01:08 +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
2f1189cf1a More test cases and handle __doc__ == None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 20:14:14 +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
b7aef85882 Removed calls to wx.InitAllImageHandlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:21:56 +00:00
Robin Dunn
d1e0545303 Replaced wx/lib/pubsub.py with a version that uses weak references to
track the subscribers.  Thanks go to Oliver Schoenborn and Robb
Shecter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:20: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
e3cd61bb6a Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:17:41 +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
8d78674593 Added test for smaller spinctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:25:03 +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
969d9b6fa9 Added a generic StaticBitmap class in wx.lib.statbmp for the same
reasons that stattext was created, so it could be mouse sensitive on
all platforms like normal windows.  Also updated stattext.py and
buttons.py to handle attribute (font & colour) defaults and
inheritance the new way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:22:39 +00:00
Robin Dunn
3ba55e8ab7 Updates for the Joystick demo to allow it to funciton on Linux where
the min position values are negative.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:53:19 +00:00
Robin Dunn
baaa1d1a58 OGL typemap and OOR fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 15:42:14 +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
6cfd7f95f8 More DocStr macro updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 01:50:29 +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
0b9c95225e Check exit code or commands and exit with that code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 00:12:36 +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
51b2943a50 Use self in DC method signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 23:10:07 +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
85ac8ca017 ActiveX events should be sent to the window, not it's parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:29:20 +00:00
Robin Dunn
165e6ca32a Deprecated wx.iewin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 01:22:44 +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