]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
Fix crash again
[wxWidgets.git] / include / wx / vlbox.h
index c6235d98b57ece587257822b4e99b2a411266d99..f4b2e945bfa94e4a064eae29ed5e7917fe87966e 100644 (file)
@@ -127,6 +127,8 @@ public:
     // get the background colour of selected cells
     const wxColour& GetSelectionBackground() const { return m_colBgSel; }
 
+    // get the item rect, returns empty rect if the item is not visible
+    wxRect GetItemRect(size_t n) const;
 
     // operations
     // ----------
@@ -241,6 +243,7 @@ protected:
     void OnLeftDown(wxMouseEvent& event);
     void OnLeftDClick(wxMouseEvent& event);
     void OnSetOrKillFocus(wxFocusEvent& event);
+    void OnSize(wxSizeEvent& event);
 
     // common part of all ctors
     void Init();