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:
parent
3e6562c110
commit
478d4ab7cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user