]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
don't crash when destroying a not initialized socket (patch 1489095)
[wxWidgets.git] / src / generic / splitter.cpp
index 1dba3581bfdb7e155a6716d8d6bb0a2ebb691a11..5ba2ae92b875939132c8fafa3cbba992d98eaeca 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#if wxUSE_SPLITTER
-
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
 
+#if wxUSE_SPLITTER
+
+#include "wx/splitter.h"
+
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/utils.h"
     #include "wx/settings.h"
 #endif
 
-#ifdef __WXMAC__
-    #include "wx/mac/private.h"
-#endif
-
 #include "wx/renderer.h"
 
-#include "wx/splitter.h"
-
 #include <stdlib.h>
 
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)