]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
Blind fix
[wxWidgets.git] / src / msw / tooltip.cpp
index cec5c0f8eda641398c906534965a2312f6c2f281..0ab90686a80205ccd8b484149c0e7c9d5d05b688 100644 (file)
@@ -350,7 +350,7 @@ void wxToolTip::SetWindow(wxWindow *win)
     wxControl *control = wxDynamicCast(m_window, wxControl);
     if ( control )
     {
-        const wxArrayLong subcontrols = control->GetSubcontrols();
+        const wxArrayLong& subcontrols = control->GetSubcontrols();
         size_t count = subcontrols.GetCount();
         for ( size_t n = 0; n < count; n++ )
         {