Commit Graph

442 Commits

Author SHA1 Message Date
Roman Rolinsky
6cb85701e2 SetModified updates window title ('*' is shown if modified)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-09 19:21:28 +00:00
Roman Rolinsky
5758b2468e new version ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 09:58:03 +00:00
Roman Rolinsky
64b9ac7523 StdDialogButtonSizer menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 09:51:40 +00:00
Roman Rolinsky
837db46d7a fix for toolbar items selection - impossible to find exact coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 17:13:08 +00:00
Roman Rolinsky
6ac94a4806 ART_NEW is not defined in previous versions, use NORMAL_FILE for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 17:11:11 +00:00
Roman Rolinsky
71b1eafc4e some new parameters
removing empty text nodes from XML


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 14:47:01 +00:00
Roman Rolinsky
207ebbbd72 toolbars can be added inside windows, fix for relative pathnames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 14:34:05 +00:00
Kevin Ollivier
a70e625879 Added a missing import that was causing FormatText to fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 07:20:29 +00:00
Robin Dunn
4eb5bfc61f Log the exception when writing to file fails.
Set the default encoding from wxGetDefaultPyEncoding again.
Recover from encoding errors when writing the memory file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:59:21 +00:00
Robin Dunn
467f4d3a74 Pass the print data to the wx.PrintDialogData ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 20:48:52 +00:00
Robin Dunn
2eeaec1909 Docview and IDE patch from Morag Hua with fix for bug #1217890
"Closing view crashes Python" plus some new features:

    New feature added to the IDE is 'Extensions'.  Under
    Tools|Options|Extensions, you can add calls to external programs.
    For example you can add a "Notepad" extension (under windows) that
    will exec Notepad on the currently open file.  A new "Notepad"
    menu item will appear under the Tools menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 23:18:57 +00:00
Robin Dunn
94211100ea Only freeze the splitter, the children will be automatically frozen too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 22:58:14 +00:00
Robin Dunn
88d139d2f5 Forgot to get rid of the old test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:44:40 +00:00
Robin Dunn
3a9604b42b Only Freeze/Thaw on wxMSW. The other ports don't need it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:43:15 +00:00
Robin Dunn
0263d0bb05 Added the wx.lib.splitter module, which contains the
MultiSplitterWindow class.  This class is much like the standard
wx.SplitterWindow class, except it allows more than one split, so it
can manage more than two child windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:35:49 +00:00
Robin Dunn
5088276afa Fix for bug #1217874, Error in parameter name in DocManager.CreateView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 00:30:14 +00:00
Robin Dunn
55114d934f Fixes for bug #1217872 pydocview.DocService not correctly initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 00:27:31 +00:00
Robin Dunn
14fe087a0c Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-03 23:59:17 +00:00
Robin Dunn
f45b8db4ae Don't scroll when the mouse is dragged outside of the grid, unless the
mouse is kept in motion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 03:53:01 +00:00
Robin Dunn
e0fe229bf9 Have to dig a little deeper to find a wxPyDeadObject...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 03:41:32 +00:00
Robin Dunn
26ee3a06e2 DocView patches from Morgen Hua: bug fixes, and additional SVN
commands, also added a default template that uses the text editor for
any unknown file type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 21:41:11 +00:00
Julian Smart
d69225772a Olly Betts' typo patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:29:22 +00:00
Robin Dunn
6e2bdf8f48 Added wxSL_INVERSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-27 16:37:48 +00:00
Robin Dunn
0cc77ca0e7 add wxART_NEW, and fixed wxART_FIND_AND_REPLACE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 21:14:30 +00:00
Robin Dunn
9377fc0de2 Don't change the fg/bg colours so that the native colours will be
used, which may be different than the parent's colours or even
themed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 21:14:05 +00:00
Robin Dunn
56caea07f8 use wx.ART_NEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 19:25:26 +00:00
Robin Dunn
5c3a23e1f9 Don't force the art provider to resize the toolbar bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 18:54:18 +00:00
Roman Rolinsky
ce32683b97 small fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 01:20:33 +00:00
Roman Rolinsky
c70b2101a1 encoding should not be specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 01:18:08 +00:00
Roman Rolinsky
9a69d0aa1d 0.1.5-2
-------

Using wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for changing active encoding.

Fixed pasting siblings (Ctrl key pressed while pasting).

