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

@@ -322,7 +322,7 @@ public:
/**
Returns number of buttons.
*/
int GetCount();
unsigned int GetCount();
/**
Returns size of primary editor control, as appropriately

View File

@@ -1194,7 +1194,7 @@ public:
/**
Returns child property at index i.
*/
wxPGProperty* Item( size_t i ) const;
wxPGProperty* Item( unsigned int i ) const;
/**
If property's editor is active, then update it's value.
@@ -1448,17 +1448,17 @@ public:
/**
Returns labe of item.
*/
const wxString& GetLabel( size_t ind ) const;
const wxString& GetLabel( unsigned int ind ) const;
/**
Returns number of items.
*/
size_t GetCount () const;
unsigned int GetCount() const;
/**
Returns value of item;
*/
int GetValue( size_t ind ) const;
int GetValue( unsigned int ind ) const;
/**
Returns array of values matching the given strings. Unmatching strings

View File

@@ -525,7 +525,7 @@ public:
/**
Returns number of columns currently on grid.
*/
int GetColumnCount() const;
unsigned int GetColumnCount() const;
/**
Returns colour of empty space below properties.