correct wrong example of using wxSizerFlags::Border() (#9699)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-07-13 17:31:41 +00:00
parent 293b15f78d
commit d237bb0753

View File

@ -333,7 +333,7 @@ public:
you can now write
@code
sizer->Add(ctrl, wxSizerFlags().Expand().Border(10));
sizer->Add(ctrl, wxSizerFlags().Expand().Border(wxALL, 10));
@endcode
This is more readable and also allows you to create wxSizerFlags objects which
@ -341,7 +341,7 @@ public:
@code
wxSizerFlags flagsExpand(1);
flagsExpand.Expand().Border(10);
flagsExpand.Expand().Border(wxALL, 10);
sizer->Add(ctrl1, flagsExpand);
sizer->Add(ctrl2, flagsExpand);