avoid float to double conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,7 +63,7 @@ void wxGauge::DoSetGauge()
|
||||
_T("invalid gauge position in DoSetGauge()") );
|
||||
|
||||
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (m_widget),
|
||||
m_rangeMax ? ((float)m_gaugePos)/m_rangeMax : 0.);
|
||||
m_rangeMax ? ((double)m_gaugePos)/m_rangeMax : 0.0);
|
||||
}
|
||||
|
||||
wxSize wxGauge::DoGetBestSize() const
|
||||
|
Reference in New Issue
Block a user