]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/notebook_osx.cpp
wxDataViewChoiceRenderer's editor control should have the same size as the cell.
[wxWidgets.git] / src / osx / notebook_osx.cpp
index f18f86dacf8df845400a925e89bce0eb076863af..4886a876b471ed223a9c9d77433e2f9bd3ca7d49 100644 (file)
@@ -44,9 +44,9 @@ bool wxNotebook::Create( wxWindow *parent,
     const wxSize& size,
     long style,
     const wxString& name )
-{
-    m_macIsUserPane = false ;
-
+{    
+    DontCreatePeer();
+    
     if (! (style & wxBK_ALIGN_MASK))
         style |= wxBK_TOP;