wxConfig changes to be more logical.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -225,8 +225,8 @@ MyFrame::~MyFrame()
|
||||
int x, y, w, h;
|
||||
GetClientSize(&w, &h);
|
||||
GetPosition(&x, &y);
|
||||
pConfig->Write("/MainFrame/x", x);
|
||||
pConfig->Write("/MainFrame/y", y);
|
||||
pConfig->Write("/MainFrame/w", w);
|
||||
pConfig->Write("/MainFrame/h", h);
|
||||
pConfig->Write("/MainFrame/x", (long) x);
|
||||
pConfig->Write("/MainFrame/y", (long) y);
|
||||
pConfig->Write("/MainFrame/w", (long) w);
|
||||
pConfig->Write("/MainFrame/h", (long) h);
|
||||
}
|
||||
|
Reference in New Issue
Block a user