In wxPropertyGridPageState use Boolean member variables to store Boolean values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1062,7 +1062,12 @@ public:
|
||||
wxPropertyGridHitTestResult HitTest( const wxPoint& pt ) const;
|
||||
|
||||
/** Returns true if any property has been modified by the user. */
|
||||
bool IsAnyModified() const { return (m_pState->m_anyModified>0); }
|
||||
bool IsAnyModified() const
|
||||
#ifdef WXWIN_COMPATIBILITY_3_0
|
||||
{ return m_pState->m_anyModified != (unsigned char)false; }
|
||||
#else
|
||||
{ return m_pState->m_anyModified; }
|
||||
#endif
|
||||
|
||||
/**
|
||||
It is recommended that you call this function any time your code causes
|
||||
|
Reference in New Issue
Block a user