]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
only call fsync() on disk files, otherwise we get an error for pipes under Unix
[wxWidgets.git] / src / common / sizer.cpp
index 85be8ac5249c10beaa6a66b9dd85fd0bcf9c067f..0ef04619c6d76757e5f98f6fea06367a81c1f58d 100644 (file)
@@ -440,7 +440,8 @@ bool wxSizerItem::IsShown() const
     switch ( m_kind )
     {
         case Item_None:
-            wxFAIL_MSG( _T("uninitialized sizer item") );
+            // we may be called from CalcMin(), just return false so that we're
+            // not used
             break;
 
         case Item_Window: