Code cleanup: Define wxPGProperty and wxPropertyGridPageState functions in their own class files

Having definitions of several wxPGProperty and wxPropertyGridPageState functions in wxPropertyGrid header is misleading so they should be moved to the files with their own classes definitions for the sake of clarity.
This commit is contained in:
Artur Wieczorek
2019-05-26 01:13:08 +02:00
parent d8f04a7bb1
commit 908342e3ad
5 changed files with 63 additions and 68 deletions

View File

@@ -420,7 +420,7 @@ public:
// Returns actual height of contained visible properties.
// Mostly used for internal diagnostic purposes.
inline unsigned int GetActualVirtualHeight() const;
unsigned int GetActualVirtualHeight() const;
unsigned int GetColumnCount() const
{
@@ -512,7 +512,7 @@ public:
wxPropertyGridHitTestResult HitTest( const wxPoint& pt ) const;
// Returns true if page is visibly displayed.
inline bool IsDisplayed() const;
bool IsDisplayed() const;
bool IsInNonCatMode() const { return (bool)(m_properties == m_abcArray); }