]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
fix for opening files with VC++ 8 (closes bug 994337)
[wxWidgets.git] / src / generic / listctrl.cpp
index 83f14c0b82c9e01804abfba5b121310a55832923..066e416df9c3b384fffc3498090bb3b340cb72c9 100644 (file)
@@ -2105,7 +2105,7 @@ void wxListTextCtrl::OnKeyUp( wxKeyEvent &event )
         sx = parentSize.x - myPos.x;
     if (mySize.x > sx)
         sx = mySize.x;
-    SetSize(sx, wxDefaultSize.y);
+    SetSize(sx, wxDefaultCoord);
 
     event.Skip();
 }