diff --git a/include/wx/persist/splitter.h b/include/wx/persist/splitter.h index fa66d5990c..c1a113dfd5 100644 --- a/include/wx/persist/splitter.h +++ b/include/wx/persist/splitter.h @@ -68,8 +68,8 @@ public: // Note that it's possible that default position was not stored, in // which case lastSplitPos will just remain as (0, 0) and that's ok. wxPoint lastSplitPos; - RestoreValue(wxPERSIST_SPLITTER_DEFAULT_HORIZONTAL, &lastSplitPos.x); - RestoreValue(wxPERSIST_SPLITTER_DEFAULT_VERTICAL, &lastSplitPos.y); + RestoreValue(wxPERSIST_SPLITTER_DEFAULT_HORIZONTAL, &lastSplitPos.y); + RestoreValue(wxPERSIST_SPLITTER_DEFAULT_VERTICAL, &lastSplitPos.x); Get()->SetLastSplitPosition(lastSplitPos);