]> git.saurik.com Git - wxWidgets.git/blame - interface/stockitem.h
pen.h depends from brush.h in compat mode
[wxWidgets.git] / interface / stockitem.h
CommitLineData
23324ae1 1/////////////////////////////////////////////////////////////////////////////
7c913512 2// Name: stockitem.h
e54c96f1 3// Purpose: interface of global functions
7c913512
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
4cc4bfaf 10Returns label that should be used for given @a id element.
7c913512
FM
11
12@param id
4cc4bfaf 13 given id of the wxMenuItem, wxButton, wxToolBar tool, etc.
7c913512 14@param withCodes
4cc4bfaf
FM
15 if @false then strip accelerator code from the label;
16 useful for getting labels without accelerator char code like for toolbar
7c913512 17tooltip or
4cc4bfaf 18 on platforms without traditional keyboard like smartphones
7c913512 19@param accelerator
4cc4bfaf
FM
20 optional accelerator string automatically added to label; useful
21 for building labels for wxMenuItem
23324ae1 22*/
4cc4bfaf 23wxString wxGetStockLabel(wxWindowID id, bool withCodes = true,
23324ae1
FM
24 const wxString& accelerator = wxEmptyString);
25
26