define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then (#9725)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-07-13 18:20:06 +00:00
parent 101198ba0c
commit d7ad5a0289
2 changed files with 3 additions and 5 deletions

View File

@@ -425,6 +425,8 @@ protected: \
CLASSEXP CLASSNAME \
{ \
public: \
typedef KEY_T first_type; \
typedef VALUE_T second_type; \
typedef KEY_T t1; \
typedef VALUE_T t2; \
typedef const KEY_T const_t1; \