do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to happen but wasn't because of signature mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -163,7 +163,8 @@ protected:
|
||||
*/
|
||||
virtual void DoSetSplitterPosition( int pos,
|
||||
int splitterColumn = 0,
|
||||
bool allPages = false );
|
||||
bool allPages = false,
|
||||
bool fromAutoCenter = false );
|
||||
|
||||
/** Propagate to other pages.
|
||||
*/
|
||||
|
@@ -207,7 +207,10 @@ void wxPropertyGridPage::SetSplitterPosition( int splitterPos, int col )
|
||||
DoSetSplitterPosition(splitterPos, col, false);
|
||||
}
|
||||
|
||||
void wxPropertyGridPage::DoSetSplitterPosition( int pos, int splitterColumn, bool allPages )
|
||||
void wxPropertyGridPage::DoSetSplitterPosition( int pos,
|
||||
int splitterColumn,
|
||||
bool allPages,
|
||||
bool WXUNUSED(fromAutoCenter) )
|
||||
{
|
||||
if ( allPages && m_manager->GetPageCount() )
|
||||
m_manager->SetSplitterPosition( pos, splitterColumn );
|
||||
|
Reference in New Issue
Block a user