]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
return false from wxXmlResource::Load if the resource is corrupted
[wxWidgets.git] / src / generic / splitter.cpp
index 46e4c888f57ed9e1fae02af179d1ec07a49bf0fe..3f1c33e32769c7cd13ab00a0337f6f4c46f23cb6 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "splitter.h"
 #endif
 
@@ -87,10 +87,6 @@ bool wxSplitterWindow::Create(wxWindow *parent, wxWindowID id,
     style &= ~wxBORDER_MASK;
     style |= wxBORDER_NONE;
 
-    // we don't need to be completely repainted after resize and doing it
-    // results in horrible flicker
-    style |= wxNO_FULL_REPAINT_ON_RESIZE;
-
     if ( !wxWindow::Create(parent, id, pos, size, style, name) )
         return FALSE;