Commit Graph

464 Commits

Author SHA1 Message Date
Robin Dunn
96d49f0eea Added limited support for wxEventLoop (you can't derive from a
wx.PyEventLoop version yet...)  Updated and moved the sample showing
how to replace the MainLoop to samples/mainloop/mainloop.py.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 01:02:00 +00:00
Robin Dunn
9694b21a4d Added wx.Choicebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 23:51:14 +00:00
Robin Dunn
f2b4a4ea12 Added StockButtons to main demo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 18:58:40 +00:00
Robin Dunn
77bfc42310 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 18:53:07 +00:00
Robin Dunn
9a8a6d250f fixed copy/paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 19:14:09 +00:00
Robin Dunn
41d1d7e34b another tst style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-02 00:33:59 +00:00
Robin Dunn
8b6df374df Added demo for Stock Buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 23:26:51 +00:00
Robin Dunn
cccce1a6e7 Added wx.lib.ticker.Ticker class from Chris Mellon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 22:00:21 +00:00
Robin Dunn
d9975a314d Add a column for GetUnicodeKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:24:42 +00:00
Robin Dunn
167ad3b295 Demo the 3-state checkbox and also right-alignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:23:33 +00:00
Robin Dunn
e0465cbdca Don't hide the panel for non-MSW platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 19:54:42 +00:00
Robin Dunn
79609e6f24 Adding DrawnShape (patch from Pierre Hjälm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 14:54:13 +00:00
Robin Dunn
f1fabff5b2 Alpha is supported on GTK2 now!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-26 03:03:16 +00:00
Robin Dunn
2e839e966d Ensure that runTest is not modal, even when a required module is not
installed.

Create the code page small and hide it to reduce flicker, it will
later be shown and sized correctly when put into the notebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:56:43 +00:00
Robin Dunn
c0d9c29dbe Use ConvertAlphaToMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 21:57:16 +00:00
Robin Dunn
4287ca9ed0 be explicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 16:58:38 +00:00
Robin Dunn
3b5602d59d tweaks to play with differnt styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 16:57:50 +00:00
Robin Dunn
f96012e7da wx needs imported for the error code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 00:27:21 +00:00
Robin Dunn
00a5e5a905 Changed debug print into a log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 22:24:47 +00:00
Robin Dunn
5523df9f4b More tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:36:45 +00:00
Robin Dunn
7d0f8766ac ReloadDemoPanel is no longer needed since every sample will have a panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:36:01 +00:00
Robin Dunn
a6780fa226 Go back to the old order for loading the demo tabs. When the first
sample is chosen then switch to the demo page, but stay on the current
page for the other selections in case the user switched back to the
overview or demo code pages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:24:48 +00:00
Robin Dunn
4b8e2a3466 tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:22:22 +00:00
Robin Dunn
34a544a635 Make all samples in the demo have a panel in the demo notebook. For
those that are frames or dialogs then the panel just has a button that
launches it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:21:16 +00:00
Robin Dunn
ebd09fe97c removed some samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 01:07:33 +00:00
Robin Dunn
8ee202f3fc Reduce frame size a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:43:42 +00:00
Robin Dunn
03a604a6a7 some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 03:43:00 +00:00
Robin Dunn
d0be08c704 update the overview text before updating the pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 02:17:47 +00:00
Robin Dunn
317a64e59a Changed the order that the demo and code pages are created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 02:06:25 +00:00
Robin Dunn
887a1bd93e Update the notebook before running the sample in case it is a modal
dialog, (but the best thing to do is to just always make a panel with
buttons to launch the dialog...)

Fix the find text to ensure that the found text is visible

Added ability to open a PyShell window that has the app and demo frame
preloaded in the namespace.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:23:52 +00:00
Robin Dunn
08ecc92023 Applied (and heavily modified) a patch from Eugene
<svip123@fastmail.fm> that allows the sample modules in the demo to be
edited and reloaded, all from within the demo.  You can switch back
and forth beteen the default and your edited version, and any errors
ocurring upon the reload are reported on the Demo tab.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 00:09:45 +00:00
Robin Dunn
14fb0a9f81 use NormalizeFontSizes if on wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 00:03:23 +00:00
Robin Dunn
5193b348e8 SetSizeHints --> SetMinSize or SetBestFittingSize, and other tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 22:24:57 +00:00
Robin Dunn
982d160782 updated sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-02 22:09:39 +00:00
Robin Dunn
d9bdbc5673 little tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-02 22:01:02 +00:00
Robin Dunn
2aa0b8c146 No longer have to hold a reference to the sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:29:07 +00:00
Robin Dunn
7ac36741b1 Hold on to the Sound objects as the Mac async plays will stop when the
object is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:55:47 +00:00
Robin Dunn
5e1796efd3 Updates from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:19:47 +00:00
Robin Dunn
35ee3288c6 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 22:57:33 +00:00
Robin Dunn
55580c9ddb removed commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:12:39 +00:00
Robin Dunn
414f5c2d50 Use maxint for appending to the listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-06 21:12:26 +00:00
Robin Dunn
44b8f8e051 Don't need to adjust the position for HitTest any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 18:03:48 +00:00
Robin Dunn
648d396ceb use TWIST buttons by default on the Mac, but also make it possible to
skip the style adjustments so the programmer can do what they want too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:58:19 +00:00
Robin Dunn
55bd43d245 Tweaks for testing styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:06:16 +00:00
Robin Dunn
d90a959f09 Add some refreshes to try and workaround a display glitch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:05:36 +00:00
Robin Dunn
b8b7987c85 fixed icon image data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:03:09 +00:00
Robin Dunn
8110967640 tweaked comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:02:52 +00:00
Robin Dunn
d6375c6983 tweaks for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:20 +00:00
Robin Dunn
33b7017158 XRC style names use the C++ style names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:16:30 +00:00
Robin Dunn
10b12f715e layout tweak (it should use a sizer though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 03:29:33 +00:00