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:
@@ -1085,7 +1085,7 @@ bool wxPropertyGridInterface::RestoreEditableState( const wxString& src, int res
|
|||||||
{
|
{
|
||||||
if ( restoreStates & SplitterPosState )
|
if ( restoreStates & SplitterPosState )
|
||||||
{
|
{
|
||||||
for ( size_t n=1; n<values.size(); n++ )
|
for ( size_t n=0; n<values.size(); n++ )
|
||||||
{
|
{
|
||||||
long pos = 0;
|
long pos = 0;
|
||||||
values[n].ToLong(&pos);
|
values[n].ToLong(&pos);
|
||||||
|
Reference in New Issue
Block a user