]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/listbox.h
Forgot to commit
[wxWidgets.git] / interface / wx / listbox.h
index 771a4cc5316988ceb8a5eba459390daa1cbb5b0f..55bd53553d038a2b3c28af50ac751b1ac75c3896 100644 (file)
@@ -103,7 +103,7 @@ public:
     /**
         Destructor, destroying the list box.
     */
-    ~wxListBox();
+    virtual ~wxListBox();
 
     //@{
     /**
@@ -151,7 +151,7 @@ public:
         @see wxControlWithItems::GetSelection, wxControlWithItems::GetStringSelection,
              wxControlWithItems::SetSelection
     */
-    int GetSelections(wxArrayInt& selections) const;
+    virtual int GetSelections(wxArrayInt& selections) const;
 
     /**
         Returns the item located at @e point, or @c wxNOT_FOUND if there
@@ -203,7 +203,7 @@ public:
 
         @return @true if the given item is selected, @false otherwise.
     */
-    bool IsSelected(int n) const;
+    virtual bool IsSelected(int n) const;
 
     /**
         Clears the list box and adds the given strings to it.