Don't expose internal wxPropertyGridPageState functions

Functions designed for internal use shouldn't be exposed as public ones
to avoid calling them directly from the user code by mistake.
This commit is contained in:
Artur Wieczorek
2022-05-30 19:13:33 +02:00
parent 9f045b5014
commit 763f4141bc
2 changed files with 23 additions and 61 deletions

View File

@@ -397,8 +397,6 @@ public:
*/
wxPGProperty* GetSelection() const;
void ResetColumnSizes( int setSplitterFlags );
wxPropertyCategory* GetPropertyCategory( const wxPGProperty* p ) const;
/**
@@ -406,17 +404,6 @@ public:
*/
int GetVirtualWidth() const;
/**
Returns minimal width for given column so that all images and texts
will fit entirely.
Used by SetSplitterLeft() and DoFitColumns().
*/
int GetColumnFitWidth(wxClientDC& dc,
wxPGProperty* pwc,
unsigned int col,
bool subProps) const;
int GetColumnFullWidth(wxClientDC &dc, wxPGProperty *p, unsigned int col);
/**
@@ -436,29 +423,6 @@ public:
bool IsInNonCatMode() const;
/**
widthChange is non-client.
*/
void OnClientWidthChange( int newWidth,
int widthChange,
bool fromOnResize = false );
/**
Recalculates m_virtualHeight.
*/
void RecalculateVirtualHeight();
void SetColumnCount( int colCount );
void SetSplitterLeft( bool subProps = false );
/**
Set virtual width for this particular page.
*/
void SetVirtualWidth( int width );
bool PrepareAfterItemsAdded();
/**
Called after virtual height needs to be recalculated.
*/