projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More work on GTK 2.0 drawing.
[wxWidgets.git]
/
src
/
generic
/
laywin.cpp
diff --git
a/src/generic/laywin.cpp
b/src/generic/laywin.cpp
index ea613698ec66cac91284192522de77621bbbf673..8d33f42ccf6961439838141010ccb5ab26085a50 100644
(file)
--- a/
src/generic/laywin.cpp
+++ b/
src/generic/laywin.cpp
@@
-24,7
+24,8
@@
#endif
#ifndef WX_PRECOMP
#endif
#ifndef WX_PRECOMP
-#include "wx/mdi.h"
+ #include "wx/frame.h"
+ #include "wx/mdi.h"
#endif
#include "wx/laywin.h"
#endif
#include "wx/laywin.h"
@@
-219,6
+220,11
@@
bool wxLayoutAlgorithm::LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* r)
#endif // wxUSE_MDI_ARCHITECTURE
#endif // wxUSE_MDI_ARCHITECTURE
+bool wxLayoutAlgorithm::LayoutFrame(wxFrame* frame, wxWindow* mainWindow)
+{
+ return LayoutWindow(frame, mainWindow);
+}
+
// Layout algorithm for any window. mainWindow gets what's left over.
bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
{
// Layout algorithm for any window. mainWindow gets what's left over.
bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
{