The Image sample now does anti-aliasing, oh well.

Made internal use of OnIdle - er - internal. (I.e.
    it doesn't use EVT_IDLE anymore and thus cannot
    be overridden by users)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-01-22 18:08:54 +00:00
parent 7c3d7e2d77
commit 9390a202a8
11 changed files with 112 additions and 49 deletions

View File

@@ -1257,7 +1257,6 @@ BEGIN_EVENT_TABLE(wxWindow, wxEvtHandler)
EVT_SIZE(wxWindow::OnSize)
EVT_SYS_COLOUR_CHANGED(wxWindow::OnSysColourChanged)
EVT_INIT_DIALOG(wxWindow::OnInitDialog)
EVT_IDLE(wxWindow::OnIdle)
EVT_KEY_DOWN(wxWindow::OnKeyDown)
END_EVENT_TABLE()
@@ -1791,6 +1790,11 @@ void wxWindow::SetSize( int x, int y, int width, int height, int sizeFlags )
m_resizing = FALSE;
}
void wxWindow::OnInternalIdle()
{
UpdateWindowUI();
}
void wxWindow::SetSize( int width, int height )
{
SetSize( -1, -1, width, height, wxSIZE_USE_EXISTING );
@@ -3449,7 +3453,3 @@ void wxWindow::GetPositionConstraint(int *x, int *y) const
GetPosition(x, y);
}
void wxWindow::OnIdle(wxIdleEvent& WXUNUSED(event) )
{
UpdateWindowUI();
}