Add wx headers and ext
This commit is contained in:
parent
6390dcef6a
commit
66d3c7b811
1531 changed files with 295895 additions and 0 deletions
44
wxheaders/wx/dfb/popupwin.h
Normal file
44
wxheaders/wx/dfb/popupwin.h
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/dfb/popupwin.h
|
||||
// Purpose: wxPopupWindow class for wxDFB
|
||||
// Author: Vaclav Slavik
|
||||
// Created: 2006-12-24
|
||||
// Copyright: (c) 2006 TT-Solutions
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_DFB_POPUPWIN_H_
|
||||
#define _WX_DFB_POPUPWIN_H_
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxPopupWindow
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
|
||||
{
|
||||
public:
|
||||
wxPopupWindow() {}
|
||||
|
||||
wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
|
||||
{ Create(parent, flags); }
|
||||
|
||||
bool Create(wxWindow *parent, int flags = wxBORDER_NONE)
|
||||
{
|
||||
if ( !wxPopupWindowBase::Create(parent) )
|
||||
return false;
|
||||
|
||||
return wxNonOwnedWindow::Create
|
||||
(
|
||||
parent,
|
||||
-1,
|
||||
// DFB windows must have valid pos & size:
|
||||
wxPoint(0, 0), wxSize(1, 1),
|
||||
(flags & wxBORDER_MASK) | wxPOPUP_WINDOW
|
||||
);
|
||||
}
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPopupWindow);
|
||||
};
|
||||
|
||||
#endif // _WX_DFB_POPUPWIN_H_
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue