gdi fix and etc
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@176 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
fd680514af
commit
4a7e919ad1
4 changed files with 59 additions and 42 deletions
|
|
@ -134,6 +134,8 @@ MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) {
|
|||
void MwLLDestroy(MwLL handle) {
|
||||
MwLLDestroyCommon(handle);
|
||||
|
||||
/* for safety */
|
||||
SetWindowLongPtr(handle->hWnd, GWLP_USERDATA, (LONG_PTR)NULL);
|
||||
DestroyWindow(handle->hWnd);
|
||||
|
||||
free(handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue