Commit Graph

41 Commits

Author SHA1 Message Date
Vadim Zeitlin
dc2513650d Propagate the event handling fixes to wxVarScrollHelperBase.
Merge the fixes to wxScrollHelperBase::ProcessEvent() of r64358, r64370,
r64464, r72939 and possibly a few more in wxVarScrollHelperBase to fix its
behaviour too, as it wasn't generating the correct events any longer.

Unfortunately the fix right now is to physically copy the code from one class
to the other. This should be avoided, of course, and a more in depth
refactoring should be done to move the code common to both classes into
wxAnyScrollHelperBase after 3.0 release. But for now continuing to duplicate
code is better than not having a working wxVarScrollHelperBase.

See #15357.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-15 00:15:12 +00:00
Vadim Zeitlin
010d821b31 Add wxAnyScrollHelperBase to reduce code duplication in wxVarScrollHelperBase.
This is just a small refactoring to move some trivially common parts of
wxScrollHelperBase and wxVarScrollHelperBase in a new common base class.
This will make it possible to apply other corrections to wxVarScrollHelperBase
without having to physically duplicate the code from wxScrollHelperBase in it.

See #15357.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-15 00:15:07 +00:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Robin Dunn
2cc6b51b90 Avoid a problem in Phoenix by making UpdateMacScrollWindow not be pure virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-22 01:26:11 +00:00
Vadim Zeitlin
233f573883 Fix file paths in the header comments.
Consistently use only "wx/foo.h" instead of "include/wx/foo.h" ("include" is
always implicit anyhow).

Also use "src/osx" instead of "src/mac" for the files in this directory.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:58 +00:00
Vadim Zeitlin
03647350fc No changes, just removed hard tabs and trailing white space.
This commit is huge but there are no non-white-space changes in it.

Some files containing third-party sources (src/msw/wince/time.cpp,
src/x11/pango*.cpp) were left unchanged.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-21 10:41:26 +00:00
Vadim Zeitlin
c0c133e13b add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Francesco Montorsi
53a2db124c substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Vadim Zeitlin
cf4a8b2698 fix warnings due to using deprecated-but-used-internally methods from the header file (which, of course, meant that they were also used during client code compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 17:42:43 +00:00
Václav Slavík
b5dbe15d0b added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Robert Roebling
9bb3f212e2 GCC doesn't like inline wxDEPRECATED methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 14:09:22 +00:00
Bryan Petty
5a0ed193cd Added deprecation warnings to old wxVScrolledWindow functions (in wxVarVScrollLegacyAdaptor), and fixed a minor documentation format error in the wxVScrolledWindow docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:42:39 +00:00
Chris Elliott
1c6c52fdef tested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 10:50:54 +00:00
Václav Slavík
21e3e3bc75 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:32:19 +00:00
Vadim Zeitlin
a81a4db388 removed unnecessary return in a void function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 16:43:37 +00:00
Vadim Zeitlin
32a2c06eed fix unused parameter warning introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:13:54 +00:00
Vadim Zeitlin
79b83ef085 make wxVarVScrollLegacyAdaptor::OnGetLineHeight() non-pure virtual to fix compilation with WXWIN_COMPATIBILITY_2_8==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:37:04 +00:00
Vadim Zeitlin
e02c72fa45 fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 13:55:36 +00:00
Vadim Zeitlin
f18eaf2687 The great wxVScrolledWindow refactoring: allow using it both horizontal and
vertical directions (slightly modified patch 1671181)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 01:58:16 +00:00
Vadim Zeitlin
c1aa5517ac remove the vertical scrollbar completely if the control is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 00:17:52 +00:00
Vadim Zeitlin
61bb5a9c1b implement Layout() so that sizers work correctly when the window is scrolled (1st part of the patch 1439905)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 02:00:48 +00:00
Vadim Zeitlin
234b1c0147 reverted wxHVScrolledWindow patch (rev 1.19/1.21 of vscroll.h/.cpp) because not only we don't want to duplicate code like this but it also broke wxHtmlListBox by making scrolling in it O(N) instead of O(1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:55:28 +00:00
Robert Roebling
d77836e48c Applied wxVScrolledWindow patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:59:39 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
dd932cbe1c added GetVisibleBegin/End() to complement/replace GetFirst/LastVisibleLine() and use them in the code to fix problems when the control is empty and GetLastVisibleLine() returns (size_t)-1 (closes bug 1176561)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:43:41 +00:00
Vadim Zeitlin
d62b93c467 no changes, just added a couple of virtual keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 16:50:33 +00:00
Robin Dunn
4719e58dc1 Patch [ 1114647 ] Mouse wheel support for wxVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 19:18:59 +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
Václav Slavík
1202890513 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Robin Dunn
0c8392cac2 Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
wxHtmlListBox classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 21:23:33 +00:00
Vadim Zeitlin
27d0dcd033 added wxVListBox::OnDrawBackground(); fixed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 21:36:38 +00:00
Václav Slavík
687dcff3a4 added wxprec.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:03:29 +00:00
Vadim Zeitlin
1e0af0bcda added EstimateTotalHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 15:39:24 +00:00
Vadim Zeitlin
ceb71775b4 added def value for Create() id parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 17:17:46 +00:00
Vadim Zeitlin
ae0f022346 added RefreshLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:37:52 +00:00
Vadim Zeitlin
0b49ccf8d6 pressing PageDown and then PageUp should return to the same item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-03 11:15:38 +00:00
Vadim Zeitlin
8b053348a5 added RefreshAll()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 22:58:38 +00:00
Vadim Zeitlin
e0c6027b5a added wxVListBox using wxVScrolledWindow and wxHtmlListBox using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:35:26 +00:00
Vadim Zeitlin
af9fe8874f missing WXDLLEXPORT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-31 12:04:34 +00:00
Vadim Zeitlin
cf7d632953 added wxVScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:08:31 +00:00