| 685 | // --------------------------------------------------------------------- |
| 686 | |
| 687 | void MyFrame::LoadSettings() |
| 688 | { |
| 689 | // use global info set by GetPrefs() |
| 690 | this->SetPosition(wxPoint(mainx,mainy)); |
| 691 | this->SetSize(mainwd,mainht); |
| 692 | if (auilayout.length() > 0 |
| 693 | && currversion > 1) // one-off fix for issue of IDs being used as names |
| 694 | this->aui_mgr.LoadPerspective(auilayout); |
| 695 | } |
| 696 | |
| 697 | // --------------------------------------------------------------------- |
| 698 |