]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/datavgen.cpp
another fix for HP-UX 11.11 vsscanf, should have been in r51260
[wxWidgets.git] / src / generic / datavgen.cpp
index 5d80ef9d13ff2c1b196413a1d8b47ffebf229352..1a442101fc5adea9ac728bd50687b00e5b60ceb6 100644 (file)
@@ -1147,6 +1147,8 @@ wxDataViewColumn::wxDataViewColumn( const wxString &title, wxDataViewRenderer *c
     SetTitle(title);
     SetFlags(flags);
 
+    m_autosize = width < 0;  // TODO
+    
     Init(width < 0 ? wxDVC_DEFAULT_WIDTH : width);
 }