minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2009-12-05 19:57:58 +00:00
parent 00491f99f4
commit 65391c8ffc
25 changed files with 67 additions and 85 deletions

View File

@@ -897,22 +897,20 @@ wxSize wxWindowMac::DoGetBestSize() const
r.width =
r.height = 16 ;
if ( 0 )
{
}
#if wxUSE_SCROLLBAR
else if ( IsKindOf( CLASSINFO( wxScrollBar ) ) )
if ( IsKindOf( CLASSINFO( wxScrollBar ) ) )
{
r.height = 16 ;
}
else
#endif
#if wxUSE_SPINBTN
else if ( IsKindOf( CLASSINFO( wxSpinButton ) ) )
if ( IsKindOf( CLASSINFO( wxSpinButton ) ) )
{
r.height = 24 ;
}
#endif
else
#endif
{
// return wxWindowBase::DoGetBestSize() ;
}