Commit Graph

25 Commits

Author SHA1 Message Date
Robin Dunn
4a065572bf Little tweaks to match CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:43:06 +00:00
Robin Dunn
9283228f86 Added wxStdDialogButtonSizer, which is a a special sizer that knows
how to order and position standard buttons in order to conform to the
current platform's standards.  You simply need to add each `wx.Button`
to the sizer, and be sure to create the buttons using the standard
ID's.  Then call `Finalize` and the sizer will take care of the rest.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:55:57 +00:00
Robin Dunn
1b8c7ba607 Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:44:09 +00:00
Robin Dunn
0d3ba5ebc6 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 22:15:49 +00:00
Robin Dunn
3e98bb2a88 Make NOP versions of Mac[GS]etMetalAppearance for the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 17:37:08 +00:00
Robin Dunn
2e5cc335a7 Added IsActive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 19:00:20 +00:00
Robin Dunn
c430d0dc64 Added wxFRAME_DRAWER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 23:31:31 +00:00
Robin Dunn
a72f4631fe Update SWIG patch to output "True" ("False") in the autodoc string
when "true" ("false") is in the .i file.

Changed the .i files to use true/false to avoid collisions with any
True/False in headers that may be included.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:23:54 +00:00
Robin Dunn
e51483b128 Added RequestUserAttention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 19:03:20 +00:00
Robin Dunn
9f8a9f5489 Various updates to catch up to wxWidgets CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 20:24:29 +00:00
Robin Dunn
b39c3fa09a Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:51:01 +00:00
Robin Dunn
705b61cce0 little tweaks to match recent CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:01:33 +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
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
880715c9a9 Add GetClassDefaultAttribute. Since it is static we need to put the
definition in all window classes so the right one will be called on
the C++ side of the fence.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:35:43 +00:00
Robin Dunn
75e14ed5ee Various tweaks, docstring fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:45:15 +00:00
Robin Dunn
6cffbf02c0 Add back some missing enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:22:38 +00:00
Robin Dunn
a212b7793a MacSetMetalAppearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:27:15 +00:00
Robin Dunn
447f48ba19 Moved some enums around to better match the C++ headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:26:05 +00:00
Robin Dunn
69d818954b default style for statusbars varies by platform
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 23:16:10 +00:00
Robin Dunn
2b9048c56f %addtofunc --> %pythonAppend
Also used %pythonPrepend to provide backwards compatibility for a few
parameter name changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 01:18:37 +00:00
Robin Dunn
f87da72205 Beginings of wxX11 support. Much more to do but I have no more time
for it today.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-09 18:34:52 +00:00
Robin Dunn
b2dc104421 More changes to make the autodocs be better, made all the namestrings
and such be visible to swig so the autodoc generator knows how to
rename them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-20 01:01:49 +00:00
Robin Dunn
dd9f7fea29 Changed all TRUE/true --> True and all FALSE/false --> False so the
Python docstrings will have the correct case.

Started adding extra docstrings where needed.

Some other little tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 06:31:30 +00:00
Robin Dunn
d14a1e2856 Merged the wxPy_newswig branch into the HEAD branch (main trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-12 21:34:20 +00:00