X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..e3141a349e438c71338085ea2e713e716ca2c613:/include/wx/gtk/popupwin.h diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index e40673b4e6..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(NO_GCC_PRAGMA) - #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)