Commit Graph

1572 Commits

Author SHA1 Message Date
Robin Dunn
23f8f9853e Allow wxCustomDataObject ctor to be able to take the format name
string directly and to automatically make the wxDataFormat from it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:13:07 +00:00
Robin Dunn
e5bc90ee89 Added some alternate constructors for the data classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:09:45 +00:00
Robin Dunn
bc8e922f7e Change the name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:08:53 +00:00
Robin Dunn
39d160c3b2 Some TODO notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:08:29 +00:00
Robin Dunn
35e7d66928 Docstring fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:07:46 +00:00
Robin Dunn
06223aa37a Allow unicode objects in wxPyDrawTextList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-26 19:25:31 +00:00
Robin Dunn
9718d66a76 Fixed event binding in NotebookPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 15:21:30 +00:00
Robin Dunn
aeee37c362 * Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other
things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
  off.

* Create a custom version of the "default" ctor for wxCursor on wxGTK

* Switch to new format string and name string constants for default
  values

* Changes some public data members of event classes into properties as
  they are no longer public in the C++.

* Added wxSL_INVERSE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:38:51 +00:00
Robin Dunn
51b83b3756 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 02:24:04 +00:00
Robin Dunn
e384095a6c Document the Show/Hide behaviour that wxSplitterWindow does to its children.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 01:58:50 +00:00
Robin Dunn
8f93b07538 ifdef out some experimental code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 01:49:17 +00:00
Robin Dunn
85f9dd19da define wxColour as being passed by reference so the typemap will work correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:13:31 +00:00
Robin Dunn
4b60a5d70f HasTransparentBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:12:44 +00:00
Robin Dunn
50ed1e35a1 Docstring typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:11:17 +00:00
Robin Dunn
a356336ecf wxNotebookNameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:10:28 +00:00
Robin Dunn
b035e80b08 Virtualized HasTransparentBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:09:05 +00:00
Robin Dunn
310660663f Clarified the description of event.Skip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:54:45 +00:00
Robin Dunn
4a280b251a cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:52:41 +00:00
Robin Dunn
3ba9317588 More methods for wxStdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 21:51:50 +00:00
Robin Dunn
d115ca5ef3 Continued tests of drawing a widget to a DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 00:32:40 +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
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
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
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
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
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
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
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
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
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
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