Commit Graph

285 Commits

Author SHA1 Message Date
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