X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..71a09c3579dd5cb4cd8fa7fdc143561cbff74e12:/src/osx/carbon/popupwin.cpp?ds=sidebyside diff --git a/src/osx/carbon/popupwin.cpp b/src/osx/carbon/popupwin.cpp index 5f73691371..d13810f1c0 100644 --- a/src/osx/carbon/popupwin.cpp +++ b/src/osx/carbon/popupwin.cpp @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: -// RCS-ID: $Id$ // Copyright: (c) 2006 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -56,25 +55,4 @@ bool wxPopupWindow::Create(wxWindow *parent, int flags) } -bool wxPopupWindow::Show(bool show) -{ - if ( !wxWindow::Show(show) ) - return false; - - if ( m_nowpeer && show) - m_nowpeer->ShowWithoutActivating(); - else if ( m_nowpeer ) - m_nowpeer->Show(false); - - if ( show ) - { - // because apps expect a size event to occur at this moment - wxSizeEvent event(GetSize() , m_windowId); - event.SetEventObject(this); - HandleWindowEvent(event); - } - - return true; -} - #endif // #if wxUSE_POPUPWIN