- if ( RestoreValue(wxPERSIST_SPLITTER_POSITION, &pos) )
- {
- if ( pos == -1 )
- Get()->Unsplit();
- else
- Get()->SetSashPosition(pos);
- }
-
- return false;
+ if ( !RestoreValue(wxPERSIST_SPLITTER_POSITION, &pos) )
+ return false;
+
+ if ( pos == -1 )
+ Get()->Unsplit();
+ else
+ Get()->SetSashPosition(pos);
+
+ return true;