IsStandard needs to check m_type, not m_format

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-04-15 06:53:56 +00:00
parent c072c75701
commit 7017fd6745

View File

@@ -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;