Fixed small prob with wxSpinButton orientation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-07-16 07:38:44 +00:00
parent f5c6eb5c17
commit 0d9e47578e
2 changed files with 2 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
wxSize wxSpinButton::DoGetBestSize() const
{
if ( (GetWindowStyle() & wxSP_VERTICAL) != 0 )
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
{
// vertical control
return wxSize(16,

View File

@@ -161,7 +161,7 @@ void wxSpinButton::MacHandleControlClick( ControlHandle control , SInt16 control
wxSize wxSpinButton::DoGetBestSize() const
{
if ( (GetWindowStyle() & wxSP_VERTICAL) != 0 )
if ( (GetWindowStyle() & wxSP_HORIZONTAL) == 0 )
{
// vertical control
return wxSize(16,