]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
corrected typo in check for icc
[wxWidgets.git] / src / msw / tbar95.cpp
index 49667ebabe8f0e359c09c503ada13feb989f27bb..1fce389dd39a18d8ab1ea1ecfec928844d845444 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "tbar95.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -1071,6 +1067,8 @@ bool wxToolBar::Realize()
     }
 
     InvalidateBestSize();
+    SetBestFittingSize();
+
     return true;
 }