X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..ec2df34e27ba41f202ecbf096cdfed082a9ddb8f:/src/osx/carbon/popupwin.cpp diff --git a/src/osx/carbon/popupwin.cpp b/src/osx/carbon/popupwin.cpp index bc16c7e388..82488c73ce 100644 --- a/src/osx/carbon/popupwin.cpp +++ b/src/osx/carbon/popupwin.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: src/osx/popupwin.cpp +// Name: src/osx/carbon/popupwin.cpp // Purpose: implements wxPopupWindow for wxMac // Author: Stefan Csomor // Modified by: @@ -56,25 +56,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