popupwin.h 980 B

123456789101112131415161718192021222324252627282930313233
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/osx/popupwin.h
  3. // Purpose: wxPopupWindow class for wxMac
  4. // Author: Stefan Csomor
  5. // Modified by:
  6. // Created:
  7. // Copyright: (c) 2006 Stefan Csomor
  8. // Licence: wxWindows licence
  9. ///////////////////////////////////////////////////////////////////////////////
  10. #ifndef _WX_MAC_POPUPWIN_H_
  11. #define _WX_MAC_POPUPWIN_H_
  12. // ----------------------------------------------------------------------------
  13. // wxPopupWindow
  14. // ----------------------------------------------------------------------------
  15. class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
  16. {
  17. public:
  18. wxPopupWindow() { }
  19. ~wxPopupWindow();
  20. wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
  21. { (void)Create(parent, flags); }
  22. bool Create(wxWindow *parent, int flags = wxBORDER_NONE);
  23. DECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow)
  24. };
  25. #endif // _WX_MAC_POPUPWIN_H_