Help Contents / GUI programming / WindowGet / WindowGetBestSize

WindowGetBestSizewxSize WindowGetBestSize window 

This functions returns the best acceptable minimal size for the window.  For example, for a static control,  it will be the minimal size such that the control label is not truncated.  For windows containing subwindows (typically wxPanel),  the size returned by this function  will be the same as the size the window would have had after calling Fit. 


previous: WindowGetBackgroundStyle	next: WindowGetCapture
