X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a45c9ba59b610080585f76b0d02e1f1499c96ffe..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/osx/popupwin.h diff --git a/include/wx/osx/popupwin.h b/include/wx/osx/popupwin.h index 58b591d0a8..4a429de678 100644 --- a/include/wx/osx/popupwin.h +++ b/include/wx/osx/popupwin.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/popupwin.h +// Name: wx/osx/popupwin.h // Purpose: wxPopupWindow class for wxMac // Author: Stefan Csomor // Modified by: @@ -26,10 +26,9 @@ public: { (void)Create(parent, flags); } bool Create(wxWindow *parent, int flags = wxBORDER_NONE); - - virtual bool Show(bool show); -protected: + virtual bool Show(bool show = true); + DECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow) };