]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/listbox.h
OutputDebugStringW95 removed - it's really unnecessary - and the references to
[wxWidgets.git] / include / wx / msw / listbox.h
index 93238f7792d8c66fc85a13c6d656c2d8655df999..edebfe9907819db68b99b3227771a97b7d58bb1f 100644 (file)
@@ -6,14 +6,14 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_LISTBOX_H_
 #define _WX_LISTBOX_H_
 
 #ifdef __GNUG__
-#pragma interface "listbox.h"
+    #pragma interface "listbox.h"
 #endif
 
 // ----------------------------------------------------------------------------
@@ -82,10 +82,10 @@ public:
 
     virtual void DoSetFirstItem(int n);
 
-    virtual void DoSetClientData(int n, void* clientData);
-    virtual void* DoGetClientData(int n) const;
-    virtual void DoSetClientObject(int n, wxClientData* clientData);
-    virtual wxClientData* DoGetClientObject(int n) const;
+    virtual void DoSetItemClientData(int n, void* clientData);
+    virtual void* DoGetItemClientData(int n) const;
+    virtual void DoSetItemClientObject(int n, wxClientData* clientData);
+    virtual wxClientData* DoGetItemClientObject(int n) const;
 
     // wxCheckListBox support
 #if wxUSE_OWNER_DRAWN
@@ -120,6 +120,9 @@ protected:
     // do we have multiple selections?
     bool HasMultipleSelection() const;
 
+    // free memory (common part of Clear() and dtor)
+    void Free();
+
     int m_noItems;
     int m_selected;