]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/popupwin.h
Set initial window size as its minimal size.
[wxWidgets.git] / include / wx / x11 / popupwin.h
index 60852edfd8773c9f5f5d55f83f393f088eda9d4e..69feea7844e51b545385492ad8bf0a4c87d5c34b 100644 (file)
 #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"
@@ -31,7 +27,7 @@ public:
 
     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 );
@@ -41,7 +37,7 @@ protected:
     virtual void DoSetSize(int x, int y,
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
-                           
+
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxPopupWindow)