#ifndef _WX_MDI_H_
#define _WX_MDI_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "mdi.h"
#endif
#include "wx/frame.h"
#include "wx/notebook.h"
-WXDLLEXPORT_DATA(extern const char*) wxFrameNameStr;
-WXDLLEXPORT_DATA(extern const char*) wxStatusLineNameStr;
-
class WXDLLEXPORT wxMDIClientWindow;
class WXDLLEXPORT wxMDIChildFrame;
// Set icon
virtual void SetIcon(const wxIcon& icon);
-
+ virtual void SetIcons(const wxIconBundle& icons );
+
// Override wxFrame operations
void CaptureMouse();
void ReleaseMouse();
void Raise();
void Lower(void);
- void SetSizeHints(int minW = -1, int minH = -1, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
+ void DoSetSizeHints(int minW = -1, int minH = -1, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
// MDI operations
virtual void Maximize();
virtual void Maximize(bool WXUNUSED(maximize)) { };
- inline void Minimize() { Iconize(TRUE); };
+ inline void Minimize() { Iconize(true); };
virtual void Iconize(bool iconize);
virtual void Restore();
virtual void Activate();
virtual bool IsIconized() const ;
- virtual bool IsTopLevel() const { return FALSE; }
+ virtual bool IsTopLevel() const { return false; }
- // Is the frame maximized? Returns TRUE for
+ // Is the frame maximized? Returns true for
// wxMDIChildFrame due to the tabbed implementation.
virtual bool IsMaximized(void) const ;
// Implementation
void OnPageChanged(wxNotebookEvent& event);
+
+ int FindPage(const wxNotebookPage* page);
protected:
virtual void DoSetSize(int x, int y,
void DoGetSize(int *width, int *height) const ;
void DoGetPosition(int *x, int *y) const ;
-
private:
DECLARE_EVENT_TABLE()
};