Avoid some -Wfloat-conversion warnings

This commit is contained in:
Paul Cornett
2025-06-01 07:28:49 -07:00
parent 4c32c38c56
commit b9eb9cdec3
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -744,7 +744,7 @@ void WidgetsFrame::InitBook()
wxTreeItemIdValue cookie;
tree->EnsureVisible(tree->GetFirstChild(tree->GetRootItem(), cookie));
tree->SetMinSize(wxSize(tree->GetBestSize().GetWidth() * 1.1, wxDefaultCoord));
tree->SetMinSize(wxSize(tree->GetBestSize().GetWidth() * 9 / 8, wxDefaultCoord));
#else
if ( !pageSet || !m_book->GetCurrentPage() )
{