Fixed comment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-03-13 20:42:58 +00:00
parent 66202a7ee6
commit 5c2be659f9

View File

@ -1057,9 +1057,8 @@ protected:
// specified) border for the window class
virtual wxBorder GetDefaultBorder() const;
// Get the default size for the new window if no explicit size given. If
// there are better default sizes then these can be changed, just as long
// as they are not too small for TLWs.
// Get the default size for the new window if no explicit size given. TLWs
// have their own default size so this is just for non top-level windows.
static int WidthDefault(int w) { return w == -1 ? 20 : w; }
static int HeightDefault(int h) { return h == -1 ? 20 : h; }