Commit Graph

1599 Commits

Author SHA1 Message Date
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
da7b9cd05d Use an inline function to fetch the API pointer, importing it first if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 20:01:55 +00:00
Robin Dunn
0625ef6849 Some error recovery and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:59:29 +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
81457c860f Add cx_Freeze and Installer examples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:13:42 +00:00
Robin Dunn
0e174ce890 No longer need to fallback to importing "_core_" as py2exe, Installer
and others now handle importing extensions via package names correctly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:06:27 +00:00
Robin Dunn
a60a147a8c Commented out some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 05:03:12 +00:00
Robin Dunn
b68eef002d Updates for new/old DC method signatures, also updated setup.py for
new py2exe


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 04:51:08 +00:00
Robin Dunn
68c0610dae Don't scroll too far if the child getting the focus is large.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 04:22:16 +00:00
Robin Dunn
a1d66aef6f Put the locale files in teh right place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 04:10:54 +00:00
Robin Dunn
04717ee7df fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 14:55:43 +00:00
Robin Dunn
ea06848c63 It's a new change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 05:18:26 +00:00
Robin Dunn
2c65fa24bf Got sidetracked and forgot to finish the new OGL section before
checking in the last change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 05:16:41 +00:00
Robin Dunn
f96a747517 be explicit about the version of SWIG to use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 02:14:06 +00:00
Robin Dunn
f847103a32 Added a Python port of the OGL library, deprecated the C++ wrapped version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 02:13:04 +00:00
Robin Dunn
cb8f28ba1e Some typos fixed. More text about the changes to sizers, minsize, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 18:07:01 +00:00
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