// this was just taken from wxNotebookSizer::CalcMin() and is, of
// course, totally bogus - just like the original code was
wxSize sizeTotal = sizePage;
+
if ( HasFlag(wxNB_LEFT) || HasFlag(wxNB_RIGHT) )
+ {
sizeTotal.x += 90;
+ sizeTotal.y += 10;
+ }
else
+ {
+ sizeTotal.x += 10;
sizeTotal.y += 40;
+ }
return sizeTotal;
}