Commit Graph

56 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
68ae5821b6 Adds wxSplitterWindow support, patch from Steve Hartwell.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 22:32:23 +00:00
Robin Dunn
99109c0ff1 better __docfilter__ and other epydoc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-27 19:26:48 +00:00
Robin Dunn
9abdd2cb90 Remove some obsolete window styles, added a new sizer flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 22:47:24 +00:00
Robin Dunn
3429f8d028 Make sure the window is not iconized before saving position and size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-19 23:14:03 +00:00
Robin Dunn
b7c75283f2 Lindsay Mathieson's newest wxActiveX class has been wrapped into a new
extension module called wx.activex.  Lots of demo and lib updates to
go along with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 05:29:50 +00:00
Robin Dunn
edfeb1b84d Use "wxCheckListBox" instead of the deprecated "wxCheckList"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:22:50 +00:00
Robin Dunn
1c01bc8e05 Ignore the args and args errors on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 03:38:34 +00:00
Robin Dunn
289128a4fb Don't create the fonts until after they are needed (after the App
object has been created.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-18 03:05:02 +00:00
Robin Dunn
5e8b10e902 On Windows the wxBitmapButton can't be borderless if you use
wxBU_AUTODRAW, but wxGenBitmapButton can do it easily


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 23:15:53 +00:00
Robin Dunn
b09afc93f5 ON XP when pages are added to a Notebook their colours (and their
children's) are modified to match the theme colours for notebook pages
rather than normal panel colours.  When items are added dynamically
after the fact to the notebook pages then we need to fiddle with the
colours ourself.

Also, since xrced is importing from wxPython.wx then DC.Draw methods
now need to use the old parameter syntax.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 22:44:52 +00:00
Roman Rolinsky
a4c013b2b1 wxGridBahSizer support
exception handling while loading resource

some fixes (GetFirstChild, XRCID instead of FindByName, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 18:43:42 +00:00
Roman Rolinsky
d563e57f21 replaced by CHANGES.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-13 15:44:50 +00:00
Roman Rolinsky
2481bf3cb6 added subclass attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-25 23:28:17 +00:00
Robin Dunn
d4b73b1b8e More lib and demo patches to drop the wx prefix (Jeff has been busy!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-22 19:09:54 +00:00