= replaced with ==

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-14 12:31:35 +00:00
parent a0c3c734d7
commit da8bed9bfd

View File

@@ -147,13 +147,15 @@ bool wxFrame::Create(wxWindow *parent,
int x = pos.x, y = pos.y; int x = pos.x, y = pos.y;
int width = size.x, height = size.y; int width = size.x, height = size.y;
// Set reasonable values for position and size if defaults have // Set reasonable values for position and size if defaults have been
// been requested // requested
// //
// MB TODO: something better than these arbitrary values ? // MB TODO: something better than these arbitrary values ?
// // VZ should use X resources for this...
if ( width == -1 ) width = 400; if ( width == -1 )
if ( height = -1 ) height = 400; width = 400;
if ( height == -1 )
height = 400;
int displayW, displayH; int displayW, displayH;
wxDisplaySize( &displayW, &displayH ); wxDisplaySize( &displayW, &displayH );