Define wxSizer::Insert(size_t, wxSizerItem *) before it is used so that it
could really be inlined.
This also fixes an IRIX mipsPro compiler warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63580
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // WXWIN_COMPATIBILITY_2_8
+inline wxSizerItem*
+wxSizer::Insert(size_t index, wxSizerItem *item)
+{
+ return DoInsert(index, item);
+}
+
inline wxSizerItem*
wxSizer::Add( wxSizerItem *item )
return Insert( index, new wxSizerItem(width, height, flags) );
}
-inline wxSizerItem*
-wxSizer::Insert(size_t index, wxSizerItem *item)
-{
- return DoInsert(index, item);
-}
-
inline wxSizerItem*
wxSizer::InsertSpacer(size_t index, int size)
{