]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Remove unnecessary duplicate code dealing with invoking window from wxOSX.
[wxWidgets.git] / include / wx / sizer.h
index 89bdf6619677c9c5a2385440c3b4b8244fe39a34..6d414fd09d20308b3cc8a22ee7d0a3e1d33fb5b0 100644 (file)
@@ -1113,6 +1113,12 @@ inline void wxSizerItem::SetSpacer(int width, int height)
 
 #endif // WXWIN_COMPATIBILITY_2_8
 
+inline wxSizerItem*
+wxSizer::Insert(size_t index, wxSizerItem *item)
+{
+    return DoInsert(index, item);
+}
+
 
 inline wxSizerItem*
 wxSizer::Add( wxSizerItem *item )
@@ -1274,12 +1280,6 @@ wxSizer::Insert( size_t index, int width, int height, const wxSizerFlags& flags
     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)
 {