Dealed with ascii build (Python does not recognize 'ascii' as valid encoding).
If encoding is not specified it is not written in XRC. Will add more
customization in the future.

Changed to use SimpleTool instead or Toggle tool (does not work on Win32).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 01:10:05 +00:00
Robin Dunn
6c75a4cf0f Removed unnecessary files, removed or replaced images that we're not
sure of their origin or license.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:55:42 +00:00
Robin Dunn
0d9b889148 Corrections for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 22:32:40 +00:00
Robin Dunn
6f1a3f9c1a More updates to the docview library modules and sample apps from the
ActiveGrid folks.  Their sample IDE is now able to integrate with
Subversion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 00:21:49 +00:00
Robin Dunn
4809f5df5d Patch from Davide Salomoni that adds an optional point
parameter to LineShape.InsertLineControlPoint allowing one to
optionally specify where the new control point has to be drawn.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 00:13:43 +00:00
Robin Dunn
2c3e35c2fc Bug fix from Chad Netzer for when self.history is None
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 18:03:29 +00:00
Roman Rolinsky
016f67baf6 0.1.5-2
Using wx.GetDefaultPyEncoding/wx.SetDefaultPyEncoding for changing
active encoding.

Fixed pasting siblings (Ctrl key pressed while pasting).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 08:48:54 +00:00
Robin Dunn
7c2c2e0742 Set the ID and the event object in the events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 02:33:37 +00:00
Robin Dunn
3de6964a9f Added a wx.xrc.XmlResourceHandler for the Ticker class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 00:39:38 +00:00
Robin Dunn
d167fc518a Themed backgrounds for flat generic buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 00:41:02 +00:00
Robin Dunn
2e23d84992 Better handling of the bg to allow the theme (if any) to be visible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 01:39:09 +00:00
Robin Dunn
a698767447 Added wx.lib.hyperlink from Andrea Gavana. It is a control like
static text that acts like a hyper-link, launching the system's
default browser in response to the clicks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-13 00:27:02 +00:00
Robin Dunn
180ebf90bc Add line control points before the end point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-12 22:55:32 +00:00
Robin Dunn
4e5d278c12 Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-12 22:46:53 +00:00
Robin Dunn
9751f1a830 Don't use wx.TheFontList.FindOrCreateFont, it's way too slow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-11 17:04:01 +00:00
Robin Dunn
7a9ca9fca6 Don't allow zero-sized buffer bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:59:34 +00:00
Robin Dunn
b792147db7 More updates from Morgan Hua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-05 00:10:29 +00:00
Robin Dunn
438550d873 Bind event to the listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 21:47:00 +00:00
Robin Dunn
e345fb0b32 use the passed in ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 00:03:00 +00:00
Robin Dunn
8bb039c8b2 part of the revert of 1.8 got botched
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 00:02:17 +00:00
Robin Dunn
e31753ef6e flicker reduction for gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-02 23:44:38 +00:00
Robin Dunn
42233acb1f Ensure the bitmap is good before drawing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-02 23:43:56 +00:00
Robin Dunn
543cba0252 detabbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 19:04:19 +00:00
Robin Dunn
c7426f4ca3 No need to match bg colours any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 18:55:28 +00:00
Robin Dunn
bbf7159c82 Updates to doc/view modules and sample apps from ActiveGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-28 00:00:50 +00:00
Roman Rolinsky
64bce500c0 Version 0.1.5-1
Added wxWizard, wxWizardPageSimple (only from pull-down menu).

Hide command for test window.

Replacing classes works better.

Added Locate tool.

params.py, xxx.py: some window styles were fixed
(to correspond more to the docs)

xrced.py: subclass bug fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 18:49:44 +00:00
Robin Dunn
e4f0ea6b45 extra self removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 15:44:35 +00:00
Robin Dunn
dba0885d8c Patch from Joe "shmengie" Brown joebrown@podiatryfl.com
o Adjusted spin control size/placement (On Windows ctrls were overlapping).
  o Set Ok/Cancel buttons to wx.ID_OK & wx.ID_CANCEL to provide default dialog
    behaviour.
  o If no date has been clicked clicked, OnOk set the result to calend's date,
    important if keyboard only navigation is used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 00:14:01 +00:00
