projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec19ea
)
Fixes problem where maximized child windows still have a double border drawn around...
author
George Tasker
<gtasker@allenbrook.com>
Thu, 5 Apr 2001 12:15:14 +0000
(12:15 +0000)
committer
George Tasker
<gtasker@allenbrook.com>
Thu, 5 Apr 2001 12:15:14 +0000
(12:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9660
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/mdi.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/mdi.cpp
b/src/msw/mdi.cpp
index 8a43fa947cd14135b8e254c11563120e109dad89..e3db308a0f0b8bb7c01ff1abd5a99a9d506b06a2 100644
(file)
--- a/
src/msw/mdi.cpp
+++ b/
src/msw/mdi.cpp
@@
-722,6
+722,15
@@
bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
//SetWindowLong(GetHwnd(), 0, (long)this);
wxModelessWindows.Append(this);
+
+ // Necessary to make ResetWindowStyle() work
+ // and will be called eventually anyway
+ Activate();
+
+ // Without this, a maximized child will still
+ // a double border around the child
+ ResetWindowStyle((void *)NULL); // Set the Client ExStyle right
+
return TRUE;
}