Fix restoring width of first wxPropertyGrid column

While restoring editable state also the position of the first splitter
should be set.
This commit is contained in:
Artur Wieczorek
2019-04-17 18:09:25 +02:00
parent d82de6b5bf
commit 6bcf1bad71

View File

@@ -1085,7 +1085,7 @@ bool wxPropertyGridInterface::RestoreEditableState( const wxString& src, int res
{
if ( restoreStates & SplitterPosState )
{
for ( size_t n=1; n<values.size(); n++ )
for ( size_t n=0; n<values.size(); n++ )
{
long pos = 0;
values[n].ToLong(&pos);