projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make wxMDIParentFrame a regular top level window
[wxWidgets.git]
/
src
/
univ
/
winuniv.cpp
diff --git
a/src/univ/winuniv.cpp
b/src/univ/winuniv.cpp
index a3e50aa7dd554887408b372db4a4bfb2ae64903e..3d4292e5c31011eb66265939bb1acf573dd24b07 100644
(file)
--- a/
src/univ/winuniv.cpp
+++ b/
src/univ/winuniv.cpp
@@
-399,7
+399,7
@@
void wxWindow::Refresh(bool eraseBackground, const wxRect *rectClient)
wxWindow *win = node->GetData();
// Only refresh sub controls when it is visible
// and when it is in the update region.
wxWindow *win = node->GetData();
// Only refresh sub controls when it is visible
// and when it is in the update region.
- if(win->IsShown() && wxRegion(rectWin).Contains(win->GetRect()) != wxOutRegion)
+ if(
!win->IsKindOf(CLASSINFO(wxTopLevelWindow)) &&
win->IsShown() && wxRegion(rectWin).Contains(win->GetRect()) != wxOutRegion)
win->Refresh(eraseBackground, &rectWin);
node = node->GetNext();
win->Refresh(eraseBackground, &rectWin);
node = node->GetNext();