]>
git.saurik.com Git - wxWidgets.git/blob - interface/stockitem.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of global functions
4 // Author: wxWidgets team
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
10 Returns label that should be used for given @a id element.
13 given id of the wxMenuItem, wxButton, wxToolBar tool, etc.
15 if @false then strip accelerator code from the label;
16 useful for getting labels without accelerator char code like for toolbar
18 on platforms without traditional keyboard like smartphones
20 optional accelerator string automatically added to label; useful
21 for building labels for wxMenuItem
23 wxString
wxGetStockLabel(wxWindowID id
, bool withCodes
= true,
24 const wxString
& accelerator
= wxEmptyString
);