X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cd96c6b443e7673bfb3b73ee79f53e99bafa7ce..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/generic/sashwin.h diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index f223891efa..b89fe8159a 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -87,7 +87,7 @@ public: Create(parent, id, pos, size, style, name); } - ~wxSashWindow(); + virtual ~wxSashWindow(); bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("sashWindow")); @@ -203,10 +203,7 @@ private: DECLARE_NO_COPY_CLASS(wxSashWindow) }; -BEGIN_DECLARE_EVENT_TYPES() - DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV, - wxEVT_SASH_DRAGGED, wxEVT_FIRST + 1200) -END_DECLARE_EVENT_TYPES() +extern WXDLLIMPEXP_ADV const wxEventType wxEVT_SASH_DRAGGED; enum wxSashDragStatus {