]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/listbox.h
Line-up interfaces to use size_t for GetCount()s (and count related api).
[wxWidgets.git] / include / wx / motif / listbox.h
index 8f4b5b04df5313ee8dd2f94719ff4a0d8b003208..002c80de5243cb3408ac9ed15ce7c8e80e10a40b 100644 (file)
@@ -66,7 +66,7 @@ public:
     ~wxListBox();
 
     // implementation of wxControlWithItems
-    virtual int GetCount() const;
+    virtual size_t GetCount() const;
     virtual int DoAppend(const wxString& item);
     virtual void DoSetItemClientData(int n, void* clientData);
     virtual void* DoGetItemClientData(int n) const;
@@ -101,7 +101,7 @@ public:
 protected:
     virtual wxSize DoGetBestSize() const;
 
-    int       m_noItems;
+    size_t m_noItems;
 
     // List mapping positions->client data
     wxClientDataDictionary m_clientDataDict;