Commit Graph

33 Commits

Author SHA1 Message Date
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
Gilles Depeyrot
168f4135dc updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:28:15 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Gilles Depeyrot
9869abf7c1 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:23 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +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
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30: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
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +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
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Julian Smart
e9799102dd Fixed project files for regex.lib, taking the regex C files out of the main wxvc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 17:03:02 +00:00
Gilles Depeyrot
721a4a08bc added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 15:05:53 +00:00
Julian Smart
9806a0e71e Updated version to 2.3.2 so apps can test for differences in new merged source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 20:36:30 +00:00
Gilles Depeyrot
aec73dbba4 added CodeWarrior 5 projects for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:22:36 +00:00
Julian Smart
0ddef74db4 Updates for version change to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 10:57:58 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
Gilles Depeyrot
9b7d196cf4 ignore CodeWarrior build directory and output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-05 20:16:58 +00:00
Julian Smart
1ddfb726b2 Updated VC++ project files for making DLL-based samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-06 17:50:06 +00:00
Julian Smart
f485492a1e Added VC++ project files (seems logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 16:59:34 +00:00
Robert Roebling
3d0c4d2e7b Applied DrawArc patch.
Applied break-up-region patch.
  Implemented sort of ShowFullScreen() - test in scrollsub.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 10:51:30 +00:00
Vadim Zeitlin
48fe83743a makefiles changes (@top_srcdir@ adjusted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:31:18 +00:00
Robert Roebling
8f75cb6c75 Fixed resize behaviour under certain circumstances.
Disabled GUI threading when using GTK < 1.2.4, better
    than crashing.
  Typos corrected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 14:48:00 +00:00
Robert Roebling
dfd6b52fdb Updated "make dist",
Extended scroll sub sample to demonstrate how
   wxGrid might work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:08:42 +00:00
Robert Roebling
1e8d2f694e Distrib things,
Fixed typo in wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:11:48 +00:00
Robert Roebling
cddfbd9f55 Some more samples documented etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:13:45 +00:00
Robert Roebling
00e12320ca Some debug code.
Removed flicker form wxTreeCtrl.
  Changes.txt update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 13:04:54 +00:00
Robert Roebling
178009938b Changed scrollsub sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:01:04 +00:00
Robert Roebling
76db86e7e1 Minor Motif changes, made scrollsub sample work somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:01:58 +00:00
Robert Roebling
ecab4dba7d scrolling of foreign windowsplus sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 14:59:44 +00:00