X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3922ecc98e00774e7c4d3b2ab122d3bdcc246393..ce6cea6808b2bdcb69cbab0d73c10b641ae2f0e2:/include/wx/msw/ole/dataform.h diff --git a/include/wx/msw/ole/dataform.h b/include/wx/msw/ole/dataform.h index f071c37461..634ab463e0 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; } @@ -58,7 +58,7 @@ public: 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; } + bool IsStandard() const { return m_format > 0 && m_format < wxDF_PRIVATE; } private: NativeFormat m_format;