]>
Commit | Line | Data |
---|---|---|
833a51f6 MB |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/motif/popupwin.h | |
3 | // Purpose: wxPopupWindow class for wxMotif | |
4 | // Author: Mattia Barbon | |
5 | // Modified by: | |
6 | // Created: 28.08.03 | |
833a51f6 | 7 | // Copyright: (c) 2003 Mattia Barbon |
65571936 | 8 | // Licence: wxWindows licence |
833a51f6 MB |
9 | /////////////////////////////////////////////////////////////////////////////// |
10 | ||
11 | #ifndef _WX_MOTIF_POPUPWIN_H_ | |
12 | #define _WX_MOTIF_POPUPWIN_H_ | |
13 | ||
833a51f6 MB |
14 | // ---------------------------------------------------------------------------- |
15 | // wxPopupWindow | |
16 | // ---------------------------------------------------------------------------- | |
17 | ||
94c7b088 | 18 | class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase |
833a51f6 MB |
19 | { |
20 | public: | |
21 | wxPopupWindow() { Init(); } | |
22 | ||
23 | wxPopupWindow( wxWindow *parent, int flags = wxBORDER_NONE ) | |
24 | { Init(); (void)Create( parent, flags ); } | |
25 | ||
26 | bool Create( wxWindow *parent, int flags = wxBORDER_NONE ); | |
27 | ||
28 | virtual bool Show( bool show = true ); | |
29 | private: | |
30 | void Init() { m_isShown = false; } | |
31 | ||
32 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxPopupWindow) | |
33 | }; | |
34 | ||
35 | #endif // _WX_MOTIF_POPUPWIN_H_ |