X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..02ac8d7a5ddbd0694b46cc5133e82eb22d935829:/include/wx/generic/sashwin.h diff --git a/include/wx/generic/sashwin.h b/include/wx/generic/sashwin.h index 21df4769c0..bad1784c85 100644 --- a/include/wx/generic/sashwin.h +++ b/include/wx/generic/sashwin.h @@ -138,7 +138,7 @@ public: // Adjusts the panes void OnSize(wxSizeEvent& event); -#ifdef __WXMSW__ +#if defined(__WXMSW__) || defined(__WXMAC__) // Handle cursor correctly void OnSetCursor(wxSetCursorEvent& event); #endif // wxMSW @@ -232,7 +232,7 @@ private: wxSashDragStatus m_dragStatus; private: - DECLARE_DYNAMIC_CLASS(wxSashEvent) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxSashEvent) }; typedef void (wxEvtHandler::*wxSashEventFunction)(wxSashEvent&);