mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 06:05:36 +08:00
Avoid some -Wfloat-conversion warnings
This commit is contained in:
@@ -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() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user