Václav Slavík
3b96ea1ac5
added wxWindow::Set/GetMin/MaxClientSize convenience functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:40:47 +00:00
Václav Slavík
f029f1d15b
added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in custom controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 20:13:22 +00:00
Václav Slavík
301d7a0da6
added wxWindow::ClientToWindowSize and WindowToClientSize helpers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 15:49:22 +00:00
Vadim Zeitlin
0023c3326c
document that wxTLW::SetSize() is affected by SetSizeHints()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 21:12:15 +00:00
Vadim Zeitlin
5bd623e1ea
fix a typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 21:54:38 +00:00
Václav Slavík
3358af0f87
added wxWindow::HasFocus() for more convenient way of determining if a (possibly composite) window has focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:30:24 +00:00
Vadim Zeitlin
12ec9c090c
add forgotten twindowid.tex and correct LaTeX errors introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 19:24:38 +00:00
Vadim Zeitlin
302511a3ca
documentation for window ids allocation and wxIdManager (patch 1870570)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 02:15:15 +00:00
Vadim Zeitlin
702a26fded
better documentation for wxWindow::SetSizerAndFit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 15:25:02 +00:00
Vadim Zeitlin
17808a7596
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Vadim Zeitlin
95883d6c0f
CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:04:12 +00:00
Vadim Zeitlin
360c6b7edb
document HideWithEffect() too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 00:47:34 +00:00
Václav Slavík
937013e0fd
1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK
...
2. use HandleWindowEvent() everywhere as more obvious and convenient shortcut for GetEventHandler()->ProcessEvent(); also for consistency with wxGTK where it's required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 17:00:58 +00:00
Vadim Zeitlin
376d7d9764
added Show/HideWithEffect() and implemented them using AnimateWindow() for Win32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 16:15:08 +00:00
Vadim Zeitlin
c944775f72
added wxWindow::GetPrev/NextSibling()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 15:57:51 +00:00
Vadim Zeitlin
c114200348
added wxWindow::AlwaysShowScrollbars() and its wxMac implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:14:29 +00:00
Vadim Zeitlin
4488a1d332
added wxBG_STYLE_TRANSPARENT and implemented it for wxMac; documented various transparency-related functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 21:15:04 +00:00
Vadim Zeitlin
00a77b7c5d
added wxWindow::GetPopupMenuSelectionFromUser() (modified patch 1793823)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-23 23:42:31 +00:00
Julian Smart
78cd9c69eb
wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms
...
as opposed to wxBORDER_NONE which may or may not show a border, depending on control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-18 10:48:05 +00:00
Robert Roebling
00ff24c81c
Always make wxWindow::SetFocus() focus the window, overriding SetCanFocus, some more focus related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:17:12 +00:00
Julian Smart
a701b45539
Added documentation for wxNavigationKeyEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 13:04:41 +00:00
Julian Smart
5a617be899
Added documentation for wxBORDER_THEME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:35 +00:00
Julian Smart
0a42e3b6ac
Updated border style names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-05 10:10:37 +00:00
Vadim Zeitlin
a7af285d1a
added the mention of library in which each class is defined to the documentation (patch 1756715)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:21:03 +00:00
Paul Cornett
420455b510
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 16:33:48 +00:00
Vadim Zeitlin
dc99a350df
document that wx[HV]SCROLL don't work with native controls not TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:50:34 +00:00
Vadim Zeitlin
a2979ead8d
added HasExtraStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:30:39 +00:00
Vadim Zeitlin
9c57566224
updated SetFont() documentation: it returns bool, not void (bug 1705330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:47:08 +00:00
Robert Roebling
06354b5621
Document wxWindow::Navigate() instead of generation
...
of a navigation event in the text on wxWANTS_CHARS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 08:03:39 +00:00
Vadim Zeitlin
5644933fa6
added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:10:04 +00:00
Vadim Zeitlin
ad02525dad
don't check whether the window is shown and enabled in AcceptsFocus() itself
...
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:36:24 +00:00
Vadim Zeitlin
47a8a4d5cc
make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:01:53 +00:00
Vadim Zeitlin
6b06226335
added GetTextExtent() overload returning wxSize (patch 1631508)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:25:36 +00:00
Vadim Zeitlin
fab86f26bf
miscellaneous minor corrections (patch 1652327)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:53:05 +00:00
Vadim Zeitlin
bb596005f5
wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized under wxGTK too now; documented this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:27:26 +00:00
Vadim Zeitlin
d43eb2a0d5
return the restored window size from GetSize() when window is minimized (for consistency with wxGTK and also for convenience)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 00:21:06 +00:00
Vadim Zeitlin
f77bbb455f
document Next/PrevControlId
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-01 00:22:56 +00:00
Vadim Zeitlin
e23d401900
added documentation of return value of ToggleWindowStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:19:30 +00:00
Vadim Zeitlin
d63312a977
added a small helper ToggleWindowStyle() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:10:59 +00:00
Vadim Zeitlin
333d70525c
added wxWindow::GetWindowBorderSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:52:52 +00:00
Robin Dunn
d6f582e704
Add wxOverlay
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 04:07:14 +00:00
Robert Roebling
b21f4960b1
Return SetSizeHints() in wxWindow to its former
...
life but still recommend to use SetMinSize()
and SetMaxSize(). I've already purged wxWidgets
of any use of this function internally, but
others may use it still.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:14:28 +00:00
Robin Dunn
aef42e1ff6
Add a topc overview about window sizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 19:30:45 +00:00
Robin Dunn
170acdc90e
GetBestFittingSize --> GetEffectiveMinSize
...
SetBestFittingSize --> SetInitialSize
SetBestSize --> SetInitialSize
SetInitialBestSize --> SetInitialSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Robert Roebling
a3dae7b72c
Mark GetMinSize() as virtual and explain why.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 15:02:34 +00:00
Robert Roebling
9379c0d752
Make wxWindow::SetSizeHints() do nothing.
...
Make wxTLW::SetSizeHints() set the various m_minWidth etc. fields.
Override SetSizeHints() in wxGTK to call the relevant gtk funcion
only there and not in every resize.
Make GetMinWidth() etc. non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:17:00 +00:00
Robert Roebling
4ff4d04525
Mention that GTK now supports wxALWAYS_SHOW_SB.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 19:00:59 +00:00
Robert Roebling
4a10e43b27
Made wxWindow::Update() a little clearer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:16:49 +00:00
Julian Smart
62a268cc71
Added some missing newlines to ends of files (necessary for linear RTF)
...
Added rich text control formatting and symbol dialogs
API changes for wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 16:48:47 +00:00
Vadim Zeitlin
2e992e06a7
added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +00:00