X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/833a51f67ec2cb68649cf4cd2fe46456fc1752b6..c1ce7c198801c1766083a245874f07ea20b16407:/src/common/popupcmn.cpp?ds=sidebyside diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index 6571388a34..92c423d211 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -136,7 +136,7 @@ wxPopupWindowBase::~wxPopupWindowBase() bool wxPopupWindowBase::Create(wxWindow* WXUNUSED(parent), int WXUNUSED(flags)) { - return TRUE; + return true; } void wxPopupWindowBase::Position(const wxPoint& ptOrigin, @@ -198,8 +198,9 @@ wxPopupTransientWindow::wxPopupTransientWindow(wxWindow *parent, int style) wxPopupTransientWindow::~wxPopupTransientWindow() { PopHandlers(); - +#ifndef __WXX11__ delete m_handlerFocus; +#endif delete m_handlerPopup; } @@ -297,7 +298,7 @@ void wxPopupTransientWindow::OnDismiss() bool wxPopupTransientWindow::ProcessLeftDown(wxMouseEvent& WXUNUSED(event)) { // no special processing here - return FALSE; + return false; } #if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)