SetEventType(wxEVT_QUERY_LAYOUT_INFO);
m_requestedLength = 0;
m_flags = 0;
+ m_id = id;
m_alignment = wxLAYOUT_TOP;
m_orientation = wxLAYOUT_HORIZONTAL;
}
{
SetEventType(wxEVT_CALCULATE_LAYOUT);
m_flags = 0;
+ m_id = id;
}
// Read by the app
inline void SetFlags(int flags) { m_flags = flags; }
wxLayoutAlgorithm() {}
// The MDI client window is sized to whatever's left over.
- bool LayoutMDIFrame(wxMDIParentFrame* frame);
+ bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = (wxRect*) NULL);
// mainWindow is sized to whatever's left over.
- bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow);
+ bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = (wxWindow*) NULL);
};
#endif