nativeview.c (984c6370) | nativeview.c (4e7d57d8) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 99 unchanged lines hidden (view full) --- 108 ds->FreeDrawingSurfaceInfo(dsi); 109 /* Unlock the drawing surface */ 110 ds->Unlock(ds); 111 /* Free the drawing surface */ 112 awt.FreeDrawingSurface(ds); 113 114#if 0 115 /* Register own window procedure | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 99 unchanged lines hidden (view full) --- 108 ds->FreeDrawingSurfaceInfo(dsi); 109 /* Unlock the drawing surface */ 110 ds->Unlock(ds); 111 /* Free the drawing surface */ 112 awt.FreeDrawingSurface(ds); 113 114#if 0 115 /* Register own window procedure |
116 Do it one times only! Otherwhise | 116 Do it one time only! Otherwise |
117 multiple instances will be registered 118 and calls on such construct produce 119 a stack overflow. 120 */ 121 122 if (GetProp( (HWND)drawable, OLD_PROC_KEY )==0) 123 { 124 hFuncPtr = SetWindowLong( (HWND)drawable, GWL_WNDPROC, (DWORD)NativeViewWndProc ); --- 58 unchanged lines hidden --- | 117 multiple instances will be registered 118 and calls on such construct produce 119 a stack overflow. 120 */ 121 122 if (GetProp( (HWND)drawable, OLD_PROC_KEY )==0) 123 { 124 hFuncPtr = SetWindowLong( (HWND)drawable, GWL_WNDPROC, (DWORD)NativeViewWndProc ); --- 58 unchanged lines hidden --- |