// Compatibility
inline bool Iconized() const { return IsIconized(); }
+ // Is the frame maximized? Returns FALSE under Motif (but TRUE for
+ // wxMDIChildFrame due to the tabbed implementation).
+ virtual bool IsMaximized(void) const ;
+
virtual void Maximize(bool maximize);
// Responds to colour changes
virtual void Activate();
virtual bool IsIconized() const ;
+ // Is the frame maximized? Returns TRUE for
+ // wxMDIChildFrame due to the tabbed implementation.
+ virtual bool IsMaximized(void) const ;
+
bool Show(bool show);
inline WXWidget GetMainWidget() const { return m_mainWidget; };
virtual bool IsIconized(void) const ;
+ // Is it maximized?
+ virtual bool IsMaximized(void) const ;
+
// Compatibility
inline bool Iconized(void) const { return IsIconized(); }
// Compatibility
inline bool Iconized() const { return IsIconized(); }
+ // Is the frame maximized?
+ virtual bool IsMaximized(void) const ;
+
virtual void Maximize(bool maximize);
// Responds to colour changes
return iconic;
}
+// Is it maximized?
+bool wxFrame::IsMaximized(void) const
+{
+ // No maximizing in Motif (?)
+ return FALSE;
+}
+
void wxFrame::SetTitle(const wxString& title)
{
if (title == m_title)
return FALSE;
}
+// Is it maximized? Always maximized under Motif, using the
+// tabbed MDI implementation.
+bool wxMDIChildFrame::IsMaximized(void) const
+{
+ return TRUE;
+}
+
void wxMDIChildFrame::Restore()
{
// TODO
return m_iconized;
}
+// Is it maximized?
+bool wxFrame::IsMaximized(void) const
+{
+ return (::IsZoomed((HWND) GetHWND()) != 0) ;
+}
+
void wxFrame::SetTitle(const wxString& title)
{
SetWindowText((HWND) GetHWND(), (const char *)title);
return FALSE;
}
+// Is the frame maximized?
+bool wxFrame::IsMaximized(void) const
+{
+ // TODO
+ return FALSE;
+}
+
void wxFrame::SetTitle(const wxString& title)
{
// TODO