projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A few tweaks and cleanups
[wxWidgets.git]
/
samples
/
docvwmdi
/
view.cpp
diff --git
a/samples/docvwmdi/view.cpp
b/samples/docvwmdi/view.cpp
index 80adc134672d3f41f137e967d7036a703884553f..d359871f4604a573311ddead609b1cbd9fc41f3a 100644
(file)
--- a/
samples/docvwmdi/view.cpp
+++ b/
samples/docvwmdi/view.cpp
@@
-6,7
+6,7
@@
// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart and Markus Holzem
// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Licence:
wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
@@
-57,6
+57,7
@@
bool DrawingView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
frame->SetSize(-1, -1, x, y);
#endif
frame->Show(TRUE);
frame->SetSize(-1, -1, x, y);
#endif
frame->Show(TRUE);
+ Activate(TRUE);
return TRUE;
}
return TRUE;
}