Commit Graph

435 Commits

Author SHA1 Message Date
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
Robin Dunn
42463de267 Added a new version (0.8.3) of FloatCanvas from Chris Barker. It's
now in a subpackage of wx.lib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 21:29:41 +00:00
Robin Dunn
cdb501108b Change the text object to a message about the new OGL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:51:04 +00:00
Robin Dunn
f6063c1944 Make taskbar icon size dependent on platform. Other tweaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:50:22 +00:00
Robin Dunn
a60a147a8c Commented out some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 05:03:12 +00:00
Robin Dunn
68c0610dae Don't scroll too far if the child getting the focus is large.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 04:22:16 +00:00
Robin Dunn
f847103a32 Added a Python port of the OGL library, deprecated the C++ wrapped version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 02:13:04 +00:00
Robin Dunn
b7aef85882 Removed calls to wx.InitAllImageHandlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:21:56 +00:00
Robin Dunn
969d9b6fa9 Added a generic StaticBitmap class in wx.lib.statbmp for the same
reasons that stattext was created, so it could be mouse sensitive on
all platforms like normal windows.  Also updated stattext.py and
buttons.py to handle attribute (font & colour) defaults and
inheritance the new way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 21:22:39 +00:00
Robin Dunn
3ba55e8ab7 Updates for the Joystick demo to allow it to funciton on Linux where
the min position values are negative.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 02:53:19 +00:00
Robin Dunn
9318d9b32d Tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:18:37 +00:00
Robin Dunn
9a5dd1c33c Some test code for loading sound from data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 21:43:35 +00:00
Robin Dunn
2abd8d78a6 removed a debugging print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 17:04:54 +00:00
Robin Dunn
ab5b7b6126 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 01:51:14 +00:00
Robin Dunn
d7403ad2d1 Reverted to old method names/signatures for wx.DC, updated lib and
demo to match.  Also fixed some deprecation warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 02:41:33 +00:00
Dimitri Schoolwerth
653d2f0cb3 fixed a few typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 17:45:59 +00:00