Commit Graph

49 Commits

Author SHA1 Message Date
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Ryan Norton
2138129e25 wxMenuBar derives from wxWindow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-24 04:52:48 +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
62313dec27 missing backslash before underscore (patch 758143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 23:01:11 +00:00
Julian Smart
bd582574c2 Added wxMenuBase::FindItemByPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:44:54 +00:00
Vadim Zeitlin
41b78190ad recognize ESC[APE] in menu accel strings (patch 733967)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-10 00:56:07 +00:00
Vadim Zeitlin
69440cd26c added the list of supported accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-13 15:36:35 +00:00
Václav Slavík
cc81d32f2b TRUE/FALSE -> true/false in documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:16:34 +00:00
Vadim Zeitlin
0cde01aedc removed extra (non existing) Prepend() parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-18 19:09:18 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
706f30f83c clarification of Set/GetTitle() with respect to popup menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-10 13:37:08 +00:00
Julian Smart
9832266054 Corrected wxMenu::Append item symbol documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 12:19:25 +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
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
0472ece753 implemented radio menu items for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:35:08 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Mattia Barbon
9722642d5d Updated docs for wxProcessEvent
wxPerl docs updates
some minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 21:50:50 +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
Mattia Barbon
0a67eeac3d wxPerl documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:08:45 +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
Václav Slavík
809f39fe42 added remark about wxMENU_TEAROFF being wxGTK only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-11 18:00:49 +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
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
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
270e8b6a37 1. wxMenuBar::FindMenu() made "const"
2. documented it
3. documented recent change to wxYield()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:17:32 +00:00
Harco de Hilster
d17f05afeb Some fixes (&->\&, _->\_) to remove latex complaints.
Actually the whole point of this excercise was to try to make a nice pdf file
with contents tree and thumbnail pages using pdflatex, but it keeps depleting
tex's resources :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:14:56 +00:00
Václav Slavík
17e799185b documented wxMB_DOCKABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:33 +00:00
Julian Smart
e12be2f7fb Tidied some doc references; added Stefan's Blit optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 14:21:38 +00:00
Václav Slavík
c91108763b fixes of documentation - replaced \tt{...}, \em{...}, \bf{...} by {\tt ...} etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:34:56 +00:00
Robin Dunn
874a1686d8 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:09:58 +00:00
Vadim Zeitlin
2182e26fa3 fixed LaTex error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 16:22:32 +00:00
Vadim Zeitlin
1aaef61416 new wxMenu(Bar) dynamic menu(bar) management functions documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:43:44 +00:00
Robin Dunn
b1462dfa34 wxPython stuff:
1. Added Clipboard and Drag-and-Drop classes
  2. Added wxFontEnumerator
  3. Many changes to wxMenu, wxMenubar
  4. Various other changes and additions
  5. Updates to the demo
  6. Documentation updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:30:23 +00:00
Julian Smart
407f36811e Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 10:02:01 +00:00
Robert Roebling
fc9c7c09bd Small doc updates.
Distrib and makefile updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 18:20:39 +00:00
Patrick Albert
63dcfc151b Added documentation for wxMenuBar::Refresh()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:54:56 +00:00
Karsten Ballüder
4e9865026f documented wxMENU_TEAROFF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-07 09:24:55 +00:00
Julian Smart
6776a0b25c Some doc corrections; various small fixes for Cygwin and BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 08:38:01 +00:00
Julian Smart
e702ff0f08 Menu/toolbar event handling now tries the window with the focus first.
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Julian Smart
58abfef64f Fixed OnMenuHighlight, wxPrintData problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 12:55:44 +00:00
Vadim Zeitlin
c626a8b797 wxMenu code clean up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 19:05:19 +00:00
Robin Dunn
06d20283af Added first batch of docs and notes for wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 07:58:02 +00:00
Julian Smart
954b8ae603 Added 'Include files' section to class references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 20:41:29 +00:00
Julian Smart
631f1bfed5 Added wxMenu::UpdateUI to wxMSW, wxGTK, wxMotif, wxStubs; rearranged/debugged
docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 13:32:46 +00:00
Julian Smart
b412f9be50 Lots of wxMotif fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 19:13:35 +00:00
Julian Smart
7f555861b7 Made wxStubs compile on Unix.
Improvements to doc/view on MDI, including multiple menus for wxFileHistory.
Added wxDirExists to wxMSW; moved wxMatchWild to filefn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-16 21:52:23 +00:00
Julian Smart
b8de493fbd Various .tex files updated. .bmp files were corrupted, recomitting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-18 14:54:21 +00:00
Julian Smart
eaaa6a06a2 Changed documentation const convention for non-objects; added some manual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@92 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-06-14 12:11:50 +00:00
Karsten Ballüder
a660d684ed I've now added the documentation files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:25:30 +00:00