From 7017fd6745ea99b3c479c96b0f609f8397640de5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 15 Apr 2006 06:53:56 +0000 Subject: [PATCH] IsStandard needs to check m_type, not m_format git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/dataform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/carbon/dataform.h b/include/wx/mac/carbon/dataform.h index 43dbd7bffb..6de68218ad 100644 --- a/include/wx/mac/carbon/dataform.h +++ b/include/wx/mac/carbon/dataform.h @@ -53,7 +53,8 @@ public: void SetType( wxDataFormatId type ); // returns true if the format is one of those defined in wxDataFormatId - bool IsStandard() const { return m_format > 0 && m_format < wxDF_PRIVATE; } + bool IsStandard() const { return m_type > 0 && m_type < wxDF_PRIVATE; } + private: wxDataFormatId m_type; NativeFormat m_format; -- 2.50.0