Commit Graph

1360 Commits

Author SHA1 Message Date
Patrick K. O'Brien
64386c666c Major restructuring to get a better foundation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 22:03:03 +00:00
Robin Dunn
1b3864922c Added a sample to the demo specifically for PopupMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 17:12:07 +00:00
Robin Dunn
efe8d3eb34 Test a submenu on the popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 15:20:49 +00:00
Patrick K. O'Brien
5d054a19fd Fix column count.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 23:12:04 +00:00
Robin Dunn
d268268837 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:06 +00:00
Robin Dunn
d8ac6a6267 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:58:03 +00:00
Robin Dunn
d6b4de54b5 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 21:57:22 +00:00
Robin Dunn
ba8161f46b Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.IsOk(): ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:45:27 +00:00
Robin Dunn
59f89e9738 No need to have the old PyCrust in the new namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:42:58 +00:00
Robin Dunn
88cd49f777 Added __nonzero__ method to more classes that have a Ok or IsOk
method.  This allows code like "if obj: ..." to be the same as
"if obj.Ok: ..."


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:38:11 +00:00
Robin Dunn
d2d844fa99 Test code for removing a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 19:35:39 +00:00
Robin Dunn
9b945ca87a SF patch [ 718899 ] wxGrid - output parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 15:49:00 +00:00
Roman Rolinsky
22b3452638 - changed encoding selection, removed -i option
- replace command


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-10 09:31:39 +00:00
Robin Dunn
ea841e4340 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:44:44 +00:00
Robin Dunn
ed23e4b31b SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:17 +00:00
Robin Dunn
5d5c8aa70e Regenerated the default script batch files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:43:05 +00:00
Robin Dunn
9e52ade763 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:41:48 +00:00
Robin Dunn
62107846d2 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:40:08 +00:00
Robin Dunn
2321b3c778 Added __nonzero__ method to wxTreeItemId.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:28:38 +00:00
Robin Dunn
6416289540 Updated demo for new Py packages, and updated the html-ized version of stc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:14:15 +00:00
Robin Dunn
8245592fde wxHtmlWindow::LoadFile is now available, added wxNotebookPage helper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 19:13:07 +00:00
Robin Dunn
c2a79c3e1c Removed the old tests that I havn't looked at or used for years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 18:54:43 +00:00
Robin Dunn
5f933e58ef Patrick O'Brien's PyCrust package has been renamed to Py and now
includes several new tools.  As part of the change the location of the
pacakge has changed as well, it is now accessible as "from wxPython
import py" (or "from wx import py" using the new namespace.)  There
are still some transition moudules in the wxPython.lib.PyCrust mackage
that will issue a warning and then import what is needed from the new
package.  These will be removed in a future release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 17:44:53 +00:00
Robin Dunn
81c9a1a8e7 Use a different window style to help ensure there are no window
decorations added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:26:35 +00:00
Robin Dunn
4f10f2e0e1 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:24:53 +00:00
Robin Dunn
ab829dd986 Some updates for wxHtml classes, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:23:30 +00:00
Robin Dunn
f50d205d88 Updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:04:18 +00:00
Robin Dunn
09aceb98d9 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-08 22:58:03 +00:00
Robin Dunn
ffa0f3dd9b Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:59:07 +00:00
Robin Dunn
915f4a09b5 Added a new "wx" package that will dynamically import from the
wxPython package and rename wxFooBar --> FooBar.  That means that
people imports without "import *" and can use names like wx.Frame
instead of wx.wxFrame.  This is phase 1 of a full transition to the
new namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:51:27 +00:00
Robin Dunn
d38b3b9620 Made an eopty stub of SetSelection for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-04 17:34:41 +00:00
Robin Dunn
24d3bad8d6 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:49:09 +00:00
Robin Dunn
592778bad6 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:59 +00:00
Robin Dunn
9f8ef6c168 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:48:43 +00:00
Robin Dunn
9339eb0fe4 fixed typo in parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:54 +00:00
Robin Dunn
11acaf87d7 Added SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:33 +00:00
Robin Dunn
a0973ce40c Added a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:27:03 +00:00
Robin Dunn
3bd7099bb4 removed special case for wxMac, not needed any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-03 02:21:19 +00:00
Robin Dunn
58ccbbc7b7 Made the version number information more robust and uh, informative.
Also added asserts to check that the major.minor versions of wxPython
and wxWindows match.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:49:07 +00:00
Robin Dunn
d842ec8482 Demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:47:11 +00:00
Robin Dunn
509b8f9b5f Added missing method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:56 +00:00
Robin Dunn
4d2a9c1a5f cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 01:46:44 +00:00
Robin Dunn
e44b4b86f1 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 05:15:09 +00:00
Robin Dunn
9d05742271 SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:51:26 +00:00
Robin Dunn
c47e337d22 Forgot to add this image...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:50:41 +00:00
Robin Dunn
66a1929a95 Updated ShapedWindow demo, don't try to start out without the shape.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:40:21 +00:00
Robin Dunn
8756135df1 README tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:39:39 +00:00
Robin Dunn
f6f41ac61a SWIGged code updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:38:07 +00:00
Robin Dunn
c21b5bcd98 Changed wxSWIG to not generate Python code using apply, (since it will
be deprecated in the future) wxSWIG will use spam(*args, **kw) syntax
instead.  Also changed the generated __repr__ methods to be a bit more
informative.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-01 01:36:08 +00:00
Robin Dunn
ebad4a640c Fixed compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 06:22:12 +00:00