]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
Fixed remaining int vs. long warnings.
[wxWidgets.git] / src / motif / frame.cpp
index fac74a74a7a64a45068afae5398353505ad06218..44907de9e5d0d274f468a0ba48c3a2e0d04d5c57 100644 (file)
@@ -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;
 }
-