X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7f11f60d0959321fa6f76cc0ba86f250fe9b130..e71fd398b8b8041ad69acf1c6a8938e77a1db2c9:/src/cocoa/slider.mm diff --git a/src/cocoa/slider.mm b/src/cocoa/slider.mm index 207f9a8c99..7e319e4844 100644 --- a/src/cocoa/slider.mm +++ b/src/cocoa/slider.mm @@ -38,8 +38,6 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID winid, wxSlider::~wxSlider() { - CocoaRemoveFromParent(); - SetNSView(NULL); } #endif // wxUSE_SLIDER