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:
@@ -161,17 +161,6 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
|
|||||||
|
|
||||||
wxSize wxSpinButton::DoGetBestSize() const
|
wxSize wxSpinButton::DoGetBestSize() const
|
||||||
{
|
{
|
||||||
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
|
return wxSize(16,24);
|
||||||
{
|
|
||||||
// vertical control
|
|
||||||
return wxSize(16,
|
|
||||||
2*16);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// horizontal control
|
|
||||||
return wxSize(2*16,
|
|
||||||
16);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -161,17 +161,6 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
|
|||||||
|
|
||||||
wxSize wxSpinButton::DoGetBestSize() const
|
wxSize wxSpinButton::DoGetBestSize() const
|
||||||
{
|
{
|
||||||
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
|
return wxSize(16,24);
|
||||||
{
|
|
||||||
// vertical control
|
|
||||||
return wxSize(16,
|
|
||||||
2*16);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// horizontal control
|
|
||||||
return wxSize(2*16,
|
|
||||||
16);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user