]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Reorganize wxCollapsiblePane event and layout code under GTK+
[wxWidgets.git] / src / common / toplvcmn.cpp
index d33262d20e6f56ffbf43db7f3296f968b61707af..9a6688dd4e26f11ed9d555d9732e10ca0362b45f 100644 (file)
@@ -377,7 +377,7 @@ void wxTopLevelWindowBase::DoLayout()
     else
     {
         // do we have _exactly_ one child?
     else
     {
         // do we have _exactly_ one child?
-        wxWindow *child = (wxWindow *)NULL;
+        wxWindow *child = NULL;
         for ( wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
               node;
               node = node->GetNext() )
         for ( wxWindowList::compatibility_iterator node = GetChildren().GetFirst();
               node;
               node = node->GetNext() )