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;