X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/844a4451f694840694663dd283c3bed3a3d81947..3d3a4a25addf9729c74a8d0f7a056b57bb7f7e2a:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 74850c5631..8966a49b9f 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================= @@ -734,7 +734,7 @@ int wxIndividualLayoutConstraint::GetEdge(wxEdge which, // If the edge or dimension belongs to the parent, then we know the // dimension is obtainable immediately. E.g. a wxExpandSizer may contain a // button (but the button's true parent is a panel, not the sizer) - if (other->GetChildren().Find(thisWin)) + if (other->GetChildren().Find((wxWindow*)thisWin)) { switch (which) {