Commit Graph

105 Commits

Author SHA1 Message Date
Vadim Zeitlin
d7cbabe039 disable children when the parent is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 00:34:08 +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
d070606729 fixed buglet in wxWindow::GetPosition docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:12:36 +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
Robert Roebling
f89a1397df Doc tweaks for FindWindowByXX
Docs for SetThemeEnabled
  Docs for wxToolBar::FindControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 09:59:00 +00:00
Vadim Zeitlin
146ba0feac new wxWindow::FindWindowByXXX() methods replacing the old global functions
(patches 560214, 559916, 559811, ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-25 14:24:43 +00:00
Vadim Zeitlin
df00166097 fixed return value of Enable() and Disable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 23:04:46 +00:00
Mattia Barbon
741ed1143d Documentation for wxClipboard::Flush
Added \label in window.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 19:27:07 +00:00
Vadim Zeitlin
7af3ca1645 fixed LaTeX compilation problems (part of patch 551210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 14:24:07 +00:00
Vadim Zeitlin
d577d610a3 added and documented wxWindow::SetFocusFromKbd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:31:35 +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
a5e84126fc Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
the capture before release it.
Documented wxMouseCaptureChangedEvent and GetCapture/FindCapture.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 20:26:43 +00:00
Julian Smart
f4fcc29197 Removed a lot of redundant references to wxWindow::On... functions.
Added initial artprov.tex.
Sorted out duff references.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:46:27 +00:00
Ron Lee
3aa5d53272 added optional parameter to SetSizer, to allow replacing a window's
sizer without deleting the existing one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 11:19:16 +00:00
Ron Lee
772c017b2c Typo fix for GetSizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 09:20:12 +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
Vadim Zeitlin
bc5879ef40 fixed Show() doc, added Hide()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 12:24:05 +00:00
Gilles Depeyrot
8ddffcdaca added precisions for GetSize and GetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 20:49:16 +00:00
Vadim Zeitlin
2e36d5cf81 added and documented wxWindow::RemoveEventHandler()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:01:15 +00:00
Vadim Zeitlin
9866d9c299 commented out many OnXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:36:43 +00:00
Vadim Zeitlin
47a9a87d51 documented new CaptureMouse() behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:45:58 +00:00
Vadim Zeitlin
335c9e32fe minor wxFRAME_EX_CONTEXTHELP updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 00:02:48 +00:00
Julian Smart
d7d176241e Moved include for Windows compilation; minor doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 14:15:57 +00:00
Vadim Zeitlin
39cc7a0bae added wxWS_EX_TRANSIENT, added code for handling it and fixed wxLogGeneric
to avoid crashes related to creating the log dialog as child of a window which
is destroyed before it is


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-30 23:40:12 +00:00
Vadim Zeitlin
e4b713a278 added and documented wxWS_EX_BLOCK_EVENTS flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 16:46:01 +00:00
Gilles Depeyrot
4d5a0f67c6 commented help references to OnXXX functions that are not documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 19:39:14 +00:00
Vadim Zeitlin
9cd6d737d5 1. made ScrollLines/Pages return bool indicating if we scrolled till the
end or not
2. implemented them for wxGTK text ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 15:22:38 +00:00
Vadim Zeitlin
70e8189368 documented ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:51:06 +00:00
Vadim Zeitlin
0cc7251efe added wxWindow::Freeze/Thaw(), implemented them for wxGTK::wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 08:33:53 +00:00
Vadim Zeitlin
6ba68e8852 minor doc fixes (bug 433229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:27:07 +00:00
Vadim Zeitlin
b59893f3ef minor docs fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 15:04:06 +00:00
Vadim Zeitlin
e697316793 added GetSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 22:48:53 +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
Robin Dunn
c9f00eebab fixed typo in a couple method names for wxPython, also some changes in
the wxPython chapter that have been sitting on my disk for some
time...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 17:03:23 +00:00
Vadim Zeitlin
5873607e5c wxPerl doc patches applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 16:10:46 +00:00
Julian Smart
4e28924cdb Doc corrections; added HelpGen project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 13:53:33 +00:00
Julian Smart
15770d1a1c Doc mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 19:56:24 +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
Julian Smart
b2cf617cb8 Some doc fixes; BC++, Watcom C++, Mingw32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 17:59:56 +00:00
Julian Smart
9c824f2977 Doc updates; new grid disabled for BC++/WIN16 (too much global data)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 09:19:37 +00:00
Vadim Zeitlin
8a9c22462a 1. fixed memory leak in GAddress
2. fixed memory leak with wxLogStderr in wxBase
3. updated tmake files/makefiles for wxBase with wxSocket under MSW
4. fixed wxSashWindow cursor bug by allowing SetCursor(wxNullCursor)
5. fixed warning in gsock*.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:03:52 +00:00
Julian Smart
fa482912e4 Some doc proofreading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 00:21:49 +00:00
Vadim Zeitlin
bd9724b905 Get/SetDefaultItem docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:47:20 +00:00
Julian Smart
a42b93aaad Minor doc typos removed; compilation improved for VC++ 4.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:08:11 +00:00
Vadim Zeitlin
8771a3239e docs can be built again (thanks lacheck!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 19:30:09 +00:00
Vadim Zeitlin
7eb4e9cc0f added CentreOnScreen(), updated the docs to clear this mess a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:48:41 +00:00
Robin Dunn
3e02f5ed14 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 04:46:41 +00:00
Robert Roebling
103aab2664 Various corrections to makefiles, RPMs etc.
Corrected overoptimised window style and colour code.
  More best visual changes.
  Minor typos in docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:37:28 +00:00
Vadim Zeitlin
d80cd92ae2 1. kbd interface for wxScrolledWindow
2. wxWindow::Set/GetExtraStyle()
3. wxWS_EX_VALIDATE_RECURSIVELY added and implemented
4. docs updated to reflect (2) an (3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 19:59:41 +00:00
Václav Slavík
7f071e73f2 fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:43:50 +00:00