Robert Roebling
2e9c65bf83
Oops.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:51:38 +00:00
Robert Roebling
4f469fb5c4
This memory corruption caused me three and
...
a half weeks of trouble.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 14:01:57 +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
Gilles Depeyrot
1b0674f799
corrected warnings when compiling with -Wall -W
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:49:20 +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
77424cfbdd
Sorry, that SetClientSize change was wrong, since sizers are working in
...
whole-window coordinates. Reverted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 18:43:25 +00:00
Julian Smart
247cdef5df
wxSizer::Fit calls SetClientSize, not SetSize. This fixes the tool window
...
in the Life demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 09:11:59 +00:00
Ron Lee
34c3ffca5b
Added GetMaxSize virtual method for use by sizers.
...
Modified wxSizer to use it instead of crushing all windows to
the display size.
Currently only top level windows are limited to display size,
all other windows are unlimited (inside the clipping region of
their tlw).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:58:13 +00:00
Robin Dunn
be90c029fd
As per the wx-dev discussion in early Jan, replaced
...
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of. Windows will now remove
themselves from a sizer when destroyed. Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Gilles Depeyrot
799ea01170
implement out-of-line destructors where needed instead of using __DARWIN__
...
specific conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:52:28 +00:00
Robert Roebling
84f7908b99
Applied patch from SF on menu command not blocked
...
if they are disabled but still emitted by an
accelerator
First attempt at adding wxSizer::Clear(). Further
testing pending :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 16:21:04 +00:00
Julian Smart
e6ba3fd4b7
Removed arbitrary window-shrinking code; corrected log message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 17:24:42 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Robin Dunn
f98de4487f
Applied patch #423927 , (Min size for stretch parts of wxBoxSizer)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 07:27:17 +00:00
George Tasker
ef397583df
Sizer based dialogs (like wxSingleChoiceDialog) are now forced to initially appear in the visible area of the display, relocating the dialog before display so that it fits within the display (if possible). If the dialog will not fit in the display area, it is shifted so that the top edge with the title bar is visible on the display
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 20:23:58 +00:00
Kendall Bennett
33ac7e6f01
Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
...
clean with this compiler. Hopefully I did this without breaking other
compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
George Tasker
9ef2e675a5
Changed ::Fit() to only fit the sizer if the window is the top level window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-26 01:08:19 +00:00
George Tasker
65ba4113c6
Fixes ::Fit() and ::SetSizeHints() to keep the dialog sized so that it will not grow outside the display area of the screen. NEcessary to fix the problems seen in wxAnyChoiceDialog() derived classes where the dialog grows too big to see the top or bottom of the dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-25 16:08:22 +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
Vadim Zeitlin
84028727cb
tried to fix layout of label-less static box sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-17 17:00:33 +00:00
Vadim Zeitlin
cdddaeea10
fix from Robert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 13:54:47 +00:00
Robert Roebling
aa21b5090a
Merged sizer fix from stable branch
...
Added support for transparent wxImage::Paste()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 08:55:40 +00:00
Bryan Petty
3ca6a5f046
second merge of the 2.2 branch (RL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +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
b919f007af
Corrected some things in, and some thing revealed by
...
the Life! sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:20 +00:00
Vadim Zeitlin
13111b2ac8
1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
...
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
c7a9fa36e4
Minor changes to wxTreeCtrl's horiz size,
...
Text stream now can write Mac/Unix/Dos EOL on resp. other platforms,
Fixed return value of wxBufferedOutputStream::GetSize() and ::TellO()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 16:15:32 +00:00
Robert Roebling
cae31b8b52
Fixed typo in wxStaticBoxSizer::CalcMin().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:32:25 +00:00
Robert Roebling
f35aa3daa3
Added wxSizer::Insert()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 16:37:08 +00:00
Václav Slavík
60be2f47e1
added #if wxUSE_NOTEBOOK around wxNotebookSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:16:59 +00:00
Robert Roebling
83edc0a574
Added wxNotebookSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:07:14 +00:00
Robin Dunn
be2577e4e6
wxSizer patches by Alexander Smishlajev <als@turnhere.com>
...
Adds some wxALIGN_* flags to increase ability to position item
within its allotted space.
Adds wxSHAPED flag that enforces proportional resizing on growable
items.
Adds a sample and updated documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 23:02:41 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Robin Dunn
0c0d686fe5
Added userData to wxSizerItems and other things to make sizers more
...
usable/overrideable from wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 03:12:49 +00:00
Julian Smart
1044a386f0
Misc. 16-bit compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 15:14:50 +00:00
Robert Roebling
42b4e99e9a
Added Prepend() and Remove() methods to wxSizer,
...
Corrected a stupid bug in it,
Freshed up wxPropertyXXX to make use of the icons
in the dialogs.
Made wxBmpButton inherit from wxButton. Grumble.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-16 20:17:48 +00:00
Robert Roebling
27ea1d8aae
Added wxStaticBoxSizer,
...
Makefile updates,
Improved look of wxGenericPageSetupDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-13 17:32:30 +00:00
Robert Roebling
92afa2b150
Did somework on the generic dialogs,
...
Renamed wxBox -> wxBoxSizer
Removed old dialog layout code,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-11 11:53:40 +00:00
Robert Roebling
3417c2cd3d
Replaced old wxSizer,
...
Converted two of wxGTK's standard dialogs to use them,
Applied two fixes to wxDC code,
Made wxRadiobox a little smaller,
Added sizer.h to wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 17:00:51 +00:00
Robert Roebling
d597fcb781
Completed wxBox,
...
Changed a few defines in defs.h, most importantly,
wxCENTRE is now 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 11:27:37 +00:00
Vadim Zeitlin
77671fd2d6
1. regenerated makefiles
...
2. wxNewSizer compiles under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 21:56:43 +00:00
Robert Roebling
61d514bb2f
Finished porting Robin's wxSizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 21:09:59 +00:00
Robert Roebling
c62ac5b6e4
Added wxNewSizer and wxBorderNewSizer with sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 16:45:57 +00:00
Robert Roebling
5279a24d25
zipstrm link fix
...
added sizer.h/cpp which don't even compile yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-08 13:58:24 +00:00