]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
remove default value for the last parameter of insert(it, idx, value) which allowed...
[wxWidgets.git] / include / wx / vlbox.h
index aa894553e5b8a35f1df232312684d00691794323..f4b2e945bfa94e4a064eae29ed5e7917fe87966e 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxSelectionStore;
     It emits the same events as wxListBox and the same event macros may be used
     with it.
  */
-class WXDLLEXPORT wxVListBox : public wxVScrolledWindow
+class WXDLLIMPEXP_CORE wxVListBox : public wxVScrolledWindow
 {
 public:
     // constructors and such
@@ -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();