SourceCode/Bond/BondEq/View/AxisSettingsDlg.cpp
@@ -205,6 +205,10 @@ void CAxisSettingsDlg::AdjustLabelFont(CBLLabel& label) { if (label.m_hWnd == nullptr) { return; } // 获取控件的矩形区域 CRect rect; label.GetClientRect(&rect); @@ -299,7 +303,6 @@ RecipeManager& recipeManager = RecipeManager::getInstance(); if (m_strRecipeName.IsEmpty() || !recipeManager.loadRecipe(std::string(CT2A(m_strRecipeName)))) { AfxMessageBox(_T("加载配方失败!")); recipeManager.saveRecipe(std::string(CT2A(m_strRecipeName))); return; }