Eliminate (or at least reduce) 64-bit build warnings (as described in wxPG sourceforge bug report #2156069)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-10-12 12:23:48 +00:00
parent 4e7a37b4b0
commit 68bcfd2c10
8 changed files with 28 additions and 22 deletions

View File

@@ -785,9 +785,9 @@ public:
/**
Returns number of columns currently on grid.
*/
int GetColumnCount() const
unsigned int GetColumnCount() const
{
return m_pState->m_colWidths.size();
return (unsigned int) m_pState->m_colWidths.size();
}
/** Returns colour of empty space below properties. */
@@ -1088,7 +1088,7 @@ public:
*/
unsigned int GetCommonValueCount() const
{
return m_commonValues.size();
return (unsigned int) m_commonValues.size();
}
/** Returns label of given common value.
@@ -1844,7 +1844,7 @@ inline int wxPGProperty::GetDisplayedCommonValueCount() const
{
wxPropertyGrid* pg = GetGrid();
if ( pg )
return pg->GetCommonValueCount();
return (int) pg->GetCommonValueCount();
}
return 0;
}