Vadim Zeitlin
bf37d5c83e
also scroll vertically if necessary in MoveToItem() when the control is in a non-report mode (based on patch 1857650)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 00:52:42 +00:00
Vadim Zeitlin
43de9abf95
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Robin Dunn
9de26f99db
It is possible for a scrolled window to get focus events from children other than
...
the target window's children (the wxGrid label windows for example) so don't
trigger an assert about it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 17:57:55 +00:00
Mart Raudsepp
f95d54fe64
Fix compilation of unicode debug builds, broken since rev50864
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-25 23:33:16 +00:00
Vadim Zeitlin
355d2bbff0
implement wxListCtrl::ScrollList() (in report view and vertical direction only) (slightly modified patch 1843647)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:58:38 +00:00
Václav Slavík
16fb9e58c1
fixed wxScrolledWindow best size calculation to not use current size in computation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-21 22:48:44 +00:00
Václav Slavík
108c23222a
wxScrolledWindow can get wxEVT_CHILD_FOCUS event for itself, handle that case too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 20:05:46 +00:00
Václav Slavík
237d84033e
backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:36:19 +00:00
Julian Smart
89639ecdba
Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Vadim Zeitlin
35227fd226
don't use 8 bit characters in sources to avoid warnings in non-latin1 locales (patch 1841741)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:57:58 +00:00
David Elliott
527b35a84d
wxCocoa only: Give the buddy text control focus if the user changes the spinner.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:52:24 +00:00
Vadim Zeitlin
f9a9805da9
don't use Gnome printing in wxUniv [backport of r50037 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 00:24:25 +00:00
Václav Slavík
d2e72b6805
ensure that wxGrid::AutoSizeColumn/Row() never sets column/row size smaller than the minimal size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 17:55:14 +00:00
Václav Slavík
c25ddfa8a3
backported wxGrid labels autosizing patch (r44835) to 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:21:25 +00:00
Vadim Zeitlin
20d78b39b2
don't capture the mouse when just moving it in the grid (replaces patch 1779923) [backport of r50010 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-19 13:14:54 +00:00
Julian Smart
8763183678
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 18:16:37 +00:00
Julian Smart
aafc8ff13c
Vertically centres a left-aligned wxChoiceBook controller
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-07 12:48:47 +00:00
Vadim Zeitlin
7b83197b34
don't make the dialog 3 times as wide as the length of the label string, this is excessive (bug 1824673)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 16:11:08 +00:00
Vadim Zeitlin
481697d020
don't crash in HiglightAll() (called, in particular, from SortItems()) when the control is empty (patch 1821550)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:41:30 +00:00
Vadim Zeitlin
49b337a8fc
make strings used in the dialog translatable (patch 1823372)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 16:08:18 +00:00
Julian Smart
a4f93a823c
Show debug report directory in long form on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 11:40:07 +00:00
Robin Dunn
a2d954469d
On Mac the first visible line needs to be recalculated after the Scroll because it can be set
...
to the wrong value in Scroll because of the paint event generated by the Update() there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:28:33 +00:00
Robert Roebling
d1cc3f3463
Backport DoDrawArc fix (close it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 06:58:48 +00:00
Robin Dunn
fc75d58855
don't overdo the clipping otherwise we truncate descenders in the header label on OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-25 23:13:21 +00:00
Robert Roebling
75c048e209
Let wxListCtrl generate the context menu event itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:34:39 +00:00
Robert Roebling
a5db377c39
Backport wxListBook resizing bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:24:38 +00:00
Robert Roebling
2b4dbe37c7
Remove debug code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 12:19:00 +00:00
Robert Roebling
deb64c34ff
Fix ending label-editing bug when clicking elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 07:57:21 +00:00
Robert Roebling
219d29fe36
use live header button update when resizing, no XOR line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:23:19 +00:00
Robert Roebling
46b598d49b
Removed gaps between header buttons and the strange header offset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:46:12 +00:00
Vadim Zeitlin
1e64ae1faf
use one shot timers in wxAnimationCtrl (patch 1774535)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:36:50 +00:00
Julian Smart
84426bea01
Added wxWindowMSW::GetThemedBorderStyle as a helper for 2.8
...
Improved help window borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:38:13 +00:00
Robin Dunn
fbd4ef1c5e
tweak the size and layout of the cancel button a bit so it doesn't get clipped.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:42:47 +00:00
Julian Smart
2ee1e5bbb0
Added wxBORDER_THEME and made wxTextCtrl and wxSearchCtrl show the correct borders. Because
...
we can't add virtual functions because of binary compatibility considerations, we can't make
controls intelligent enough to know when they need themed borders. So in 2.8 we have to add
wxBORDER_THEME explicitly where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:40:08 +00:00
Robin Dunn
45b891b8e1
Use generic code for wheel scrolling on wxGTK as discussed on wx-dev a couple weeks ago
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:55:01 +00:00
Vadim Zeitlin
b5d63b3390
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:41:34 +00:00
Vadim Zeitlin
77d0b13798
don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style [backport of patch 1756184 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 13:55:42 +00:00
Julian Smart
06e3372526
Avoid a crash due to OnSize being called before initialisation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 08:32:10 +00:00
Vadim Zeitlin
49266c6b45
generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change [backport of rev 47265 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 15:00:42 +00:00
Vadim Zeitlin
a4ae2e8c81
remove the unneeded +1 from wxGauge::SetValue() call in Update() [backport of rev 47192 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 12:13:37 +00:00
Vadim Zeitlin
fedc6cd535
prevent a single selection control from having multiple selected items [backport of 47175 and 47176 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 22:52:30 +00:00
Robert Roebling
804ce4d2b2
Use the same 250ms when waiting for slow-clicks for starting
...
the edit label process in wxTreeCtrl and wxListCtrl.
Take icon size in the first column into account when shwoing
text control.
Only activate label editing when clicked on the first label,
not somewhere else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 12:00:58 +00:00
Robert Roebling
88a48ead61
Let GtkScrolledWindow handle scroll wheel events.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:13:19 +00:00
Robert Roebling
b1a7ff6ca0
Move visible scroll range after scrolling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-03 11:10:58 +00:00
Julian Smart
33fac1eaf7
Added SetBitmap, GetBitmap to wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:17 +00:00
Robert Roebling
7887fa4046
Only apply wxALWAYS_SHOW_SB to main window in wxListCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:17:49 +00:00
Julian Smart
3cfd8e8730
Backported filter fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:12:10 +00:00
Robert Roebling
29c30ff8f2
Correct grid lines in wxListCtrl (I cannot find the
...
bug report anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:09:48 +00:00
Robin Dunn
8bc128301d
Send the calendar and date changed events to the datepicker ctrl first
...
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:34:56 +00:00
Stefan Csomor
d3521487d4
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:05:37 +00:00