]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
set icons bundle, not single icon, for frames loaded from XRC
[wxWidgets.git] / src / common / wincmn.cpp
index 31bac26e06e4b9d9168ac2fcc2c964d9f663036e..44fc1783691c3a38fdec3f704c5a0915c6d53357 100644 (file)
@@ -474,7 +474,7 @@ void wxWindowBase::FitInside()
 }
 
 // On Mac, scrollbars are explicitly children.
-#ifdef __WXMAC__
+#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
 static bool wxHasRealChildren(const wxWindowBase* win)
 {
     int realChildCount = 0;
@@ -550,7 +550,7 @@ wxSize wxWindowBase::DoGetBestSize() const
     }
 #endif // wxUSE_CONSTRAINTS
     else if ( !GetChildren().empty()
-#ifdef __WXMAC__
+#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
               && wxHasRealChildren(this)
 #endif
               )