Robin Dunn
42a04f70db Applied patch #1181805 TextEditMixin and EVT_LIST_END_LABEL_EDIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 00:28:22 +00:00
Robin Dunn
c5d11c71d7 Don't depend on the default formatting of wx.DateTime objects for
extracting a date and time string.  The format depends on locale and
platform defaults.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 20:08:49 +00:00
Robin Dunn
281c105455 Patch from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 21:31:25 +00:00
Robin Dunn
3fa8f7227b Updated docview library modules and sample apps from the ActiveGrid
folks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 19:04:58 +00:00
Robin Dunn
29ea653e5c Ignore kill focus events when being destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 18:05:15 +00:00
Robin Dunn
cb78099221 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 23:31:53 +00:00
Robin Dunn
940caa34cc Correct way to find the region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 19:29:34 +00:00
Robin Dunn
75748473ee Return the wx.SizerItem from the Add methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 04:39:11 +00:00
Robin Dunn
2b9590d611 Patch from Werner F. Bruhin that allows either vertical and/or
horizontal gridlines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 22:55:18 +00:00
Robin Dunn
a721e6ecd5 Copy the wx.PrintData objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 23:44:14 +00:00
Robin Dunn
6d3c4b2aee docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 23:55:30 +00:00
Robin Dunn
6def2b5299 Change multipleChoiceDialog to use wx.MultiChoiceDialog instead of
wx.lib.dialogs.MultipleChoiceDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:18:36 +00:00
Robin Dunn
42f5333f80 Added wx.lib.foldpanelbar, Andrea Gavana's port of Jorgen Bodde's C++
wxFoldPanelBar classes to Python.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 22:58:23 +00:00
Robin Dunn
7276cbe3f0 OGL fixes from Davide Salomoni
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 21:24:51 +00:00
Robin Dunn
27ed367cb2 wx.lib.mixins.listctrl: Patches from Toni Brkic:
* Bugfix for TextEditMixin when the view can't be scrolled
   * Enhancement for ListCtrlAutoWidthMixin, allowing it to manage
     the width of any column.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 20:04:50 +00:00
Robin Dunn
1fed7edaa7 Be a little smarter about converting unicode command-lines to string objects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 20:34:52 +00:00
Robin Dunn
8bd882eec1 A little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 20:16:27 +00:00
Robin Dunn
f9a5ba047c Delay some of the cascading resizes to work around a bug with defered
resizes in wxMSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:37:48 +00:00
Roman Rolinsky
364a2be07a README scrolling fix
fix for Mac (opts inside try/except)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 17:09:40 +00:00
Robin Dunn
a3c8bbc1b4 Workaround for toolbartool tooltip not getting written to the XRC file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 01:47:45 +00:00
Robin Dunn
331c8101d2 Added toolbar wxTB_TEXT flag and tool label property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-06 03:31:21 +00:00
Robin Dunn
fb113b165e Add SetDefault()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 01:51:53 +00:00
Robin Dunn
7f2a8ba844 allow border flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 20:42:17 +00:00
Robin Dunn
280432a984 Added newDirectory flag to DirBrowseButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 23:52:44 +00:00
Robin Dunn
b0f3dd44e4 Use GetMark if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 16:22:31 +00:00
Robin Dunn
edef8600a6 delete singleInstanceChecker when exiting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:35:34 +00:00
Robin Dunn
f75e95f5f4 NotebookSizer is deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:32:02 +00:00
Robin Dunn
74b8945829 Updates for doc/view from Morgan Hua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:16:34 +00:00
Robin Dunn
7a0c9b3917 Updates for MouseGestures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:03:35 +00:00
Robin Dunn
766abb5bc9 Patch from Will Sadkin:
Enclosed are two patches, one for timectrl, re: exceptions (now?)
    thrown on wxDateTime.strftime(%p) in a non-am/pm locale, and one
    for a problem that prevented input into the integer digit of a
    integerwidth=1 numctrl, if the current value was 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:45:13 +00:00
