Avoid some -Wfloat-conversion warnings
This commit is contained in:
parent
511c537362
commit
3aad506c5b
24 changed files with 55 additions and 56 deletions
|
|
@ -952,7 +952,7 @@ MyFrame::MyFrame(const wxString& title, wxWindowID id, const wxPoint& pos,
|
|||
}
|
||||
else
|
||||
{
|
||||
int width = GetClientSize().GetWidth() * 0.8;
|
||||
int width = GetClientSize().GetWidth() * 4 / 5;
|
||||
splitter->SplitVertically(m_richTextCtrl, styleListCtrl, width);
|
||||
splitter->SetSashGravity(0.8);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue