]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/listbox.h
Added WXHTREEITEM
[wxWidgets.git] / include / wx / motif / listbox.h
index 5ba7762189e96658d8be2c8ef141cbd68a8a5af1..77315ae0fe741651da5275dab28890c7e8115e5e 100644 (file)
@@ -38,7 +38,8 @@ class WXDLLEXPORT wxListBox: public wxControl
            int n = 0, const wxString choices[] = NULL,
            long style = 0,
            const wxValidator& validator = wxDefaultValidator,
-           const wxString& name = wxListBoxNameStr)
+           const wxString& name = wxListBoxNameStr):
+              m_clientDataList(wxKEY_INTEGER)
   {
     Create(parent, id, pos, size, n, choices, style, validator, name);
   }
@@ -88,9 +89,18 @@ class WXDLLEXPORT wxListBox: public wxControl
 
   void Command(wxCommandEvent& event);
 
- protected:
+// Implementation
+  virtual void ChangeFont();
+  virtual void ChangeBackgroundColour();
+  virtual void ChangeForegroundColour();
+  WXWidget GetTopWidget() const;
+
+protected:
   int       m_noItems;
   int       m_selected;
+
+  // List mapping positions->client data
+  wxList    m_clientDataList;
 };
 
 #endif