Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/win
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4705/visual/sources/win
Modified Files:
ui_core_implementation.cpp
Log Message:
MSVC build updates, fixes
Index: ui_core_implementation.cpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/win/ui_core_implementation.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** ui_core_implementation.cpp 5 Apr 2005 06:16:18 -0000 1.11
--- ui_core_implementation.cpp 5 Apr 2005 15:43:58 -0000 1.12
***************
*** 1373,1377 ****
LRESULT result = ::CallWindowProc(control->default_window_proc_m, window, message, wParam, lParam);
! #ifdef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
#endif
--- 1373,1377 ----
LRESULT result = ::CallWindowProc(control->default_window_proc_m, window, message, wParam, lParam);
! #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
#endif
***************
*** 2444,2448 ****
--- 2444,2450 ----
draw_link(*link, context);
+ #ifndef NDEBUG
frame_widget(*control); // Done after the default wind proc has drawn the widget
+ #endif
}
|