// Created: 20.02.01
// RCS-ID: $Id$
// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
-// License: wxWindows license
+// License: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "gaugeuniv.h"
#endif
if ( !wxGaugeBase::Create(parent, id, range, pos, size, style,
validator, name) )
{
- return FALSE;
+ return false;
}
SetBestSize(size);
- return TRUE;
+ return true;
}
// ----------------------------------------------------------------------------
if ( IsVertical() )
{
size.x = (3*size.y) / 2 + 2;
- size.y = -1;
+ size.y = wxDefaultCoord;
}
else
{
size.y = (3*size.x) / 2 + 2;
- size.x = -1;
+ size.x = wxDefaultCoord;
}
return size;