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:
@@ -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 ) ;
|
||||
|
@@ -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 ) ;
|
||||
|
Reference in New Issue
Block a user