X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d99c7a77789ff4904bf96eddca3715eb5af9b9..fd938b117780571129a03155ea0dc01fc73b7f23:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 1dd0c63123..8966a49b9f 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -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) {