Commit Graph

502 Commits

Author SHA1 Message Date
Roman Rolinsky
0cbb7d59d4 added TreeCtrl.WindowIndex method for skipping items like MenuBar
when counting window children


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 13:13:51 +00:00
Robin Dunn
73b2a9a749 First pass at integrating a code generator in XRCed. Initial patch
from Eli Golovinsky, with lots of additional mods by me.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 06:17:11 +00:00
Robin Dunn
a2234452a7 wxNotebookSizer is gone now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 19:24:39 +00:00
Robin Dunn
0cdd86d6d0 wx.lib.pubsub updates from Oliver Schoenborn:
- the hash problem re non-hashable objects
    - now supports listeners that use *args as an argument
      (listener(*args) was not passing the validity test)
    - corrected some mistakes in documentation
    - added some clarifications (hopefully useful for first time
      users)
    - changed the way singleton is implemented since old way prevented
      pydoc etc from extracting docs for Publisher


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 01:15:20 +00:00
Robin Dunn
2f643d0600 Force a full refresh when the focus changes so the bitmap button will
redraw its label if needed.  Also give defaults to more of the ctor parameters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-06 00:12:11 +00:00
Roman Rolinsky
20002db0f8 implemented locating objects in gridbag sizer,
expanding tree to show selected object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 17:36:21 +00:00
Roman Rolinsky
28e65e0fa0 Second fix for Copy/Paste (using expat.native_encoding property).
Added cellpos,cellspan properties for Spacer in GridBag sizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:55:17 +00:00
Robin Dunn
b82f68a95b Docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 23:33:01 +00:00
Robin Dunn
8948306f78 Fixed problem in wx.lib.splitter when used on 64-bit platforms. Used
the current length of the list for specifying an append instead of
sys.maxint.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 23:19:34 +00:00
Roman Rolinsky
ecc19da767 version 0.1.7-3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:39:07 +00:00
Roman Rolinsky
9932837291 ignore wrong colour spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 16:38:20 +00:00
Roman Rolinsky
ebaaf8f630 fix for copy/paste to work with i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:36:34 +00:00
Robin Dunn
ccd34c944d Need to tell which object to Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 01:41:47 +00:00
Robin Dunn
de2a042405 avoid assert in wxMac port, only change the font point size when we
are going to be using it in objects that need to draw text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:20:48 +00:00
Robin Dunn
9c6e3c5714 Use self.GetCanvas() instead of just self.GetCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:14:46 +00:00
Robin Dunn
f65bb0f8ab * wx.Panel doesn't have a SetTitle anymore. What was this used for
anyway?

* Allow  wxMenuBar to be created inside a wxFrame

