]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/slider.cpp
Remove SendDestroyEvent() call from SetNSView() and call it from ~wxWindow
[wxWidgets.git] / src / motif / slider.cpp
index 69d6efb92ce8cf0a31e75755f8ee0bdd8dc44a0f..e11f1bb9ceb0146f805369b98800f332c8d7bec2 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "slider.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/slider.h"
 #include "wx/utils.h"