Vadim Zeitlin
f9b5691a1b
added const overload of GetChildren()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-08 14:27:25 +00:00
Vadim Zeitlin
ccee328e0b
Added wxSizerFlags::Top() and Bottom()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:26:31 +00:00
Vadim Zeitlin
d95527de9a
added wxSizerFlags::Shaped() and FixedMinSize() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-14 16:52:55 +00:00
Vadim Zeitlin
f86d9a8b21
document GetChildren() (bug 1578143)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:15:03 +00:00
Robert Roebling
fd52f25525
Clarify docs about wxSizer::SetSizeHints().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:12:13 +00:00
Vadim Zeitlin
c1073b57a7
add a note explaining that sizers should be heap-allocated (bug 965825)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:03:41 +00:00
Vadim Zeitlin
25eb10d2e1
added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:10:22 +00:00
Vadim Zeitlin
2be7beda2d
added wxSizerFlags::GetDefaultBorder()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:32:46 +00:00
Vadim Zeitlin
62637495c9
extended wxSizerFlags docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:29:16 +00:00
Vadim Zeitlin
e8cfff879e
added wxSizer::Get/SetContainingWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-04 12:05:49 +00:00
Robert Roebling
eae0338fcb
Commited patch for wxSizer::Replace()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 11:48:49 +00:00
Vadim Zeitlin
b219a1a95b
added British spellings of the alignment flags (patch 1486478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 22:37:04 +00:00
Vadim Zeitlin
8258c3ddbd
document that Remove(index) doesn't delete the window neither (replaces patch 1470834)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 17:01:16 +00:00
Vadim Zeitlin
e3950b1852
added missing methods documentation (patch 1466949); also use \arg instead of \it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:09:12 +00:00
Vadim Zeitlin
fbfb8bcc3f
added missing consts and pass objects by const reference instead of by value (patch 1205869)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Vadim Zeitlin
e6994168fe
more about GetRect() (patch 1158730)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:49:46 +00:00
Vadim Zeitlin
e72ac08291
added wxSizerFlags::Left/Right()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 01:55:23 +00:00
Vadim Zeitlin
0f35356305
minor docs corrections (patch 1144566)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:07:35 +00:00
Ryan Norton
9a75ba66de
Doc fixes N-Z edition. Thanks to Arnout for pointing these out. Also I fixed some others as I went along...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 18:25:54 +00:00
Ryan Norton
40210d8a0a
Add wxSizerFlags docs to wxSizer, wxSizerItem and wxSizer overview.
...
Mention that wxSizerFlags is PRELIMINARY.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 15:26:26 +00:00
Ryan Norton
f2fe4f6777
wxSizerFlags name fix, accessors only available to wxSizer (supposively :))
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:58:52 +00:00
Ryan Norton
2a3c8b658d
wxsizerflags docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:52:04 +00:00
Włodzimierz Skiba
56eee37fc8
wxSizer::Add/Insert now returns pointer to wxSizerItem added and wxSizerItem contains access to its area [Patch #1042571 with minimal tweaks]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:33:00 +00:00
Włodzimierz Skiba
9f13661f8b
Parts of wxSizer::Show() extracted into wxSizer::GetItem() (together with documentation).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 18:58:52 +00:00
Ryan Norton
0bf9746652
Put include file for sizer classes in docs - documentation buglet from wiki http://wiki.wxwidgets.org/docs.cgi?q=buglets&target=wiki
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 23:17:12 +00:00
Włodzimierz Skiba
8b2bac626c
Recursive wxSizer::Show for subsizer and return value if element was found.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 13:46:45 +00:00
Dimitri Schoolwerth
749bb9f129
added shortcut functions AddSpacer and AddStretchSpacer (plus Prepend and Insert variants)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:37:48 +00:00
Václav Slavík
c6eb778541
Removed references to now-deprecated wxNotebookSizer from documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:59:38 +00:00
Julian Smart
7517318648
Latex corrections from Marc Albrecht
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:57:47 +00:00
Julian Smart
2fa2b11bbf
Corrected some spacing and typo errors.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 09:25:29 +00:00
Dimitri Schoolwerth
a70b2f8001
fixed typo, used word 'assigned' instead of 'allotted'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 12:36:55 +00:00
Julian Smart
fc2171bd4c
Name change replacements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 08:27:20 +00:00
Robin Dunn
b19d7524fc
Add wxGridBagSizer to the overview text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-14 05:58:18 +00:00
Robin Dunn
f52e0cf489
Changed name to wxFIXED_MINSIZE since that is more descriptive of what
...
it does. The size can still be changed by the sizer, but it won't
query the minsize if this flag is set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 23:06:35 +00:00
Robin Dunn
caa251e073
Added wxFIXED_SIZE.
...
Propogated wxSizer::SetItemMinSize to SetSizeHints for window items.
Updated docs for flag parameter to be more readable and understandable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 19:21:06 +00:00
Vadim Zeitlin
395a82b13f
made wxADJUST_MINSIZE default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 10:18:38 +00:00
Vadim Zeitlin
02c6137ec1
make it clear that the size returned by Fit() is window, not client, size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 18:56:07 +00:00
Julian Smart
0497e17283
Doc corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 08:16:37 +00:00
Vadim Zeitlin
55f9f0cbc8
support Show() in wxFlexGridSizer (patch 737850)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:08:13 +00:00
Václav Slavík
cc81d32f2b
TRUE/FALSE -> true/false in documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:16:34 +00:00
Ron Lee
12a3f2275c
Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
...
Made wxSizer child list typesafe. I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..
Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.
Added {G,S}etSpacer consistent with the accessors for windows/sizers.
Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them. Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.
s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}
Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.
removed pointless private scoping around DECLARE_CLASS macros.
Replace 0's I added previously with NULL -- not like that will end the
email thread either..
Added Add( wxSizerItem * ) & co. There are probably a couple of other
places we can usefully do something like this too. Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.
Updated wxSizer docs some more, they are still incomplete but getting
better.
wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode. There may be a few left for other ports.
Fixed a couple of other random compile warnings along the way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Ron Lee
00976fe56b
Add wxSizer::Detach so we can detach child sizers without deletion.
...
Updated wxSizer docs for this and a couple of other missing/outdated
things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 13:02:15 +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
Vadim Zeitlin
e5251d4f78
fixes to the sizers behaviour necessary to make the log dialog work again
...
(thanks to Dimitri) and a few updates to the docs after the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:21:20 +00:00
Vadim Zeitlin
2edb0bdef6
applied typos and spelling error fixes patch from Olly Betts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:15:28 +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
1c0c339c2d
Added first cut at sizer topic, based on Robert's manual and
...
individual class reference docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:58:13 +00:00
Vadim Zeitlin
3baaf31317
mention wx[Flex]GridSizer too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:32:20 +00:00
George Tasker
8a46f0a21d
Fix for bug 462533, spelling typo in docs "wxAGJUST_MIN" should be "wxADJUST_MINSIZE"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 13:28:34 +00:00
Vadim Zeitlin
d13d8d4e5f
added wxADJUST_MINSIZE sizer flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-14 14:13:38 +00:00