]> git.saurik.com Git - wxWidgets.git/blame - include/wx/private/stattext.h
Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by break...
[wxWidgets.git] / include / wx / private / stattext.h
CommitLineData
39bc0347
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: include/wx/private/stattext.h
3// Purpose: Internal declarations for dlgcmn.cpp and stattextcmn.cpp
4// Author: Francesco Montorsi
5// Created: 2007-01-07 (extracted from dlgcmn.cpp)
6// RCS-ID: $Id$
7// Copyright: (c) 1999 Vadim Zeitlin
8// (c) 2007 wxWidgets team
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_PRIVATE_STATTEXT_H_
13#define _WX_PRIVATE_STATTEXT_H_
14
523b9ce4
VZ
15#include "wx/window.h"
16
39bc0347
VZ
17enum
18{
19 wxMARKUP_ENTITY_AMP,
20 wxMARKUP_ENTITY_LT,
21 wxMARKUP_ENTITY_GT,
22 wxMARKUP_ENTITY_APOS,
23 wxMARKUP_ENTITY_QUOT,
24 wxMARKUP_ENTITY_MAX
25};
26
27enum
28{
29 wxMARKUP_ELEMENT_NAME,
30 wxMARKUP_ELEMENT_VALUE,
31 wxMARKUP_ELEMENT_MAX
32};
33
34// these are the only entities treated in a special way by wxStaticText::SetLabel()
35// when the wxST_MARKUP style is used; use as:
36//
37// wxMarkupEntities[wxMARKUP_ELEMENT_NAME][wxMARKUP_ENTITY_GT] == ">"
38// wxMarkupEntities[wxMARKUP_ELEMENT_VALUE][wxMARKUP_ENTITY_GT] == ">"
39//
40extern const wxChar *wxMarkupEntities[wxMARKUP_ELEMENT_MAX][wxMARKUP_ENTITY_MAX];
41
39bc0347 42#endif // _WX_PRIVATE_STATTEXT_H_