X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f99422e9e916202c36a62534236d2288aae435c7..9eaadb1b8c3963bd1e2a8abc9ecc67375081dd05:/include/wx/cocoa/mdi.h?ds=sidebyside diff --git a/include/wx/cocoa/mdi.h b/include/wx/cocoa/mdi.h index e2e3b6e772..c3b12ba595 100644 --- a/include/wx/cocoa/mdi.h +++ b/include/wx/cocoa/mdi.h @@ -16,17 +16,17 @@ DECLARE_WXCOCOA_OBJC_CLASS(wxMDIParentFrameObserver); -class WXDLLEXPORT wxMDIChildFrame; -class WXDLLEXPORT wxMDIClientWindow; +class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; +class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow; -WX_DECLARE_LIST(wxMDIChildFrame, wxCocoaMDIChildFrameList); +WX_DECLARE_EXPORTED_LIST(wxMDIChildFrame, wxCocoaMDIChildFrameList); // ======================================================================== // wxMDIParentFrame // ======================================================================== class WXDLLEXPORT wxMDIParentFrame: public wxFrame { - friend class WXDLLEXPORT wxMDIChildFrame; + friend class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame; DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxMDIParentFrame) // ------------------------------------------------------------------------ @@ -83,7 +83,7 @@ public: virtual wxMDIClientWindow *OnCreateClient(); virtual void Cascade() {} - virtual void Tile() {} + virtual void Tile(wxOrientation WXUNUSED(orient) = wxHORIZONTAL) {} virtual void ArrangeIcons() {} virtual void ActivateNext(); virtual void ActivatePrevious(); @@ -98,7 +98,7 @@ protected: // ======================================================================== class WXDLLEXPORT wxMDIChildFrame: public wxFrame { - friend class WXDLLEXPORT wxMDIParentFrame; + friend class WXDLLIMPEXP_FWD_CORE wxMDIParentFrame; DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxMDIChildFrame) // ------------------------------------------------------------------------ @@ -156,7 +156,7 @@ class wxMDIClientWindow: public wxWindow public: wxMDIClientWindow(); wxMDIClientWindow( wxMDIParentFrame *parent, long style = 0 ); - ~wxMDIClientWindow(); + virtual ~wxMDIClientWindow(); virtual bool CreateClient( wxMDIParentFrame *parent, long style = 0 ); };