]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/popupwin.h
Make SaveFile and LoadFile virtual so they can be overridden
[wxWidgets.git] / include / wx / gtk / popupwin.h
index b35eb730046b3e285219e989506bc4177950a8d9..e150b2d3e79d3f3d03b0c4856d17e890935b4392 100644 (file)
@@ -8,12 +8,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __GTKPOPUPWINH__
-#define __GTKPOPUPWINH__
-
-#include "wx/defs.h"
-#include "wx/panel.h"
-#include "wx/icon.h"
+#ifndef _WX_GTK_POPUPWIN_H_
+#define _WX_GTK_POPUPWIN_H_
 
 //-----------------------------------------------------------------------------
 // wxPopUpWindow
@@ -35,10 +31,13 @@ public:
     // --------------
 
     virtual void OnInternalIdle();
+    
+    // GTK time when connecting to button_press signal
+    wxUint32  m_time;
 
 
 protected:
-    void GtkOnSize( int x, int y, int width, int height );
+    void GtkOnSize();
 
     virtual void DoSetSize(int x, int y,
                            int width, int height,
@@ -47,8 +46,10 @@ protected:
     virtual void DoMoveWindow(int x, int y, int width, int height);
 
 private:
+    bool m_sizeSet;
+
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxPopupWindow)
 };
 
-#endif // __GTKPOPUPWINDOWH__
+#endif // _WX_GTK_POPUPWIN_H_