corrected var overflow under classic

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-09-21 16:26:05 +00:00
parent c175803628
commit 9ad7df7d60
2 changed files with 6 additions and 6 deletions

View File

@@ -1638,10 +1638,10 @@ void wxApp::MacHandleMouseDownEvent( WXEVENTREF evr )
constraintRect.left = 0 ;
constraintRect.right = win->GetMaxWidth() ;
if ( constraintRect.right == -1 )
constraintRect.right = 32768 ;
constraintRect.bottom = win->GetMaxWidth() ;
constraintRect.right = 32000 ;
constraintRect.bottom = win->GetMaxHeight() ;
if ( constraintRect.bottom == -1 )
constraintRect.bottom = 32768 ;
constraintRect.bottom = 32000 ;
Boolean growResult = ResizeWindow( window , ev->where ,
&constraintRect , &newContentRect ) ;

View File

@@ -1638,10 +1638,10 @@ void wxApp::MacHandleMouseDownEvent( WXEVENTREF evr )
constraintRect.left = 0 ;
constraintRect.right = win->GetMaxWidth() ;
if ( constraintRect.right == -1 )
constraintRect.right = 32768 ;
constraintRect.bottom = win->GetMaxWidth() ;
constraintRect.right = 32000 ;
constraintRect.bottom = win->GetMaxHeight() ;
if ( constraintRect.bottom == -1 )
constraintRect.bottom = 32768 ;
constraintRect.bottom = 32000 ;
Boolean growResult = ResizeWindow( window , ev->where ,
&constraintRect , &newContentRect ) ;