Commit Graph

59 Commits

Author SHA1 Message Date
Vadim Zeitlin
0a6b9955db fix typo in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 16:01:34 +00:00
Vadim Zeitlin
92981c938d work around MSVC warnings about using uninitialized variables in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:29:39 +00:00
Kevin Ollivier
2fd716136a Rebake after last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:14:56 +00:00
Francesco Montorsi
41f02b9acc always call SetIcon() on the main frame of the sample; some small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Vadim Zeitlin
1ddb6d2857 allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 21:58:05 +00:00
Vadim Zeitlin
6362d82b3e add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:58:37 +00:00
Vadim Zeitlin
0b0f6f87d5 add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:11:00 +00:00
Vadim Zeitlin
9675a49d4e add example of synchronizing 2 scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 14:55:49 +00:00
Vadim Zeitlin
6a5a7fba9d reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 01:28:55 +00:00
Vadim Zeitlin
d9f4cc1060 make the simple canvas larger as otherwise the simple frame couldn't be resized to make the horizontal scrollbar appear in it because of the title string width; some small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-14 20:43:13 +00:00
Paul Cornett
1663ec5f74 speed up drawing text window in UTF8 build (something like 40 times faster in debug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 05:46:49 +00:00
Vadim Zeitlin
69ce77e25a removed deprecated wxADJUST_MINSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 12:11:35 +00:00
Vadim Zeitlin
e0666bdc7b added EVT_MOUSE_CAPTURE_LOST handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-09 01:36:10 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Paul Cornett
b143cf708b 64-bit warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:36:31 +00:00
Włodzimierz Skiba
c5a3900a26 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 14:01:57 +00:00
Robert Roebling
db4ad642aa Added simple scroll sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 10:48:26 +00:00
Vadim Zeitlin
4686e0f659 added mouse wheel event test; don't trap left mouse clicks in MyCanvas as this makes it impossible to give focus to the window and so to use mouse wheel in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:16:57 +00:00
Václav Slavík
49e7b7a26e Unicode compilation fix again - please don't use non-ASCII characters in source code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 21:39:21 +00:00
Julian Smart
91b073576e Use standard ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 12:04:48 +00:00
Robert Roebling
3fa5153e98 Add test for new SetBackgroundColour() logic
which should leave the sunken border as it
   is a not give it a green border.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 09:46:26 +00:00
Włodzimierz Skiba
4e04f77781 Build fix for VC, fixed reading after end of wxChar*, source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 20:11:39 +00:00
Mattia Barbon
60c474a0c4 Miscellaneous compilation and warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 10:41:35 +00:00
Kevin Hock
687706f5e7 Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Robert Roebling
4ba64bdeb2 Compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 23:41:28 +00:00
Ryan Norton
57ac1a563e patch [ 762159 ] scroll sample auto-scroll test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:16:40 +00:00
Włodzimierz Skiba
925e9792d3 Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
8520f1374c Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Włodzimierz Skiba
b62ca03d6f -1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 17:03:20 +00:00
Julian Smart
256b8649ff Add longtool tip for a button in wxToolBar test
Various warning suppressions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 12:52:20 +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
Mattia Barbon
a60b1f5d57 Unicode compilation fixed for almost all samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-22 09:11:33 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Gilles Depeyrot
8073eb4044 post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:09:23 +00:00
Vadim Zeitlin
8a73bf3d98 more scrolling tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:54:26 +00:00
David Webster
aa06a8fdfb Enable this sample for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:53:48 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Robert Roebling
8e217128a0 Playing with scrolling, als fixed redraw
bug in wxGrid (outer regions). You must
    not to maths with update regions within
    an scroll related OnPaint(). Everything
    else is allowed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:39:55 +00:00
Guillermo Rodriguez Garcia
7d56fb8fcd Added wxEVT_SCROLL[WIN]_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:55:28 +00:00
Guillermo Rodriguez Garcia
6ab6a43579 Test for IsScrolling() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:23:38 +00:00
Robert Roebling
3da17724b6 More tab code corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 10:22:26 +00:00
Robert Roebling
a3e7d24d21 Changed two conflicting defines in defs.h
DnD multiformat fine-tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 15:12:11 +00:00
Robert Roebling
27d029c722 Minor doc updates,
Made resizing a scrolled window function,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:48:43 +00:00
Robert Roebling
bf0c00c6e8 Scrolling updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 18:42:43 +00:00
Robert Roebling
307f16e829 Changed SetToolBar() to behave a bit smarter. Untested.
Removed some unused variables.
  More tests in scroll sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 09:06:35 +00:00
Robert Roebling
ed673c6a48 New scrolling code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 20:09:32 +00:00
Robert Roebling
5e014a0c44 Corrected filelist.txt a little - one gsocket.c is enough,
Corrected cursors - not yet perfect,
  Added some tests to scroll sample
  Made wxScrolledWindow::Scroll() call Refresh(),
  Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
  Added activate event for wxMDIChildFrame
  Implemented wxSIMPLE_BORDER for wxWindow (no controls),
  Tried to correct positioning upon start-up - no way,
  Rewrote catching of scroll events - page-up, page-down, up and down
    work now. Don't know what TOP and BOTTOM are used for.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:13:45 +00:00
Robert Roebling
e9158f7d8b Next take at radioboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-26 19:03:53 +00:00
Robert Roebling
7f7d950530 Added test for wxRA_SPECIFY_COLS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-26 17:16:08 +00:00