Commit Graph

21178 Commits

Author SHA1 Message Date
Václav Slavík
6a6e282245 fixed child windows scrolling to use wxSIZE_ALLOW_MINUS_ONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 21:46:51 +00:00
Robin Dunn
e49426a206 Fix for problem when Realize is re-called on a vertical toolbar, it
was making the tools layout horizontally.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:27:27 +00:00
Robin Dunn
7749035c4e DoGetBestSize fix, the lbWidth was not getting updated because of a
misplaced #endif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:25:21 +00:00
Robin Dunn
f241631e6d Fix for when only a default dir is given without a default file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:24:19 +00:00
Stefan Csomor
4b6930c813 making sure it is only breaking at newlines for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 18:00:01 +00:00
Stefan Csomor
5a253c3f0a using the CF Message box only for non main thread alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 17:22:02 +00:00
Vadim Zeitlin
a8b2285edf only set cursor immediately in SetCursor() if the mouse is currently inside the window or we capture it (fixes the problem introduced in rev 1.675 while still correcting the original bug that change was done to fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-12 01:28:14 +00:00
Julian Smart
e7b21b01fe Use the associated document manager, not the global one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 13:55:26 +00:00
Vadim Zeitlin
d40e9e06bb no changes, just refactor the code sending spin update event to SendSpinUpdate() instead of duplicating it; also initialize m_oldValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:59:42 +00:00
Vadim Zeitlin
b6d8301814 apply patch 1630906 after all as with my simpler fix in the last commit the control may remain empty when it is supposed to show 0 value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:48:52 +00:00
Vadim Zeitlin
e816f5c736 fix lack of spin control update event when control lost focus (replaces patch 1630906, corrects bug introduced in rev 1.66)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:45:31 +00:00
Vadim Zeitlin
be809e82f2 suppress spurious error message when copying from clipboard brought empty string (patch 1630108)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:34:08 +00:00
Vadim Zeitlin
9c80e160ec reverted wrong change of rev 1.129 and fixed the first part of bug 1422217 in a better way by using InsertMenuItem() correctly for checkable items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-11 01:21:42 +00:00
Vadim Zeitlin
8ef74b15f7 add #if wxUSE_TOOLTIPS around DoSetToolTip()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-10 13:45:11 +00:00
Julian Smart
3633deedb4 Fix for missing separator if any previous items were ownerdrawn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 21:19:09 +00:00
Vadim Zeitlin
0b8055d224 added more wxUSE_TREE/LISTCTRL tests to fix compilation when they're set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 15:04:19 +00:00
Chris Elliott
c1cef60b50 fix part of proposal at http://news.gmane.org/find-root.php?message_id=%3c45A2343E.40203%40gmx.de%3e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 13:40:59 +00:00
Vadim Zeitlin
6f8415ca56 use wxLongLong_t instead of long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 11:17:15 +00:00
Paul Cornett
46beb2e98d non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 07:11:51 +00:00
Kevin Ollivier
255dcbd7cb Fix GetNextItem for virtual wxListCtrl, and improve behavior for wxLIST_NEXT_ALL.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-08 02:52:09 +00:00
Vadim Zeitlin
090afcf011 fix compilation for latest SDK where EnumModulesProc() first parameter is now const (bug 1629333)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 23:35:49 +00:00
Vadim Zeitlin
f559e6218d fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:41:39 +00:00
Stefan Neis
2887cb4e38 Attempt at fixing deepCopyHostent/Servent.
Fixed MT problem my making mutexes global.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 21:38:08 +00:00
Vadim Zeitlin
21ead7676a don't compile wxDataViewDateRendererPopupTransient if !wxUSE_POPUPWIN (as is always the case under Mac) (bug 1616964)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 20:13:16 +00:00
Vadim Zeitlin
8854a202f4 no changes, just removed duplicate TreeView_HitTest() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 20:09:15 +00:00
Vadim Zeitlin
a1d5a2937a corrected message about page number overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:58:48 +00:00
Vadim Zeitlin
9fcf8144d9 added EVT_TASKBAR_CLICK and use it to show taskbar icon menu on right button release, not press, under MSW (bug 1623761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 19:44:14 +00:00
Stefan Neis
43c974071f Fixed switching to a different drive/volume on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 18:22:57 +00:00
Kevin Ollivier
ad31e6a2da Add more sanity checks to virtual list item nums as the native control sometimes fires events before things are totally set up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:53:42 +00:00
Vadim Zeitlin
2c03d7714c fix attribute memory leak in wxGrid::ShowCellEditControl() (patch 1629949)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:09:54 +00:00
Vadim Zeitlin
b726328b48 added support and enable long long support when wxLongLong_t is available even if SIZEOF_LONG_LONG is not under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:58:17 +00:00
Vadim Zeitlin
3e85709e97 fix wxMDIChidFrame::GetPosition() (patch 1626610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:42:00 +00:00
Vadim Zeitlin
35c4b4da0a fix wxConfig::DeleteGroup() for arguments with trailing slash (replaces patch 1624589)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:36:54 +00:00
Vadim Zeitlin
c4b37573a9 fix combobox dropdown position in RTL (patch 1623127)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:18:55 +00:00
Vadim Zeitlin
f2bbe5b675 fixes and workarounds to return value of our own wxVsnprintf_() implementation: handle -1 as error and not an indication that there is not enough space (patch 1623077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:17:28 +00:00
Vadim Zeitlin
d2aa263fd1 fix for popup positioning in RTL mode (patch 1622930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:07:59 +00:00
Vadim Zeitlin
a2dc658bba set tooltips for the both subcontrols (patch 1622531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:00:11 +00:00
Vadim Zeitlin
8f6dc819f8 return correct item and position from wxTreeEvent::GetItem/Point() (patch 1622166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:43:22 +00:00
Vadim Zeitlin
9248adc8da added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() methods; documented wxTreeItemId (patch 1622125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 15:02:57 +00:00
Stefan Neis
4f6eaf5ee2 Extended wxGetHostName implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 14:07:02 +00:00
Stefan Neis
783388d5d9 Added wxGetDiskSpace implementation (patch #1625514).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 13:52:22 +00:00
Vadim Zeitlin
c05daf1bfd changed copyright year to 2007
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 02:05:28 +00:00
Kevin Ollivier
a44a646b7e Use GetItem to get item info for events, even for virtual wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 01:21:19 +00:00
Kevin Ollivier
ed9a7a63b8 Generic list and tree ctrl should not use the focused selection color when the top level window is not active.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 01:15:20 +00:00
Robin Dunn
b0a54b8a6b Fixes for segfaults when the parent frame is destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 08:59:01 +00:00
Kevin Ollivier
f80419c886 Don't draw the primary highlight colors if the control doesn't have the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-06 01:53:52 +00:00
Kevin Ollivier
e5d3d8ad45 Apply patch #1626802, which fixes GetNextItem to return -1 instead of 0 when an item can't be found, and add support for wxLIST_NEXT_ABOVE, wxLIST_NEXT_BELOW, and wxLIST_STATE_DONTCARE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 19:45:38 +00:00
Stefan Csomor
6cfe484434 allowing vertical scrolling even if wxTE_NO_VSCROLL is given, displaying a scrollbar only when needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 16:28:03 +00:00
Jouk Jansen
82ddc0cae3 Update OpenVMS make-files
Modified Files:
 	wxWidgets/src/common/descrip.mms wxWidgets/src/x11/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-04 08:09:51 +00:00
Václav Slavík
f7a5043240 fixed deadlock when calling wxPostEvent() from worker thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-03 17:25:47 +00:00