]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
better learn the operators...
[wxWidgets.git] / src / generic / sashwin.cpp
index f567e1113d4a3f6947cb5ce2d607d4ab5acf9e5e..8d679953dfc5c32bee6e49c651b7f25a077b8b9e 100644 (file)
 #pragma hdrstop
 #endif
 
+#if wxUSE_SASH
+
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
+    #include "wx/dialog.h"
+    #include "wx/frame.h"
+    #include "wx/settings.h"
 #endif
 
-#if wxUSE_SASH
-
 #include <math.h>
 #include <stdlib.h>
 
-#include "wx/string.h"
 #include "wx/dcscreen.h"
 #include "wx/sashwin.h"
 #include "wx/laywin.h"
 
+DEFINE_EVENT_TYPE(wxEVT_SASH_DRAGGED)
+
 IMPLEMENT_DYNAMIC_CLASS(wxSashWindow, wxWindow)
 IMPLEMENT_DYNAMIC_CLASS(wxSashEvent, wxCommandEvent)