mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-26 08:46:19 +00:00
Fixed: #902 tool projects build failed issue (patch provided by kuo)
This commit is contained in:
parent
5b8661094c
commit
0acc98b105
4 changed files with 7 additions and 7 deletions
|
@ -303,7 +303,7 @@ void CGeorgesEditView::updateTab ()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Should be found
|
// Should be found
|
||||||
nlassert (tabSelected!=-1)
|
nlassert (tabSelected!=-1);
|
||||||
TabCtrl.SetCurSel (tabSelected);
|
TabCtrl.SetCurSel (tabSelected);
|
||||||
|
|
||||||
UpdateData (FALSE);
|
UpdateData (FALSE);
|
||||||
|
|
|
@ -1708,7 +1708,7 @@ bool CActionRotate::redo ()
|
||||||
|
|
||||||
bool CActionRotate::getText (string &result)
|
bool CActionRotate::getText (string &result)
|
||||||
{
|
{
|
||||||
result = toString ("Rotate %.2f°", 180*_Angle/Pi);
|
result = toString ("Rotate %.2f degrees", 180*_Angle/Pi);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2170,7 +2170,7 @@ void CDisplay::OnLButtonDown (UINT nFlags, CPoint point)
|
||||||
|
|
||||||
if ((CNELU::Driver == NULL)||(_MainFrame == NULL)) return;
|
if ((CNELU::Driver == NULL)||(_MainFrame == NULL)) return;
|
||||||
|
|
||||||
nlassert (!_MouseLeftDown)
|
nlassert (!_MouseLeftDown);
|
||||||
_MouseLeftDown = true;
|
_MouseLeftDown = true;
|
||||||
|
|
||||||
// Mouse capture On !
|
// Mouse capture On !
|
||||||
|
|
|
@ -1839,7 +1839,7 @@ void CMainFrame::OnProjectAddPrimitive()
|
||||||
if (!getDocument()->isPrimitiveLoaded(path))
|
if (!getDocument()->isPrimitiveLoaded(path))
|
||||||
getDocument ()->addModification (new CActionLoadPrimitive (path.c_str()));
|
getDocument ()->addModification (new CActionLoadPrimitive (path.c_str()));
|
||||||
else
|
else
|
||||||
infoMessage("Primitive déjà présente : %s", path.c_str());
|
infoMessage("Primitive already existing: %s", path.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
getDocument ()->endModification ();
|
getDocument ()->endModification ();
|
||||||
|
@ -2616,7 +2616,7 @@ void CMainFrame::buildFilenameVector (const IPrimitive &primitive, std::vector<s
|
||||||
void CMainFrame::OnOpenFile (UINT nID)
|
void CMainFrame::OnOpenFile (UINT nID)
|
||||||
{
|
{
|
||||||
// Single selection
|
// Single selection
|
||||||
nlassert (Selection.size () == 1)
|
nlassert (Selection.size () == 1);
|
||||||
|
|
||||||
// Good id
|
// Good id
|
||||||
nID -= ID_EDIT_OPEN_FILE_BEGIN;
|
nID -= ID_EDIT_OPEN_FILE_BEGIN;
|
||||||
|
@ -4278,7 +4278,7 @@ void CMainFrame::OnDropFiles(HDROP hDropInfo)
|
||||||
if (!getDocument()->isPrimitiveLoaded(path))
|
if (!getDocument()->isPrimitiveLoaded(path))
|
||||||
getDocument ()->addModification (new CActionLoadPrimitive (path.c_str()));
|
getDocument ()->addModification (new CActionLoadPrimitive (path.c_str()));
|
||||||
else
|
else
|
||||||
infoMessage("Primitive déjà présente : %s", path.c_str());
|
infoMessage("Primitive already existing: %s", path.c_str());
|
||||||
|
|
||||||
getDocument()->endModification ();
|
getDocument()->endModification ();
|
||||||
|
|
||||||
|
@ -4291,7 +4291,7 @@ void CMainFrame::OnDropFiles(HDROP hDropInfo)
|
||||||
// Can be extended to support more file types
|
// Can be extended to support more file types
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
errorMessage("Fichier non supporté: %s", pFilename);
|
errorMessage("File not supported? %s", pFilename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue