Added destructor to fix crash on Mac due to focus event causing

text control to be accessed while being deleted


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-04-16 11:07:30 +00:00
parent caad76379f
commit a9d13e1564
2 changed files with 11 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class WXDLLIMPEXP_ADV wxDatePickerCtrlGeneric : public wxDatePickerCtrlBase
public:
// creating the control
wxDatePickerCtrlGeneric() { Init(); }
~wxDatePickerCtrlGeneric() ;
wxDatePickerCtrlGeneric(wxWindow *parent,
wxWindowID id,
const wxDateTime& date = wxDefaultDateTime,