* More robust clipboard handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 01:49:58 +00:00
Robin Dunn
71caeaf3c0 Add scrollbars when the plot is zoomed in, and also the ability to
grab a zoomed plot and move it around with a mouse drag.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-17 22:45:37 +00:00
Robin Dunn
23a023642c Added CheckListCtrlMixin from Bruce Who
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:22:53 +00:00
Robin Dunn
caeac82e4d Updated the analogclock.py module to the new analogclock package from
E. A. Tacao.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-15 23:17:54 +00:00
Robin Dunn
a6cb8040a8 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 01:29:52 +00:00
Robin Dunn
b0d45269cc Applied patch #1441370: lib.plot - allow passing in wx.Colour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 17:44:48 +00:00
Robin Dunn
c15cc56f2d Make the 'this' attribute a real attribute of the Facade, not a
viritual one.  This is needed because of some SWIG optimizations that
will skip using getattr to find the 'this'.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:19:25 +00:00
Robin Dunn
b0429a4019 Publisher is now able to parse a dotted notation string
into a topic tuple.  For example: subscribing to "timer.clock.seconds"
is the same as subscribing to ("timer", "clock", "seconds").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 20:17:20 +00:00
Robin Dunn
b30b49e993 Workaround the lack of a wx.EVT_FIND_CLOSE on Windows when doing a
normal search.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 18:14:24 +00:00
Robin Dunn
e773f79b19 Allow clearing the history, and saving the history on demand
Let the session tab show all of the history
Fix case-sensitive searches to actually allow case-insensitive
Make wx.WXK_NUMPAD_ENTER equivalent to wx.WXK_RETURN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:21:26 +00:00
Robin Dunn
df75c66c35 Give attribution to Jorgen Bodde
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-24 01:08:06 +00:00
Roman Rolinsky
0159bfd008 corrected positioning of internal panels, as the default value -1
was used as a real coordinate causing extra pixels in the right margin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-21 14:23:48 +00:00
Robin Dunn
1ad0de842d Treat Ctrl-Shift-Backspace the same as ESC in the shell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:41:10 +00:00
Robin Dunn
c32253089b Prevent using a bad tree item.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:40:57 +00:00
Roman Rolinsky
6165053b84 Fixed Cut command, added support for MenuBar inside Frame/Dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 17:19:39 +00:00
Roman Rolinsky
57c48fc465 OnReplace not yet undoable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 23:06:34 +00:00
Roman Rolinsky
126080e46c update of Paste command, new revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 21:08:02 +00:00
Roman Rolinsky
1893848ef7 fix for memory leak in paste
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 20:58:11 +00:00
Robin Dunn
a7a0141800 Changes to how overridable C++ methods are virtualized for Python.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 03:56:44 +00:00
Robin Dunn
c0ab3f7fbb Allow Save Settings to save even when AutoSave is turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 23:07:15 +00:00
Robin Dunn
ab552aa4d7 Better cleanup of circular references.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 06:51:34 +00:00
Roman Rolinsky
3f31297359 updated from CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-01 10:25:54 +00:00
Robin Dunn
9ce001802c Delay part of the setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 17:48:19 +00:00
David Surovell
2458faeb60 wxPython tab cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 17:35:47 +00:00
Robin Dunn
bf56f4ece0 Ensure the window is still valid before adjusting the scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-29 02:36:29 +00:00
Robin Dunn
4617be085f Another merge of 2.6 changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 05:42:30 +00:00
Robin Dunn
aec7c82991 One last change from Chris. Delays handling a resize event until 50ms
after the last event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 23:49:18 +00:00
Robin Dunn
17991ec034 merge #4 from 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 23:15:38 +00:00
Robin Dunn
486afba9a4 Merge #3 from the 2.6 branch, containing last set of changes before
the 2.6.2 release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 21:09:57 +00:00
Robin Dunn
095315e20d another merge from WX_2_6_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 07:05:15 +00:00
Robin Dunn
02b800ce7c Merged modifications from the 2.6 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-30 23:02:03 +00:00
Włodzimierz Skiba
5e06d749ed Finally removes occurences of OnMenuCommand and closes bug #1164678
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:27:38 +00:00
Roman Rolinsky
306b6fe972 0.1.7-0
-------

Added new controls (Choicebook, Listbook, StatusBar, DatePicker), and
completed style flags. Test window is opened for an available parent
control if no specific view defined. Better handling of exceptions
(highlighting does not 'stick' anymore). Tested on wxGTK 2.6.1.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 00:23:31 +00:00
Roman Rolinsky
af52e1853c revision 7
Using system clipboard for Copy/Paste


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 17:01:38 +00:00
Roman Rolinsky
c032d94e60 version 0.1.6-6
Improved some dialogs (window styles, growable cols). Changed the
range for wxSpinCtrl min/max to all integers (default 0/100 is not
always good).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-04 20:17:52 +00:00
Roman Rolinsky
efa5f7095f fix for correct type of checklist box items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-14 16:16:37 +00:00
Roman Rolinsky
4483a6ed97 iconize properties frame together with main
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-14 16:13:20 +00:00
Roman Rolinsky
c00266964a fix for toolbar highlighting (not done for main toolbar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 15:47:27 +00:00
Roman Rolinsky
34b29ae796 0.1.6-5
fixed testing for non-top-level objects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 10:44:28 +00:00
Roman Rolinsky
14653d3b83 testing for top-level objects only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-09 09:35:07 +00:00
Roman Rolinsky
baba4aa5ec 0.1.6-4: replace working for sizeritems and spacers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-15 19:53:33 +00:00
Roman Rolinsky
0725108f48 some more fixes: tree selection, replacing, wxYield calls removed
(produce infinite recursion)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-12 14:40:20 +00:00
Roman Rolinsky
a24d7726e6 one more fix for tree selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-10 15:57:23 +00:00
Roman Rolinsky
83173c7a4d wxMSW fixes for tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-10 14:58:28 +00:00
Roman Rolinsky
03319b655c 0.1.6-1
Support for object_ref. CreateTestWin saves all DOM in temporary
memory file now, to allow reference resolution.

Tree changed to multiple selection (not really supported yet), so
after deleting Unselect can be used (otherwise parent item is
selected automatically which results in scrolling jumps - distracting).

!!! Not tested on wxMSW yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-09 19:27:27 +00:00
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