@@ -94,7 +94,7 @@ void window_ide::save_on_exit()
9494 product->Close ();
9595}
9696
97- WeifenLuo::WinFormsUI::IDockContent ^ window_ide::reload_content(System::String ^ persist_string)
97+ WeifenLuo::WinFormsUI::Docking:: IDockContent ^ window_ide::reload_content(System::String ^ persist_string)
9898{
9999 if (persist_string == " editor.window_view" )
100100 return (m_view);
@@ -175,8 +175,7 @@ void window_ide::load_on_create()
175175 MemoryStream ^ stream = gcnew MemoryStream ();
176176 stream->Write (safe_cast<array<unsigned char , 1 > ^>(object), 0 , object->Length );
177177 stream->Seek (0 , System::IO::SeekOrigin::Begin);
178- EditorDock->LoadFromXml (
179- stream, gcnew WeifenLuo::WinFormsUI::DeserializeDockContent (this , &window_ide::reload_content));
178+ EditorDock->LoadFromXml (stream, gcnew WeifenLuo::WinFormsUI::Docking::DeserializeDockContent (this , &window_ide::reload_content));
180179 delete (stream);
181180 return ;
182181 }
@@ -188,10 +187,10 @@ void window_ide::load_on_create()
188187 product->Close ();
189188 delete (product);
190189
191- m_view->Show (EditorDock, WeifenLuo::WinFormsUI::DockState::Document);
192- m_levels->Show (EditorDock, WeifenLuo::WinFormsUI::DockState::DockRight);
193- m_weather->Show (EditorDock, WeifenLuo::WinFormsUI::DockState::DockRight);
194- m_weather_editor->Show (EditorDock, WeifenLuo::WinFormsUI::DockState::DockRight);
190+ m_view->Show (EditorDock, WeifenLuo::WinFormsUI::Docking:: DockState::Document);
191+ m_levels->Show (EditorDock, WeifenLuo::WinFormsUI::Docking:: DockState::DockRight);
192+ m_weather->Show (EditorDock, WeifenLuo::WinFormsUI::Docking:: DockState::DockRight);
193+ m_weather_editor->Show (EditorDock, WeifenLuo::WinFormsUI::Docking:: DockState::DockRight);
195194
196195 this ->WindowState = FormWindowState::Maximized;
197196}
0 commit comments