X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc1efb1d9f4e4ce7d8f889dad3aaab7026b73058..4a64bee465c0dbf3d97fbf290cb2fef4ad41ca34:/src/motif/frame.cpp diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index fac74a74a7..44907de9e5 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -132,7 +132,7 @@ bool wxFrame::Create(wxWindow *parent, const wxString& name) { if ( parent ) - AddChild(this); + parent->AddChild(this); else wxTopLevelWindows.Append(this); @@ -921,4 +921,3 @@ static void wxFrameEventHandler(Widget wid, } *continueToDispatch = True; } -