Commit Graph

615 Commits

Author SHA1 Message Date
Robin Dunn
b3b61cdaa0 Added wx.DatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:38:30 +00:00
Robin Dunn
c163da42f0 typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 00:18:40 +00:00
Robin Dunn
e79c8a7c10 Add a sample of a wx.StaticBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:53:50 +00:00
Robin Dunn
0f9da07463 Use wx.StdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 19:27:56 +00:00
Robin Dunn
33971536c5 Shorten key names, add some tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 22:38:20 +00:00
Robin Dunn
33a84aceab Attempt to display the unicode character if running a unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 22:36:38 +00:00
Robin Dunn
31a01a24c8 Avoid name clash with wx.App.OnExit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 03:09:17 +00:00
Robin Dunn
39ac28747f Add ability to copy the event log to the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 03:08:37 +00:00
Robin Dunn
a7593631f1 misc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 22:36:36 +00:00
Robin Dunn
8fc680f47c All the demo samples return a panel now, no need to cater for frames
or dialogs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 22:35:27 +00:00
Robin Dunn
54563c57da Some little demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:17:02 +00:00
Robin Dunn
ce6780cfe3 log IsEditCancelled too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:15:43 +00:00
Robin Dunn
e0b86f0787 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:47:03 +00:00
Robin Dunn
a91fbc8e34 Use sizers for layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:46:17 +00:00
Robin Dunn
644f2d8390 namespace fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:45:17 +00:00
Robin Dunn
d6660ffabc Make the wx.MediaCtrl demo more functional, and add a sample movie.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 00:43:24 +00:00
Robin Dunn
95262b5fa5 Some tweaks for the wxMediaCtrl and enhaced the demo a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 21:49:41 +00:00
Robin Dunn
020303e6f9 Little tweaks to match recent wxWidgets updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 00:06:58 +00:00
Robin Dunn
9828eeb4a3 added overview text for wx.MediaCtrl demo, udpated CHANGES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:49:08 +00:00
Robin Dunn
256c055e88 Added wrappers for wx.MediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:21:30 +00:00
Robin Dunn
b6176ab722 Fixes for DemoCodeEditor for when there is no STC available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 22:31:04 +00:00
Robin Dunn
62038e5976 StandardPaths updates. Added a demo sample for StandardPaths. Made
the Python install prefix be the default install prefix for
StandardPaths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 01:28:18 +00:00
Robin Dunn
69b6d63d01 the python2 check is gone, take out the use of the flag too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 03:00:09 +00:00
Robin Dunn
6b9f434ef3 * wxPrintDialog no longer derives from wxDialog.
* Add wxRTTI info for wxPyPrintout
* wxPrintFactory probably doesn't need to be exposed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-13 02:30:14 +00:00
Robin Dunn
f290d1c76e Set some minsizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:54:08 +00:00
Robin Dunn
c4ef95daf6 Use a MessagePanel instead of a MessageDialog for samples that may not
be runnable in certain conditions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 19:39:09 +00:00
Robin Dunn
0ae3862362 Remove non-ascii characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:33:29 +00:00
Robin Dunn
630edaac3c Use wx.FULL_PAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:30:16 +00:00
Robin Dunn
75a937411c Save a reference to the async sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 16:50:07 +00:00
Robin Dunn
05871e13a0 Use the wx.App.SetMac* static methods instead of the global functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 20:31:34 +00:00
Robin Dunn
c7ea279bf6 just a little tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 00:43:09 +00:00
Robin Dunn
8ce7234a58 Some new icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 03:04:16 +00:00
Robin Dunn
dfc57effd1 Remove comment too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 03:51:35 +00:00
Robin Dunn
8596dc0b9b use multiple images for changing the taskbar icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 03:50:09 +00:00
Robin Dunn
5894743813 fix image range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 03:49:19 +00:00
Robin Dunn
498fbcb4f5 Test GetTextRange on some unicode text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:29:51 +00:00
Robin Dunn
0bee2fce88 Fix to use old AutoWidthMixin API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 17:46:29 +00:00
Robin Dunn
af9dbe709d Show PlatformInfo in the About box too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:21:37 +00:00
Robin Dunn
7869b836de Corrected some comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 19:35:03 +00:00
Robin Dunn
15513a8066 Applied patch from Pim Van Heuven that modifies 4 files:
- wxPython/demo/ListCtrl_edit.py (new demo)
    - wxPython/demo/Main.py (include new demo in demo app)
    - wxPython/wx/lib/mixins/listctrl.py (several improvements to
      TextEditMixin)
    - wxPython/wx/lib/wxpTag.py (some small fixes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 18:45:21 +00:00
Robin Dunn
d1f46a1c4d Use a better fixed size for the spin button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 22:16:06 +00:00
Robin Dunn
f54a36bba8 MaskedEdit updates from Will Sadkin:
- Added '*' mask char that means "all ansii chars" (ords 32-255)
    - Added proper unicode support to masked controls and wx.tools.dbg
    - Fixed two reported missing import bugs introduced by package
      creation
    - Converted masked package doc strings to reST format for better
      epydoc support
    - lots of doc string improvements and function hiding to better
      reflect package's public contents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 22:13:18 +00:00
Robin Dunn
e44b5196a6 Don't bind the ACTIVATE events until the log window is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 00:57:35 +00:00
Robin Dunn
2a0495c9f7 FloatCanvas patch from Chris Barker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 19:28:57 +00:00
Robin Dunn
8412feb028 Show EVT_ACTIVATE and EVT_ACTIVATE_APP events in action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:34:20 +00:00
Robin Dunn
c0b26bc2be Don't need to tickle the Idle process any more for taskbar icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:40:24 +00:00
Robin Dunn
49090f6f10 Change which image is used in the taskbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:52:45 +00:00
Robin Dunn
bbfc7289d6 Stop the timer before closing the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:51:24 +00:00
Robin Dunn
1cc18e15f4 Overridable CreatePopupMenu in TaskBarIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:24:10 +00:00
Robin Dunn
d531898b10 Patch from Victor V. Kryukov
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 16:46:43 +00:00
Robin Dunn
385721a888 NormalizeFontSizes --> SetStandardFonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 03:11:22 +00:00
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
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
Robin Dunn
0c8f286073 wx.StaticBox and siblings creation order, and other fixes from Kevin Ollivier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 00:39:05 +00:00
Robin Dunn
56b98bac20 Use PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:57:50 +00:00
Robin Dunn
3c29a62abb wxFIXED_MINSIZE is not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:57:01 +00:00
Robin Dunn
c878ceeae8 Added new MaskedEditControl code from Will Sadkin. The modules are
now locaed in their own sub-package, wx.lib.masked.  Demos updated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:24:37 +00:00
Robin Dunn
3d3e7dcbd8 Reorder the controls so the RadioButtons work right on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 19:55:35 +00:00
Robin Dunn
ef8b9c3eb8 minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 18:11:14 +00:00
Robin Dunn
af8ea558ba Use FIXED_MINSIZE on the listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:24:47 +00:00
Robin Dunn
c66b63e565 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:22:50 +00:00
Robin Dunn
f52e0cf489 Changed name to wxFIXED_MINSIZE since that is more descriptive of what
it does.  The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
74a57fcda4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:45:45 +00:00
Robin Dunn
102e2b26c0 Various layout tweaks, wx.FIXED_SIZE added, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:25:11 +00:00
Robin Dunn
e478ff9e2d style tweaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:50:27 +00:00
Robin Dunn
c1fcc7a9b3 Use wx.CLIP_CHILDREN on the splitter windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:49:36 +00:00
Robin Dunn
00e4ce13ba changed border style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:48:18 +00:00
Robin Dunn
78a32590b1 Fixes so bg colors in a notebook on XP are visible again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:47:37 +00:00
Robin Dunn
f7327fccd3 Use a panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:46:59 +00:00
Robin Dunn
13fc2ad819 use wx.FIXED_SIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:32:53 +00:00
Robin Dunn
45cf74cccf Demo tweaks to correct some visual glitches and event order issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 17:44:05 +00:00
Robin Dunn
3c8ad70ad4 typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 18:05:58 +00:00
Robin Dunn
5cd7ab8dd8 demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:02:16 +00:00