From 208640870b7c1e49c25f50e5c4af383d429aa02c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 31 Oct 2023 03:39:03 +0100 Subject: [PATCH] Don't use wxPropertyGridPageState::DoSetSplitterPosition() It is deprecated, so call DoSetSplitter() directly instead. --- src/xrc/xh_propgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrc/xh_propgrid.cpp b/src/xrc/xh_propgrid.cpp index 5bc0a52506..c98b572f77 100644 --- a/src/xrc/xh_propgrid.cpp +++ b/src/xrc/xh_propgrid.cpp @@ -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") ) {