Commit Graph

210 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
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
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
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
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