]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
Call CreateControl instead of CreateBase
[wxWidgets.git] / src / common / popupcmn.cpp
index 6571388a34a1db8a3d334f2ed0f12160ecdda2d1..62b1a21c3a97cc51514648a06b4f83f93c5168a8 100644 (file)
@@ -198,8 +198,9 @@ wxPopupTransientWindow::wxPopupTransientWindow(wxWindow *parent, int style)
 wxPopupTransientWindow::~wxPopupTransientWindow()
 {
     PopHandlers();
-
+#ifndef __WXX11__
     delete m_handlerFocus;
+#endif   
     delete m_handlerPopup;
 }