]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/layout.cpp
Added headers that didn't get installed.
[wxWidgets.git] / src / common / layout.cpp
index 1dd0c63123b1b85cd2523616bf0911ac211b81bb..8966a49b9fb15c3dc89f5ec967a3b3c58d1a9ecf 100644 (file)
@@ -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)
         {