Commit Graph

34774 Commits

Author SHA1 Message Date
Vadim Zeitlin
27b3bd6a59 fix Open(wxDbConnectInf) when using connection string (patch 1494705)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 23:09:15 +00:00
Kevin Ollivier
de6fbe7596 Create the root dir install and readme files, and put them in the manifests. Also, use DOS line endings for MSW archives.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 22:46:30 +00:00
Stefan Neis
d72fd025b6 Drawing fixed according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:35:57 +00:00
Stefan Neis
2fbb8fbbed Disable CLIP_SIBLINGS style.
Fixes for getting best size.
Fixed some error in flag processing.    All according to patch #1523304.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:26:04 +00:00
Michael Wetherell
9ff1e31960 Revert access changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:13:28 +00:00
Stefan Neis
63403da780 Make wxCalendarCtrl work on OS/2's PM port as well (patch #1523304).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:49:29 +00:00
Stefan Neis
40a33c46e3 Avoid trouble during initialisation & typo fix (patch #1523304).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:41:48 +00:00
Stefan Neis
2ef6ae9de2 Fixed geometry errors according to patch #1523304.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:35:29 +00:00
Vadim Zeitlin
d0b6344dda update the combobox text as soon as we get CBN_SELENDOK as otherwise wxEVT_COMMAND_COMBOBOX_SELECTED handler got wrong value from our GetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:22:23 +00:00
Vadim Zeitlin
6f002df40e don't grow the combobox vertically (this does make it tall under wxGTK2 even though it has no effect under wxGTK1 and wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 20:18:55 +00:00
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