RTTI simplifications

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-08-18 09:59:18 +00:00
parent 1978421a6d
commit 6a89f9ee42
13 changed files with 99 additions and 36 deletions

View File

@@ -53,15 +53,24 @@
// wxWin macros
// ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
#if wxUSE_EXTENDED_RTTI
IMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxControl,"wx/combobox.h")
/*
TODO PROPERTIES
selection (long<6E>)
content
value
item
*/
WX_BEGIN_PROPERTIES_TABLE(wxComboBox)
// TODO DELEGATES
WX_PROPERTY( Font , wxFont , SetFont , GetWindowFont , )
WX_PROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings )
WX_PROPERTY( Value ,wxString, SetValue, GetValue, )
WX_PROPERTY( Selection ,int, SetSelectionLine, GetSelection, )
WX_END_PROPERTIES_TABLE()
WX_BEGIN_HANDLERS_TABLE(wxComboBox)
WX_END_HANDLERS_TABLE()
WX_CONSTRUCTOR_5( wxComboBox , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size )
#else
IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
#endif
// ----------------------------------------------------------------------------
// function prototypes