]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/radiobut.h
Fixed context menu in wxRichTextCtrl
[wxWidgets.git] / include / wx / motif / radiobut.h
index 7ed22be9b97a7f62c0c0a4c521c98c476075ffa1..5c06a40deab0c54949f7535502b11ad29413d10f 100644 (file)
@@ -17,7 +17,7 @@ class WXDLLEXPORT wxRadioButton: public wxControl
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
 public:
     wxRadioButton();
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
 public:
     wxRadioButton();
-    ~wxRadioButton() { RemoveFromCycle(); }
+    virtual ~wxRadioButton() { RemoveFromCycle(); }
 
     inline wxRadioButton(wxWindow *parent, wxWindowID id,
         const wxString& label,
 
     inline wxRadioButton(wxWindow *parent, wxWindowID id,
         const wxString& label,