Commit Graph

450 Commits

Author SHA1 Message Date
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
Robin Dunn
e7db5d9c82 increased bit-depth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:47 +00:00
Robin Dunn
0362149469 regenerated with fix for wxPNGHandler::SaveFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:07 +00:00
Robin Dunn
ebfcc17a6a layout tweakAdd DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:24:36 +00:00
Robin Dunn
4c51584544 test full row highlight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 21:59:21 +00:00
Robin Dunn
6ab5d4883f Various layout fixes and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:10:20 +00:00
Dimitri Schoolwerth
dabbc6a5a1 removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Robin Dunn
1005198c07 Use correct CheckForIntersect method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:55:39 +00:00
Robin Dunn
bdac31bad6 bash version of wxPython's b script for win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 02:43:22 +00:00
Robin Dunn
6c7d17924a In unicode builds convert the source files and overview text to
unicode before displaying them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 23:46:12 +00:00
Robin Dunn
b53190ef7e Add each line independently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:13:33 +00:00
Robin Dunn
356f3c650c Make the copy ctor for the wxPrint*Data classes avaialble from
Python. This is so we can ensure we get a copy of the data objects
when needed instead of just a reference to a data object within
another that may get deleted unexpectedly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:04:54 +00:00
Robin Dunn
f8a11ef915 remove the Yield's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:01:20 +00:00
Robin Dunn
4638eaea2d little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:56:36 +00:00
Robin Dunn
77d4f44386 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:21:22 +00:00