Commit Graph

229 Commits

Author SHA1 Message Date
Václav Slavík
85c62cec4d implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:32:21 +00:00
Vadim Zeitlin
5949c5068f use \newsince instead of incorrect \since
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 14:41:57 +00:00
Václav Slavík
a0a0e2b8d8 backported ClientToWindowSize(), WindowToClientSize() to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 14:19:38 +00:00
Julian Smart
6d8d750e37 Clarified context menu event behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-05 08:44:41 +00:00
Vadim Zeitlin
cf22e46119 added wxWindow::GetPrev/NextSibling() [backport of r50108 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-20 16:12:12 +00:00
Julian Smart
6292769c37 Added documentation for wxBORDER_THEME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:58 +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
Václav Slavík
865a74c700 renamed wxWindow::IsVisible() to IsShownOnScreen() to fix name conflicts with other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-14 12:22:46 +00:00
Vadim Zeitlin
d4a1433fcc added wxWindow::IsFrozen() (only existed in wxMSW and wxDFB before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 23:45:31 +00:00
Václav Slavík
9c72cf7619 added wxWindow::IsVisible() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 15:38:54 +00:00
Vadim Zeitlin
7ce6cc9b8e unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Václav Slavík
63e819f298 added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Vadim Zeitlin
e71c530e03 added HasMultiplePages()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:46:32 +00:00
Vadim Zeitlin
d57725b576 fixed incorrect reference to wxhelpeventorigin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 21:40:22 +00:00
Vadim Zeitlin
dc6588e771 made it possible to associate context help to a region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:10:32 +00:00
Vadim Zeitlin
83930b2fd2 Reparent() is available under Mac as well (bug 1500782)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 11:55:21 +00:00
Vadim Zeitlin
154b6b0f0e spelling fixes (patch 1495562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:56:51 +00:00
Vadim Zeitlin
3c81c9aafb added GetScreenPosition/Rect() which always return the screen coordinates of the window (for child windows and TLWs alike)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 15:45:12 +00:00
Vadim Zeitlin
9d3cb3f369 added a tiny class to call Freeze/Thaw in ctor/dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:21 +00:00
Vadim Zeitlin
4e43c81518 minor docs corrections and improvements from Andreas Mohr (patch 1430551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 15:18:35 +00:00
Vadim Zeitlin
24f904f41f note that SetAutoLayout() doesn't work for all windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 00:19:34 +00:00
Vadim Zeitlin
0c131a5ad2 implemented ScrollLines/Pages() for all classes in wxGTK, not just wxTextCtrl (patch 1281503)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:53:34 +00:00
Mart Raudsepp
773a50563e Add a "see also" note for wxScrollWinEvent for wxWindow::SetScrollbar. Closes bug #1083738
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 05:12:43 +00:00
Kevin Hock
f29d3d6133 Change reference from GetForce to CanVeto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 15:25:26 +00:00
Vadim Zeitlin
2ad97616eb document that font set with SetFont() is not automatically used by wxPaint/Client/WindowDC associated with the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-02 23:30:06 +00:00
Vadim Zeitlin
dc7a2021d5 corrected GetChildren() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 15:27:46 +00:00
Vadim Zeitlin
50a32a83d7 documented HasFlag()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-21 19:41:17 +00:00
Włodzimierz Skiba
5e06d749ed Finally removes occurences of OnMenuCommand and closes bug #1164678
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 17:27:38 +00:00
Włodzimierz Skiba
60fef9643d Get/SetTitle only for wxTopLevelWindow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 16:27:19 +00:00
Mart Raudsepp
d9f42a9e5a Alphabetize wxWindow members list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-25 16:35:25 +00:00
Vadim Zeitlin
9f1a446692 clarified ScrollWindow() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-12 00:20:31 +00:00
Vadim Zeitlin
2bdd6b12dd Raise() and Lower() work for any windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 21:42:03 +00:00
Vadim Zeitlin
952f2aaa86 added wxSIZE_FORCE flag for SetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-11 13:21:45 +00:00
Mart Raudsepp
c894d475da No default args in headers for SetSizeHints minimal size. Fixed docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-03 13:00:24 +00:00
Julian Smart
1d89c6a711 Clarified wx[NO_]FULL_REPAINT_ON_RESIZE docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-23 09:57:09 +00:00
Michael Wetherell
43e8916ff3 Documentation fixes, patch 1179223 by Andreas Mohr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
Vadim Zeitlin
a67f1484e0 made Update() recursive under wxGTK2 (doesn't work for wxGTK1 because Refresh() is not recursive htere neither) and documented its behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 13:54:09 +00:00
Vadim Zeitlin
d181e05329 changed wxWindow::Refresh() to refresh the window children as well (as wxGTK already did); documented this as correct behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 16:32:48 +00:00