Commit Graph

88 Commits

Author SHA1 Message Date
Robin Dunn
57cb8e4e82 Usability fixes for the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 20:46:53 +00:00
Robin Dunn
b7dbf2d867 Migrated demo code to not import string module. (Patch from Kevin Altis)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 06:43:27 +00:00
Robin Dunn
ba74ca2dcc The demo framework can now notify the individual samples before it
switches to another, in case they need to shut down something or free
resources, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 19:59:45 +00:00
Robin Dunn
3af61dfc11 Various demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-04 04:16:51 +00:00
Robin Dunn
36483fa725 Bug fix to show only one tip dialog...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 01:54:18 +00:00
Robin Dunn
110629ecfb Added demo for EventManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 00:52:15 +00:00
Robin Dunn
1c3c514dfa Added wxPython.lib.multisash by Gerrit van Dyk which is a nice
implementation of allowing the user to split a window any number of
times either horizontally or vertically, and to close the split off
windows when desired.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 00:42:48 +00:00
Robin Dunn
26e3a24354 Added wxPython.lib.popupctl by Gerrit van Dyk which is a combobox-like
gizmo for poping up arbitrary controls.  It is currently using
wxDialog because of some issues with wxPopupWindow...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 22:57:55 +00:00
Robin Dunn
245f9233fc Throbber fixes, other tweaks to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-12 06:14:56 +00:00
Robin Dunn
523c689abb Added Throbber class from Cliff Wells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 22:03:35 +00:00
Robin Dunn
d73361fed5 Various changes to reflect current CVS.
Added a separate wxRadioButton demo.
Various tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:51:31 +00:00
Robin Dunn
9312e5d6db wxASSERT and others are converted to Python Exceptions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 00:40:31 +00:00
Robin Dunn
460ad82472 Added wxTimeCtrl from Will Sadkin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-19 05:13:00 +00:00
Robin Dunn
628c7f79d4 Added wxXmlResourceHandler to wxPython and enabled it's virtuals to be
Python Callbacks.  Added a sample to the demo to show how to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:29:34 +00:00
Robin Dunn
af83019e94 Added wxWizard and the wizard page classes, as well as a wizard sample
in the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 19:08:21 +00:00
Robin Dunn
eb0f373c99 Fixes and other changes to the demo and some library modules so they
work better (or at all) on wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:59:08 +00:00
Robin Dunn
3b86714961 Added a sample to the demo that catches various key events and
displays the details of the event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 23:12:25 +00:00
Robin Dunn
861a0196f9 Test for wxPyTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 02:57:38 +00:00
Robin Dunn
70a357c256 Some demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 18:13:59 +00:00
Robin Dunn
c731eb4710 Added wxIEHtmlWin wrappers to wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 22:05:30 +00:00
Robin Dunn
3115ef3e56 Added menu sample, and some other minor changes to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 17:08:55 +00:00
Robin Dunn
f9b24f070c Added demo of using a sizer in a wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 20:08:30 +00:00
Robin Dunn
6f48b1b53f Changed name of demo so the list sorts nicer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-15 05:52:22 +00:00
Robin Dunn
72797a7da3 Added wxArtProvider and other changes to match CVS updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 23:31:53 +00:00
Robin Dunn
40c4c5a3b5 workaround for assert about wxFRAME_FLOAT_ON_PARENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-27 18:39:46 +00:00
Robin Dunn
5a1eefc73b A few little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 06:01:44 +00:00
Robin Dunn
774e63ef5a more demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-15 19:06:54 +00:00
Robin Dunn
606d919c51 Use the stdout/stderr window by default on Mac too. Force it on in
the demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 07:49:05 +00:00
Robin Dunn
f44602beb7 Removed wxVTKRenderWindow since VTK now includes a much better python
module that allows you to use VTK in a wxPython window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-02 02:49:15 +00:00
Robin Dunn
3481e3efb8 wxTimer was in the wrong place in the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 04:27:05 +00:00
Robin Dunn
eb28fd4762 swigged updates for wxMac
fix for wxMac refresh problem in the demo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-30 02:49:37 +00:00
Robin Dunn
0bdca46de4 Put the panel-under-htmlwindow hack back in since the problem still
happens.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-29 23:09:48 +00:00
Robin Dunn
d975da9bc4 Demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 20:12:19 +00:00
Robin Dunn
9c67cbec02 Reorganized the tree in the wxPython demo, hooked the MDI demos into
the main demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 05:43:08 +00:00
Robin Dunn
7c41d11aed Added wxFileHistory demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 00:28:37 +00:00
Robin Dunn
342639eb74 Some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 20:28:01 +00:00
Robin Dunn
ccf691a4ea Fixed problem between the splash screen and tip dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 20:48:16 +00:00
Robin Dunn
e9159fe8e8 Added wxBufferedDC, changes for wxMenu and wxMenuItem, and other
little fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 22:11:23 +00:00
Robin Dunn
03d84e7af8 A Unicode sample for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:27:45 +00:00
Robin Dunn
96de41c2c5 Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning.  Cells with
not item assigned to it are just left blank.  Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.

A few other minor changes too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +00:00
Robin Dunn
afb810d936 Changed the img2py tool to use PNG instead of XPM for embedding image
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.

A few other changes to match recent additions to CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +00:00
Robin Dunn
f74ff5efa5 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
a1bfae9d83 A few tweaks and some cleanup for the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:50:27 +00:00
Robin Dunn
ef2060faf3 SWIGged updates for wxGTK for recent changes
A few other little cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
6c5ae2d2a6 Demo cleanup and path issues.
other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 01:24:39 +00:00
Robin Dunn
68320e40cd Added wxGenericDirCtrl and other varioius updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 04:54:19 +00:00
Robin Dunn
b5a5d6473c Some updates to go with changes in current CVS.
Added wxSplashScreen.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-05 23:45:33 +00:00
Robin Dunn
4309b812ef More demo/distrib updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-10 22:44:38 +00:00
Robin Dunn
950e7faf4a Added wxLEDNumberCtrl to gizmos and wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-07 18:45:16 +00:00
Robin Dunn
462f07cac2 Added some event handlers to show they work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-06 20:01:20 +00:00