Commit Graph

249 Commits

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