/////////////////////////////////////////////////////////////////////////////
-// Name: wx/generic/mdig.h
+// Name: wx/generic/tabmdi.h
// Purpose: Generic MDI (Multiple Document Interface) classes
// Author: Hans Van Leemputten
// Modified by: Benjamin I. Williams / Kirix Corporation
#include "wx/notebook.h"
#include "wx/aui/auibook.h"
-extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[];
-extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[];
-
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
// wxTabMDIParentFrame
//-----------------------------------------------------------------------------
-class WXDLLEXPORT wxTabMDIParentFrame : public wxFrame
+class WXDLLIMPEXP_AUI wxTabMDIParentFrame : public wxFrame
{
public:
wxTabMDIParentFrame();
const wxString& name = wxFrameNameStr);
~wxTabMDIParentFrame();
-
+
bool Create(wxWindow *parent,
wxWindowID winid,
const wxString& title,
protected:
wxTabMDIClientWindow *m_pClientWindow;
wxTabMDIChildFrame *m_pActiveChild;
-
+
#if wxUSE_MENUS
wxMenu *m_pWindowMenu;
wxMenuBar *m_pMyMenuBar;
// wxTabMDIChildFrame
//-----------------------------------------------------------------------------
-class WXDLLEXPORT wxTabMDIChildFrame : public wxPanel
+class WXDLLIMPEXP_AUI wxTabMDIChildFrame : public wxPanel
{
public:
wxTabMDIChildFrame();
virtual void Activate();
virtual bool Destroy();
-
+
#if wxUSE_STATUSBAR
// no status bars
virtual wxStatusBar* CreateStatusBar(int WXUNUSED(number) = 1,
void OnMenuHighlight(wxMenuEvent& evt);
void OnActivate(wxActivateEvent& evt);
void OnCloseWindow(wxCloseEvent& evt);
-
+
void SetMDIParentFrame(wxTabMDIParentFrame* parent);
wxTabMDIParentFrame* GetMDIParentFrame() const;
// wxTabMDIClientWindow
//-----------------------------------------------------------------------------
-class WXDLLEXPORT wxTabMDIClientWindow : public wxAuiMultiNotebook
+class WXDLLIMPEXP_AUI wxTabMDIClientWindow : public wxAuiMultiNotebook
{
public:
wxTabMDIClientWindow();
wxTabMDIClientWindow(wxTabMDIParentFrame *parent, long style = 0);
~wxTabMDIClientWindow();
-
+
virtual bool CreateClient(wxTabMDIParentFrame *parent,
long style = wxVSCROLL | wxHSCROLL);
protected:
- void PageChanged(int old_selection, int new_selection);
+ void PageChanged(int old_selection, int new_selection);
void OnPageChanged(wxAuiNotebookEvent& event);
void OnSize(wxSizeEvent& evt);