]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/popupwin.h
Added wxListCtrl to derive from wxGenericListCtrl,
[wxWidgets.git] / include / wx / gtk1 / popupwin.h
index 63c17d793d944ea35a62de1b0a0ba34e12692323..40ad14d7465c42a2ba9276d29e5b44a7aed2b00e 100644 (file)
@@ -27,20 +27,19 @@ class wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
-#ifdef __DARWIN__
-    virtual ~wxPopupWindow() { }
-#endif
-    
-    wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
+    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 );
-    
+
     // implementation
     // --------------
 
     virtual void DoMoveWindow(int x, int y, int width, int height);
-    
+
     virtual void OnInternalIdle();