]> git.saurik.com Git - wxWidgets.git/commitdiff
building iphone again
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 22 Feb 2011 15:47:09 +0000 (15:47 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 22 Feb 2011 15:47:09 +0000 (15:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/iphone/toolbar.mm

index 27f99d76a0890d045d357aa11fa30ab813e760d3..c65ee34d6664cb2a45f1fcc2887990b665c24da9 100644 (file)
@@ -265,6 +265,18 @@ bool wxToolBar::Realize()
     return true;
 }
 
+void wxToolBar::DoLayout()
+{
+    // TODO port back osx_cocoa layout solution
+}
+
+void wxToolBar::DoSetSize(int x, int y, int width, int height, int sizeFlags)
+{
+    wxToolBarBase::DoSetSize(x, y, width, height, sizeFlags);
+    
+    DoLayout();
+} 
+
 void wxToolBar::SetToolBitmapSize(const wxSize& size)
 {
     m_defaultWidth = size.x;