Commit Graph

34964 Commits

Author SHA1 Message Date
Vadim Zeitlin
82d0e7fe66 disable pixel size comparison in operator==() for wxGTK1 as it results in infinite recursion there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:15:55 +00:00
Vadim Zeitlin
462deb5dce wxUSE_PANGO is always 0 for wxGTK1 so there is no need to use #if wxUSE_PANGO in GTK1-only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:03:03 +00:00
Vadim Zeitlin
177df6c5f6 wxUSE_PANGO is always 1 for wxGTK2 so there is no need to use #if wxUSE_PANGO in GTK2-only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:00:42 +00:00
Vadim Zeitlin
789367e10d unset the button as temporary default item when it's destroyed (closes bug 1354875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:50:48 +00:00
Vadim Zeitlin
cef55d6485 remove the search for parent with wxTAB_TRAVERSAL style in SetDefaultStyle(): it's useless as DM_SETDEFID can be only sent to the immediate parent anyhow, apparently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:23:03 +00:00
Vadim Zeitlin
dabb9b6d29 added a DiscardEdits() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:03:51 +00:00
Vadim Zeitlin
b3d006af0f don't crash if m_widget == NULL in OnInternalIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:44:51 +00:00
Vadim Zeitlin
a10a31ce56 wxRadioBoxButtonsInfoList should be exported (should fix cygwin build link)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:38:11 +00:00
Vadim Zeitlin
b3f1734fa0 min size of an empty sizer should be (0, 0) and not (10, 10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:29:43 +00:00
Vadim Zeitlin
54af24613f don't add 7 and 14 pixel horz/vertical padding in DoGetBestSize() when the best size is computed from the existing children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:28:41 +00:00
Stefan Neis
344d066d17 Use xpm for PM port on OS/2 as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:13:51 +00:00
Stefan Neis
fe5dc33dee With fix from treebase.cpp,v 1.28, (generic) treectrl now also works on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:06:27 +00:00
Stefan Neis
3e748fca44 Fixed apparent typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:01:56 +00:00
Stefan Neis
aa2f364e34 Avoid using invalid parameters for GpiSetAttrs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 15:46:35 +00:00
Benjamin Williams
2f68106fa0 prevent some obscure wxAUI crashes after DetachPane() is used (crashes only happen in rare cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 12:32:51 +00:00
Benjamin Williams
0603bb285c added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 10:59:16 +00:00
Robin Dunn
50f3c41d61 Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Michael Wetherell
0b850f25d2 Put the reentrance check inside #ifdef __DEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:21:44 +00:00
Vadim Zeitlin
65d586566d update (mostly corrections but some new translations as well) from
Morten Råbjerg Ulrich




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:17:07 +00:00
Vadim Zeitlin
9c92620c22 fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:07:00 +00:00
Michael Wetherell
f5256c59dd Handle reentrance in the first part of wxClassInfo::Register()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 20:54:07 +00:00
Václav Slavík
e96ff06fc4 don't require <value> node in wxColourPickerCtrl's XRC handler, use black as default (i.e. do the same that C++ code does)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:34:34 +00:00
Václav Slavík
984f1d84fd added default value argument to wxXmlResourceHandler::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:32:57 +00:00
Václav Slavík
374caf2301 use <value> instead of <default-*> for initial value of picker controls in XRC, for consistency with other controls' handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:21:25 +00:00
Václav Slavík
af6ad98461 fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Václav Slavík
1029169f08 reformatted to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 12:25:48 +00:00
Václav Slavík
42c09d20bb fixed typos in *picker.cpp files' headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 09:56:16 +00:00
Vadim Zeitlin
b0db68b22a test for the bug in HasEntry() which could create non-existing group as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:48:00 +00:00
Vadim Zeitlin
2cf3a6d7be don't create non-existing groups in HasEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:46:31 +00:00
Vadim Zeitlin
41f3015283 fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:08:43 +00:00
Robin Dunn
20eebe1aa8 Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
type_info for our wxPyTreeCtrl instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:57:20 +00:00
Włodzimierz Skiba
f0fa8b47ab PCH and wxUSE_* fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:03:10 +00:00
Benjamin Williams
483c90c20c hint window pane should always be shown so that hints will be drawn for even currently hidden panes being dragged around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 13:56:22 +00:00
Mart Raudsepp
01207937f6 Return false from PositionToXY if passed in position is larger than the buffer. This should restore the
functionality of the boolean return value, while not returning false for valid input from end of buffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 04:22:38 +00:00
Mart Raudsepp
5025996266 gtk_text_iter_get_line and get_line_offset work fine on the end iter. Don't bail if we are at the end of buffer.
Fixes one part of bug #1516281, the other part is controversial and probably not reasonable to change.
Also deal with NULL being passed as the x or y pointer, as is done also on wxMSW (this was done on 2.6 branch as
well, but not noted).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 03:46:40 +00:00
Robin Dunn
d7a7616b9d Get/SetManagedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:26:04 +00:00
Robin Dunn
b8193d807f Updated Scintilla to version 1.70
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:20:18 +00:00
Alex Bligh
dc8a1aa53d Apply patch 1520776, partial completion on wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:06:32 +00:00
Alex Bligh
0d02dd54a0 Virtualize ProcessDockResult so people can override it to prevent docking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Robin Dunn
5d9dedfe38 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:49:13 +00:00
Robin Dunn
f5ed42f875 enable building just the unicode version, or both unicode and ansi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:40:46 +00:00
Robin Dunn
8cbbb5d41b Add items for the _aui and _richtext .pyd's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:37:05 +00:00
Jamie Gadd
90d05e9b6e Don't set background of wxMemoryDC before selecting bitmap into it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:41:55 +00:00
Robin Dunn
134d7051bf Reverted part of rev 1.92. It causes probelms on Windows when
scrolling with the scrollbars since the mouse can be captured nativly
momentarily.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 00:18:04 +00:00
Robin Dunn
a6c129111b Don't use a saved label size incase the size changes. Patch from Hong Yuan.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:48:47 +00:00
Vadim Zeitlin
fca418ae12 call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Robin Dunn
7521630773 wxPyDataObjectSimple::SetData should not be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:19:20 +00:00
Stefan Neis
5824777356 Added support for MirOS, an OpenBSD variant (patch #1520208).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 08:59:53 +00:00
Benjamin Williams
461125ea4d renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Robin Dunn
81f5836b89 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 00:19:25 +00:00