#include "wx/frame.h"
-extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[];
class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
// wxMDIParentFrame
// ---------------------------------------------------------------------------
-class WXDLLEXPORT wxMDIParentFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxFrame
{
public:
wxMDIParentFrame();
// wxMDIChildFrame
// ---------------------------------------------------------------------------
-class WXDLLEXPORT wxMDIChildFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame : public wxFrame
{
public:
wxMDIChildFrame() { Init(); }
// Implementation only from now on
// -------------------------------
+ wxMDIParentFrame* GetMDIParent() const
+ {
+ return wxStaticCast(wxFrame::GetParent(), wxMDIParentFrame);
+ }
+
// Handlers
bool HandleMDIActivate(long bActivate, WXHWND, WXHWND);
bool HandleWindowPosChanging(void *lpPos);
// wxMDIClientWindow
// ---------------------------------------------------------------------------
-class WXDLLEXPORT wxMDIClientWindow : public wxWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow : public wxWindow
{
public:
wxMDIClientWindow() { Init(); }