]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
[wxWidgets.git] / src / generic / sashwin.cpp
index f567e1113d4a3f6947cb5ce2d607d4ab5acf9e5e..693e74f1a40aa7449f027605f6530fb356ac3dbf 100644 (file)
 #pragma hdrstop
 #endif
 
+#if wxUSE_SASH
+
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
 
-#if wxUSE_SASH
-
 #include <math.h>
 #include <stdlib.h>
 
@@ -36,6 +36,8 @@
 #include "wx/sashwin.h"
 #include "wx/laywin.h"
 
+DEFINE_EVENT_TYPE(wxEVT_SASH_DRAGGED)
+
 IMPLEMENT_DYNAMIC_CLASS(wxSashWindow, wxWindow)
 IMPLEMENT_DYNAMIC_CLASS(wxSashEvent, wxCommandEvent)