From: Robin Dunn Date: Sat, 15 Apr 2006 06:53:56 +0000 (+0000) Subject: IsStandard needs to check m_type, not m_format X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7017fd6745ea99b3c479c96b0f609f8397640de5?ds=inline 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 --- 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;