extended RTTI support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1310,7 +1310,26 @@ void wxHtmlWindow::SelectLine(const wxPoint& pos)
|
|||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxHtmlProcessor,wxObject)
|
IMPLEMENT_ABSTRACT_CLASS(wxHtmlProcessor,wxObject)
|
||||||
|
|
||||||
|
#if wxUSE_EXTENDED_RTTI
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS_XTI(wxHtmlWindow, wxScrolledWindow,"wx/html/htmlwin.h")
|
||||||
|
|
||||||
|
WX_BEGIN_PROPERTIES_TABLE(wxHtmlWindow)
|
||||||
|
/*
|
||||||
|
TODO PROPERTIES
|
||||||
|
style , wxHW_SCROLLBAR_AUTO
|
||||||
|
borders , (dimension)
|
||||||
|
url , string
|
||||||
|
htmlcode , string
|
||||||
|
*/
|
||||||
|
WX_END_PROPERTIES_TABLE()
|
||||||
|
|
||||||
|
WX_BEGIN_HANDLERS_TABLE(wxHtmlWindow)
|
||||||
|
WX_END_HANDLERS_TABLE()
|
||||||
|
|
||||||
|
WX_CONSTRUCTOR_5( wxHtmlWindow , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
|
||||||
|
#else
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxHtmlWindow,wxScrolledWindow)
|
IMPLEMENT_DYNAMIC_CLASS(wxHtmlWindow,wxScrolledWindow)
|
||||||
|
#endif
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(wxHtmlWindow, wxScrolledWindow)
|
BEGIN_EVENT_TABLE(wxHtmlWindow, wxScrolledWindow)
|
||||||
EVT_SIZE(wxHtmlWindow::OnSize)
|
EVT_SIZE(wxHtmlWindow::OnSize)
|
||||||
|
@@ -213,7 +213,24 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_ACTIVATED)
|
|||||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_FOCUSED)
|
DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_FOCUSED)
|
||||||
DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_CACHE_HINT)
|
DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_CACHE_HINT)
|
||||||
|
|
||||||
|
#if wxUSE_EXTENDED_RTTI
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl,"wx/listctrl.h")
|
||||||
|
|
||||||
|
WX_BEGIN_PROPERTIES_TABLE(wxListCtrl)
|
||||||
|
WX_END_PROPERTIES_TABLE()
|
||||||
|
|
||||||
|
WX_BEGIN_HANDLERS_TABLE(wxListCtrl)
|
||||||
|
WX_END_HANDLERS_TABLE()
|
||||||
|
|
||||||
|
WX_CONSTRUCTOR_5( wxListCtrl , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
|
||||||
|
|
||||||
|
/*
|
||||||
|
TODO : Expose more information of a list's layout etc. via appropriate objects (<28> la NotebookPageInfo)
|
||||||
|
*/
|
||||||
|
#else
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
|
||||||
|
#endif
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
|
IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
|
IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
|
||||||
|
|
||||||
|
@@ -470,7 +470,19 @@ private:
|
|||||||
// wxWin macros
|
// wxWin macros
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_EXTENDED_RTTI
|
||||||
|
IMPLEMENT_DYNAMIC_CLASS_XTI(wxTreeCtrl, wxControl,"wx/treectrl.h")
|
||||||
|
|
||||||
|
WX_BEGIN_PROPERTIES_TABLE(wxTreeCtrl)
|
||||||
|
WX_END_PROPERTIES_TABLE()
|
||||||
|
|
||||||
|
WX_BEGIN_HANDLERS_TABLE(wxTreeCtrl)
|
||||||
|
WX_END_HANDLERS_TABLE()
|
||||||
|
|
||||||
|
WX_CONSTRUCTOR_5( wxTreeCtrl , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
|
||||||
|
#else
|
||||||
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
|
Reference in New Issue
Block a user