Skip to content

Commit

Permalink
Fix xrWeatherEditor compilation and compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Feb 3, 2018
1 parent 67d3bcf commit 28671b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/editors/xrWeatherEditor/entry_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private ref class window_ide_final : public editor::window_ide
{
LONG_PTR result;
#ifdef XR_X64
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt32(), m.Msg, m.WParam.ToInt64(), m.LParam.ToInt64(), result))
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt64(), m.Msg, m.WParam.ToInt64(), m.LParam.ToInt64(), result))
return;
#else
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt32(), m.Msg, m.WParam.ToInt32(), m.LParam.ToInt32(), result))
Expand Down
3 changes: 1 addition & 2 deletions src/editors/xrWeatherEditor/window_ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ public ref class window_ide : public System::Windows::Forms::Form
}
}

protected:
private: WeifenLuo::WinFormsUI::Docking::DockPanel ^ EditorDock;
private: WeifenLuo::WinFormsUI::Docking::DockPanel^ EditorDock;

private:
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/editors/xrWeatherEditor/xrWeatherEditor.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=3.0.3.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481">
<Reference Include="WeifenLuo.WinFormsUI.Docking">
<HintPath>..\..\..\sdk\binaries\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
</Reference>
</ItemGroup>
Expand Down

0 comments on commit 28671b2

Please sign in to comment.