wxWindow::OnSize() removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,7 +98,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxEvtHandler)
|
|||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxWindow, wxEvtHandler)
|
BEGIN_EVENT_TABLE(wxWindow, wxEvtHandler)
|
||||||
EVT_CHAR(wxWindow::OnChar)
|
EVT_CHAR(wxWindow::OnChar)
|
||||||
EVT_SIZE(wxWindow::OnSize)
|
|
||||||
EVT_ERASE_BACKGROUND(wxWindow::OnEraseBackground)
|
EVT_ERASE_BACKGROUND(wxWindow::OnEraseBackground)
|
||||||
EVT_SYS_COLOUR_CHANGED(wxWindow::OnSysColourChanged)
|
EVT_SYS_COLOUR_CHANGED(wxWindow::OnSysColourChanged)
|
||||||
EVT_INIT_DIALOG(wxWindow::OnInitDialog)
|
EVT_INIT_DIALOG(wxWindow::OnInitDialog)
|
||||||
@@ -3447,15 +3446,6 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRectangle *rect)
|
|||||||
::ScrollWindow((HWND) GetHWND(), dx, dy, NULL, NULL);
|
::ScrollWindow((HWND) GetHWND(), dx, dy, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindow::OnSize(wxSizeEvent& event)
|
|
||||||
{
|
|
||||||
Default();
|
|
||||||
#if USE_CONSTRAINTS
|
|
||||||
if (GetAutoLayout())
|
|
||||||
Layout();
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
void wxWindow::CalcScrolledPosition(int x, int y, int *xx, int *yy) const
|
void wxWindow::CalcScrolledPosition(int x, int y, int *xx, int *yy) const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user