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:
@@ -49,7 +49,7 @@ wxGauge::~wxGauge()
|
|||||||
|
|
||||||
int wxGauge::GetValue() const
|
int wxGauge::GetValue() const
|
||||||
{
|
{
|
||||||
return [(NSProgressIndicator*)m_cocoaNSView doubleValue];
|
return (int)[(NSProgressIndicator*)m_cocoaNSView doubleValue];
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGauge::SetValue(int value)
|
void wxGauge::SetValue(int value)
|
||||||
@@ -59,7 +59,7 @@ void wxGauge::SetValue(int value)
|
|||||||
|
|
||||||
int wxGauge::GetRange() const
|
int wxGauge::GetRange() const
|
||||||
{
|
{
|
||||||
return [(NSProgressIndicator*)m_cocoaNSView maxValue];
|
return (int)[(NSProgressIndicator*)m_cocoaNSView maxValue];
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGauge::SetRange(int maxValue)
|
void wxGauge::SetRange(int maxValue)
|
||||||
|
Reference in New Issue
Block a user