Commit Graph

32 Commits

Author SHA1 Message Date
Vadim Zeitlin
7d9d5934b5 Document all the strings supported as menu accelerators
This wasn't documented anywhere until now, so copy the contents of the table
in src/common/accelcmn.cpp to the documentation to have them all in one place.
2016-08-10 22:58:14 +02:00
Tobias Taschner
baa47dc435 Drop Mac prefix on remaining instances of OS X in docs.
This should have been part of df33c0c491 but somehow where missed.
2016-02-23 13:05:44 +01:00
Vadim Zeitlin
a193a6786d Escape space after "e.g." or "i.e." in the manual.
This fixes formatting of the Doxygen-generated docs (maybe we should just
switch to the civilized spelling of "eg" and "ie" instead?).

See #16744.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-12-24 13:57:05 +00:00
Robin Dunn
283636bf22 Add Get/SetDisabledBitmap methods for msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-05-20 03:16:22 +00:00
Robin Dunn
7d00c5c477 Add missing wxMenuItem methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:23:01 +00:00
Vadim Zeitlin
3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
e3f4ca2e1e Add wxMenuItem::IsCheck() and IsRadio() accessors.
The latter will be convenient to use in the upcoming changes to wxOSX radio
items management code and add the former for the symmetry.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-16 14:10:20 +00:00
Vadim Zeitlin
ce7fe42e84 Provide shorter synonyms for wxEVT_XXX constants.
Use the same short names as are used by the event table macros for the event
type constants themselves. This makes them much more comfortable to use, e.g.
Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED).

The old long names are still kept for backwards compatibility and shouldn't be
removed as it doesn't really cost anything to continue providing them, but all
new event types should only use the short versions.

Closes #10661.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-25 10:11:03 +00:00
Vadim Zeitlin
3ebf38b3b4 Document that menu item bitmaps must be set before appending them.
At least in MSW we need to know in advance whether we're going to use normal
items or owner-drawn ones currently.

Closes #3641.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-08-30 20:20:44 +00:00
Vadim Zeitlin
09fc8e245c Document wxGTK limitation for accelerators involving Shift.
Using Shift with non-alphabetic characters doesn't work due to GTK+ bug, see
https://bugzilla.gnome.org/show_bug.cgi?id=614146

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-23 15:02:57 +00:00
Vadim Zeitlin
5ec18516f6 Document "raw control" use with accelerators.
Mention it in the places where the other accelerator prefixes are documented.

See #13496.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-23 21:16:28 +00:00
Robin Dunn
04992872e5 Removed const from a couple methods that are not const in the real code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 01:01:12 +00:00
Robin Dunn
dbac5ccc54 Interface fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-21 07:56:01 +00:00
Stefan Csomor
1aa1d260b5 adding missing doc string for BACKSPACE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-28 07:11:44 +00:00
Dimitri Schoolwerth
d13b34d3f2 No code changes, fixed various typos.
Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk.

Closes #13076.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-03 20:31:32 +00:00
Vadim Zeitlin
526954c596 Globally use "wxWindows licence" consistently.
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
e91ce12d73 Mention that stock bitmaps are a wxGTK-only feature for now.
Apparently people expect to see stock bitmaps under MSW too, make it clear
that they won't be used there.

See #12051.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-16 12:31:57 +00:00
Vadim Zeitlin
b3f5fbf6ea Document that images in buttons and menus might not be shown under GTK.
Mention gtk-{button,menu}-images GTK+ settings.

See #11369.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-03 01:08:19 +00:00
Francesco Montorsi
7145bcfc47 add a detailed description to wxMenuItem::SetItemLabel() partially moving docs from wxMenu::Append; add usage examples; organize wxMenuItem functions in 3 sections (getters, setters, checkers) to make it easier to browse the docs; use @onlyfor tag where necessary instead of the (Windows only) text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-20 14:24:42 +00:00
Vadim Zeitlin
4d273001f4 added "bool checked" parameter to SetBitmap() too, for consisttency with GetBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 12:07:42 +00:00
Kevin Ollivier
0f6c9085a5 Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:19:09 +00:00
Francesco Montorsi
3051a44a73 make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:58:51 +00:00
Francesco Montorsi
f8ebb70d6c remove usage of wxT() macro; it makes example code a bit harder to read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 21:46:46 +00:00
Francesco Montorsi
0801f345c0 put zlib streams in the archive category, too; fix some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 19:34:42 +00:00
Francesco Montorsi
558e89e74d add an event table; even if wxMenuItem is not a widget, it emits events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 23:22:41 +00:00
Francesco Montorsi
30f23bcc56 use @onlyfor tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:15:09 +00:00
Francesco Montorsi
0a98423eb0 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
43c48e1e53 automated ifacecheck fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:36:26 +00:00
Francesco Montorsi
ba1d7a6cec revised m*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 13:10:48 +00:00
Francesco Montorsi
adaaa68635 HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Bryan Petty
12f5e1e78f Commit 3 of 3 for Doxygen path fixes, this one finally removes all 600+ unnecessary uses of @wxheader and @headerfile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 18:00:03 +00:00
Bryan Petty
ae3c17b401 Moved all interface headers into a 'wx' subdirectory for proper use of Doxygen path settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 16:22:58 +00:00