Robin Dunn
04b6e2f0c1
All wxScrolledWindows shoudl have wxHSCROLL|wxVSCROLL now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 23:08:20 +00:00
Włodzimierz Skiba
534b127cac
Warning cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 17:44:18 +00:00
Włodzimierz Skiba
ca65c0440a
Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Julian Smart
c140b7e7c9
Applied patch [ 903619 ] Win64 and Itanium support
...
by Brian Palmer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00
Julian Smart
6463b9f539
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
1169a91932
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
987263fe19
Fixed bug [ 754596 ] wxUSE_CONSTRAINTS 0 breaks AutoLayout() with sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 17:00:17 +00:00
Stefan Csomor
3066bdd62a
removing all updates specially for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:30:53 +00:00
Václav Slavík
a3bf7524f3
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Vadim Zeitlin
2a201ef802
fixed extraneous scrolling when scrollbars are added/removed (patch 788026; bug 746618)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 00:10:20 +00:00
Vadim Zeitlin
c4513b2389
continue setting scrollbars even if only width/height changes, not both of them (patch 788017)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 22:41:31 +00:00
Julian Smart
4b3163294c
More fixes for !wxUSE_TIMER, !wxUSE_IMAGE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 12:47:16 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Stefan Csomor
066f1b7a95
xti extensions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:30:46 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Vadim Zeitlin
1f06669822
wxScrolledWindow scrollbar update fix (patch 680427) and MacUpdateImmediately renamed to Update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:08:22 +00:00
Vadim Zeitlin
d5d58a93c3
renamed wxScrollHelper::GetRect() to GetScrollRect() to avoid conflicts with wxWindow method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 21:17:56 +00:00
Vadim Zeitlin
be9b0663d9
reworked vertical scrolling code to correspond better to what I think is correct (horizontal case is unchanged)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-12 08:35:53 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Ron Lee
150c8d89c7
Fixed bug in FlexGridSizer mods that prevented them from ever shrinking.
...
Reverted the earlier SetScrollbars patch and fixed a bug in GetVirtualSize
that was hopefully the real cause of all the preceding woe.
Added a comment and a kludge for a most unusual bug manifesting in the
scrollsub sample. If it is resized quickly size events appear to get lost
and the scrollbar is set incorrectly. Adding an extra call to
AdjustScrollbars masks the problem, though its clearly superfluous since
the FitInside above already calls it. This seems to be a brand new problem
(on both Gtk and msw) as of some time prior to this patch and it should be
looked into further.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-27 09:02:58 +00:00
Mattia Barbon
4995ca8037
Remove use of deprecated KeyCode accessor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 13:52:12 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
Julian Smart
0156594543
Improved SetScrollbars fix using client size and max of window and virtual
...
sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-27 14:17:55 +00:00
Julian Smart
d0604192a5
Don't pass zero width or height to SetVirtualSize or layout is
...
messed up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 23:42:13 +00:00
Julian Smart
03d1ae1799
Applied patch [ 651649 ] Scrollbar not updated without resizing
...
I always wondered why the scrollbar of the listbox or
the log window (textctrl) never showed a thumb in the
control sample while the combobox does. The
AdjustScrollbars gets called through a size event and
this happens before the listbox (textctrl) can set the
values for the scrollbar. So always an empty scrollbar
is shown. This patch calls AdjustScrollbars at the end
of SetScrollbars in scrlwing.cpp.
I'm not sure if this is the best fix but it works
nicely. I've only tested it with wxUniv but it should
be okay in any generic case.
(applied for __WXUNIVERSAL__ only for now -- JACS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-10 21:50:11 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robin Dunn
9b9337da0c
Moved the check for page scrolling with the wheel into wxMouseEvent so
...
it wouldn't have to be duplicated everywhere.
Also fixed wxSTC so it can handle wheel page scrolling too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Robin Dunn
4b056ef54f
Fix for mousewheel events when it is set to page mode instead of lines.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:36:53 +00:00
Vadim Zeitlin
dc429f89a6
fixed wxScrolledWindow::SetScrollbars() which was broken by the virtual size changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:36:36 +00:00
Julian Smart
9b66c26ae7
Fixed wxMotif compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 10:32:41 +00:00
Ron Lee
566d84a7c3
Added knowledge of virtual size to wx(Scrolled)Windows, they can now
...
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.
Modified Files:
docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
docs/latex/wx/window.tex include/wx/scrolwin.h
include/wx/sizer.h include/wx/window.h
include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
samples/scrollsub/scrollsub.cpp src/common/parser.y
src/common/sizer.cpp src/common/wincmn.cpp
src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
Julian Smart
ee018b89b7
wxScrolledWindow::GetVirtualSize now returns client size
...
if scrolling parameters have not been set. This makes Layout()
work again for scrolled windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 18:15:17 +00:00
Václav Slavík
8c2f379786
added Calc(Un)ScrolledPosition taking wxPoint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:13:14 +00:00
Vadim Zeitlin
7152f0c68d
restore Robin's code (reverted previous commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 00:06:33 +00:00
Julian Smart
95d60b2429
Added sizer.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 12:42:54 +00:00
Robin Dunn
3048629765
Give wxScrolledWindow its own Layout method that takes into account
...
the virtual size and scrolled offset of the window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 00:21:47 +00:00
Vadim Zeitlin
0cf5b09998
got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
Vadim Zeitlin
74f6bbf951
replaced DeleteEvtHandler with a call to RemoveEventHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:01:43 +00:00
Vadim Zeitlin
248d771ce4
fixed memory leak when SetTargetWindow() was called more than once and made DeleteEvtHandler() more robust
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:14:11 +00:00
Vadim Zeitlin
5f3286d17d
more fixes to target window scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:57:36 +00:00
Vadim Zeitlin
af4088f1be
fixed event processing for the target window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 15:04:38 +00:00
Julian Smart
13ff9344d6
Attempted to fix splittree problem by not pushing event handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-01 12:26:27 +00:00
Vadim Zeitlin
ff18659103
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in wxScrolledWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 02:22:26 +00:00
Vadim Zeitlin
993cfa8757
fix for event processing in wxScrollHelper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 12:39:18 +00:00
Vadim Zeitlin
349efbaa89
implemented (untested) work around for wxScrolledWindow painting bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 15:42:29 +00:00
Robin Dunn
ac6f6ffccf
Applied patch #445873
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 21:37:56 +00:00
Julian Smart
b6b85bdccb
Added fix to send scroll messages from mouse wheel instead of scrolling directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 10:07:46 +00:00
Vadim Zeitlin
2feed0044e
blind fix for wxScrolledWindow problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 22:01:00 +00:00