]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/listbox.h
Compilation fix.
[wxWidgets.git] / include / wx / gtk / listbox.h
index 1c959e0ba6378ed2cc322d0ad31e7dc6da8f01f2..c80a2d7123f58e4545be3c090881f1789c013735 100644 (file)
@@ -73,6 +73,8 @@ public:
     virtual int GetSelection() const;
     virtual int GetSelections(wxArrayInt& aSelections) const;
 
+    virtual void EnsureVisible(int n);
+
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
@@ -124,6 +126,9 @@ protected:
     // set the specified item
     void GtkSetItem(_GtkTreeIter& iter, const _GtkTreeEntry *entry);
 
+    // common part of DoSetFirstItem() and EnsureVisible()
+    void DoScrollToCell(int n, float alignY, float alignX);
+
 private:
     void Init(); //common construction