you’ve got to resize the parent e.g.
grid->GetParent()->Layout(); and then to be sure, run Layout on the top window
To get wxWidgets to install with Visual C++ 2005 Express, I needed to change the linker options to set Incremental=No.
Otherwise, I was getting this Linker Error CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409 LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt