]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/sashwin.h
disable report view mode under Mac as it hangs the native wxListCtrl implementation...
[wxWidgets.git] / include / wx / generic / sashwin.h
index f223891efa6e0e1c0b51dd2a2339d561171a5a63..b89fe8159a2f6dc5f6d6b0bcf9532e41aa0d1a78 100644 (file)
@@ -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
 {