wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash; various other portability changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1320,6 +1320,16 @@ void wxWindow::ScrollWindow(int dx, int dy, const wxRectangle *rect)
|
||||
node = node->Next();
|
||||
|
||||
}
|
||||
|
||||
// Delete the update rects
|
||||
node = updateRects.First();
|
||||
while (node)
|
||||
{
|
||||
wxRect* rect = (wxRect*) node->Data();
|
||||
delete rect;
|
||||
node = node->Next();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void wxWindow::OnChar(wxKeyEvent& event)
|
||||
@@ -1427,6 +1437,13 @@ void wxWindow::RemoveChild(wxWindow *child)
|
||||
child->m_windowParent = NULL;
|
||||
}
|
||||
|
||||
// Reparents this window to have the new parent.
|
||||
bool wxWindow::Reparent(wxWindow* WXUNUSED(parent))
|
||||
{
|
||||
// For now, we indicate that this isn't implemented.
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void wxWindow::DestroyChildren()
|
||||
{
|
||||
if (GetChildren())
|
||||
|
Reference in New Issue
Block a user