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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user