]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/toolbar.mm
Fix file paths in wxFileSystemWatcherEvent under OS X.
[wxWidgets.git] / src / osx / iphone / toolbar.mm
index 58422ca1a9e6f78a85482a2a958677d1cdee3a6a..449a92e572b496c77b15ab50d9dae4139ac13e35 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/osx/carbon/toolbar.cpp
+// Name:        src/osx/iphone/toolbar.mm
 // Purpose:     wxToolBar
 // Author:      Stefan Csomor
 // Modified by:
@@ -218,7 +218,7 @@ bool wxToolBar::Create(
                        long style,
                        const wxString& name )
 {
-    m_macIsUserPane = false ;
+    DontCreatePeer();
 
     if ( !wxToolBarBase::Create( parent, id, pos, size, style, wxDefaultValidator, name ) )
         return false;