bool allPages = false,
bool fromAutoCenter = false );
- /** Propagate to other pages.
- */
- void DoSetSplitterPositionThisPage( int pos, int splitterColumn = 0 )
- {
- wxPropertyGridPageState::DoSetSplitterPosition( pos, splitterColumn );
- }
-
/** Page label (may be referred as name in some parts of documentation).
Can be set in constructor, or passed in
wxPropertyGridManager::AddPage(), but *not* in both.
void wxPropertyGridPage::DoSetSplitterPosition( int pos,
int splitterColumn,
bool allPages,
- bool WXUNUSED(fromAutoCenter) )
+ bool fromAutoCenter )
{
if ( allPages && m_manager->GetPageCount() )
m_manager->SetSplitterPosition( pos, splitterColumn );
else
- DoSetSplitterPositionThisPage( pos, splitterColumn );
+ wxPropertyGridPageState::DoSetSplitterPosition( pos,
+ splitterColumn,
+ allPages,
+ fromAutoCenter );
}
// -----------------------------------------------------------------------
for ( i=0; i<GetPageCount(); i++ )
{
wxPropertyGridPage* page = GetPage(i);
- page->DoSetSplitterPositionThisPage( pos, splitterColumn );
+ page->DoSetSplitterPosition( pos, splitterColumn, false );
}
m_pPropGrid->SetInternalFlag(wxPG_FL_SPLITTER_PRE_SET);