,rsName
))
return FALSE;
- SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
wxModelessWindows.Append(this);
return TRUE;
} // end of wxFrame::Create
);
}
-// generate an artificial resize event
-void wxFrame::SendSizeEvent()
-{
- if (!m_bIconized)
- {
- RECTL vRect = wxGetWindowRect(GetHwnd());
-
- (void)::WinPostMsg( m_hFrame
- ,WM_SIZE
- ,MPFROM2SHORT(vRect.xRight - vRect.xLeft, vRect.yTop - vRect.yBottom)
- ,MPFROM2SHORT(vRect.xRight - vRect.xLeft, vRect.yTop - vRect.yBottom)
- );
- }
-}
-
#if wxUSE_STATUSBAR
wxStatusBar* wxFrame::OnCreateStatusBar(
int nNumber
vEvent.SetEventObject(this);
bProcessed = GetEventHandler()->ProcessEvent(vEvent);
- AlterChildPos();
}
return bProcessed;
} // end of wxFrame::HandleSize