Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/sources/win
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28178/adobe-source/adobe/test/visual/sources/win
Modified Files:
ui_core_implementation.cpp
Log Message:
documentation, bug 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.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ui_core_implementation.cpp 1 Apr 2005 20:52:20 -0000 1.7
--- ui_core_implementation.cpp 4 Apr 2005 16:43:34 -0000 1.8
***************
*** 1706,1710 ****
--- 1706,1712 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 1867,1871 ****
--- 1869,1875 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 1944,1948 ****
--- 1948,1954 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 2114,2118 ****
--- 2120,2126 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 2223,2227 ****
--- 2231,2237 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 2365,2369 ****
--- 2375,2381 ----
draw_link(*link, context);
+ #ifndef NDEBUG
frame_widget(*control); // Done after the default wind proc has drawn the widget
+ #endif
}
***************
*** 2676,2680 ****
--- 2688,2694 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 2816,2820 ****
--- 2830,2836 ----
}
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
***************
*** 3170,3174 ****
--- 3186,3192 ----
LRESULT result = handled ? 0 : ::CallWindowProc( control->default_window_proc_m, window, message, wParam, lParam );
+ #ifndef NDEBUG
if (control && message == WM_PAINT) frame_widget(*control);
+ #endif
return result;
|