If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
My app is based on wxFrame and has a Toolbar and two panels (different colors) arranged in a "T" with the Toolbar sitting above the two panels. I don't want any space between the widgets, but I am getting some kind of border because the frame background shows through between the toolbar and panels and also below the panels. What am I doing wrong?
The calls to SetMinSize() did the trick. The Platform is Windows 2000.
I put some debug code in to display the minimum sizes.
The original min size for the bar was 18h 543w. The original size of the left panel was -1,-1. The original size of the right panel was also -1,-1. The actual sizes were set much larger in the constructor. Apparently the minimum size for a toolbar is the original size, but the minimum size of a panel is not.