Commit Graph

160 Commits

Author SHA1 Message Date
Włodzimierz Skiba
6d06e061dc Missed labels to replace number of 'topicNNN' in anchors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 13:24:41 +00:00
George Tasker
acbadd0bc5 Grammtical correction in commented out documentation, but fixed anyway as the comment says portions of the documentation may get moved to other sections of the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 11:14:30 +00:00
Vadim Zeitlin
3fbade2be0 replaced wxControl with wxWindow in 2 methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 20:14:50 +00:00
Julian Smart
50c538600e First step in background erase optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 10:22:34 +00:00
Václav Slavík
733399faaa documented wxWindow::GetFont change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 12:33:23 +00:00
Vadim Zeitlin
87b6002d7c typo/spelling fixes (patch 983448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Vadim Zeitlin
a24de76b33 added and documented wxWindow::MoveBefore/AfterInTabOrder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:44:37 +00:00
Václav Slavík
fa47d7a7ad SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Václav Slavík
c6c825d8dd new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:27 +00:00
Robin Dunn
ece990873c Updated docs for Set[Fore|Back]groundColour with more hints about
using them with themes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:24:21 +00:00
Julian Smart
eedc82f4e9 Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Julian Smart
5f6cfda79f With wxTE_PROCESS_TAB, tabs are now inserted in the text control
by default. The new Navigate function can be used to do navigation
programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:03:06 +00:00
Julian Smart
e477b168c6 Corrected return type of SetBackgroundColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:30:15 +00:00
Václav Slavík
45b8a2566d removed unneeded prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 15:38:09 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Julian Smart
fc2171bd4c Name change replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-04 08:27:20 +00:00
Vadim Zeitlin
b8e7b6738f 1. moved InheritAttributes() from wxControl to wxWindow
2. made it inherit only the attributes explicitly set for the parent
3. "explicitly set" means set with SetXXX(), not newly added SetDefaultXXX()
4. documented InheritAttributes(), ShouldInheritColours() and SetDefaultXXX()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:22 +00:00
Robin Dunn
1ec25e8ff7 Added some convenience inlines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 05:20:58 +00:00
Václav Slavík
488e150743 syntax fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 21:12:37 +00:00
Vadim Zeitlin
1b69c81574 added Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:05:13 +00:00
Vadim Zeitlin
416101beab documented Set/GetWindowVariant()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 23:14:28 +00:00
Julian Smart
03ca23b6b7 Misc doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 20:31:28 +00:00
Vadim Zeitlin
a1037371af wxWindow::Freeze()/Thaw() can now be nested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00
Julian Smart
d2c2afc91b Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-22 01:16:32 +00:00
Julian Smart
c92ddcd2e1 Some doc spacing fixes; removed references to
deprecated classes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-21 09:06:36 +00:00
Robin Dunn
a729c34475 Updated note about wxWANTS_CHARS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 02:01:24 +00:00
Václav Slavík
c0d26c0f18 fixed syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-26 10:40:53 +00:00
Julian Smart
d3e78bab3e Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 14:39:11 +00:00
Julian Smart
69a126b0c7 Added some constants. wxRAISED_BORDER not GTK+-only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-12 11:42:22 +00:00
Julian Smart
8d99dec09b Added missing description for wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 11:46:40 +00:00
Vadim Zeitlin
c66c3af135 removed virtual from functions which are not; expanded wxWindow description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-27 12:36:29 +00:00
Vadim Zeitlin
8c4b73d1c9 removed extra virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-05 15:18:45 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
afbdbdb491 mention that Add/RemoveChild() are internal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 22:21:10 +00:00
Vadim Zeitlin
c222be41e7 fixed return value of Disable() (bug 795630)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:56:47 +00:00
Julian Smart
684761db46 Misc. corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 16:17:40 +00:00
Vadim Zeitlin
5da0803c15 renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Julian Smart
5048c832bb Applied patch [ 758687 ] RegisterHotkey implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:16:00 +00:00
Julian Smart
3c9676eabf Fixed missing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 11:00:40 +00:00
Julian Smart
e39af974ef - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
  user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
  sends wxUpdateUIEvents, and can be overridden. It has a helper function
  DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
  CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
  determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
  styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
  about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
  accelerators don't always get called since menu items may still
  be disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
a647d42abc added support for wxALWAYS_SHOW_SB (finally closes patch 410865 -- first still opened...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:14:02 +00:00
Vadim Zeitlin
b19d494be1 documented Fit() brokenness if sizers are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:54:08 +00:00
Vadim Zeitlin
aa4b42f0b7 fixed a typo in IsExposed, put SetValidator in correct (in alpha order) place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 19:12:55 +00:00
Vadim Zeitlin
75bff3be85 added {Line/Page}{Up/Down}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-30 21:20:25 +00:00
Julian Smart
8161ba085f Doc clarifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:53:46 +00:00
Julian Smart
2dab56e91e Added wxAccessible documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-16 09:40:09 +00:00
Julian Smart
965b4f87d9 Removed old classes and functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-31 14:00:53 +00:00
Vadim Zeitlin
6faf4b5f59 say that WarpPointer() is not supported under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-13 13:16:58 +00:00