projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9898fcd
)
Add Child to parent instead of adding it to itself!
author
Stefan Neis
<Stefan.Neis@t-online.de>
Tue, 7 Mar 2000 11:48:36 +0000
(11:48 +0000)
committer
Stefan Neis
<Stefan.Neis@t-online.de>
Tue, 7 Mar 2000 11:48:36 +0000
(11:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6503
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/motif/frame.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/motif/frame.cpp
b/src/motif/frame.cpp
index fac74a74a7a64a45068afae5398353505ad06218..44907de9e5d0d274f468a0ba48c3a2e0d04d5c57 100644
(file)
--- 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;
}
-