Corrected wxConfig usage problem.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-11-01 09:39:11 +00:00
parent 3dabc03fef
commit 737f4d3d79

View File

@ -225,14 +225,14 @@ bool wxResourceManager::SaveOptions()
{ {
wxConfig config("DialogEd", "wxWindows"); wxConfig config("DialogEd", "wxWindows");
config.Write("editorWindowX", m_resourceEditorWindowSize.x); config.Write("editorWindowX", (long) m_resourceEditorWindowSize.x);
config.Write("editorWindowY", m_resourceEditorWindowSize.y); config.Write("editorWindowY", (long) m_resourceEditorWindowSize.y);
config.Write("editorWindowWidth", m_resourceEditorWindowSize.width); config.Write("editorWindowWidth", (long) m_resourceEditorWindowSize.width);
config.Write("editorWindowHeight", m_resourceEditorWindowSize.height); config.Write("editorWindowHeight", (long) m_resourceEditorWindowSize.height);
config.Write("propertyWindowX", m_propertyWindowSize.x); config.Write("propertyWindowX", (long) m_propertyWindowSize.x);
config.Write("propertyWindowY", m_propertyWindowSize.y); config.Write("propertyWindowY", (long) m_propertyWindowSize.y);
config.Write("propertyWindowWidth", m_propertyWindowSize.width); config.Write("propertyWindowWidth", (long) m_propertyWindowSize.width);
config.Write("propertyWindowHeight", m_propertyWindowSize.height); config.Write("propertyWindowHeight", (long) m_propertyWindowSize.height);
/* /*
wxWriteResource("DialogEd", "editorWindowX", m_resourceEditorWindowSize.x, m_optionsResourceFilename.GetData()); wxWriteResource("DialogEd", "editorWindowX", m_resourceEditorWindowSize.x, m_optionsResourceFilename.GetData());
wxWriteResource("DialogEd", "editorWindowY", m_resourceEditorWindowSize.y, m_optionsResourceFilename.GetData()); wxWriteResource("DialogEd", "editorWindowY", m_resourceEditorWindowSize.y, m_optionsResourceFilename.GetData());