This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
// Add menu
wxMenu* secondmenu = new wxMenu;
secondmenu->Append(8999, wxT("&Item")); // removing this makes submenu draw correctly..
// Add Submenu to Second menu (this doesn't draw correctly in Windows OS)
wxMenu *submenu = new wxMenu;
submenu->AppendRadioItem(9000, wxT("Item 1"));
secondmenu->AppendSubMenu(submenu, wxT("&Submenu"));
// Append Second menu to menubar
menuBar->Append(secondmenu, wxT("Second"));
And in Windows virtual machine the submenu does not render correctly as it does not draw the submenu over the canvas. Cube.exe was cross-compiled with mingw and I'm using Wx 3.0.2. It renders correctly in GTK version.