From e0d66e1b38fcc1de6eb131cd4b5c90f38a6aeea6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 12 Jul 2000 08:17:58 +0000 Subject: Fixed up infinite resize. Made GTK+ version ListBox responsive to font choice when finding good size. --- include/Platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Platform.h') diff --git a/include/Platform.h b/include/Platform.h index 6fff59afa..14be5cebd 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -346,7 +346,7 @@ class ListBox : public Window { int current; #endif int desiredVisibleRows; - size_t maxItemCharacters; + unsigned int maxItemCharacters; unsigned int aveCharWidth; public: ListBox(); -- cgit v1.2.3