]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/srchctrl_osx.cpp
going private with userpane info
[wxWidgets.git] / src / osx / srchctrl_osx.cpp
index f62ecd530ec5036075e6c7bf753e79047798d2ff..9a300ff33e784e10d251ed48851eb6c1758a3932 100644 (file)
@@ -168,7 +168,7 @@ bool wxSearchCtrl::Create(wxWindow *parent, wxWindowID id,
             const wxValidator& validator,
             const wxString& name)
 {
-    m_macIsUserPane = false ;
+    DontCreatePeer();
     m_editable = true ;
 
     if ( ! (style & wxNO_BORDER) )