]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/stockitem.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/stockitem.h
3 // Purpose: wxStockItemID enum
4 // Author: Vaclav Slavik
8 // Copyright: (c) Vaclav Slavik, 2004
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_STOCKITEM_H_
13 #define _WX_STOCKITEM_H_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "stockitem.h"
20 #include "wx/string.h"
22 // ----------------------------------------------------------------------------
23 // Stock item IDs for use with wxButton, wxMenu and wxToolBar:
24 // ----------------------------------------------------------------------------
39 wxSTOCK_FIND_AND_REPLACE
,
49 wxSTOCK_JUSTIFY_CENTER
,
52 wxSTOCK_JUSTIFY_RIGHT
,
60 wxSTOCK_PRINT_PREVIEW
,
66 wxSTOCK_REVERT_TO_SAVED
,
79 // NB: when you add new item here, add it to stockitem.cpp and
80 // documentation as well
83 // ----------------------------------------------------------------------------
85 // ----------------------------------------------------------------------------
87 // Returns label that should be used for given stock UI element (e.g. "&OK"
89 wxString
wxGetStockItemLabel(wxStockItemID item
);
92 // Translates stock ID to GTK+'s stock item string indentifier:
93 const char *wxStockItemToGTK(wxStockItemID item
);
96 #endif // _WX_STOCKITEM_H_