Don't use wxPropertyGridPageState::DoSetSplitterPosition()
It is deprecated, so call DoSetSplitter() directly instead.
This commit is contained in:
parent
b0e3cf83c9
commit
208640870b
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ wxObject *wxPropertyGridXmlHandler::DoCreateResource()
|
|||
wxString s = node->GetNodeContent();
|
||||
long pos;
|
||||
if ( wxPropertyGridPopulator::ToLongPCT(s, &pos, m_pg->GetClientSize().x) )
|
||||
m_populator->GetState()->DoSetSplitterPosition( pos, index, false );
|
||||
m_populator->GetState()->DoSetSplitter( pos, index );
|
||||
}
|
||||
else if ( nodeName == wxT("page") )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue