Add wx headers and ext
This commit is contained in:
parent
6390dcef6a
commit
66d3c7b811
1531 changed files with 295895 additions and 0 deletions
29
wxheaders/wxext/panel_ext.h
Normal file
29
wxheaders/wxext/panel_ext.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef _WX_PANEL_H_EXT_
|
||||
#define _WX_PANEL_H_EXT_
|
||||
|
||||
#include <wx/wx.h>
|
||||
#include <wx/vidmode.h>
|
||||
|
||||
class wxPanelBaseExt;
|
||||
typedef void (*wxPanelBaseExtInitDialogFunc)(const wxPanelBaseExt* self);
|
||||
|
||||
class wxPanelBaseExt: public wxPanelBase
|
||||
{
|
||||
public:
|
||||
wxPanelBaseExt(): wxPanelBase() { }
|
||||
wxPanelBaseExtInitDialogFunc m_wxPanelBaseExtInitDialog = NULL;
|
||||
virtual void InitDialog() override
|
||||
{
|
||||
wxPanelBase::InitDialog();
|
||||
if (*m_wxPanelBaseExtInitDialog != NULL){
|
||||
return m_wxPanelBaseExtInitDialog(this);
|
||||
}
|
||||
}
|
||||
wxPanelBaseExt(wxPanelBaseExtInitDialogFunc a_InitDialog): wxPanelBase() {
|
||||
m_wxPanelBaseExtInitDialog = a_InitDialog;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue