wxWidgets: Stock Items

| Version: 3.0.5

- Main Page
- Related Pages
- Categories
- Classes
- Files

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Stock Items

The following is the list of the window IDs for which stock buttons and menu items are created.

See the wxButton constructor and the wxMenuItem constructor for classes which automatically add stock bitmaps when using stock IDs.

Also note that you can retrieve stock bitmaps using wxArtProvider.

Stock ID | GTK icon | Stock label
wxID_ABOUT |  | &About
wxID_ADD |  | Add
wxID_APPLY |  | &Apply
wxID_BACKWARD |  | &Back
wxID_BOLD |  | &Bold
wxID_BOTTOM |  | &Bottom
wxID_CANCEL |  | &Cancel
wxID_CDROM |  | &CD-Rom
wxID_CLEAR |  | &Clear
wxID_CLOSE |  | &Close
wxID_CONVERT |  | &Convert
wxID_COPY |  | &Copy
wxID_CUT |  | Cu&t
wxID_DELETE |  | &Delete
wxID_DOWN |  | &Down
wxID_EDIT |  | &Edit
wxID_EXECUTE |  | &Execute
wxID_EXIT |  | &Quit
wxID_FILE |  | &File
wxID_FIND |  | &Find...
wxID_FIRST |  | &First
wxID_FLOPPY |  | &Floppy
wxID_FORWARD |  | &Forward
wxID_HARDDISK |  | &Harddisk
wxID_HELP |  | &Help
wxID_HOME |  | &Home
wxID_INDENT |  | Indent
wxID_INDEX |  | &Index
wxID_INFO |  | &Info
wxID_ITALIC |  | &Italic
wxID_JUMP_TO |  | &Jump to
wxID_JUSTIFY_CENTER |  | Centered
wxID_JUSTIFY_FILL |  | Justified
wxID_JUSTIFY_LEFT |  | Align Left
wxID_JUSTIFY_RIGHT |  | Align Right
wxID_LAST |  | &Last
wxID_NETWORK |  | &Network
wxID_NEW |  | &New
wxID_NO |  | &No
wxID_OK |  | &OK
wxID_OPEN |  | &Open...
wxID_PASTE |  | &Paste
wxID_PREFERENCES |  | &Preferences
wxID_PREVIEW |  | Print previe&w
wxID_PRINT |  | &Print...
wxID_PROPERTIES |  | &Properties
wxID_REDO |  | &Redo
wxID_REFRESH |  | Refresh
wxID_REMOVE |  | Remove
wxID_REPLACE |  | Rep&lace...
wxID_REVERT_TO_SAVED |  | Revert to Saved
wxID_SAVE |  | &Save
wxID_SAVEAS |  | Save &As...
wxID_SELECTALL |  | Select &All
wxID_SELECT_COLOR |  | &Color
wxID_SELECT_FONT |  | &Font
wxID_SORT_ASCENDING |  | &Ascending
wxID_SORT_DESCENDING |  | &Descending
wxID_SPELL_CHECK |  | &Spell Check
wxID_STOP |  | &Stop
wxID_STRIKETHROUGH |  | &Strikethrough
wxID_TOP |  | &Top
wxID_UNDELETE |  | Undelete
wxID_UNDERLINE |  | &Underline
wxID_UNDO |  | &Undo
wxID_UNINDENT |  | &Unindent
wxID_UP |  | &Up
wxID_YES |  | &Yes
wxID_ZOOM_100 |  | &Actual Size
wxID_ZOOM_FIT |  | Zoom to &Fit
wxID_ZOOM_IN |  | Zoom &In
wxID_ZOOM_OUT |  | Zoom &Out

Note that some of the IDs listed above also have a stock accelerator and an associated help string.