]> 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 69a0c1509523121cb4bd804f744d7be0301623c2..69feea7844e51b545385492ad8bf0a4c87d5c34b 100644 (file)
@@ -5,16 +5,12 @@
 // Created:
 // Id:          $Id$
 // Copyright:   (c) 2001 Robert Roebling
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #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"
 // wxPopUpWindow
 //-----------------------------------------------------------------------------
 
-class wxPopupWindow: public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
-    virtual ~wxPopupWindow() { }
+    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 );
@@ -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)