]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/statline_osx.cpp
Explicitly unregister custom wxWebViewIE namespaces when we are done with them. Also...
[wxWidgets.git] / src / osx / statline_osx.cpp
index 0e4515c674e3ff1c4629c8caebb85773c441efb6..39522f252c358e6dbd5535a71192ef470a8aeb5b 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/osx/carbon/statlmac.cpp
+// Name:        src/osx/statline_osx.cpp
 // Purpose:     a generic wxStaticLine class
 // Author:      Vadim Zeitlin
 // Created:     28.06.99
@@ -47,9 +47,9 @@ bool wxStaticLine::Create( wxWindow *parent,
                            const wxSize &size,
                            long style,
                            const wxString &name)
-{
-    m_macIsUserPane = false ;
-
+{    
+    DontCreatePeer();
+    
     if ( !wxStaticLineBase::Create(parent, id, pos, size,
                                    style, wxDefaultValidator, name) )
         return false;