IsStandard() shouldn't return TRUE for formats >= wxDF_PRIVATE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
|||||||
void SetId(const wxChar *format);
|
void SetId(const wxChar *format);
|
||||||
|
|
||||||
// returns TRUE if the format is one of those defined in wxDataFormatId
|
// 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:
|
private:
|
||||||
NativeFormat m_format;
|
NativeFormat m_format;
|
||||||
|
Reference in New Issue
Block a user