Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
wxHtmlListBox classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,6 +25,7 @@ class WXDLLIMPEXP_HTML wxHtmlListBoxStyle;
|
|||||||
|
|
||||||
class WXDLLIMPEXP_HTML wxHtmlListBox : public wxVListBox
|
class WXDLLIMPEXP_HTML wxHtmlListBox : public wxVListBox
|
||||||
{
|
{
|
||||||
|
DECLARE_ABSTRACT_CLASS(wxHtmlListBox)
|
||||||
public:
|
public:
|
||||||
// constructors and such
|
// constructors and such
|
||||||
// ---------------------
|
// ---------------------
|
||||||
|
@@ -214,7 +214,7 @@ protected:
|
|||||||
// we implement OnGetLineHeight() in terms of OnMeasureItem() because this
|
// we implement OnGetLineHeight() in terms of OnMeasureItem() because this
|
||||||
// allows us to add borders to the items easily
|
// allows us to add borders to the items easily
|
||||||
//
|
//
|
||||||
// this function is not upposed to be overridden by the derived classes
|
// this function is not supposed to be overridden by the derived classes
|
||||||
virtual wxCoord OnGetLineHeight(size_t line) const;
|
virtual wxCoord OnGetLineHeight(size_t line) const;
|
||||||
|
|
||||||
|
|
||||||
@@ -278,6 +278,7 @@ private:
|
|||||||
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
DECLARE_NO_COPY_CLASS(wxVListBox)
|
DECLARE_NO_COPY_CLASS(wxVListBox)
|
||||||
|
DECLARE_ABSTRACT_CLASS(wxVListBox)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _WX_VLBOX_H_
|
#endif // _WX_VLBOX_H_
|
||||||
|
@@ -196,6 +196,7 @@ private:
|
|||||||
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
DECLARE_NO_COPY_CLASS(wxVScrolledWindow)
|
DECLARE_NO_COPY_CLASS(wxVScrolledWindow)
|
||||||
|
DECLARE_ABSTRACT_CLASS(wxVScrolledWindow)
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _WX_VSCROLL_H_
|
#endif // _WX_VSCROLL_H_
|
||||||
|
@@ -161,6 +161,9 @@ END_EVENT_TABLE()
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
IMPLEMENT_ABSTRACT_CLASS(wxHtmlListBox, wxVListBox)
|
||||||
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxHtmlListBox creation
|
// wxHtmlListBox creation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -48,6 +48,8 @@ END_EVENT_TABLE()
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
IMPLEMENT_ABSTRACT_CLASS(wxVListBox, wxVScrolledWindow)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxVListBox creation
|
// wxVListBox creation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -44,6 +44,8 @@ END_EVENT_TABLE()
|
|||||||
// implementation
|
// implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
|
||||||
|
IMPLEMENT_ABSTRACT_CLASS(wxVScrolledWindow, wxPanel)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// initialization
|
// initialization
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user