#ifndef _WX_DOCMDI_H_
#define _WX_DOCMDI_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "docmdi.h"
#endif
class WXDLLEXPORT wxDocMDIParentFrame: public wxMDIParentFrame
{
public:
+ wxDocMDIParentFrame();
wxDocMDIParentFrame(wxDocManager *manager, wxFrame *parent, wxWindowID id,
const wxString& title, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("frame"));
+ bool Create(wxDocManager *manager, wxFrame *parent, wxWindowID id,
+ const wxString& title, const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("frame"));
+
// Extend event processing to search the document manager's event table
virtual bool ProcessEvent(wxEvent& event);
void OnCloseWindow(wxCloseEvent& event);
protected:
+ void Init();
wxDocManager *m_docManager;
private: