Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/future/widgets/sources/win
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22529/adobe-source/adobe/future/widgets/sources/win
Modified Files:
ui_core_implementation.cpp
Log Message:
Fix edit_number crashes when label is empty.
Index: ui_core_implementation.cpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/future/widgets/sources/win/ui_core_implementation.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ui_core_implementation.cpp 6 Jan 2006 18:02:59 -0000 1.7
--- ui_core_implementation.cpp 19 Jan 2006 00:09:44 -0000 1.8
***************
*** 1,4478 ****
! /*
! Copyright 2005-2006 Adobe Systems Incorporated
! Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
! or a copy at http://opensource.adobe.com/licenses.html)
! */
!
! /****************************************************************************************************/
!
! #include "ui_core_implementation.hpp"
! #include "ui_core_common.hpp"
[...8929 lines suppressed...]
!
! display_t::position_t result;
!
! // if (scroll_ref) result = display.insert<HWND>(parent, scroll_ref);
! // else
! result = display.insert<HWND>(parent, ref);
!
! if (label_ref) display.insert<HWND>(parent, label_ref);
! if (static_disable_ref) display.insert<HWND>(parent, static_disable_ref);
! if (popup_static_disable_ref) display.insert<HWND>(parent, popup_static_disable_ref);
! if (popup_ref) display.insert<HWND>(parent, popup_ref);
!
! return result;
! }
!
! /****************************************************************************************************/
!
! } // namespace adobe
!
! /****************************************************************************************************/
|