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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user