#ifndef _WX_MDIG_H_
#define _WX_MDIG_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "mdig.h"
#endif
#endif
// no icon
- void SetIcon( const wxIcon &icon ) { /*m_icons = wxIconBundle( icon );*/}
- void SetIcons( const wxIconBundle &icons ) { /*m_icons = icons;*/ }
+ void SetIcon( const wxIcon& WXUNUSED(icon) ) { }
+ void SetIcons( const wxIconBundle& WXUNUSED(icons) ) { }
// no maximize etc
virtual void Maximize( bool WXUNUSED(maximize) = TRUE) { /* Has no effect */ }
~wxGenericMDIClientWindow();
virtual bool CreateClient( wxGenericMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL );
- virtual int SetSelection(int nPage);
+ virtual int SetSelection(size_t nPage);
protected:
void PageChanged(int OldSelection, int newSelection);
*/
#ifndef wxUSE_GENERIC_MDI_AS_NATIVE
-#if defined(__WXUNIVERSAL__) || defined(__WXPM__)
+#if defined(__WXUNIVERSAL__) || defined(__WXPM__) || defined(__WXCOCOA__)
#define wxUSE_GENERIC_MDI_AS_NATIVE 1
#else
#define wxUSE_GENERIC_MDI_AS_NATIVE 0
#if wxUSE_GENERIC_MDI_AS_NATIVE
+class wxMDIChildFrame ;
+
//-----------------------------------------------------------------------------
// wxMDIParentFrame
//-----------------------------------------------------------------------------
{
}
+ wxMDIChildFrame * GetActiveChild() const ;
+
+
private:
DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
};