changed default size, because MacOS X was using the boundaries differently

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-12-05 20:38:05 +00:00
parent f48fa475c2
commit 0f092804a2
2 changed files with 2 additions and 24 deletions

View File

@@ -161,17 +161,6 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
wxSize wxSpinButton::DoGetBestSize() const
{
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
{
// vertical control
return wxSize(16,
2*16);
}
else
{
// horizontal control
return wxSize(2*16,
16);
}
return wxSize(16,24);
}

View File

@@ -161,17 +161,6 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
wxSize wxSpinButton::DoGetBestSize() const
{
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
{
// vertical control
return wxSize(16,
2*16);
}
else
{
// horizontal control
return wxSize(2*16,
16);
}
return wxSize(16,24);
}