AxWin3 - Heaps of bugfixes to RichText renderer
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / renderers / widget / subwin.c
index 4cdaaba..fcf196d 100644 (file)
@@ -11,6 +11,8 @@
 
 void Widget_SubWin_Render(tWindow *Window, tElement *Element)
 {
+       // Ensure that child window is positioned relative to this window
+       WM_SetRelative(Element->Data, 1);
        // Note: Doesn't actually render, but does poke the child window
        WM_MoveWindow(Element->Data, Element->CachedX, Element->CachedY);
        WM_ResizeWindow(Element->Data, Element->CachedW, Element->CachedH);
@@ -20,4 +22,3 @@ DEFWIDGETTYPE(ELETYPE_SUBWIN,
        WIDGETTYPE_FLAG_NOCHILDREN,
        .Render = Widget_SubWin_Render
        )
-

UCC git Repository :: git.ucc.asn.au