]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/object.h
Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer...
[wxWidgets.git] / interface / wx / object.h
index ea7f553a52fc7aa5dcc4c44a9db6578d46adab29..6a7ff2de521b72b17c0c674072456b2cd944346a 100644 (file)
@@ -200,7 +200,7 @@ public:
 
         Performs dereferencing, for those objects that use reference counting.
     */
-    ~wxObject();
+    virtual ~wxObject();
 
     /**
         A virtual function that may be redefined by derived classes to allow dumping of
@@ -225,7 +225,7 @@ public:
         This virtual function is redefined for every class that requires run-time
         type information, when using the ::DECLARE_CLASS macro (or similar).
     */
-    wxClassInfo* GetClassInfo();
+    virtual wxClassInfo* GetClassInfo() const;
 
     /**
         Returns the wxObject::m_refData pointer, i.e. the data referenced by this object.