Skip to content

Commit 28671b2

Browse files
committed
Fix xrWeatherEditor compilation and compiler warnings
1 parent 67d3bcf commit 28671b2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/editors/xrWeatherEditor/entry_point.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ private ref class window_ide_final : public editor::window_ide
3434
{
3535
LONG_PTR result;
3636
#ifdef XR_X64
37-
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt32(), m.Msg, m.WParam.ToInt64(), m.LParam.ToInt64(), result))
37+
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt64(), m.Msg, m.WParam.ToInt64(), m.LParam.ToInt64(), result))
3838
return;
3939
#else
4040
if (m_engine && m_engine->on_message((HWND)m.HWnd.ToInt32(), m.Msg, m.WParam.ToInt32(), m.LParam.ToInt32(), result))

src/editors/xrWeatherEditor/window_ide.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public ref class window_ide : public System::Windows::Forms::Form
6969
}
7070
}
7171

72-
protected:
73-
private: WeifenLuo::WinFormsUI::Docking::DockPanel ^ EditorDock;
72+
private: WeifenLuo::WinFormsUI::Docking::DockPanel^ EditorDock;
7473

7574
private:
7675
/// <summary>

src/editors/xrWeatherEditor/xrWeatherEditor.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<Reference Include="System.Drawing" />
142142
<Reference Include="System.Windows.Forms" />
143143
<Reference Include="System.Xml" />
144-
<Reference Include="WeifenLuo.WinFormsUI.Docking, Version=3.0.3.0, Culture=neutral, PublicKeyToken=5cded1a1a0a7b481">
144+
<Reference Include="WeifenLuo.WinFormsUI.Docking">
145145
<HintPath>..\..\..\sdk\binaries\WeifenLuo.WinFormsUI.Docking.dll</HintPath>
146146
</Reference>
147147
</ItemGroup>

0 commit comments

Comments
 (0)