]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
Override CreateItem so wxListBox can turn its notifications into events.
[wxWidgets.git] / include / wx / vlbox.h
index 598fa2e058570cfde48864b2ce8aece0c1033f2f..bc61c0d542268cc19f90aeda857ba4947323222d 100644 (file)
@@ -13,6 +13,7 @@
 #define _WX_VLBOX_H_
 
 #include "wx/vscroll.h"         // base class
+#include "wx/bitmap.h"
 
 class WXDLLEXPORT wxSelectionStore;
 
@@ -189,10 +190,6 @@ public:
     void SetSelectionBackground(const wxColour& col);
 
 
-    virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg))
-        { /* do nothing */ }
-
-
     virtual wxVisualAttributes GetDefaultAttributes() const
     {
         return GetClassDefaultAttributes(GetWindowVariant());
@@ -290,6 +287,8 @@ private:
     // the selection bg colour
     wxColour m_colBgSel;
 
+    // double buffer
+    wxBitmap* m_doubleBuffer;
 
     DECLARE_EVENT_TABLE()
     DECLARE_NO_COPY_CLASS(wxVListBox)