Commit Graph

30102 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
Robin Dunn
aae5d34f85 docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:54:22 +00:00
Robin Dunn
9c721ebf97 Unregister the object too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 21:03:59 +00:00
Mart Raudsepp
25b3661bd4 Fix "warning: operation on 'y' may be undefined".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 19:57:01 +00:00
Václav Slavík
c7ca49e407 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:46:49 +00:00
Václav Slavík
861a4cb2b0 removed debugging code checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:25:03 +00:00
Włodzimierz Skiba
af5d391cee Due to wxStringBase::CopyBeforeWrite() we need to resend modified 'multiline' text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:19:47 +00:00
Václav Slavík
1ed52f8caa call release builds 'Release'; don't define options if they are already defined by user's bkl code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:11:15 +00:00
Włodzimierz Skiba
bd018e7e31 Allow multiline tooltip testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 17:46:54 +00:00
Włodzimierz Skiba
95130bea15 Due to wxStringBase::CopyBeforeWrite() we need to resend modified 'multiline' text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 17:43:45 +00:00
Mart Raudsepp
cc35003aa4 Add some missing runtime gtk+ version checks. There is more to spot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 13:00:42 +00:00
Mart Raudsepp
29a7bba6b7 Use the toplevel widget as the parent in gtk_file_chooser_dialog_new call.
If hierarchy is bad, base classes would assert.
Fixes bug #1206516


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 12:41:20 +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
535ffb932a Patch from Ole André, call RegisterActiveObject() so the objects can
be retrieved from the PyWin32 modules.




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 20:45:24 +00:00
Włodzimierz Skiba
d0ee33f5c6 '[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Stefan Neis
490120b404 Added empty destructor that was removed from header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 12:18:30 +00:00
Stefan Neis
2173b18fc8 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 12:12:21 +00:00
Stefan Neis
be283c77a0 Additional imageId values for specific drive types on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 11:57:51 +00:00
Robin Dunn
8d38bd1d05 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 23:20:24 +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
82463c7d92 A little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:31:44 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Julian Smart
97bdb4c890 Don't use native font always.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 14:57:11 +00:00
Michael Wetherell
69067986c1 Compilation fix for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 14:45:39 +00:00
Michael Wetherell
abc736fd0e Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +00:00
Michael Wetherell
fb4c95cbdb Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 11:08:11 +00:00
Stefan Neis
5696ebb375 Include rawbmp.h only for __WXGTK20__ (unneeded for GTK12 anyway and
problematic for old compilers).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:30:42 +00:00
Stefan Neis
b9efe021b5 Hopefully fixed library names generated by wx-config for OS/2's PM port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:20:01 +00:00
Stefan Neis
219577d0a5 Removed some code for detecting no longer needed pthread functionality,
Added code to detect pthread_attr_setstacksize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 09:17:34 +00:00
Julian Smart
a374cdc43e Need to set background colour for wxListBox, not just wxCheckListBox,
to avoid scrolling problem when Windows effects are switched on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 08:39:19 +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
Vadim Zeitlin
492b6f0a6f another compilation fix for wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 21:52:20 +00:00
Robin Dunn
be9b1dcaf4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 21:51:37 +00:00
Robin Dunn
37617433bb Virtualize OnInternalIdle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 21:51:21 +00:00
Vadim Zeitlin
f6becba596 always set flat toolbar style, even under XP with themes: this is necessary or separators aren't shown at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:18:29 +00:00
Vadim Zeitlin
9f7e1cff95 don't statically link to SetMenuInfo(): it is not present in Win95/NT4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:13:20 +00:00
Robin Dunn
c95499b9be Added wx.RendererNative class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:11:14 +00:00
Vadim Zeitlin
f78d506b88 added explicit casts for (varagr) TIFFSetField() parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:39:36 +00:00
Vadim Zeitlin
ca1b8c1169 (blind) compilation fix for wxUSE_UXTHEME==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:36:20 +00:00
Robin Dunn
063c96c1c5 Subrelease version bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:00:06 +00:00
Robin Dunn
53307de4e3 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 18:49:34 +00:00
Robin Dunn
93649c2c50 Added wx.LogBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 18:48:41 +00:00
Włodzimierz Skiba
cde6d2e7d8 VC warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 18:37:50 +00:00
Julian Smart
08dd04d082 Worked around problem with kill focus event being sent as soon as
the combobox is focused, on Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 14:49:54 +00:00
Julian Smart
67bfb37744 Temporary fix for checklistbox refresh problem; setting the
background to a solid colour avoids incorrect paint code related to
notebook parent


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 12:31:38 +00:00