wxCheckListBox size, is there any way to force it to display everything?

Tony Kennedy <[email protected]> Thu, 22 May 2025 03:48:35 -0700 (PDT)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
I'm using a wxCheckListBox (and it's working perfectly).

There are only 10 entries, and I'm using it like a menu. I'd like to make 
sure the entire list is visible. At the moment, it displays using a scroll 
bar.

I've tried getting various sizes, nothing seems to give me the size if 
everything is being displayed.

wxSize szCheckListBox = m_pCheckListBox->GetSize();
wxSize szCheckListBoxVirtual = m_pCheckListBox->GetVirtualSize();

Does anyone know how to do this?

Thanks in advance,

Tony.

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/16ec65f0-e75d-4c0c-a98c-6ce32b33eba3n%40googlegroups.com.