The often-confusing nvis parameter was removed from the FXDirBox constructor. If you desire a non-zero number of visible items, set this by calling the setNumVisible() member function after the directory box is constructed.