X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..1ea9acd9aa1b0e5fa3f7bef3db4eca77822bfe35:/include/wx/gtk/popupwin.h diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index 46a00922d3..b32e4684b5 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -11,10 +11,6 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "popupwin.h" -#endif - #include "wx/defs.h" #include "wx/panel.h" #include "wx/icon.h" @@ -23,7 +19,7 @@ // wxPopUpWindow //----------------------------------------------------------------------------- -class wxPopupWindow: public wxPopupWindowBase +class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase { public: wxPopupWindow() { } @@ -38,9 +34,10 @@ public: // implementation // -------------- - virtual void DoMoveWindow(int x, int y, int width, int height); - virtual void OnInternalIdle(); + + // GTK time when connecting to button_press signal + wxUint32 m_time; protected: @@ -50,6 +47,8 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void DoMoveWindow(int x, int y, int width, int height); + private: DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxPopupWindow)