Changed WidthDefault() and HeightDefault() to use 400,250. If there

is a better set of default values feel free to change it, just don't
make them too small for TLWs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-05 21:04:10 +00:00
parent fffd96b769
commit a7c26d107d
3 changed files with 6 additions and 11 deletions

View File

@@ -2790,10 +2790,8 @@ bool wxWindowGTK::PreCreation( wxWindowGTK *parent, const wxPoint &pos, const w
{
wxCHECK_MSG( !m_needParent || parent, FALSE, wxT("Need complete parent.") );
// This turns -1 into 30 so that a minimal window is
// visible even although -1,-1 has been given as the
// size of the window. the same trick is used in other
// ports and should make debugging easier.
// Use either the given size, or the default if -1 is given.
// See wxWindowBase for these functions.
m_width = WidthDefault(size.x) ;
m_height = HeightDefault(size.y);