Just a teeny change -- addition of wxFrame::IsMaximized. For wxMDIChildFrame
in wxGTK, is probably always TRUE (always size of client area). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -331,6 +331,12 @@ bool wxFrame::IsIconized(void) const
|
||||
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);
|
||||
|
Reference in New Issue
Block a user