Commit Graph

2970 Commits

Author SHA1 Message Date
Robin Dunn
136518e5c0 Factor out the OnSize code so it can also be used in other places
where the header window needs to be adjusted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 22:10:10 +00:00
Robin Dunn
62d32a5fb1 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 23:16:03 +00:00
Robin Dunn
e505d15e07 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:58:48 +00:00
Robin Dunn
782ece57f0 updated note about the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:56:39 +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
7bde93ff27 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:54:40 +00:00
Robin Dunn
8919bc42e4 Added EVT_COMMAND_TREE_ITEM_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:54:16 +00:00
Robin Dunn
191dea6de7 Added back wx.PD_SMOOTH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:53:50 +00:00
Robin Dunn
e4b64104c8 fix compilo for when there are no precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 22:27:51 +00:00
Robin Dunn
e778b8f059 Correct some redraw glitches in the header when resizing, and also
double buffer the header to eliminate the rest of the flicker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 20:21:44 +00:00
Robin Dunn
669e06d77e Docs for [GS]etDefaultPyEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:16:50 +00:00
Roman Rolinsky
759c619e28 checking for dom.encoding == None
temporary fix for wxPyAssertion from XRC library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:35:35 +00:00
Roman Rolinsky
f19b8f1124 wxIcon correctly handled now (it has no "icon" tag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:32:23 +00:00
Robin Dunn
d6660ffabc Make the wx.MediaCtrl demo more functional, and add a sample movie.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 00:43:24 +00:00
Robin Dunn
36ed4f517f reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:46:51 +00:00
Robin Dunn
3004cfd8ca reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:39:36 +00:00
Robin Dunn
093d3ff1f7 reSWIGged after 1.3.24 update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:34:11 +00:00
Robin Dunn
54e72b1a7f Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 21:29:41 +00:00
Robin Dunn
3c1705d911 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@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:53:38 +00:00
Robin Dunn
dd06808a42 Allow Python 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:52:35 +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
de6ca7ff44 Changed GetSystemColour to GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:19:17 +00:00
Robin Dunn
689b42ee55 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 23:06:52 +00:00
Robin Dunn
1ae8f604a2 Added wxEXEC_NODISABLE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:59:31 +00:00
Robin Dunn
11ec0dcea2 A little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:52:03 +00:00
Robin Dunn
6bda7508c6 Added a note to self to look at adding ProvidesBackground in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:51:09 +00:00
Robin Dunn
94fd5e4dc1 Allow the OOR reference to be saved without doing an INCREF. This
solves the circular reference problem with wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:50:29 +00:00
Robin Dunn
56a52e9094 Typemaps for wxFileOffset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:46:20 +00:00
Robin Dunn
9c7e3e86fb Added wxEXEC_NODISABLE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:44:52 +00:00
Robin Dunn
e3f1b5b535 new wxMediaCtrl API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 22:43:11 +00:00
Robin Dunn
5cbf236d83 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:10:00 +00:00
Robin Dunn
0d2653ff97 Added default values for some parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:01:08 +00:00
Robin Dunn
850ab20b18 Added notes for recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:00:28 +00:00
Robin Dunn
3ed2b503d1 docstring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:59:39 +00:00
Robin Dunn
3350d6521a ComputeScaleAndOrigin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:58:59 +00:00
Robin Dunn
e2b154e391 Build/installer support for building with MSVC 7.1 and Python 2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:22:27 +00:00
Robin Dunn
4f686d3271 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 06:05:09 +00:00
Robin Dunn
4293f84787 get the default encoding from the default locale.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 21:17:49 +00:00
Robin Dunn
27c9e43cc0 Instead of always using the Python default encoding for converting
string and unicode objects to/from wxStrings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 21:15:28 +00:00
Robin Dunn
b519803b43 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 22:49:50 +00:00
Robin Dunn
63cd6e0bbe Don't use WXDLLIMPEXP_MEDIA in the stub class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 22:48:24 +00:00
Robin Dunn
eadf221fb0 optionally add the media library if not a MONOLITHIC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 22:46:28 +00:00
Robin Dunn
90f7243727 Don't call _setOORINfo from PreGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:58:50 +00:00
Robin Dunn
ed8d127eb0 Added SetFocus and SetFocusIgnoringChildren to wx.Panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:57:58 +00:00
Robin Dunn
7353d81801 Applied patch #1084332: xrced does not respect encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:39:09 +00:00
Robin Dunn
49e6b3c3cf deprecated Get/SetOptimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:15:45 +00:00
Robin Dunn
c9463abb23 Added
IsEditable
    Undo
    Redo
    SelectAll
    CanCopy
    CanCut
    CanPaste
    CanUndo
    CanRedo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:06:19 +00:00
Robin Dunn
496d695b87 Deprecated NotebookSizer and BookCtrlSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:02:27 +00:00
Robin Dunn
cf4dfd1467 Added GetColoursCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 23:00:57 +00:00
Robin Dunn
4bfe9b91c3 Added gravity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 22:46:45 +00:00