X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfbd6dc1921a17bd880d580dd660e8bc478a9391..b89dac7816168bc86d4862edb394e681c161a3e3:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index 7b1d491309..c50fe6c033 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -29,6 +29,9 @@ class WXDLLEXPORT wxControlBase : public wxWindow { public: +#ifdef __WXMAC_X__ + virtual ~wxControlBase() {} // Added min for Mac X +#endif // simulates the event of given type (i.e. wxButton::Command() is just as // if the button was clicked) virtual void Command(wxCommandEvent &event);