]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
Fixed home and end accelerators.
[wxWidgets.git] / src / cocoa / choice.mm
index 3c5d47916257615276a44dfc499624563c62b335..8f15536bd57fe06ea997b4a726efc88de24127c1 100644 (file)
@@ -156,9 +156,9 @@ void wxChoice::Delete(int n)
     [(NSPopUpButton*)m_cocoaNSView removeItemAtIndex:n];
 }
 
-int wxChoice::GetCount() const
+size_t wxChoice::GetCount() const
 {
-    return [(NSPopUpButton*)m_cocoaNSView numberOfItems];
+    return (size_t)[(NSPopUpButton*)m_cocoaNSView numberOfItems];
 }
 
 wxString wxChoice::GetString(int n) const