Add DLL export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,19 +24,19 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Returns true if the ID is in the list of recognized stock actions
|
// Returns true if the ID is in the list of recognized stock actions
|
||||||
bool wxIsStockID(wxWindowID id);
|
WXDLLEXPORT bool wxIsStockID(wxWindowID id);
|
||||||
|
|
||||||
// Returns true of the label is empty or label of a stock button with
|
// Returns true of the label is empty or label of a stock button with
|
||||||
// given ID
|
// given ID
|
||||||
bool wxIsStockLabel(wxWindowID id, const wxString& label);
|
WXDLLEXPORT bool wxIsStockLabel(wxWindowID id, const wxString& label);
|
||||||
|
|
||||||
// Returns label that should be used for given stock UI element (e.g. "&OK"
|
// Returns label that should be used for given stock UI element (e.g. "&OK"
|
||||||
// for wxSTOCK_OK):
|
// for wxSTOCK_OK):
|
||||||
wxString wxGetStockLabel(wxWindowID id);
|
WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id);
|
||||||
|
|
||||||
#ifdef __WXGTK20__
|
#ifdef __WXGTK20__
|
||||||
// Translates stock ID to GTK+'s stock item string indentifier:
|
// Translates stock ID to GTK+'s stock item string indentifier:
|
||||||
const char *wxGetStockGtkID(wxWindowID id);
|
WXDLLEXPORT const char *wxGetStockGtkID(wxWindowID id);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // _WX_STOCKITEM_H_
|
#endif // _WX_STOCKITEM_H_
|
||||||
|
Reference in New Issue
Block a user