X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d8729431c8c202bd57aadccf87e0a4777baa055..a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0:/include/wx/gtk1/popupwin.h diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index 63c17d793d..fad5e8239f 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: popupwin.h +// Name: wx/gtk1/popupwin.h // Purpose: // Author: Robert Roebling // Created: @@ -11,10 +11,6 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ - #pragma interface "popupwin.h" -#endif - #include "wx/defs.h" #include "wx/panel.h" #include "wx/icon.h" @@ -23,24 +19,23 @@ // wxPopUpWindow //----------------------------------------------------------------------------- -class wxPopupWindow: public wxPopupWindowBase +class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase { public: wxPopupWindow() { } -#ifdef __DARWIN__ - virtual ~wxPopupWindow() { } -#endif - - wxPopupWindow(wxWindow *parent) { (void)Create(parent); } + virtual ~wxPopupWindow(); + + wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE) + { (void)Create(parent, flags); } bool Create(wxWindow *parent, int flags = wxBORDER_NONE); virtual bool Show( bool show = TRUE ); - + // implementation // -------------- virtual void DoMoveWindow(int x, int y, int width, int height); - + virtual void OnInternalIdle();