Ignore:
Timestamp:
Aug 26, 2011 5:51:13 AM (13 years ago)
Author:
nanang
Message:

Re #1327 (vidgui): Minor fix on windows VidWin::attach(), applying window style WS_CHILD to unattached/unparented SDL window causes strange behavior: after parented to a QWidget, it doesn't follow the parent/QWidget movement but its coordinate is relative to the parent/QWidget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/vidgui/vidwin.cpp

    r3726 r3727  
    103103    orig_parent = GetParent(w); 
    104104 
    105     SetWindowLong(w, GWL_STYLE, WS_CHILD); 
     105    //SetWindowLong(w, GWL_STYLE, WS_CHILD); 
    106106    SetParent(w, new_parent); 
    107107    TRACE_("%p new parent handle = %p", w, new_parent); 
Note: See TracChangeset for help on using the changeset viewer.