]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/odcombo.h
interface revisions
[wxWidgets.git] / interface / wx / odcombo.h
index 7edc546717b0683b3dd5aec017b9c08d3131c578..778ea4e20283a0abda3675370173de4951b6c513 100644 (file)
@@ -56,7 +56,7 @@ enum wxOwnerDrawnComboBoxPaintingFlags
 
     @library{wxadv}
     @category{ctrl}
-    <!-- @appearance{ownerdrawncombobox.png} -->
+    @appearance{ownerdrawncombobox.png}
 
     @see wxComboCtrl, wxComboBox, wxVListBox, wxCommandEvent
 */
@@ -143,7 +143,7 @@ public:
     /**
         Destructor, destroying the owner-drawn combobox.
     */
-    ~wxOwnerDrawnComboBox();
+    virtual ~wxOwnerDrawnComboBox();
 
     //@{
     /**
@@ -173,12 +173,12 @@ public:
     /**
         Returns index to the widest item in the list.
     */
-    int GetWidestItem() const;
+    virtual int GetWidestItem();
 
     /**
         Returns width of the widest item in the list.
     */
-    int GetWidestItemWidth() const;
+    virtual int GetWidestItemWidth();
 
     /**
         This method is used to draw the items background and, maybe, a border around it.
@@ -219,7 +219,7 @@ public:
         The default implementation returns text height, as if this control was
         a normal combobox.
     */
-    wxCoord OnMeasureItem(size_t item) const;
+    virtual wxCoord OnMeasureItem(size_t item) const;
 
     /**
         The derived class may implement this method to return the width of the
@@ -228,6 +228,6 @@ public:
 
         The default implementation returns -1.
     */
-    wxCoord OnMeasureItemWidth(size_t item) const;
+    virtual wxCoord OnMeasureItemWidth(size_t item) const;
 };