]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbox.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / listbox.h
index ae0c31267d98acd12f45be5df3891c0830e26a6d..23f3100c5305c1ccf52ea4a7ff3038bdc890623c 100644 (file)
@@ -45,9 +45,7 @@ class WXDLLEXPORT wxListBoxBase : public wxControlWithItems
 public:
     // all generic methods are in wxControlWithItems, except for the following
     // ones which are not yet implemented by wxChoice/wxCombobox
-#ifdef __WXMAC_X__
-    virtual ~wxListBoxBase() {}  // Added min for Mac X
-#endif
+    virtual ~wxListBoxBase();
 
     void Insert(const wxString& item, int pos)
         { DoInsert(item, pos); }
@@ -133,8 +131,6 @@ protected:
     #include "wx/motif/listbox.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/listbox.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/listbox.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/listbox.h"
 #elif defined(__WXPM__)