]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbase.h
Fix compilation in !wxUSE_LOG_DEBUG && !HAVE_VARIADIC_MACROS case.
[wxWidgets.git] / include / wx / listbase.h
index fe247e8299e92797d4868c154cfe504f94c5112a..e559493b9fdcabb0538985e1afdc8bbc504a1011 100644 (file)
@@ -16,6 +16,7 @@
 #include "wx/font.h"
 #include "wx/gdicmn.h"
 #include "wx/event.h"
+#include "wx/control.h"
 
 class WXDLLIMPEXP_FWD_CORE wxImageList;
 
@@ -424,7 +425,7 @@ public:
     long InsertColumn(long col,
                       const wxString& heading,
                       int format = wxLIST_FORMAT_LEFT,
-                      int width = -1);
+                      int width = wxLIST_AUTOSIZE);
 
     // Delete the given or all columns.
     virtual bool DeleteColumn(int col) = 0;