X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3922ecc98e00774e7c4d3b2ab122d3bdcc246393..4930046b96031565ee2bbe2bd42b1dbe601996ca:/include/wx/msw/ole/dataform.h?ds=sidebyside diff --git a/include/wx/msw/ole/dataform.h b/include/wx/msw/ole/dataform.h index f071c37461..10c6bb2c3d 100644 --- a/include/wx/msw/ole/dataform.h +++ b/include/wx/msw/ole/dataform.h @@ -19,7 +19,7 @@ class WXDLLEXPORT wxDataFormat { public: - // the clipboard formats under Win32 are WORDs + // the clipboard formats under Win32 are WORD's typedef unsigned short NativeFormat; wxDataFormat(NativeFormat format = wxDF_INVALID) { m_format = format; } @@ -57,8 +57,8 @@ public: wxString GetId() const; void SetId(const wxChar *format); - // returns TRUE if the format is one of those defined in wxDataFormatId - bool IsStandard() const { return m_format > 0 && m_format < wxDF_MAX; } + // returns true if the format is one of those defined in wxDataFormatId + bool IsStandard() const { return m_format > 0 && m_format < wxDF_PRIVATE; } private: NativeFormat m_format;