Robin Dunn
d1dc2b32e0 Added docview modules from Peter Yared and Morgan Hua
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 23:50:26 +00:00
Robin Dunn
51c5e1f21e Added wx.lib.gestures module from Daniel Pozmanter which supports
using Mouse Gestures in an application.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 18:02:19 +00:00
Robin Dunn
718903fe64 wxStdButtonSizer Finalise --> Realize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 17:49:03 +00:00
Robin Dunn
006f35560e Avoid doing a str(object) since in some cases it can result in very
large strings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:50:41 +00:00
Robin Dunn
24054d48e9 can't have a zero sized font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:46:40 +00:00
Robin Dunn
8e738329a9 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:52:34 +00:00
Robin Dunn
7ab7156341 Don't do str() on Numeric arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:43:00 +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
f062c0e2ee Patch #1113284: wx.lib.calendar SetBusType() problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 19:35:40 +00:00
Roman Rolinsky
ab24d4425a Locate command, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 19:57:50 +00:00
Roman Rolinsky
fd91945141 Batch of changes:
- converting relative paths to absolute to compensate chdir
  - added Locate command (Edit menu)
  - Notebook children are highlighted correctly (at least on wxGTK 2.5.3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 19:49:04 +00:00
Kevin Ollivier
acb7a89ad0 Fixed problem with incorrect panel background on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 21:30:38 +00:00
Robin Dunn
8d9be42a28 Patch from Prabhu Ramachandran to make introspection of lazily
evaluated objects not create the final object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:18:17 +00:00
Robin Dunn
b81de788b4 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:15:52 +00:00
Robin Dunn
fec9bb97b3 a bit of code cleanupt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:15:08 +00:00
Robin Dunn
acb0429704 Play nice with sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 21:14:15 +00:00
Robin Dunn
3dd9536f2e Fix for bug [ 1098263 ] wx.lib.ogl control points leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 03:48:06 +00:00
Roman Rolinsky
759c619e28 checking for dom.encoding == None
temporary fix for wxPyAssertion from XRC library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:35:35 +00:00
Roman Rolinsky
f19b8f1124 wxIcon correctly handled now (it has no "icon" tag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 02:32:23 +00:00
Robin Dunn
de6ca7ff44 Changed GetSystemColour to GetColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:19:17 +00:00
Robin Dunn
0d2653ff97 Added default values for some parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 02:01:08 +00:00
Robin Dunn
4f686d3271 untabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 06:05:09 +00:00
Robin Dunn
7353d81801 Applied patch #1084332: xrced does not respect encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 19:39:09 +00:00
Robin Dunn
152d7d3516 made dates in comments consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 17:53:56 +00:00
Robin Dunn
fab7c93158 ensure that yesr is an integer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 22:00:43 +00:00
Robin Dunn
b50732d9c4 commented out dbg message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 21:01:12 +00:00
Robin Dunn
bc37bfe2ee Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 20:58:44 +00:00
Robin Dunn
7aada1e05a Lots of tweaks and additions to get caught up with CVS HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 02:27:12 +00:00
Robin Dunn
2268569346 Fixed GetSaveData and SetSaveData in wx.lib.multisash to not depend on
the default way that class objectss are converted to strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 18:16:31 +00:00
Robin Dunn
ca8071ca9f OGL patch from Shane Holloway:
Two simple problems found in the new python ogl code.  First is
    the patch for _canvas.py.  Essentially:

        dx = abs(dc.LogicalToDeviceX(x - self._firstDragX))
        dy = abs(dc.LogicalToDeviceY(y - self._firstDragY))

    was incorrect because (x,y) and (self._firstDragX,
    self._firstDragY) are both already in Logical coordinates.
    Therefore the difference between the two is also in logical
    coordinates, and the conversion call is an error.  This bug
    surfaces when you have OGL on a scrollwin, and you are far from
    the origin of the canvas.

    The second change in _composit.py basically removes the assumption
    that the child is in both self._children and self._divisions.
    Causes many problems when it's not.  ;)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 18:14:45 +00:00
Robin Dunn
48023e151f Backed out Oliver's PyPlot changes at Gordon's request.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:03:21 +00:00
Robin Dunn
ecf0b9f982 PyPlot updates from Oliver Schoenborn:
- Factored out "draw command" so extensions easier to implement: clean
      separation b/w user's "draw" (Draw) and internal "draw" (_draw)
    - Added ability to define your own ticks at PlotCanvas.Draw
    - Added better bar charts: PolyBar class and getBarTicksGen()
    - Put legend writing for a Poly* into Poly* class where it belongs
    - If no legend specified or exists, no gap created


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 18:38:04 +00:00
Robin Dunn
1c7da10ebf Only do this Show on wxGTK as it is needed there but can cause display
problems on MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 18:30:41 +00:00
Robin Dunn
c59e73e82d Ensure the first EVT_SIZE has happened before the first EVT_PAINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 21:35:54 +00:00
Kevin Hock
34621cc5d6 Documentation patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 19:11:07 +00:00
Robin Dunn
02c3b4d92b A small fix for attachment popints and comments, from Pierre.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-22 15:24:55 +00:00
Robin Dunn
b31cbeb974 More PyPlot updates from Gordon Williams:
- Imported modules given leading underscore to name.
   - Added Cursor Line Tracking and User Point Labels.
   - Demo for Cursor Line Tracking and Point Labels.
   - Size of plot preview frame adjusted to show page better.
   - Added helper functions PositionUserToScreen and
     PositionScreenToUser in PlotCanvas.
   - Added functions GetClosestPoints (all curves) and GetClosestPoint
     (only closest curve) can be in either user coords or screen
     coords.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 03:58:40 +00:00
Robin Dunn
f2f8a5fce8 Show PlatformInfo in the About box too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 20:31:23 +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
a38c690323 wxRect --> wx.Rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 00:51:57 +00:00
Robin Dunn
58c132bbfc line segment fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:59 +00:00
Robin Dunn
303aff5ed8 dc.DrawLines fixed [1046055]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 15:14:10 +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
Roman Rolinsky
80389ff709 Applied changes by Bartlomiej Gorny for recent files and style panel fix.
cellpos & cellspan parameters are changed to type ParamPosSize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 00:00:31 +00:00
Roman Rolinsky
3b35f6d8b3 fixed spacer image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 23:55:29 +00:00
Roman Rolinsky
714457aeda Fixed spacer image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-10 23:48:27 +00:00
Robin Dunn
00b9c8672f Patch from Gordon Williams:
- Added bar graph demo
   - Modified line end shape from round to square.
   - Removed FloatDCWrapper for conversion to ints and ints in arguments


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 20:15:55 +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
2e0ae50eca A Python version of wxrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 18:32:25 +00:00
Robin Dunn
0297af1520 Fixed typo, patch from Will
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 18:14:20 +00:00
Robin Dunn
94bc006bd2 Correct call to shape.Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 23:12:29 +00:00
Robin Dunn
84c8e900a6 Added missing setters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 16:13:30 +00:00
Robin Dunn
fdf907adb6 wx.NO_BORDER style sets the bezel width to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 20:47:16 +00:00
Robin Dunn
cd5cb880d0 Fixes for bug #1031151 and #1031239
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 00:43:47 +00:00
Robin Dunn
162662e91c Use line.Draw(dc) instead of line.GetEventHandler().Draw(dc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:33:07 +00:00
Robin Dunn
ae601e32a8 Point x,y fixes from Pierre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 17:21:57 +00:00
Robin Dunn
5dd0f8257c Correct indentation and Snap calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:29:43 +00:00
Robin Dunn
558d682c9e Append --> append
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 15:27:38 +00:00
Robin Dunn
241d5f3d34 Fix for ogl.FORMAT_SIZE_TO_CONTENTS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 19:54:05 +00:00
Robin Dunn
60509cc126 fixed case typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-09 23:14:24 +00:00
Robin Dunn
d8f9d612be Fixed wrong append() name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 23:50:59 +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
b2371711d0 Updated generic window styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:47:01 +00:00
Robin Dunn
3d49f2fb17 Added 3-state checkbox and toggle button support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 19:22:35 +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
73b79b9938 don't show the message dialog on import unless there is already an app object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:57:23 +00:00
Robin Dunn
678666f238 Use default heights on the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 23:29:23 +00:00
Robin Dunn
ae5aafdc71 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:07:54 +00:00
Robin Dunn
8ab1534028 wxListCtrl --> wx.ListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:07:15 +00:00
Robin Dunn
ac1c82d736 comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:05:59 +00:00
Robin Dunn
f86c9a1ff0 Use the right class name for caling __init__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:04:29 +00:00
Robin Dunn
19cc8ed9e1 Various tweaks and fixes from Kevin A.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 22:03:01 +00:00
Robin Dunn
2871fade83 Hide page2 until it is needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 16:59:43 +00:00
Robin Dunn
5cd66f076f Put back the caching of property panels (as there is a noticable
improvement in speed) but just Hide() them instead of Reparent().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 22:52:35 +00:00
Robin Dunn
a78714eb8c Don't cache property and style panels as wxMac can't do Reparenting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 18:34:29 +00:00
Robin Dunn
c9c4689547 Don't call wx.ThePenList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 02:34:03 +00:00
Robin Dunn
9e26b2b2aa layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 20:04:47 +00:00
Robin Dunn
1b72277062 tweak border size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 15:21:11 +00:00
Robin Dunn
d6dabac05d updated to wx namespace by Peter Damoc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 15:20:25 +00:00
Robin Dunn
89977ceb4e workaround for wxMac weirdness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:17:09 +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
d2d049f28a Just to be sure...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 20:24:25 +00:00
Robin Dunn
339983ff62 Patches from Will Sadkin:
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
  by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
  generated on control destruction, to prevent tracebacks

TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
  is called.
- Added AppendItems() for ComboBox

NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
  than '.'

TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
  appropriately if format supports it, and added code to check if
  local timezone uses "AM/PM" for this concept; if not, control now
  defaults to 24hour format, and disallows the am/pm form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:38:34 +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
a61c65b304 Blind fix to avoid a PyDeadObject error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:35:10 +00:00
Robin Dunn
f50544d8c5 Allow style to be specified for ScrolledMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:34:19 +00:00
Robin Dunn
4c53d5301b fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 20:33:37 +00:00
Robin Dunn
1fa4b13e1c Skip, Skip, Skip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 00:12:48 +00:00
Robin Dunn
4e4a10ba27 Refresh after changing the bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:04:04 +00:00
Robin Dunn
bbc5a00631 Use top-level parent for the dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:23:08 +00:00
Robin Dunn
edf3b4dcba override GetLabe/SetLabel as on wxMac it will draw its own label that
interferes with ours.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:21:46 +00:00
Robin Dunn
478ba84485 Fix for drag object bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:39:24 +00:00
Robin Dunn
5f280eaa57 Patch from Will Sadkin:
- Fixed intra-right-insert-field erase.
- Allowed right-insert in ipaddrctrl subfields.
- Made _SetValue() place cursor after last non-blank character inserted,
  rather than end of mask.
- Fixed combobox autoselect behavior to work similarly as above, so that
  said selection will only select the non-empty text, as per request.
- Fixed some incorrect undo behavior for right-insert fields
- Allowed derived classes (eg. numctrl) to pass modified values for undo
  processing (to handle/ignore grouping chars properly.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 16:25:55 +00:00
Robin Dunn
a2df8090e8 Patch from Pierre Hjälm.
"""
It removes "from __future__ import division", fixes a couple of bugs and
adds a lot of whitespace.

Since I also removed an instance of [::-1] for list reversing, I think this
ought to work on older pythons (I have not tested though).
"""




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 16:32:03 +00:00
Robin Dunn
3d7d51faea Set the client size as calculated, but use the full size for the size hints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 23:18:57 +00:00
Robin Dunn
fdc775af55 docstrign tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:52:01 +00:00
Robin Dunn
ebd7cc3ae8 reordered base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:22:30 +00:00
Robin Dunn
c6ca8c022c clip notebook children to help reduce flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 20:17:31 +00:00
Robin Dunn
19a4dcb8cf The new OGL doesn't have to be compatible with the bugs in the old
one!  ;-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:12:26 +00:00
Robin Dunn
e72d7b7716 Can't call ShiftDown when it is a CommandEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:09:51 +00:00
Robin Dunn
31f8e937b8 pi --> math.pi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:02:05 +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
db4aa52561 Don't draw if the panel is too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 00:07:42 +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
d85004c5ae Removed the deprecated ErrorDialogs and PythonBitmaps modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:15:46 +00:00
Robin Dunn
b2f6eb0606 Since everything in the submodules is to appear in the pacakge
namespace rename the submodule to have a leading underscore to make it
easier to document it that way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 20:12:01 +00:00
Robin Dunn
ebc89b9f61 namespace fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 04:45:04 +00:00
Robin Dunn
6fd864d159 Added $Id keyword, a bit of cleanup and also some backwards
compatibility aliases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:49:09 +00:00
Robin Dunn
aef87ac0ff comment fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:47:57 +00:00
Robin Dunn
28bed70aa9 Use new DrawPoint signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:59:01 +00:00
Robin Dunn
241af5cf6a Don't use deprecated wx.MaskColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:45:17 +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
04717ee7df fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 14:55:43 +00:00