]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/popupwin.h
Don't use "Cancel" button in the about dialog of the listctrl sample.
[wxWidgets.git] / include / wx / osx / popupwin.h
index 58b591d0a8dc2dab0ae2371b75f314533056907f..4a429de67831f498eece5d0e81b1bd3ff60f6f8a 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        wx/mac/popupwin.h
+// Name:        wx/osx/popupwin.h
 // Purpose:     wxPopupWindow class for wxMac
 // Author:      Stefan Csomor
 // Modified by:
@@ -26,10 +26,9 @@ public:
         { (void)Create(parent, flags); }
 
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
-    
-    virtual bool Show(bool show);
 
-protected:
+    virtual bool Show(bool show = true);
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow)
 };