suppress warnings about implicit double -> int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e7a74e8f28
commit
2108cc974f
@ -49,7 +49,7 @@ wxGauge::~wxGauge()
|
||||
|
||||
int wxGauge::GetValue() const
|
||||
{
|
||||
return [(NSProgressIndicator*)m_cocoaNSView doubleValue];
|
||||
return (int)[(NSProgressIndicator*)m_cocoaNSView doubleValue];
|
||||
}
|
||||
|
||||
void wxGauge::SetValue(int value)
|
||||
@ -59,7 +59,7 @@ void wxGauge::SetValue(int value)
|
||||
|
||||
int wxGauge::GetRange() const
|
||||
{
|
||||
return [(NSProgressIndicator*)m_cocoaNSView maxValue];
|
||||
return (int)[(NSProgressIndicator*)m_cocoaNSView maxValue];
|
||||
}
|
||||
|
||||
void wxGauge::SetRange(int maxValue)
|
||||
|
Loading…
Reference in New Issue
Block a user