]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing return value
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Jul 2012 13:07:23 +0000 (13:07 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 7 Jul 2012 13:07:23 +0000 (13:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/iphone/textctrl.mm
src/osx/iphone/toolbar.mm

index d8f65b39a719dc86d920ab4bb7100dd171f2c6c6..ab3baf12f2edcb28dba7b5813d2df6d5f9cf211b 100644 (file)
@@ -674,6 +674,7 @@ bool wxUITextFieldControl::SetHint(const wxString& hint)
 {
     wxCFStringRef hintstring(hint);
     [m_textField setPlaceholder:hintstring.AsNSString()];
+    return true;
 }
 
 #endif
index 659fb243f2c664344f8d4ef0485c0672e34bee91..dcfe1a9bdac150377c2ddf700daa986af49f998c 100644 (file)
@@ -249,6 +249,7 @@ bool wxToolBar::Create(
 
     SetPeer(new wxWidgetIPhoneImpl( this, toolbar ));    
     MacPostControlCreate(pos, size) ;
+    return true;
 }
 
 wxToolBar::~wxToolBar()