wx/ptr_shrd.h
wx/recguard.h
wx/regex.h
+ wx/rtti.h
wx/scopedarray.h
wx/scopedptr.h
wx/scopeguard.h
wx/xlocale.h
wx/xti.h
wx/xtistrm.h
+ wx/xtictor.h
+ wx/xtihandler.h
+ wx/xtiprop.h
+ wx/xtitypes.h
wx/zipstrm.h
wx/zstream.h
wx/meta/convertible.h
src/common/artstd.cpp
src/common/arttango.cpp
src/common/bmpbase.cpp
+ src/common/bmpbtncmn.cpp
src/common/bookctrl.cpp
src/common/btncmn.cpp
src/common/cairo.cpp
+ src/common/calctrlcmn.cpp
+ src/common/checkboxcmn.cpp
+ src/common/checklstcmn.cpp
src/common/choiccmn.cpp
src/common/clipcmn.cpp
src/common/clrpickercmn.cpp
src/common/dcbufcmn.cpp
src/common/dcgraph.cpp
src/common/dcsvg.cpp
+ src/common/dirctrlcmn.cpp
src/common/dlgcmn.cpp
src/common/dndcmn.cpp
src/common/dobjcmn.cpp
src/common/geometry.cpp
src/common/gifdecod.cpp
src/common/graphcmn.cpp
+ src/common/gridcmn.cpp
src/common/headercolcmn.cpp
src/common/headerctrlcmn.cpp
src/common/helpbase.cpp
src/common/menucmn.cpp
src/common/mousemanager.cpp
src/common/nbkbase.cpp
+ src/common/odcombocmn.cpp
src/common/overlaycmn.cpp
src/common/ownerdrwcmn.cpp
src/common/paper.cpp
+ src/common/panelcmn.cpp
src/common/persist.cpp
src/common/pickerbase.cpp
src/common/popupcmn.cpp
src/common/prntbase.cpp
src/common/quantize.cpp
+ src/common/radiobtncmn.cpp
src/common/radiocmn.cpp
src/common/rearrangectrl.cpp
src/common/rendcmn.cpp
src/common/rgncmn.cpp
+ src/common/scrolbarcmn.cpp
src/common/settcmn.cpp
src/common/sizer.cpp
+ src/common/slidercmn.cpp
+ src/common/spinbtncmn.cpp
src/common/spinctrlcmn.cpp
src/common/srchcmn.cpp
src/common/statbar.cpp
+ src/common/statbmpcmn.cpp
+ src/common/statboxcmn.cpp
+ src/common/statlinecmn.cpp
src/common/stattextcmn.cpp
src/common/stockitem.cpp
src/common/tbarbase.cpp
$(OBJS)\monodll_artstd.obj \\r
$(OBJS)\monodll_arttango.obj \\r
$(OBJS)\monodll_bmpbase.obj \\r
+ $(OBJS)\monodll_bmpbtncmn.obj \\r
$(OBJS)\monodll_bookctrl.obj \\r
$(OBJS)\monodll_btncmn.obj \\r
$(OBJS)\monodll_cairo.obj \\r
+ $(OBJS)\monodll_calctrlcmn.obj \\r
+ $(OBJS)\monodll_checkboxcmn.obj \\r
+ $(OBJS)\monodll_checklstcmn.obj \\r
$(OBJS)\monodll_choiccmn.obj \\r
$(OBJS)\monodll_clipcmn.obj \\r
$(OBJS)\monodll_clrpickercmn.obj \\r
$(OBJS)\monodll_dcbufcmn.obj \\r
$(OBJS)\monodll_dcgraph.obj \\r
$(OBJS)\monodll_dcsvg.obj \\r
+ $(OBJS)\monodll_dirctrlcmn.obj \\r
$(OBJS)\monodll_dlgcmn.obj \\r
$(OBJS)\monodll_dndcmn.obj \\r
$(OBJS)\monodll_dobjcmn.obj \\r
$(OBJS)\monodll_geometry.obj \\r
$(OBJS)\monodll_gifdecod.obj \\r
$(OBJS)\monodll_graphcmn.obj \\r
+ $(OBJS)\monodll_gridcmn.obj \\r
$(OBJS)\monodll_headercolcmn.obj \\r
$(OBJS)\monodll_headerctrlcmn.obj \\r
$(OBJS)\monodll_helpbase.obj \\r
$(OBJS)\monodll_menucmn.obj \\r
$(OBJS)\monodll_mousemanager.obj \\r
$(OBJS)\monodll_nbkbase.obj \\r
+ $(OBJS)\monodll_odcombocmn.obj \\r
$(OBJS)\monodll_overlaycmn.obj \\r
$(OBJS)\monodll_ownerdrwcmn.obj \\r
$(OBJS)\monodll_paper.obj \\r
+ $(OBJS)\monodll_panelcmn.obj \\r
$(OBJS)\monodll_persist.obj \\r
$(OBJS)\monodll_pickerbase.obj \\r
$(OBJS)\monodll_popupcmn.obj \\r
$(OBJS)\monodll_prntbase.obj \\r
$(OBJS)\monodll_quantize.obj \\r
+ $(OBJS)\monodll_radiobtncmn.obj \\r
$(OBJS)\monodll_radiocmn.obj \\r
$(OBJS)\monodll_rearrangectrl.obj \\r
$(OBJS)\monodll_rendcmn.obj \\r
$(OBJS)\monodll_rgncmn.obj \\r
+ $(OBJS)\monodll_scrolbarcmn.obj \\r
$(OBJS)\monodll_settcmn.obj \\r
$(OBJS)\monodll_sizer.obj \\r
+ $(OBJS)\monodll_slidercmn.obj \\r
+ $(OBJS)\monodll_spinbtncmn.obj \\r
$(OBJS)\monodll_spinctrlcmn.obj \\r
$(OBJS)\monodll_srchcmn.obj \\r
$(OBJS)\monodll_statbar.obj \\r
+ $(OBJS)\monodll_statbmpcmn.obj \\r
+ $(OBJS)\monodll_statboxcmn.obj \\r
+ $(OBJS)\monodll_statlinecmn.obj \\r
$(OBJS)\monodll_stattextcmn.obj \\r
$(OBJS)\monodll_stockitem.obj \\r
$(OBJS)\monodll_tbarbase.obj \\r
$(OBJS)\monodll_artstd.obj \\r
$(OBJS)\monodll_arttango.obj \\r
$(OBJS)\monodll_bmpbase.obj \\r
+ $(OBJS)\monodll_bmpbtncmn.obj \\r
$(OBJS)\monodll_bookctrl.obj \\r
$(OBJS)\monodll_btncmn.obj \\r
$(OBJS)\monodll_cairo.obj \\r
+ $(OBJS)\monodll_calctrlcmn.obj \\r
+ $(OBJS)\monodll_checkboxcmn.obj \\r
+ $(OBJS)\monodll_checklstcmn.obj \\r
$(OBJS)\monodll_choiccmn.obj \\r
$(OBJS)\monodll_clipcmn.obj \\r
$(OBJS)\monodll_clrpickercmn.obj \\r
$(OBJS)\monodll_dcbufcmn.obj \\r
$(OBJS)\monodll_dcgraph.obj \\r
$(OBJS)\monodll_dcsvg.obj \\r
+ $(OBJS)\monodll_dirctrlcmn.obj \\r
$(OBJS)\monodll_dlgcmn.obj \\r
$(OBJS)\monodll_dndcmn.obj \\r
$(OBJS)\monodll_dobjcmn.obj \\r
$(OBJS)\monodll_geometry.obj \\r
$(OBJS)\monodll_gifdecod.obj \\r
$(OBJS)\monodll_graphcmn.obj \\r
+ $(OBJS)\monodll_gridcmn.obj \\r
$(OBJS)\monodll_headercolcmn.obj \\r
$(OBJS)\monodll_headerctrlcmn.obj \\r
$(OBJS)\monodll_helpbase.obj \\r
$(OBJS)\monodll_menucmn.obj \\r
$(OBJS)\monodll_mousemanager.obj \\r
$(OBJS)\monodll_nbkbase.obj \\r
+ $(OBJS)\monodll_odcombocmn.obj \\r
$(OBJS)\monodll_overlaycmn.obj \\r
$(OBJS)\monodll_ownerdrwcmn.obj \\r
$(OBJS)\monodll_paper.obj \\r
+ $(OBJS)\monodll_panelcmn.obj \\r
$(OBJS)\monodll_persist.obj \\r
$(OBJS)\monodll_pickerbase.obj \\r
$(OBJS)\monodll_popupcmn.obj \\r
$(OBJS)\monodll_prntbase.obj \\r
$(OBJS)\monodll_quantize.obj \\r
+ $(OBJS)\monodll_radiobtncmn.obj \\r
$(OBJS)\monodll_radiocmn.obj \\r
$(OBJS)\monodll_rearrangectrl.obj \\r
$(OBJS)\monodll_rendcmn.obj \\r
$(OBJS)\monodll_rgncmn.obj \\r
+ $(OBJS)\monodll_scrolbarcmn.obj \\r
$(OBJS)\monodll_settcmn.obj \\r
$(OBJS)\monodll_sizer.obj \\r
+ $(OBJS)\monodll_slidercmn.obj \\r
+ $(OBJS)\monodll_spinbtncmn.obj \\r
$(OBJS)\monodll_spinctrlcmn.obj \\r
$(OBJS)\monodll_srchcmn.obj \\r
$(OBJS)\monodll_statbar.obj \\r
+ $(OBJS)\monodll_statbmpcmn.obj \\r
+ $(OBJS)\monodll_statboxcmn.obj \\r
+ $(OBJS)\monodll_statlinecmn.obj \\r
$(OBJS)\monodll_stattextcmn.obj \\r
$(OBJS)\monodll_stockitem.obj \\r
$(OBJS)\monodll_tbarbase.obj \\r
$(OBJS)\monolib_artstd.obj \\r
$(OBJS)\monolib_arttango.obj \\r
$(OBJS)\monolib_bmpbase.obj \\r
+ $(OBJS)\monolib_bmpbtncmn.obj \\r
$(OBJS)\monolib_bookctrl.obj \\r
$(OBJS)\monolib_btncmn.obj \\r
$(OBJS)\monolib_cairo.obj \\r
+ $(OBJS)\monolib_calctrlcmn.obj \\r
+ $(OBJS)\monolib_checkboxcmn.obj \\r
+ $(OBJS)\monolib_checklstcmn.obj \\r
$(OBJS)\monolib_choiccmn.obj \\r
$(OBJS)\monolib_clipcmn.obj \\r
$(OBJS)\monolib_clrpickercmn.obj \\r
$(OBJS)\monolib_dcbufcmn.obj \\r
$(OBJS)\monolib_dcgraph.obj \\r
$(OBJS)\monolib_dcsvg.obj \\r
+ $(OBJS)\monolib_dirctrlcmn.obj \\r
$(OBJS)\monolib_dlgcmn.obj \\r
$(OBJS)\monolib_dndcmn.obj \\r
$(OBJS)\monolib_dobjcmn.obj \\r
$(OBJS)\monolib_geometry.obj \\r
$(OBJS)\monolib_gifdecod.obj \\r
$(OBJS)\monolib_graphcmn.obj \\r
+ $(OBJS)\monolib_gridcmn.obj \\r
$(OBJS)\monolib_headercolcmn.obj \\r
$(OBJS)\monolib_headerctrlcmn.obj \\r
$(OBJS)\monolib_helpbase.obj \\r
$(OBJS)\monolib_menucmn.obj \\r
$(OBJS)\monolib_mousemanager.obj \\r
$(OBJS)\monolib_nbkbase.obj \\r
+ $(OBJS)\monolib_odcombocmn.obj \\r
$(OBJS)\monolib_overlaycmn.obj \\r
$(OBJS)\monolib_ownerdrwcmn.obj \\r
$(OBJS)\monolib_paper.obj \\r
+ $(OBJS)\monolib_panelcmn.obj \\r
$(OBJS)\monolib_persist.obj \\r
$(OBJS)\monolib_pickerbase.obj \\r
$(OBJS)\monolib_popupcmn.obj \\r
$(OBJS)\monolib_prntbase.obj \\r
$(OBJS)\monolib_quantize.obj \\r
+ $(OBJS)\monolib_radiobtncmn.obj \\r
$(OBJS)\monolib_radiocmn.obj \\r
$(OBJS)\monolib_rearrangectrl.obj \\r
$(OBJS)\monolib_rendcmn.obj \\r
$(OBJS)\monolib_rgncmn.obj \\r
+ $(OBJS)\monolib_scrolbarcmn.obj \\r
$(OBJS)\monolib_settcmn.obj \\r
$(OBJS)\monolib_sizer.obj \\r
+ $(OBJS)\monolib_slidercmn.obj \\r
+ $(OBJS)\monolib_spinbtncmn.obj \\r
$(OBJS)\monolib_spinctrlcmn.obj \\r
$(OBJS)\monolib_srchcmn.obj \\r
$(OBJS)\monolib_statbar.obj \\r
+ $(OBJS)\monolib_statbmpcmn.obj \\r
+ $(OBJS)\monolib_statboxcmn.obj \\r
+ $(OBJS)\monolib_statlinecmn.obj \\r
$(OBJS)\monolib_stattextcmn.obj \\r
$(OBJS)\monolib_stockitem.obj \\r
$(OBJS)\monolib_tbarbase.obj \\r
$(OBJS)\monolib_artstd.obj \\r
$(OBJS)\monolib_arttango.obj \\r
$(OBJS)\monolib_bmpbase.obj \\r
+ $(OBJS)\monolib_bmpbtncmn.obj \\r
$(OBJS)\monolib_bookctrl.obj \\r
$(OBJS)\monolib_btncmn.obj \\r
$(OBJS)\monolib_cairo.obj \\r
+ $(OBJS)\monolib_calctrlcmn.obj \\r
+ $(OBJS)\monolib_checkboxcmn.obj \\r
+ $(OBJS)\monolib_checklstcmn.obj \\r
$(OBJS)\monolib_choiccmn.obj \\r
$(OBJS)\monolib_clipcmn.obj \\r
$(OBJS)\monolib_clrpickercmn.obj \\r
$(OBJS)\monolib_dcbufcmn.obj \\r
$(OBJS)\monolib_dcgraph.obj \\r
$(OBJS)\monolib_dcsvg.obj \\r
+ $(OBJS)\monolib_dirctrlcmn.obj \\r
$(OBJS)\monolib_dlgcmn.obj \\r
$(OBJS)\monolib_dndcmn.obj \\r
$(OBJS)\monolib_dobjcmn.obj \\r
$(OBJS)\monolib_geometry.obj \\r
$(OBJS)\monolib_gifdecod.obj \\r
$(OBJS)\monolib_graphcmn.obj \\r
+ $(OBJS)\monolib_gridcmn.obj \\r
$(OBJS)\monolib_headercolcmn.obj \\r
$(OBJS)\monolib_headerctrlcmn.obj \\r
$(OBJS)\monolib_helpbase.obj \\r
$(OBJS)\monolib_menucmn.obj \\r
$(OBJS)\monolib_mousemanager.obj \\r
$(OBJS)\monolib_nbkbase.obj \\r
+ $(OBJS)\monolib_odcombocmn.obj \\r
$(OBJS)\monolib_overlaycmn.obj \\r
$(OBJS)\monolib_ownerdrwcmn.obj \\r
$(OBJS)\monolib_paper.obj \\r
+ $(OBJS)\monolib_panelcmn.obj \\r
$(OBJS)\monolib_persist.obj \\r
$(OBJS)\monolib_pickerbase.obj \\r
$(OBJS)\monolib_popupcmn.obj \\r
$(OBJS)\monolib_prntbase.obj \\r
$(OBJS)\monolib_quantize.obj \\r
+ $(OBJS)\monolib_radiobtncmn.obj \\r
$(OBJS)\monolib_radiocmn.obj \\r
$(OBJS)\monolib_rearrangectrl.obj \\r
$(OBJS)\monolib_rendcmn.obj \\r
$(OBJS)\monolib_rgncmn.obj \\r
+ $(OBJS)\monolib_scrolbarcmn.obj \\r
$(OBJS)\monolib_settcmn.obj \\r
$(OBJS)\monolib_sizer.obj \\r
+ $(OBJS)\monolib_slidercmn.obj \\r
+ $(OBJS)\monolib_spinbtncmn.obj \\r
$(OBJS)\monolib_spinctrlcmn.obj \\r
$(OBJS)\monolib_srchcmn.obj \\r
$(OBJS)\monolib_statbar.obj \\r
+ $(OBJS)\monolib_statbmpcmn.obj \\r
+ $(OBJS)\monolib_statboxcmn.obj \\r
+ $(OBJS)\monolib_statlinecmn.obj \\r
$(OBJS)\monolib_stattextcmn.obj \\r
$(OBJS)\monolib_stockitem.obj \\r
$(OBJS)\monolib_tbarbase.obj \\r
$(OBJS)\coredll_artstd.obj \\r
$(OBJS)\coredll_arttango.obj \\r
$(OBJS)\coredll_bmpbase.obj \\r
+ $(OBJS)\coredll_bmpbtncmn.obj \\r
$(OBJS)\coredll_bookctrl.obj \\r
$(OBJS)\coredll_btncmn.obj \\r
$(OBJS)\coredll_cairo.obj \\r
+ $(OBJS)\coredll_calctrlcmn.obj \\r
+ $(OBJS)\coredll_checkboxcmn.obj \\r
+ $(OBJS)\coredll_checklstcmn.obj \\r
$(OBJS)\coredll_choiccmn.obj \\r
$(OBJS)\coredll_clipcmn.obj \\r
$(OBJS)\coredll_clrpickercmn.obj \\r
$(OBJS)\coredll_dcbufcmn.obj \\r
$(OBJS)\coredll_dcgraph.obj \\r
$(OBJS)\coredll_dcsvg.obj \\r
+ $(OBJS)\coredll_dirctrlcmn.obj \\r
$(OBJS)\coredll_dlgcmn.obj \\r
$(OBJS)\coredll_dndcmn.obj \\r
$(OBJS)\coredll_dobjcmn.obj \\r
$(OBJS)\coredll_geometry.obj \\r
$(OBJS)\coredll_gifdecod.obj \\r
$(OBJS)\coredll_graphcmn.obj \\r
+ $(OBJS)\coredll_gridcmn.obj \\r
$(OBJS)\coredll_headercolcmn.obj \\r
$(OBJS)\coredll_headerctrlcmn.obj \\r
$(OBJS)\coredll_helpbase.obj \\r
$(OBJS)\coredll_menucmn.obj \\r
$(OBJS)\coredll_mousemanager.obj \\r
$(OBJS)\coredll_nbkbase.obj \\r
+ $(OBJS)\coredll_odcombocmn.obj \\r
$(OBJS)\coredll_overlaycmn.obj \\r
$(OBJS)\coredll_ownerdrwcmn.obj \\r
$(OBJS)\coredll_paper.obj \\r
+ $(OBJS)\coredll_panelcmn.obj \\r
$(OBJS)\coredll_persist.obj \\r
$(OBJS)\coredll_pickerbase.obj \\r
$(OBJS)\coredll_popupcmn.obj \\r
$(OBJS)\coredll_prntbase.obj \\r
$(OBJS)\coredll_quantize.obj \\r
+ $(OBJS)\coredll_radiobtncmn.obj \\r
$(OBJS)\coredll_radiocmn.obj \\r
$(OBJS)\coredll_rearrangectrl.obj \\r
$(OBJS)\coredll_rendcmn.obj \\r
$(OBJS)\coredll_rgncmn.obj \\r
+ $(OBJS)\coredll_scrolbarcmn.obj \\r
$(OBJS)\coredll_settcmn.obj \\r
$(OBJS)\coredll_sizer.obj \\r
+ $(OBJS)\coredll_slidercmn.obj \\r
+ $(OBJS)\coredll_spinbtncmn.obj \\r
$(OBJS)\coredll_spinctrlcmn.obj \\r
$(OBJS)\coredll_srchcmn.obj \\r
$(OBJS)\coredll_statbar.obj \\r
+ $(OBJS)\coredll_statbmpcmn.obj \\r
+ $(OBJS)\coredll_statboxcmn.obj \\r
+ $(OBJS)\coredll_statlinecmn.obj \\r
$(OBJS)\coredll_stattextcmn.obj \\r
$(OBJS)\coredll_stockitem.obj \\r
$(OBJS)\coredll_tbarbase.obj \\r
$(OBJS)\coredll_artstd.obj \\r
$(OBJS)\coredll_arttango.obj \\r
$(OBJS)\coredll_bmpbase.obj \\r
+ $(OBJS)\coredll_bmpbtncmn.obj \\r
$(OBJS)\coredll_bookctrl.obj \\r
$(OBJS)\coredll_btncmn.obj \\r
$(OBJS)\coredll_cairo.obj \\r
+ $(OBJS)\coredll_calctrlcmn.obj \\r
+ $(OBJS)\coredll_checkboxcmn.obj \\r
+ $(OBJS)\coredll_checklstcmn.obj \\r
$(OBJS)\coredll_choiccmn.obj \\r
$(OBJS)\coredll_clipcmn.obj \\r
$(OBJS)\coredll_clrpickercmn.obj \\r
$(OBJS)\coredll_dcbufcmn.obj \\r
$(OBJS)\coredll_dcgraph.obj \\r
$(OBJS)\coredll_dcsvg.obj \\r
+ $(OBJS)\coredll_dirctrlcmn.obj \\r
$(OBJS)\coredll_dlgcmn.obj \\r
$(OBJS)\coredll_dndcmn.obj \\r
$(OBJS)\coredll_dobjcmn.obj \\r
$(OBJS)\coredll_geometry.obj \\r
$(OBJS)\coredll_gifdecod.obj \\r
$(OBJS)\coredll_graphcmn.obj \\r
+ $(OBJS)\coredll_gridcmn.obj \\r
$(OBJS)\coredll_headercolcmn.obj \\r
$(OBJS)\coredll_headerctrlcmn.obj \\r
$(OBJS)\coredll_helpbase.obj \\r
$(OBJS)\coredll_menucmn.obj \\r
$(OBJS)\coredll_mousemanager.obj \\r
$(OBJS)\coredll_nbkbase.obj \\r
+ $(OBJS)\coredll_odcombocmn.obj \\r
$(OBJS)\coredll_overlaycmn.obj \\r
$(OBJS)\coredll_ownerdrwcmn.obj \\r
$(OBJS)\coredll_paper.obj \\r
+ $(OBJS)\coredll_panelcmn.obj \\r
$(OBJS)\coredll_persist.obj \\r
$(OBJS)\coredll_pickerbase.obj \\r
$(OBJS)\coredll_popupcmn.obj \\r
$(OBJS)\coredll_prntbase.obj \\r
$(OBJS)\coredll_quantize.obj \\r
+ $(OBJS)\coredll_radiobtncmn.obj \\r
$(OBJS)\coredll_radiocmn.obj \\r
$(OBJS)\coredll_rearrangectrl.obj \\r
$(OBJS)\coredll_rendcmn.obj \\r
$(OBJS)\coredll_rgncmn.obj \\r
+ $(OBJS)\coredll_scrolbarcmn.obj \\r
$(OBJS)\coredll_settcmn.obj \\r
$(OBJS)\coredll_sizer.obj \\r
+ $(OBJS)\coredll_slidercmn.obj \\r
+ $(OBJS)\coredll_spinbtncmn.obj \\r
$(OBJS)\coredll_spinctrlcmn.obj \\r
$(OBJS)\coredll_srchcmn.obj \\r
$(OBJS)\coredll_statbar.obj \\r
+ $(OBJS)\coredll_statbmpcmn.obj \\r
+ $(OBJS)\coredll_statboxcmn.obj \\r
+ $(OBJS)\coredll_statlinecmn.obj \\r
$(OBJS)\coredll_stattextcmn.obj \\r
$(OBJS)\coredll_stockitem.obj \\r
$(OBJS)\coredll_tbarbase.obj \\r
$(OBJS)\corelib_artstd.obj \\r
$(OBJS)\corelib_arttango.obj \\r
$(OBJS)\corelib_bmpbase.obj \\r
+ $(OBJS)\corelib_bmpbtncmn.obj \\r
$(OBJS)\corelib_bookctrl.obj \\r
$(OBJS)\corelib_btncmn.obj \\r
$(OBJS)\corelib_cairo.obj \\r
+ $(OBJS)\corelib_calctrlcmn.obj \\r
+ $(OBJS)\corelib_checkboxcmn.obj \\r
+ $(OBJS)\corelib_checklstcmn.obj \\r
$(OBJS)\corelib_choiccmn.obj \\r
$(OBJS)\corelib_clipcmn.obj \\r
$(OBJS)\corelib_clrpickercmn.obj \\r
$(OBJS)\corelib_dcbufcmn.obj \\r
$(OBJS)\corelib_dcgraph.obj \\r
$(OBJS)\corelib_dcsvg.obj \\r
+ $(OBJS)\corelib_dirctrlcmn.obj \\r
$(OBJS)\corelib_dlgcmn.obj \\r
$(OBJS)\corelib_dndcmn.obj \\r
$(OBJS)\corelib_dobjcmn.obj \\r
$(OBJS)\corelib_geometry.obj \\r
$(OBJS)\corelib_gifdecod.obj \\r
$(OBJS)\corelib_graphcmn.obj \\r
+ $(OBJS)\corelib_gridcmn.obj \\r
$(OBJS)\corelib_headercolcmn.obj \\r
$(OBJS)\corelib_headerctrlcmn.obj \\r
$(OBJS)\corelib_helpbase.obj \\r
$(OBJS)\corelib_menucmn.obj \\r
$(OBJS)\corelib_mousemanager.obj \\r
$(OBJS)\corelib_nbkbase.obj \\r
+ $(OBJS)\corelib_odcombocmn.obj \\r
$(OBJS)\corelib_overlaycmn.obj \\r
$(OBJS)\corelib_ownerdrwcmn.obj \\r
$(OBJS)\corelib_paper.obj \\r
+ $(OBJS)\corelib_panelcmn.obj \\r
$(OBJS)\corelib_persist.obj \\r
$(OBJS)\corelib_pickerbase.obj \\r
$(OBJS)\corelib_popupcmn.obj \\r
$(OBJS)\corelib_prntbase.obj \\r
$(OBJS)\corelib_quantize.obj \\r
+ $(OBJS)\corelib_radiobtncmn.obj \\r
$(OBJS)\corelib_radiocmn.obj \\r
$(OBJS)\corelib_rearrangectrl.obj \\r
$(OBJS)\corelib_rendcmn.obj \\r
$(OBJS)\corelib_rgncmn.obj \\r
+ $(OBJS)\corelib_scrolbarcmn.obj \\r
$(OBJS)\corelib_settcmn.obj \\r
$(OBJS)\corelib_sizer.obj \\r
+ $(OBJS)\corelib_slidercmn.obj \\r
+ $(OBJS)\corelib_spinbtncmn.obj \\r
$(OBJS)\corelib_spinctrlcmn.obj \\r
$(OBJS)\corelib_srchcmn.obj \\r
$(OBJS)\corelib_statbar.obj \\r
+ $(OBJS)\corelib_statbmpcmn.obj \\r
+ $(OBJS)\corelib_statboxcmn.obj \\r
+ $(OBJS)\corelib_statlinecmn.obj \\r
$(OBJS)\corelib_stattextcmn.obj \\r
$(OBJS)\corelib_stockitem.obj \\r
$(OBJS)\corelib_tbarbase.obj \\r
$(OBJS)\corelib_artstd.obj \\r
$(OBJS)\corelib_arttango.obj \\r
$(OBJS)\corelib_bmpbase.obj \\r
+ $(OBJS)\corelib_bmpbtncmn.obj \\r
$(OBJS)\corelib_bookctrl.obj \\r
$(OBJS)\corelib_btncmn.obj \\r
$(OBJS)\corelib_cairo.obj \\r
+ $(OBJS)\corelib_calctrlcmn.obj \\r
+ $(OBJS)\corelib_checkboxcmn.obj \\r
+ $(OBJS)\corelib_checklstcmn.obj \\r
$(OBJS)\corelib_choiccmn.obj \\r
$(OBJS)\corelib_clipcmn.obj \\r
$(OBJS)\corelib_clrpickercmn.obj \\r
$(OBJS)\corelib_dcbufcmn.obj \\r
$(OBJS)\corelib_dcgraph.obj \\r
$(OBJS)\corelib_dcsvg.obj \\r
+ $(OBJS)\corelib_dirctrlcmn.obj \\r
$(OBJS)\corelib_dlgcmn.obj \\r
$(OBJS)\corelib_dndcmn.obj \\r
$(OBJS)\corelib_dobjcmn.obj \\r
$(OBJS)\corelib_geometry.obj \\r
$(OBJS)\corelib_gifdecod.obj \\r
$(OBJS)\corelib_graphcmn.obj \\r
+ $(OBJS)\corelib_gridcmn.obj \\r
$(OBJS)\corelib_headercolcmn.obj \\r
$(OBJS)\corelib_headerctrlcmn.obj \\r
$(OBJS)\corelib_helpbase.obj \\r
$(OBJS)\corelib_menucmn.obj \\r
$(OBJS)\corelib_mousemanager.obj \\r
$(OBJS)\corelib_nbkbase.obj \\r
+ $(OBJS)\corelib_odcombocmn.obj \\r
$(OBJS)\corelib_overlaycmn.obj \\r
$(OBJS)\corelib_ownerdrwcmn.obj \\r
$(OBJS)\corelib_paper.obj \\r
+ $(OBJS)\corelib_panelcmn.obj \\r
$(OBJS)\corelib_persist.obj \\r
$(OBJS)\corelib_pickerbase.obj \\r
$(OBJS)\corelib_popupcmn.obj \\r
$(OBJS)\corelib_prntbase.obj \\r
$(OBJS)\corelib_quantize.obj \\r
+ $(OBJS)\corelib_radiobtncmn.obj \\r
$(OBJS)\corelib_radiocmn.obj \\r
$(OBJS)\corelib_rearrangectrl.obj \\r
$(OBJS)\corelib_rendcmn.obj \\r
$(OBJS)\corelib_rgncmn.obj \\r
+ $(OBJS)\corelib_scrolbarcmn.obj \\r
$(OBJS)\corelib_settcmn.obj \\r
$(OBJS)\corelib_sizer.obj \\r
+ $(OBJS)\corelib_slidercmn.obj \\r
+ $(OBJS)\corelib_spinbtncmn.obj \\r
$(OBJS)\corelib_spinctrlcmn.obj \\r
$(OBJS)\corelib_srchcmn.obj \\r
$(OBJS)\corelib_statbar.obj \\r
+ $(OBJS)\corelib_statbmpcmn.obj \\r
+ $(OBJS)\corelib_statboxcmn.obj \\r
+ $(OBJS)\corelib_statlinecmn.obj \\r
$(OBJS)\corelib_stattextcmn.obj \\r
$(OBJS)\corelib_stockitem.obj \\r
$(OBJS)\corelib_tbarbase.obj \\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpcboxcmn.cpp\r
!endif\r
\r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
-!endif\r
-\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_datavcmn.obj: ..\..\src\common\datavcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONODLL_CXXFLAGS) ..\..\src\common\datavcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpcboxcmn.cpp\r
!endif\r
\r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
-!endif\r
-\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_datavcmn.obj: ..\..\src\common\datavcmn.cpp\r
$(CXX) -q -c -P -o$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\datavcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(COREDLL_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) -q -c -P -o$@ $(CORELIB_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(OBJS)\monodll_artstd.o \\r
$(OBJS)\monodll_arttango.o \\r
$(OBJS)\monodll_bmpbase.o \\r
+ $(OBJS)\monodll_bmpbtncmn.o \\r
$(OBJS)\monodll_bookctrl.o \\r
$(OBJS)\monodll_btncmn.o \\r
$(OBJS)\monodll_cairo.o \\r
+ $(OBJS)\monodll_calctrlcmn.o \\r
+ $(OBJS)\monodll_checkboxcmn.o \\r
+ $(OBJS)\monodll_checklstcmn.o \\r
$(OBJS)\monodll_choiccmn.o \\r
$(OBJS)\monodll_clipcmn.o \\r
$(OBJS)\monodll_clrpickercmn.o \\r
$(OBJS)\monodll_dcbufcmn.o \\r
$(OBJS)\monodll_dcgraph.o \\r
$(OBJS)\monodll_dcsvg.o \\r
+ $(OBJS)\monodll_dirctrlcmn.o \\r
$(OBJS)\monodll_dlgcmn.o \\r
$(OBJS)\monodll_dndcmn.o \\r
$(OBJS)\monodll_dobjcmn.o \\r
$(OBJS)\monodll_geometry.o \\r
$(OBJS)\monodll_gifdecod.o \\r
$(OBJS)\monodll_graphcmn.o \\r
+ $(OBJS)\monodll_gridcmn.o \\r
$(OBJS)\monodll_headercolcmn.o \\r
$(OBJS)\monodll_headerctrlcmn.o \\r
$(OBJS)\monodll_helpbase.o \\r
$(OBJS)\monodll_menucmn.o \\r
$(OBJS)\monodll_mousemanager.o \\r
$(OBJS)\monodll_nbkbase.o \\r
+ $(OBJS)\monodll_odcombocmn.o \\r
$(OBJS)\monodll_overlaycmn.o \\r
$(OBJS)\monodll_ownerdrwcmn.o \\r
$(OBJS)\monodll_paper.o \\r
+ $(OBJS)\monodll_panelcmn.o \\r
$(OBJS)\monodll_persist.o \\r
$(OBJS)\monodll_pickerbase.o \\r
$(OBJS)\monodll_popupcmn.o \\r
$(OBJS)\monodll_prntbase.o \\r
$(OBJS)\monodll_quantize.o \\r
+ $(OBJS)\monodll_radiobtncmn.o \\r
$(OBJS)\monodll_radiocmn.o \\r
$(OBJS)\monodll_rearrangectrl.o \\r
$(OBJS)\monodll_rendcmn.o \\r
$(OBJS)\monodll_rgncmn.o \\r
+ $(OBJS)\monodll_scrolbarcmn.o \\r
$(OBJS)\monodll_settcmn.o \\r
$(OBJS)\monodll_sizer.o \\r
+ $(OBJS)\monodll_slidercmn.o \\r
+ $(OBJS)\monodll_spinbtncmn.o \\r
$(OBJS)\monodll_spinctrlcmn.o \\r
$(OBJS)\monodll_srchcmn.o \\r
$(OBJS)\monodll_statbar.o \\r
+ $(OBJS)\monodll_statbmpcmn.o \\r
+ $(OBJS)\monodll_statboxcmn.o \\r
+ $(OBJS)\monodll_statlinecmn.o \\r
$(OBJS)\monodll_stattextcmn.o \\r
$(OBJS)\monodll_stockitem.o \\r
$(OBJS)\monodll_tbarbase.o \\r
$(OBJS)\monodll_artstd.o \\r
$(OBJS)\monodll_arttango.o \\r
$(OBJS)\monodll_bmpbase.o \\r
+ $(OBJS)\monodll_bmpbtncmn.o \\r
$(OBJS)\monodll_bookctrl.o \\r
$(OBJS)\monodll_btncmn.o \\r
$(OBJS)\monodll_cairo.o \\r
+ $(OBJS)\monodll_calctrlcmn.o \\r
+ $(OBJS)\monodll_checkboxcmn.o \\r
+ $(OBJS)\monodll_checklstcmn.o \\r
$(OBJS)\monodll_choiccmn.o \\r
$(OBJS)\monodll_clipcmn.o \\r
$(OBJS)\monodll_clrpickercmn.o \\r
$(OBJS)\monodll_dcbufcmn.o \\r
$(OBJS)\monodll_dcgraph.o \\r
$(OBJS)\monodll_dcsvg.o \\r
+ $(OBJS)\monodll_dirctrlcmn.o \\r
$(OBJS)\monodll_dlgcmn.o \\r
$(OBJS)\monodll_dndcmn.o \\r
$(OBJS)\monodll_dobjcmn.o \\r
$(OBJS)\monodll_geometry.o \\r
$(OBJS)\monodll_gifdecod.o \\r
$(OBJS)\monodll_graphcmn.o \\r
+ $(OBJS)\monodll_gridcmn.o \\r
$(OBJS)\monodll_headercolcmn.o \\r
$(OBJS)\monodll_headerctrlcmn.o \\r
$(OBJS)\monodll_helpbase.o \\r
$(OBJS)\monodll_menucmn.o \\r
$(OBJS)\monodll_mousemanager.o \\r
$(OBJS)\monodll_nbkbase.o \\r
+ $(OBJS)\monodll_odcombocmn.o \\r
$(OBJS)\monodll_overlaycmn.o \\r
$(OBJS)\monodll_ownerdrwcmn.o \\r
$(OBJS)\monodll_paper.o \\r
+ $(OBJS)\monodll_panelcmn.o \\r
$(OBJS)\monodll_persist.o \\r
$(OBJS)\monodll_pickerbase.o \\r
$(OBJS)\monodll_popupcmn.o \\r
$(OBJS)\monodll_prntbase.o \\r
$(OBJS)\monodll_quantize.o \\r
+ $(OBJS)\monodll_radiobtncmn.o \\r
$(OBJS)\monodll_radiocmn.o \\r
$(OBJS)\monodll_rearrangectrl.o \\r
$(OBJS)\monodll_rendcmn.o \\r
$(OBJS)\monodll_rgncmn.o \\r
+ $(OBJS)\monodll_scrolbarcmn.o \\r
$(OBJS)\monodll_settcmn.o \\r
$(OBJS)\monodll_sizer.o \\r
+ $(OBJS)\monodll_slidercmn.o \\r
+ $(OBJS)\monodll_spinbtncmn.o \\r
$(OBJS)\monodll_spinctrlcmn.o \\r
$(OBJS)\monodll_srchcmn.o \\r
$(OBJS)\monodll_statbar.o \\r
+ $(OBJS)\monodll_statbmpcmn.o \\r
+ $(OBJS)\monodll_statboxcmn.o \\r
+ $(OBJS)\monodll_statlinecmn.o \\r
$(OBJS)\monodll_stattextcmn.o \\r
$(OBJS)\monodll_stockitem.o \\r
$(OBJS)\monodll_tbarbase.o \\r
$(OBJS)\monolib_artstd.o \\r
$(OBJS)\monolib_arttango.o \\r
$(OBJS)\monolib_bmpbase.o \\r
+ $(OBJS)\monolib_bmpbtncmn.o \\r
$(OBJS)\monolib_bookctrl.o \\r
$(OBJS)\monolib_btncmn.o \\r
$(OBJS)\monolib_cairo.o \\r
+ $(OBJS)\monolib_calctrlcmn.o \\r
+ $(OBJS)\monolib_checkboxcmn.o \\r
+ $(OBJS)\monolib_checklstcmn.o \\r
$(OBJS)\monolib_choiccmn.o \\r
$(OBJS)\monolib_clipcmn.o \\r
$(OBJS)\monolib_clrpickercmn.o \\r
$(OBJS)\monolib_dcbufcmn.o \\r
$(OBJS)\monolib_dcgraph.o \\r
$(OBJS)\monolib_dcsvg.o \\r
+ $(OBJS)\monolib_dirctrlcmn.o \\r
$(OBJS)\monolib_dlgcmn.o \\r
$(OBJS)\monolib_dndcmn.o \\r
$(OBJS)\monolib_dobjcmn.o \\r
$(OBJS)\monolib_geometry.o \\r
$(OBJS)\monolib_gifdecod.o \\r
$(OBJS)\monolib_graphcmn.o \\r
+ $(OBJS)\monolib_gridcmn.o \\r
$(OBJS)\monolib_headercolcmn.o \\r
$(OBJS)\monolib_headerctrlcmn.o \\r
$(OBJS)\monolib_helpbase.o \\r
$(OBJS)\monolib_menucmn.o \\r
$(OBJS)\monolib_mousemanager.o \\r
$(OBJS)\monolib_nbkbase.o \\r
+ $(OBJS)\monolib_odcombocmn.o \\r
$(OBJS)\monolib_overlaycmn.o \\r
$(OBJS)\monolib_ownerdrwcmn.o \\r
$(OBJS)\monolib_paper.o \\r
+ $(OBJS)\monolib_panelcmn.o \\r
$(OBJS)\monolib_persist.o \\r
$(OBJS)\monolib_pickerbase.o \\r
$(OBJS)\monolib_popupcmn.o \\r
$(OBJS)\monolib_prntbase.o \\r
$(OBJS)\monolib_quantize.o \\r
+ $(OBJS)\monolib_radiobtncmn.o \\r
$(OBJS)\monolib_radiocmn.o \\r
$(OBJS)\monolib_rearrangectrl.o \\r
$(OBJS)\monolib_rendcmn.o \\r
$(OBJS)\monolib_rgncmn.o \\r
+ $(OBJS)\monolib_scrolbarcmn.o \\r
$(OBJS)\monolib_settcmn.o \\r
$(OBJS)\monolib_sizer.o \\r
+ $(OBJS)\monolib_slidercmn.o \\r
+ $(OBJS)\monolib_spinbtncmn.o \\r
$(OBJS)\monolib_spinctrlcmn.o \\r
$(OBJS)\monolib_srchcmn.o \\r
$(OBJS)\monolib_statbar.o \\r
+ $(OBJS)\monolib_statbmpcmn.o \\r
+ $(OBJS)\monolib_statboxcmn.o \\r
+ $(OBJS)\monolib_statlinecmn.o \\r
$(OBJS)\monolib_stattextcmn.o \\r
$(OBJS)\monolib_stockitem.o \\r
$(OBJS)\monolib_tbarbase.o \\r
$(OBJS)\monolib_artstd.o \\r
$(OBJS)\monolib_arttango.o \\r
$(OBJS)\monolib_bmpbase.o \\r
+ $(OBJS)\monolib_bmpbtncmn.o \\r
$(OBJS)\monolib_bookctrl.o \\r
$(OBJS)\monolib_btncmn.o \\r
$(OBJS)\monolib_cairo.o \\r
+ $(OBJS)\monolib_calctrlcmn.o \\r
+ $(OBJS)\monolib_checkboxcmn.o \\r
+ $(OBJS)\monolib_checklstcmn.o \\r
$(OBJS)\monolib_choiccmn.o \\r
$(OBJS)\monolib_clipcmn.o \\r
$(OBJS)\monolib_clrpickercmn.o \\r
$(OBJS)\monolib_dcbufcmn.o \\r
$(OBJS)\monolib_dcgraph.o \\r
$(OBJS)\monolib_dcsvg.o \\r
+ $(OBJS)\monolib_dirctrlcmn.o \\r
$(OBJS)\monolib_dlgcmn.o \\r
$(OBJS)\monolib_dndcmn.o \\r
$(OBJS)\monolib_dobjcmn.o \\r
$(OBJS)\monolib_geometry.o \\r
$(OBJS)\monolib_gifdecod.o \\r
$(OBJS)\monolib_graphcmn.o \\r
+ $(OBJS)\monolib_gridcmn.o \\r
$(OBJS)\monolib_headercolcmn.o \\r
$(OBJS)\monolib_headerctrlcmn.o \\r
$(OBJS)\monolib_helpbase.o \\r
$(OBJS)\monolib_menucmn.o \\r
$(OBJS)\monolib_mousemanager.o \\r
$(OBJS)\monolib_nbkbase.o \\r
+ $(OBJS)\monolib_odcombocmn.o \\r
$(OBJS)\monolib_overlaycmn.o \\r
$(OBJS)\monolib_ownerdrwcmn.o \\r
$(OBJS)\monolib_paper.o \\r
+ $(OBJS)\monolib_panelcmn.o \\r
$(OBJS)\monolib_persist.o \\r
$(OBJS)\monolib_pickerbase.o \\r
$(OBJS)\monolib_popupcmn.o \\r
$(OBJS)\monolib_prntbase.o \\r
$(OBJS)\monolib_quantize.o \\r
+ $(OBJS)\monolib_radiobtncmn.o \\r
$(OBJS)\monolib_radiocmn.o \\r
$(OBJS)\monolib_rearrangectrl.o \\r
$(OBJS)\monolib_rendcmn.o \\r
$(OBJS)\monolib_rgncmn.o \\r
+ $(OBJS)\monolib_scrolbarcmn.o \\r
$(OBJS)\monolib_settcmn.o \\r
$(OBJS)\monolib_sizer.o \\r
+ $(OBJS)\monolib_slidercmn.o \\r
+ $(OBJS)\monolib_spinbtncmn.o \\r
$(OBJS)\monolib_spinctrlcmn.o \\r
$(OBJS)\monolib_srchcmn.o \\r
$(OBJS)\monolib_statbar.o \\r
+ $(OBJS)\monolib_statbmpcmn.o \\r
+ $(OBJS)\monolib_statboxcmn.o \\r
+ $(OBJS)\monolib_statlinecmn.o \\r
$(OBJS)\monolib_stattextcmn.o \\r
$(OBJS)\monolib_stockitem.o \\r
$(OBJS)\monolib_tbarbase.o \\r
$(OBJS)\coredll_artstd.o \\r
$(OBJS)\coredll_arttango.o \\r
$(OBJS)\coredll_bmpbase.o \\r
+ $(OBJS)\coredll_bmpbtncmn.o \\r
$(OBJS)\coredll_bookctrl.o \\r
$(OBJS)\coredll_btncmn.o \\r
$(OBJS)\coredll_cairo.o \\r
+ $(OBJS)\coredll_calctrlcmn.o \\r
+ $(OBJS)\coredll_checkboxcmn.o \\r
+ $(OBJS)\coredll_checklstcmn.o \\r
$(OBJS)\coredll_choiccmn.o \\r
$(OBJS)\coredll_clipcmn.o \\r
$(OBJS)\coredll_clrpickercmn.o \\r
$(OBJS)\coredll_dcbufcmn.o \\r
$(OBJS)\coredll_dcgraph.o \\r
$(OBJS)\coredll_dcsvg.o \\r
+ $(OBJS)\coredll_dirctrlcmn.o \\r
$(OBJS)\coredll_dlgcmn.o \\r
$(OBJS)\coredll_dndcmn.o \\r
$(OBJS)\coredll_dobjcmn.o \\r
$(OBJS)\coredll_geometry.o \\r
$(OBJS)\coredll_gifdecod.o \\r
$(OBJS)\coredll_graphcmn.o \\r
+ $(OBJS)\coredll_gridcmn.o \\r
$(OBJS)\coredll_headercolcmn.o \\r
$(OBJS)\coredll_headerctrlcmn.o \\r
$(OBJS)\coredll_helpbase.o \\r
$(OBJS)\coredll_menucmn.o \\r
$(OBJS)\coredll_mousemanager.o \\r
$(OBJS)\coredll_nbkbase.o \\r
+ $(OBJS)\coredll_odcombocmn.o \\r
$(OBJS)\coredll_overlaycmn.o \\r
$(OBJS)\coredll_ownerdrwcmn.o \\r
$(OBJS)\coredll_paper.o \\r
+ $(OBJS)\coredll_panelcmn.o \\r
$(OBJS)\coredll_persist.o \\r
$(OBJS)\coredll_pickerbase.o \\r
$(OBJS)\coredll_popupcmn.o \\r
$(OBJS)\coredll_prntbase.o \\r
$(OBJS)\coredll_quantize.o \\r
+ $(OBJS)\coredll_radiobtncmn.o \\r
$(OBJS)\coredll_radiocmn.o \\r
$(OBJS)\coredll_rearrangectrl.o \\r
$(OBJS)\coredll_rendcmn.o \\r
$(OBJS)\coredll_rgncmn.o \\r
+ $(OBJS)\coredll_scrolbarcmn.o \\r
$(OBJS)\coredll_settcmn.o \\r
$(OBJS)\coredll_sizer.o \\r
+ $(OBJS)\coredll_slidercmn.o \\r
+ $(OBJS)\coredll_spinbtncmn.o \\r
$(OBJS)\coredll_spinctrlcmn.o \\r
$(OBJS)\coredll_srchcmn.o \\r
$(OBJS)\coredll_statbar.o \\r
+ $(OBJS)\coredll_statbmpcmn.o \\r
+ $(OBJS)\coredll_statboxcmn.o \\r
+ $(OBJS)\coredll_statlinecmn.o \\r
$(OBJS)\coredll_stattextcmn.o \\r
$(OBJS)\coredll_stockitem.o \\r
$(OBJS)\coredll_tbarbase.o \\r
$(OBJS)\coredll_artstd.o \\r
$(OBJS)\coredll_arttango.o \\r
$(OBJS)\coredll_bmpbase.o \\r
+ $(OBJS)\coredll_bmpbtncmn.o \\r
$(OBJS)\coredll_bookctrl.o \\r
$(OBJS)\coredll_btncmn.o \\r
$(OBJS)\coredll_cairo.o \\r
+ $(OBJS)\coredll_calctrlcmn.o \\r
+ $(OBJS)\coredll_checkboxcmn.o \\r
+ $(OBJS)\coredll_checklstcmn.o \\r
$(OBJS)\coredll_choiccmn.o \\r
$(OBJS)\coredll_clipcmn.o \\r
$(OBJS)\coredll_clrpickercmn.o \\r
$(OBJS)\coredll_dcbufcmn.o \\r
$(OBJS)\coredll_dcgraph.o \\r
$(OBJS)\coredll_dcsvg.o \\r
+ $(OBJS)\coredll_dirctrlcmn.o \\r
$(OBJS)\coredll_dlgcmn.o \\r
$(OBJS)\coredll_dndcmn.o \\r
$(OBJS)\coredll_dobjcmn.o \\r
$(OBJS)\coredll_geometry.o \\r
$(OBJS)\coredll_gifdecod.o \\r
$(OBJS)\coredll_graphcmn.o \\r
+ $(OBJS)\coredll_gridcmn.o \\r
$(OBJS)\coredll_headercolcmn.o \\r
$(OBJS)\coredll_headerctrlcmn.o \\r
$(OBJS)\coredll_helpbase.o \\r
$(OBJS)\coredll_menucmn.o \\r
$(OBJS)\coredll_mousemanager.o \\r
$(OBJS)\coredll_nbkbase.o \\r
+ $(OBJS)\coredll_odcombocmn.o \\r
$(OBJS)\coredll_overlaycmn.o \\r
$(OBJS)\coredll_ownerdrwcmn.o \\r
$(OBJS)\coredll_paper.o \\r
+ $(OBJS)\coredll_panelcmn.o \\r
$(OBJS)\coredll_persist.o \\r
$(OBJS)\coredll_pickerbase.o \\r
$(OBJS)\coredll_popupcmn.o \\r
$(OBJS)\coredll_prntbase.o \\r
$(OBJS)\coredll_quantize.o \\r
+ $(OBJS)\coredll_radiobtncmn.o \\r
$(OBJS)\coredll_radiocmn.o \\r
$(OBJS)\coredll_rearrangectrl.o \\r
$(OBJS)\coredll_rendcmn.o \\r
$(OBJS)\coredll_rgncmn.o \\r
+ $(OBJS)\coredll_scrolbarcmn.o \\r
$(OBJS)\coredll_settcmn.o \\r
$(OBJS)\coredll_sizer.o \\r
+ $(OBJS)\coredll_slidercmn.o \\r
+ $(OBJS)\coredll_spinbtncmn.o \\r
$(OBJS)\coredll_spinctrlcmn.o \\r
$(OBJS)\coredll_srchcmn.o \\r
$(OBJS)\coredll_statbar.o \\r
+ $(OBJS)\coredll_statbmpcmn.o \\r
+ $(OBJS)\coredll_statboxcmn.o \\r
+ $(OBJS)\coredll_statlinecmn.o \\r
$(OBJS)\coredll_stattextcmn.o \\r
$(OBJS)\coredll_stockitem.o \\r
$(OBJS)\coredll_tbarbase.o \\r
$(OBJS)\corelib_artstd.o \\r
$(OBJS)\corelib_arttango.o \\r
$(OBJS)\corelib_bmpbase.o \\r
+ $(OBJS)\corelib_bmpbtncmn.o \\r
$(OBJS)\corelib_bookctrl.o \\r
$(OBJS)\corelib_btncmn.o \\r
$(OBJS)\corelib_cairo.o \\r
+ $(OBJS)\corelib_calctrlcmn.o \\r
+ $(OBJS)\corelib_checkboxcmn.o \\r
+ $(OBJS)\corelib_checklstcmn.o \\r
$(OBJS)\corelib_choiccmn.o \\r
$(OBJS)\corelib_clipcmn.o \\r
$(OBJS)\corelib_clrpickercmn.o \\r
$(OBJS)\corelib_dcbufcmn.o \\r
$(OBJS)\corelib_dcgraph.o \\r
$(OBJS)\corelib_dcsvg.o \\r
+ $(OBJS)\corelib_dirctrlcmn.o \\r
$(OBJS)\corelib_dlgcmn.o \\r
$(OBJS)\corelib_dndcmn.o \\r
$(OBJS)\corelib_dobjcmn.o \\r
$(OBJS)\corelib_geometry.o \\r
$(OBJS)\corelib_gifdecod.o \\r
$(OBJS)\corelib_graphcmn.o \\r
+ $(OBJS)\corelib_gridcmn.o \\r
$(OBJS)\corelib_headercolcmn.o \\r
$(OBJS)\corelib_headerctrlcmn.o \\r
$(OBJS)\corelib_helpbase.o \\r
$(OBJS)\corelib_menucmn.o \\r
$(OBJS)\corelib_mousemanager.o \\r
$(OBJS)\corelib_nbkbase.o \\r
+ $(OBJS)\corelib_odcombocmn.o \\r
$(OBJS)\corelib_overlaycmn.o \\r
$(OBJS)\corelib_ownerdrwcmn.o \\r
$(OBJS)\corelib_paper.o \\r
+ $(OBJS)\corelib_panelcmn.o \\r
$(OBJS)\corelib_persist.o \\r
$(OBJS)\corelib_pickerbase.o \\r
$(OBJS)\corelib_popupcmn.o \\r
$(OBJS)\corelib_prntbase.o \\r
$(OBJS)\corelib_quantize.o \\r
+ $(OBJS)\corelib_radiobtncmn.o \\r
$(OBJS)\corelib_radiocmn.o \\r
$(OBJS)\corelib_rearrangectrl.o \\r
$(OBJS)\corelib_rendcmn.o \\r
$(OBJS)\corelib_rgncmn.o \\r
+ $(OBJS)\corelib_scrolbarcmn.o \\r
$(OBJS)\corelib_settcmn.o \\r
$(OBJS)\corelib_sizer.o \\r
+ $(OBJS)\corelib_slidercmn.o \\r
+ $(OBJS)\corelib_spinbtncmn.o \\r
$(OBJS)\corelib_spinctrlcmn.o \\r
$(OBJS)\corelib_srchcmn.o \\r
$(OBJS)\corelib_statbar.o \\r
+ $(OBJS)\corelib_statbmpcmn.o \\r
+ $(OBJS)\corelib_statboxcmn.o \\r
+ $(OBJS)\corelib_statlinecmn.o \\r
$(OBJS)\corelib_stattextcmn.o \\r
$(OBJS)\corelib_stockitem.o \\r
$(OBJS)\corelib_tbarbase.o \\r
$(OBJS)\corelib_artstd.o \\r
$(OBJS)\corelib_arttango.o \\r
$(OBJS)\corelib_bmpbase.o \\r
+ $(OBJS)\corelib_bmpbtncmn.o \\r
$(OBJS)\corelib_bookctrl.o \\r
$(OBJS)\corelib_btncmn.o \\r
$(OBJS)\corelib_cairo.o \\r
+ $(OBJS)\corelib_calctrlcmn.o \\r
+ $(OBJS)\corelib_checkboxcmn.o \\r
+ $(OBJS)\corelib_checklstcmn.o \\r
$(OBJS)\corelib_choiccmn.o \\r
$(OBJS)\corelib_clipcmn.o \\r
$(OBJS)\corelib_clrpickercmn.o \\r
$(OBJS)\corelib_dcbufcmn.o \\r
$(OBJS)\corelib_dcgraph.o \\r
$(OBJS)\corelib_dcsvg.o \\r
+ $(OBJS)\corelib_dirctrlcmn.o \\r
$(OBJS)\corelib_dlgcmn.o \\r
$(OBJS)\corelib_dndcmn.o \\r
$(OBJS)\corelib_dobjcmn.o \\r
$(OBJS)\corelib_geometry.o \\r
$(OBJS)\corelib_gifdecod.o \\r
$(OBJS)\corelib_graphcmn.o \\r
+ $(OBJS)\corelib_gridcmn.o \\r
$(OBJS)\corelib_headercolcmn.o \\r
$(OBJS)\corelib_headerctrlcmn.o \\r
$(OBJS)\corelib_helpbase.o \\r
$(OBJS)\corelib_menucmn.o \\r
$(OBJS)\corelib_mousemanager.o \\r
$(OBJS)\corelib_nbkbase.o \\r
+ $(OBJS)\corelib_odcombocmn.o \\r
$(OBJS)\corelib_overlaycmn.o \\r
$(OBJS)\corelib_ownerdrwcmn.o \\r
$(OBJS)\corelib_paper.o \\r
+ $(OBJS)\corelib_panelcmn.o \\r
$(OBJS)\corelib_persist.o \\r
$(OBJS)\corelib_pickerbase.o \\r
$(OBJS)\corelib_popupcmn.o \\r
$(OBJS)\corelib_prntbase.o \\r
$(OBJS)\corelib_quantize.o \\r
+ $(OBJS)\corelib_radiobtncmn.o \\r
$(OBJS)\corelib_radiocmn.o \\r
$(OBJS)\corelib_rearrangectrl.o \\r
$(OBJS)\corelib_rendcmn.o \\r
$(OBJS)\corelib_rgncmn.o \\r
+ $(OBJS)\corelib_scrolbarcmn.o \\r
$(OBJS)\corelib_settcmn.o \\r
$(OBJS)\corelib_sizer.o \\r
+ $(OBJS)\corelib_slidercmn.o \\r
+ $(OBJS)\corelib_spinbtncmn.o \\r
$(OBJS)\corelib_spinctrlcmn.o \\r
$(OBJS)\corelib_srchcmn.o \\r
$(OBJS)\corelib_statbar.o \\r
+ $(OBJS)\corelib_statbmpcmn.o \\r
+ $(OBJS)\corelib_statboxcmn.o \\r
+ $(OBJS)\corelib_statlinecmn.o \\r
$(OBJS)\corelib_stattextcmn.o \\r
$(OBJS)\corelib_stockitem.o \\r
$(OBJS)\corelib_tbarbase.o \\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_bmpbtncmn.o: ../../src/common/bmpbtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_bookctrl.o: ../../src/common/bookctrl.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_checkboxcmn.o: ../../src/common/checkboxcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_checklstcmn.o: ../../src/common/checklstcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_choiccmn.o: ../../src/common/choiccmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_dirctrlcmn.o: ../../src/common/dirctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_dlgcmn.o: ../../src/common/dlgcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_gridcmn.o: ../../src/common/gridcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_headercolcmn.o: ../../src/common/headercolcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_odcombocmn.o: ../../src/common/odcombocmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_overlaycmn.o: ../../src/common/overlaycmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_panelcmn.o: ../../src/common/panelcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_persist.o: ../../src/common/persist.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_radiobtncmn.o: ../../src/common/radiobtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_radiocmn.o: ../../src/common/radiocmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_scrolbarcmn.o: ../../src/common/scrolbarcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_settcmn.o: ../../src/common/settcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_slidercmn.o: ../../src/common/slidercmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_spinbtncmn.o: ../../src/common/spinbtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_spinctrlcmn.o: ../../src/common/spinctrlcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_statbmpcmn.o: ../../src/common/statbmpcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_statboxcmn.o: ../../src/common/statboxcmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monodll_statlinecmn.o: ../../src/common/statlinecmn.cpp\r
+ $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_stattextcmn.o: ../../src/common/stattextcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\monodll_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
- $(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monodll_datavcmn.o: ../../src/common/datavcmn.cpp\r
$(CXX) -c -o $@ $(MONODLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_bmpbtncmn.o: ../../src/common/bmpbtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_bookctrl.o: ../../src/common/bookctrl.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_checkboxcmn.o: ../../src/common/checkboxcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_checklstcmn.o: ../../src/common/checklstcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_choiccmn.o: ../../src/common/choiccmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_dirctrlcmn.o: ../../src/common/dirctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_dlgcmn.o: ../../src/common/dlgcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_gridcmn.o: ../../src/common/gridcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_headercolcmn.o: ../../src/common/headercolcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_odcombocmn.o: ../../src/common/odcombocmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_overlaycmn.o: ../../src/common/overlaycmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_panelcmn.o: ../../src/common/panelcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_persist.o: ../../src/common/persist.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_radiobtncmn.o: ../../src/common/radiobtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_radiocmn.o: ../../src/common/radiocmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_scrolbarcmn.o: ../../src/common/scrolbarcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_settcmn.o: ../../src/common/settcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_slidercmn.o: ../../src/common/slidercmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_spinbtncmn.o: ../../src/common/spinbtncmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_spinctrlcmn.o: ../../src/common/spinctrlcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_statbmpcmn.o: ../../src/common/statbmpcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_statboxcmn.o: ../../src/common/statboxcmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\monolib_statlinecmn.o: ../../src/common/statlinecmn.cpp\r
+ $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_stattextcmn.o: ../../src/common/stattextcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
-ifeq ($(USE_GUI),1)\r
-$(OBJS)\monolib_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
- $(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
-endif\r
-\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\monolib_datavcmn.o: ../../src/common/datavcmn.cpp\r
$(CXX) -c -o $@ $(MONOLIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_bmpbtncmn.o: ../../src/common/bmpbtncmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_bookctrl.o: ../../src/common/bookctrl.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_checkboxcmn.o: ../../src/common/checkboxcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_checklstcmn.o: ../../src/common/checklstcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_choiccmn.o: ../../src/common/choiccmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_dirctrlcmn.o: ../../src/common/dirctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_dlgcmn.o: ../../src/common/dlgcmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_gridcmn.o: ../../src/common/gridcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_headercolcmn.o: ../../src/common/headercolcmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_odcombocmn.o: ../../src/common/odcombocmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_overlaycmn.o: ../../src/common/overlaycmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_panelcmn.o: ../../src/common/panelcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_persist.o: ../../src/common/persist.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_radiobtncmn.o: ../../src/common/radiobtncmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_radiocmn.o: ../../src/common/radiocmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_scrolbarcmn.o: ../../src/common/scrolbarcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_settcmn.o: ../../src/common/settcmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_slidercmn.o: ../../src/common/slidercmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_spinbtncmn.o: ../../src/common/spinbtncmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_spinctrlcmn.o: ../../src/common/spinctrlcmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_statbmpcmn.o: ../../src/common/statbmpcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_statboxcmn.o: ../../src/common/statboxcmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\coredll_statlinecmn.o: ../../src/common/statlinecmn.cpp\r
+ $(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\coredll_stattextcmn.o: ../../src/common/stattextcmn.cpp\r
$(CXX) -c -o $@ $(COREDLL_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_bmpbtncmn.o: ../../src/common/bmpbtncmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_bookctrl.o: ../../src/common/bookctrl.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_calctrlcmn.o: ../../src/common/calctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_checkboxcmn.o: ../../src/common/checkboxcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_checklstcmn.o: ../../src/common/checklstcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_choiccmn.o: ../../src/common/choiccmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_dirctrlcmn.o: ../../src/common/dirctrlcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_dlgcmn.o: ../../src/common/dlgcmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_gridcmn.o: ../../src/common/gridcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_headercolcmn.o: ../../src/common/headercolcmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_odcombocmn.o: ../../src/common/odcombocmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_overlaycmn.o: ../../src/common/overlaycmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_panelcmn.o: ../../src/common/panelcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_persist.o: ../../src/common/persist.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_radiobtncmn.o: ../../src/common/radiobtncmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_radiocmn.o: ../../src/common/radiocmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_scrolbarcmn.o: ../../src/common/scrolbarcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_settcmn.o: ../../src/common/settcmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_slidercmn.o: ../../src/common/slidercmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_spinbtncmn.o: ../../src/common/spinbtncmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_spinctrlcmn.o: ../../src/common/spinctrlcmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
endif\r
\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_statbmpcmn.o: ../../src/common/statbmpcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_statboxcmn.o: ../../src/common/statboxcmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
+ifeq ($(USE_GUI),1)\r
+$(OBJS)\corelib_statlinecmn.o: ../../src/common/statlinecmn.cpp\r
+ $(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
+endif\r
+\r
ifeq ($(USE_GUI),1)\r
$(OBJS)\corelib_stattextcmn.o: ../../src/common/stattextcmn.cpp\r
$(CXX) -c -o $@ $(CORELIB_CXXFLAGS) $(CPPDEPS) $<\r
$(OBJS)\monodll_artstd.obj \\r
$(OBJS)\monodll_arttango.obj \\r
$(OBJS)\monodll_bmpbase.obj \\r
+ $(OBJS)\monodll_bmpbtncmn.obj \\r
$(OBJS)\monodll_bookctrl.obj \\r
$(OBJS)\monodll_btncmn.obj \\r
$(OBJS)\monodll_cairo.obj \\r
+ $(OBJS)\monodll_calctrlcmn.obj \\r
+ $(OBJS)\monodll_checkboxcmn.obj \\r
+ $(OBJS)\monodll_checklstcmn.obj \\r
$(OBJS)\monodll_choiccmn.obj \\r
$(OBJS)\monodll_clipcmn.obj \\r
$(OBJS)\monodll_clrpickercmn.obj \\r
$(OBJS)\monodll_dcbufcmn.obj \\r
$(OBJS)\monodll_dcgraph.obj \\r
$(OBJS)\monodll_dcsvg.obj \\r
+ $(OBJS)\monodll_dirctrlcmn.obj \\r
$(OBJS)\monodll_dlgcmn.obj \\r
$(OBJS)\monodll_dndcmn.obj \\r
$(OBJS)\monodll_dobjcmn.obj \\r
$(OBJS)\monodll_geometry.obj \\r
$(OBJS)\monodll_gifdecod.obj \\r
$(OBJS)\monodll_graphcmn.obj \\r
+ $(OBJS)\monodll_gridcmn.obj \\r
$(OBJS)\monodll_headercolcmn.obj \\r
$(OBJS)\monodll_headerctrlcmn.obj \\r
$(OBJS)\monodll_helpbase.obj \\r
$(OBJS)\monodll_menucmn.obj \\r
$(OBJS)\monodll_mousemanager.obj \\r
$(OBJS)\monodll_nbkbase.obj \\r
+ $(OBJS)\monodll_odcombocmn.obj \\r
$(OBJS)\monodll_overlaycmn.obj \\r
$(OBJS)\monodll_ownerdrwcmn.obj \\r
$(OBJS)\monodll_paper.obj \\r
+ $(OBJS)\monodll_panelcmn.obj \\r
$(OBJS)\monodll_persist.obj \\r
$(OBJS)\monodll_pickerbase.obj \\r
$(OBJS)\monodll_popupcmn.obj \\r
$(OBJS)\monodll_prntbase.obj \\r
$(OBJS)\monodll_quantize.obj \\r
+ $(OBJS)\monodll_radiobtncmn.obj \\r
$(OBJS)\monodll_radiocmn.obj \\r
$(OBJS)\monodll_rearrangectrl.obj \\r
$(OBJS)\monodll_rendcmn.obj \\r
$(OBJS)\monodll_rgncmn.obj \\r
+ $(OBJS)\monodll_scrolbarcmn.obj \\r
$(OBJS)\monodll_settcmn.obj \\r
$(OBJS)\monodll_sizer.obj \\r
+ $(OBJS)\monodll_slidercmn.obj \\r
+ $(OBJS)\monodll_spinbtncmn.obj \\r
$(OBJS)\monodll_spinctrlcmn.obj \\r
$(OBJS)\monodll_srchcmn.obj \\r
$(OBJS)\monodll_statbar.obj \\r
+ $(OBJS)\monodll_statbmpcmn.obj \\r
+ $(OBJS)\monodll_statboxcmn.obj \\r
+ $(OBJS)\monodll_statlinecmn.obj \\r
$(OBJS)\monodll_stattextcmn.obj \\r
$(OBJS)\monodll_stockitem.obj \\r
$(OBJS)\monodll_tbarbase.obj \\r
$(OBJS)\monodll_artstd.obj \\r
$(OBJS)\monodll_arttango.obj \\r
$(OBJS)\monodll_bmpbase.obj \\r
+ $(OBJS)\monodll_bmpbtncmn.obj \\r
$(OBJS)\monodll_bookctrl.obj \\r
$(OBJS)\monodll_btncmn.obj \\r
$(OBJS)\monodll_cairo.obj \\r
+ $(OBJS)\monodll_calctrlcmn.obj \\r
+ $(OBJS)\monodll_checkboxcmn.obj \\r
+ $(OBJS)\monodll_checklstcmn.obj \\r
$(OBJS)\monodll_choiccmn.obj \\r
$(OBJS)\monodll_clipcmn.obj \\r
$(OBJS)\monodll_clrpickercmn.obj \\r
$(OBJS)\monodll_dcbufcmn.obj \\r
$(OBJS)\monodll_dcgraph.obj \\r
$(OBJS)\monodll_dcsvg.obj \\r
+ $(OBJS)\monodll_dirctrlcmn.obj \\r
$(OBJS)\monodll_dlgcmn.obj \\r
$(OBJS)\monodll_dndcmn.obj \\r
$(OBJS)\monodll_dobjcmn.obj \\r
$(OBJS)\monodll_geometry.obj \\r
$(OBJS)\monodll_gifdecod.obj \\r
$(OBJS)\monodll_graphcmn.obj \\r
+ $(OBJS)\monodll_gridcmn.obj \\r
$(OBJS)\monodll_headercolcmn.obj \\r
$(OBJS)\monodll_headerctrlcmn.obj \\r
$(OBJS)\monodll_helpbase.obj \\r
$(OBJS)\monodll_menucmn.obj \\r
$(OBJS)\monodll_mousemanager.obj \\r
$(OBJS)\monodll_nbkbase.obj \\r
+ $(OBJS)\monodll_odcombocmn.obj \\r
$(OBJS)\monodll_overlaycmn.obj \\r
$(OBJS)\monodll_ownerdrwcmn.obj \\r
$(OBJS)\monodll_paper.obj \\r
+ $(OBJS)\monodll_panelcmn.obj \\r
$(OBJS)\monodll_persist.obj \\r
$(OBJS)\monodll_pickerbase.obj \\r
$(OBJS)\monodll_popupcmn.obj \\r
$(OBJS)\monodll_prntbase.obj \\r
$(OBJS)\monodll_quantize.obj \\r
+ $(OBJS)\monodll_radiobtncmn.obj \\r
$(OBJS)\monodll_radiocmn.obj \\r
$(OBJS)\monodll_rearrangectrl.obj \\r
$(OBJS)\monodll_rendcmn.obj \\r
$(OBJS)\monodll_rgncmn.obj \\r
+ $(OBJS)\monodll_scrolbarcmn.obj \\r
$(OBJS)\monodll_settcmn.obj \\r
$(OBJS)\monodll_sizer.obj \\r
+ $(OBJS)\monodll_slidercmn.obj \\r
+ $(OBJS)\monodll_spinbtncmn.obj \\r
$(OBJS)\monodll_spinctrlcmn.obj \\r
$(OBJS)\monodll_srchcmn.obj \\r
$(OBJS)\monodll_statbar.obj \\r
+ $(OBJS)\monodll_statbmpcmn.obj \\r
+ $(OBJS)\monodll_statboxcmn.obj \\r
+ $(OBJS)\monodll_statlinecmn.obj \\r
$(OBJS)\monodll_stattextcmn.obj \\r
$(OBJS)\monodll_stockitem.obj \\r
$(OBJS)\monodll_tbarbase.obj \\r
$(OBJS)\monolib_artstd.obj \\r
$(OBJS)\monolib_arttango.obj \\r
$(OBJS)\monolib_bmpbase.obj \\r
+ $(OBJS)\monolib_bmpbtncmn.obj \\r
$(OBJS)\monolib_bookctrl.obj \\r
$(OBJS)\monolib_btncmn.obj \\r
$(OBJS)\monolib_cairo.obj \\r
+ $(OBJS)\monolib_calctrlcmn.obj \\r
+ $(OBJS)\monolib_checkboxcmn.obj \\r
+ $(OBJS)\monolib_checklstcmn.obj \\r
$(OBJS)\monolib_choiccmn.obj \\r
$(OBJS)\monolib_clipcmn.obj \\r
$(OBJS)\monolib_clrpickercmn.obj \\r
$(OBJS)\monolib_dcbufcmn.obj \\r
$(OBJS)\monolib_dcgraph.obj \\r
$(OBJS)\monolib_dcsvg.obj \\r
+ $(OBJS)\monolib_dirctrlcmn.obj \\r
$(OBJS)\monolib_dlgcmn.obj \\r
$(OBJS)\monolib_dndcmn.obj \\r
$(OBJS)\monolib_dobjcmn.obj \\r
$(OBJS)\monolib_geometry.obj \\r
$(OBJS)\monolib_gifdecod.obj \\r
$(OBJS)\monolib_graphcmn.obj \\r
+ $(OBJS)\monolib_gridcmn.obj \\r
$(OBJS)\monolib_headercolcmn.obj \\r
$(OBJS)\monolib_headerctrlcmn.obj \\r
$(OBJS)\monolib_helpbase.obj \\r
$(OBJS)\monolib_menucmn.obj \\r
$(OBJS)\monolib_mousemanager.obj \\r
$(OBJS)\monolib_nbkbase.obj \\r
+ $(OBJS)\monolib_odcombocmn.obj \\r
$(OBJS)\monolib_overlaycmn.obj \\r
$(OBJS)\monolib_ownerdrwcmn.obj \\r
$(OBJS)\monolib_paper.obj \\r
+ $(OBJS)\monolib_panelcmn.obj \\r
$(OBJS)\monolib_persist.obj \\r
$(OBJS)\monolib_pickerbase.obj \\r
$(OBJS)\monolib_popupcmn.obj \\r
$(OBJS)\monolib_prntbase.obj \\r
$(OBJS)\monolib_quantize.obj \\r
+ $(OBJS)\monolib_radiobtncmn.obj \\r
$(OBJS)\monolib_radiocmn.obj \\r
$(OBJS)\monolib_rearrangectrl.obj \\r
$(OBJS)\monolib_rendcmn.obj \\r
$(OBJS)\monolib_rgncmn.obj \\r
+ $(OBJS)\monolib_scrolbarcmn.obj \\r
$(OBJS)\monolib_settcmn.obj \\r
$(OBJS)\monolib_sizer.obj \\r
+ $(OBJS)\monolib_slidercmn.obj \\r
+ $(OBJS)\monolib_spinbtncmn.obj \\r
$(OBJS)\monolib_spinctrlcmn.obj \\r
$(OBJS)\monolib_srchcmn.obj \\r
$(OBJS)\monolib_statbar.obj \\r
+ $(OBJS)\monolib_statbmpcmn.obj \\r
+ $(OBJS)\monolib_statboxcmn.obj \\r
+ $(OBJS)\monolib_statlinecmn.obj \\r
$(OBJS)\monolib_stattextcmn.obj \\r
$(OBJS)\monolib_stockitem.obj \\r
$(OBJS)\monolib_tbarbase.obj \\r
$(OBJS)\monolib_artstd.obj \\r
$(OBJS)\monolib_arttango.obj \\r
$(OBJS)\monolib_bmpbase.obj \\r
+ $(OBJS)\monolib_bmpbtncmn.obj \\r
$(OBJS)\monolib_bookctrl.obj \\r
$(OBJS)\monolib_btncmn.obj \\r
$(OBJS)\monolib_cairo.obj \\r
+ $(OBJS)\monolib_calctrlcmn.obj \\r
+ $(OBJS)\monolib_checkboxcmn.obj \\r
+ $(OBJS)\monolib_checklstcmn.obj \\r
$(OBJS)\monolib_choiccmn.obj \\r
$(OBJS)\monolib_clipcmn.obj \\r
$(OBJS)\monolib_clrpickercmn.obj \\r
$(OBJS)\monolib_dcbufcmn.obj \\r
$(OBJS)\monolib_dcgraph.obj \\r
$(OBJS)\monolib_dcsvg.obj \\r
+ $(OBJS)\monolib_dirctrlcmn.obj \\r
$(OBJS)\monolib_dlgcmn.obj \\r
$(OBJS)\monolib_dndcmn.obj \\r
$(OBJS)\monolib_dobjcmn.obj \\r
$(OBJS)\monolib_geometry.obj \\r
$(OBJS)\monolib_gifdecod.obj \\r
$(OBJS)\monolib_graphcmn.obj \\r
+ $(OBJS)\monolib_gridcmn.obj \\r
$(OBJS)\monolib_headercolcmn.obj \\r
$(OBJS)\monolib_headerctrlcmn.obj \\r
$(OBJS)\monolib_helpbase.obj \\r
$(OBJS)\monolib_menucmn.obj \\r
$(OBJS)\monolib_mousemanager.obj \\r
$(OBJS)\monolib_nbkbase.obj \\r
+ $(OBJS)\monolib_odcombocmn.obj \\r
$(OBJS)\monolib_overlaycmn.obj \\r
$(OBJS)\monolib_ownerdrwcmn.obj \\r
$(OBJS)\monolib_paper.obj \\r
+ $(OBJS)\monolib_panelcmn.obj \\r
$(OBJS)\monolib_persist.obj \\r
$(OBJS)\monolib_pickerbase.obj \\r
$(OBJS)\monolib_popupcmn.obj \\r
$(OBJS)\monolib_prntbase.obj \\r
$(OBJS)\monolib_quantize.obj \\r
+ $(OBJS)\monolib_radiobtncmn.obj \\r
$(OBJS)\monolib_radiocmn.obj \\r
$(OBJS)\monolib_rearrangectrl.obj \\r
$(OBJS)\monolib_rendcmn.obj \\r
$(OBJS)\monolib_rgncmn.obj \\r
+ $(OBJS)\monolib_scrolbarcmn.obj \\r
$(OBJS)\monolib_settcmn.obj \\r
$(OBJS)\monolib_sizer.obj \\r
+ $(OBJS)\monolib_slidercmn.obj \\r
+ $(OBJS)\monolib_spinbtncmn.obj \\r
$(OBJS)\monolib_spinctrlcmn.obj \\r
$(OBJS)\monolib_srchcmn.obj \\r
$(OBJS)\monolib_statbar.obj \\r
+ $(OBJS)\monolib_statbmpcmn.obj \\r
+ $(OBJS)\monolib_statboxcmn.obj \\r
+ $(OBJS)\monolib_statlinecmn.obj \\r
$(OBJS)\monolib_stattextcmn.obj \\r
$(OBJS)\monolib_stockitem.obj \\r
$(OBJS)\monolib_tbarbase.obj \\r
$(OBJS)\coredll_artstd.obj \\r
$(OBJS)\coredll_arttango.obj \\r
$(OBJS)\coredll_bmpbase.obj \\r
+ $(OBJS)\coredll_bmpbtncmn.obj \\r
$(OBJS)\coredll_bookctrl.obj \\r
$(OBJS)\coredll_btncmn.obj \\r
$(OBJS)\coredll_cairo.obj \\r
+ $(OBJS)\coredll_calctrlcmn.obj \\r
+ $(OBJS)\coredll_checkboxcmn.obj \\r
+ $(OBJS)\coredll_checklstcmn.obj \\r
$(OBJS)\coredll_choiccmn.obj \\r
$(OBJS)\coredll_clipcmn.obj \\r
$(OBJS)\coredll_clrpickercmn.obj \\r
$(OBJS)\coredll_dcbufcmn.obj \\r
$(OBJS)\coredll_dcgraph.obj \\r
$(OBJS)\coredll_dcsvg.obj \\r
+ $(OBJS)\coredll_dirctrlcmn.obj \\r
$(OBJS)\coredll_dlgcmn.obj \\r
$(OBJS)\coredll_dndcmn.obj \\r
$(OBJS)\coredll_dobjcmn.obj \\r
$(OBJS)\coredll_geometry.obj \\r
$(OBJS)\coredll_gifdecod.obj \\r
$(OBJS)\coredll_graphcmn.obj \\r
+ $(OBJS)\coredll_gridcmn.obj \\r
$(OBJS)\coredll_headercolcmn.obj \\r
$(OBJS)\coredll_headerctrlcmn.obj \\r
$(OBJS)\coredll_helpbase.obj \\r
$(OBJS)\coredll_menucmn.obj \\r
$(OBJS)\coredll_mousemanager.obj \\r
$(OBJS)\coredll_nbkbase.obj \\r
+ $(OBJS)\coredll_odcombocmn.obj \\r
$(OBJS)\coredll_overlaycmn.obj \\r
$(OBJS)\coredll_ownerdrwcmn.obj \\r
$(OBJS)\coredll_paper.obj \\r
+ $(OBJS)\coredll_panelcmn.obj \\r
$(OBJS)\coredll_persist.obj \\r
$(OBJS)\coredll_pickerbase.obj \\r
$(OBJS)\coredll_popupcmn.obj \\r
$(OBJS)\coredll_prntbase.obj \\r
$(OBJS)\coredll_quantize.obj \\r
+ $(OBJS)\coredll_radiobtncmn.obj \\r
$(OBJS)\coredll_radiocmn.obj \\r
$(OBJS)\coredll_rearrangectrl.obj \\r
$(OBJS)\coredll_rendcmn.obj \\r
$(OBJS)\coredll_rgncmn.obj \\r
+ $(OBJS)\coredll_scrolbarcmn.obj \\r
$(OBJS)\coredll_settcmn.obj \\r
$(OBJS)\coredll_sizer.obj \\r
+ $(OBJS)\coredll_slidercmn.obj \\r
+ $(OBJS)\coredll_spinbtncmn.obj \\r
$(OBJS)\coredll_spinctrlcmn.obj \\r
$(OBJS)\coredll_srchcmn.obj \\r
$(OBJS)\coredll_statbar.obj \\r
+ $(OBJS)\coredll_statbmpcmn.obj \\r
+ $(OBJS)\coredll_statboxcmn.obj \\r
+ $(OBJS)\coredll_statlinecmn.obj \\r
$(OBJS)\coredll_stattextcmn.obj \\r
$(OBJS)\coredll_stockitem.obj \\r
$(OBJS)\coredll_tbarbase.obj \\r
$(OBJS)\coredll_artstd.obj \\r
$(OBJS)\coredll_arttango.obj \\r
$(OBJS)\coredll_bmpbase.obj \\r
+ $(OBJS)\coredll_bmpbtncmn.obj \\r
$(OBJS)\coredll_bookctrl.obj \\r
$(OBJS)\coredll_btncmn.obj \\r
$(OBJS)\coredll_cairo.obj \\r
+ $(OBJS)\coredll_calctrlcmn.obj \\r
+ $(OBJS)\coredll_checkboxcmn.obj \\r
+ $(OBJS)\coredll_checklstcmn.obj \\r
$(OBJS)\coredll_choiccmn.obj \\r
$(OBJS)\coredll_clipcmn.obj \\r
$(OBJS)\coredll_clrpickercmn.obj \\r
$(OBJS)\coredll_dcbufcmn.obj \\r
$(OBJS)\coredll_dcgraph.obj \\r
$(OBJS)\coredll_dcsvg.obj \\r
+ $(OBJS)\coredll_dirctrlcmn.obj \\r
$(OBJS)\coredll_dlgcmn.obj \\r
$(OBJS)\coredll_dndcmn.obj \\r
$(OBJS)\coredll_dobjcmn.obj \\r
$(OBJS)\coredll_geometry.obj \\r
$(OBJS)\coredll_gifdecod.obj \\r
$(OBJS)\coredll_graphcmn.obj \\r
+ $(OBJS)\coredll_gridcmn.obj \\r
$(OBJS)\coredll_headercolcmn.obj \\r
$(OBJS)\coredll_headerctrlcmn.obj \\r
$(OBJS)\coredll_helpbase.obj \\r
$(OBJS)\coredll_menucmn.obj \\r
$(OBJS)\coredll_mousemanager.obj \\r
$(OBJS)\coredll_nbkbase.obj \\r
+ $(OBJS)\coredll_odcombocmn.obj \\r
$(OBJS)\coredll_overlaycmn.obj \\r
$(OBJS)\coredll_ownerdrwcmn.obj \\r
$(OBJS)\coredll_paper.obj \\r
+ $(OBJS)\coredll_panelcmn.obj \\r
$(OBJS)\coredll_persist.obj \\r
$(OBJS)\coredll_pickerbase.obj \\r
$(OBJS)\coredll_popupcmn.obj \\r
$(OBJS)\coredll_prntbase.obj \\r
$(OBJS)\coredll_quantize.obj \\r
+ $(OBJS)\coredll_radiobtncmn.obj \\r
$(OBJS)\coredll_radiocmn.obj \\r
$(OBJS)\coredll_rearrangectrl.obj \\r
$(OBJS)\coredll_rendcmn.obj \\r
$(OBJS)\coredll_rgncmn.obj \\r
+ $(OBJS)\coredll_scrolbarcmn.obj \\r
$(OBJS)\coredll_settcmn.obj \\r
$(OBJS)\coredll_sizer.obj \\r
+ $(OBJS)\coredll_slidercmn.obj \\r
+ $(OBJS)\coredll_spinbtncmn.obj \\r
$(OBJS)\coredll_spinctrlcmn.obj \\r
$(OBJS)\coredll_srchcmn.obj \\r
$(OBJS)\coredll_statbar.obj \\r
+ $(OBJS)\coredll_statbmpcmn.obj \\r
+ $(OBJS)\coredll_statboxcmn.obj \\r
+ $(OBJS)\coredll_statlinecmn.obj \\r
$(OBJS)\coredll_stattextcmn.obj \\r
$(OBJS)\coredll_stockitem.obj \\r
$(OBJS)\coredll_tbarbase.obj \\r
$(OBJS)\corelib_artstd.obj \\r
$(OBJS)\corelib_arttango.obj \\r
$(OBJS)\corelib_bmpbase.obj \\r
+ $(OBJS)\corelib_bmpbtncmn.obj \\r
$(OBJS)\corelib_bookctrl.obj \\r
$(OBJS)\corelib_btncmn.obj \\r
$(OBJS)\corelib_cairo.obj \\r
+ $(OBJS)\corelib_calctrlcmn.obj \\r
+ $(OBJS)\corelib_checkboxcmn.obj \\r
+ $(OBJS)\corelib_checklstcmn.obj \\r
$(OBJS)\corelib_choiccmn.obj \\r
$(OBJS)\corelib_clipcmn.obj \\r
$(OBJS)\corelib_clrpickercmn.obj \\r
$(OBJS)\corelib_dcbufcmn.obj \\r
$(OBJS)\corelib_dcgraph.obj \\r
$(OBJS)\corelib_dcsvg.obj \\r
+ $(OBJS)\corelib_dirctrlcmn.obj \\r
$(OBJS)\corelib_dlgcmn.obj \\r
$(OBJS)\corelib_dndcmn.obj \\r
$(OBJS)\corelib_dobjcmn.obj \\r
$(OBJS)\corelib_geometry.obj \\r
$(OBJS)\corelib_gifdecod.obj \\r
$(OBJS)\corelib_graphcmn.obj \\r
+ $(OBJS)\corelib_gridcmn.obj \\r
$(OBJS)\corelib_headercolcmn.obj \\r
$(OBJS)\corelib_headerctrlcmn.obj \\r
$(OBJS)\corelib_helpbase.obj \\r
$(OBJS)\corelib_menucmn.obj \\r
$(OBJS)\corelib_mousemanager.obj \\r
$(OBJS)\corelib_nbkbase.obj \\r
+ $(OBJS)\corelib_odcombocmn.obj \\r
$(OBJS)\corelib_overlaycmn.obj \\r
$(OBJS)\corelib_ownerdrwcmn.obj \\r
$(OBJS)\corelib_paper.obj \\r
+ $(OBJS)\corelib_panelcmn.obj \\r
$(OBJS)\corelib_persist.obj \\r
$(OBJS)\corelib_pickerbase.obj \\r
$(OBJS)\corelib_popupcmn.obj \\r
$(OBJS)\corelib_prntbase.obj \\r
$(OBJS)\corelib_quantize.obj \\r
+ $(OBJS)\corelib_radiobtncmn.obj \\r
$(OBJS)\corelib_radiocmn.obj \\r
$(OBJS)\corelib_rearrangectrl.obj \\r
$(OBJS)\corelib_rendcmn.obj \\r
$(OBJS)\corelib_rgncmn.obj \\r
+ $(OBJS)\corelib_scrolbarcmn.obj \\r
$(OBJS)\corelib_settcmn.obj \\r
$(OBJS)\corelib_sizer.obj \\r
+ $(OBJS)\corelib_slidercmn.obj \\r
+ $(OBJS)\corelib_spinbtncmn.obj \\r
$(OBJS)\corelib_spinctrlcmn.obj \\r
$(OBJS)\corelib_srchcmn.obj \\r
$(OBJS)\corelib_statbar.obj \\r
+ $(OBJS)\corelib_statbmpcmn.obj \\r
+ $(OBJS)\corelib_statboxcmn.obj \\r
+ $(OBJS)\corelib_statlinecmn.obj \\r
$(OBJS)\corelib_stattextcmn.obj \\r
$(OBJS)\corelib_stockitem.obj \\r
$(OBJS)\corelib_tbarbase.obj \\r
$(OBJS)\corelib_artstd.obj \\r
$(OBJS)\corelib_arttango.obj \\r
$(OBJS)\corelib_bmpbase.obj \\r
+ $(OBJS)\corelib_bmpbtncmn.obj \\r
$(OBJS)\corelib_bookctrl.obj \\r
$(OBJS)\corelib_btncmn.obj \\r
$(OBJS)\corelib_cairo.obj \\r
+ $(OBJS)\corelib_calctrlcmn.obj \\r
+ $(OBJS)\corelib_checkboxcmn.obj \\r
+ $(OBJS)\corelib_checklstcmn.obj \\r
$(OBJS)\corelib_choiccmn.obj \\r
$(OBJS)\corelib_clipcmn.obj \\r
$(OBJS)\corelib_clrpickercmn.obj \\r
$(OBJS)\corelib_dcbufcmn.obj \\r
$(OBJS)\corelib_dcgraph.obj \\r
$(OBJS)\corelib_dcsvg.obj \\r
+ $(OBJS)\corelib_dirctrlcmn.obj \\r
$(OBJS)\corelib_dlgcmn.obj \\r
$(OBJS)\corelib_dndcmn.obj \\r
$(OBJS)\corelib_dobjcmn.obj \\r
$(OBJS)\corelib_geometry.obj \\r
$(OBJS)\corelib_gifdecod.obj \\r
$(OBJS)\corelib_graphcmn.obj \\r
+ $(OBJS)\corelib_gridcmn.obj \\r
$(OBJS)\corelib_headercolcmn.obj \\r
$(OBJS)\corelib_headerctrlcmn.obj \\r
$(OBJS)\corelib_helpbase.obj \\r
$(OBJS)\corelib_menucmn.obj \\r
$(OBJS)\corelib_mousemanager.obj \\r
$(OBJS)\corelib_nbkbase.obj \\r
+ $(OBJS)\corelib_odcombocmn.obj \\r
$(OBJS)\corelib_overlaycmn.obj \\r
$(OBJS)\corelib_ownerdrwcmn.obj \\r
$(OBJS)\corelib_paper.obj \\r
+ $(OBJS)\corelib_panelcmn.obj \\r
$(OBJS)\corelib_persist.obj \\r
$(OBJS)\corelib_pickerbase.obj \\r
$(OBJS)\corelib_popupcmn.obj \\r
$(OBJS)\corelib_prntbase.obj \\r
$(OBJS)\corelib_quantize.obj \\r
+ $(OBJS)\corelib_radiobtncmn.obj \\r
$(OBJS)\corelib_radiocmn.obj \\r
$(OBJS)\corelib_rearrangectrl.obj \\r
$(OBJS)\corelib_rendcmn.obj \\r
$(OBJS)\corelib_rgncmn.obj \\r
+ $(OBJS)\corelib_scrolbarcmn.obj \\r
$(OBJS)\corelib_settcmn.obj \\r
$(OBJS)\corelib_sizer.obj \\r
+ $(OBJS)\corelib_slidercmn.obj \\r
+ $(OBJS)\corelib_spinbtncmn.obj \\r
$(OBJS)\corelib_spinctrlcmn.obj \\r
$(OBJS)\corelib_srchcmn.obj \\r
$(OBJS)\corelib_statbar.obj \\r
+ $(OBJS)\corelib_statbmpcmn.obj \\r
+ $(OBJS)\corelib_statboxcmn.obj \\r
+ $(OBJS)\corelib_statlinecmn.obj \\r
$(OBJS)\corelib_stattextcmn.obj \\r
$(OBJS)\corelib_stockitem.obj \\r
$(OBJS)\corelib_tbarbase.obj \\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monodll_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\bmpcboxcmn.cpp\r
!endif\r
\r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monodll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
-!endif\r
-\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monodll_datavcmn.obj: ..\..\src\common\datavcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONODLL_CXXFLAGS) ..\..\src\common\datavcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\monolib_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\bmpcboxcmn.cpp\r
!endif\r
\r
-!if "$(USE_GUI)" == "1"\r
-$(OBJS)\monolib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
-!endif\r
-\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\monolib_datavcmn.obj: ..\..\src\common\datavcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(MONOLIB_CXXFLAGS) ..\..\src\common\datavcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\coredll_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\coredll_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(COREDLL_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bmpbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_bmpbtncmn.obj: ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bmpbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_bookctrl.obj: ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\bookctrl.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\cairo.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_calctrlcmn.obj: ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\calctrlcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_checkboxcmn.obj: ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\checkboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_checklstcmn.obj: ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\checklstcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_choiccmn.obj: ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\choiccmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dcsvg.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_dirctrlcmn.obj: ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dirctrlcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_dlgcmn.obj: ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\dlgcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\graphcmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_gridcmn.obj: ..\..\src\common\gridcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\gridcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_headercolcmn.obj: ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\headercolcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\nbkbase.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_odcombocmn.obj: ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\odcombocmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_overlaycmn.obj: ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\overlaycmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\paper.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_panelcmn.obj: ..\..\src\common\panelcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\panelcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_persist.obj: ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\persist.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\quantize.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_radiobtncmn.obj: ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\radiobtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_radiocmn.obj: ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\radiocmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\rgncmn.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_scrolbarcmn.obj: ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\scrolbarcmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_settcmn.obj: ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\settcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\sizer.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_slidercmn.obj: ..\..\src\common\slidercmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\slidercmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_spinbtncmn.obj: ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\spinbtncmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_spinctrlcmn.obj: ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statbar.cpp\r
!endif\r
\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statbmpcmn.obj: ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statbmpcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statboxcmn.obj: ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statboxcmn.cpp\r
+!endif\r
+\r
+!if "$(USE_GUI)" == "1"\r
+$(OBJS)\corelib_statlinecmn.obj: ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\statlinecmn.cpp\r
+!endif\r
+\r
!if "$(USE_GUI)" == "1"\r
$(OBJS)\corelib_stattextcmn.obj: ..\..\src\common\stattextcmn.cpp\r
$(CXX) /c /nologo /TP /Fo$@ $(CORELIB_CXXFLAGS) ..\..\src\common\stattextcmn.cpp\r
$(OBJS)\monodll_artstd.obj &\r
$(OBJS)\monodll_arttango.obj &\r
$(OBJS)\monodll_bmpbase.obj &\r
+ $(OBJS)\monodll_bmpbtncmn.obj &\r
$(OBJS)\monodll_bookctrl.obj &\r
$(OBJS)\monodll_btncmn.obj &\r
$(OBJS)\monodll_cairo.obj &\r
+ $(OBJS)\monodll_calctrlcmn.obj &\r
+ $(OBJS)\monodll_checkboxcmn.obj &\r
+ $(OBJS)\monodll_checklstcmn.obj &\r
$(OBJS)\monodll_choiccmn.obj &\r
$(OBJS)\monodll_clipcmn.obj &\r
$(OBJS)\monodll_clrpickercmn.obj &\r
$(OBJS)\monodll_dcbufcmn.obj &\r
$(OBJS)\monodll_dcgraph.obj &\r
$(OBJS)\monodll_dcsvg.obj &\r
+ $(OBJS)\monodll_dirctrlcmn.obj &\r
$(OBJS)\monodll_dlgcmn.obj &\r
$(OBJS)\monodll_dndcmn.obj &\r
$(OBJS)\monodll_dobjcmn.obj &\r
$(OBJS)\monodll_geometry.obj &\r
$(OBJS)\monodll_gifdecod.obj &\r
$(OBJS)\monodll_graphcmn.obj &\r
+ $(OBJS)\monodll_gridcmn.obj &\r
$(OBJS)\monodll_headercolcmn.obj &\r
$(OBJS)\monodll_headerctrlcmn.obj &\r
$(OBJS)\monodll_helpbase.obj &\r
$(OBJS)\monodll_menucmn.obj &\r
$(OBJS)\monodll_mousemanager.obj &\r
$(OBJS)\monodll_nbkbase.obj &\r
+ $(OBJS)\monodll_odcombocmn.obj &\r
$(OBJS)\monodll_overlaycmn.obj &\r
$(OBJS)\monodll_ownerdrwcmn.obj &\r
$(OBJS)\monodll_paper.obj &\r
+ $(OBJS)\monodll_panelcmn.obj &\r
$(OBJS)\monodll_persist.obj &\r
$(OBJS)\monodll_pickerbase.obj &\r
$(OBJS)\monodll_popupcmn.obj &\r
$(OBJS)\monodll_prntbase.obj &\r
$(OBJS)\monodll_quantize.obj &\r
+ $(OBJS)\monodll_radiobtncmn.obj &\r
$(OBJS)\monodll_radiocmn.obj &\r
$(OBJS)\monodll_rearrangectrl.obj &\r
$(OBJS)\monodll_rendcmn.obj &\r
$(OBJS)\monodll_rgncmn.obj &\r
+ $(OBJS)\monodll_scrolbarcmn.obj &\r
$(OBJS)\monodll_settcmn.obj &\r
$(OBJS)\monodll_sizer.obj &\r
+ $(OBJS)\monodll_slidercmn.obj &\r
+ $(OBJS)\monodll_spinbtncmn.obj &\r
$(OBJS)\monodll_spinctrlcmn.obj &\r
$(OBJS)\monodll_srchcmn.obj &\r
$(OBJS)\monodll_statbar.obj &\r
+ $(OBJS)\monodll_statbmpcmn.obj &\r
+ $(OBJS)\monodll_statboxcmn.obj &\r
+ $(OBJS)\monodll_statlinecmn.obj &\r
$(OBJS)\monodll_stattextcmn.obj &\r
$(OBJS)\monodll_stockitem.obj &\r
$(OBJS)\monodll_tbarbase.obj &\r
$(OBJS)\monodll_artstd.obj &\r
$(OBJS)\monodll_arttango.obj &\r
$(OBJS)\monodll_bmpbase.obj &\r
+ $(OBJS)\monodll_bmpbtncmn.obj &\r
$(OBJS)\monodll_bookctrl.obj &\r
$(OBJS)\monodll_btncmn.obj &\r
$(OBJS)\monodll_cairo.obj &\r
+ $(OBJS)\monodll_calctrlcmn.obj &\r
+ $(OBJS)\monodll_checkboxcmn.obj &\r
+ $(OBJS)\monodll_checklstcmn.obj &\r
$(OBJS)\monodll_choiccmn.obj &\r
$(OBJS)\monodll_clipcmn.obj &\r
$(OBJS)\monodll_clrpickercmn.obj &\r
$(OBJS)\monodll_dcbufcmn.obj &\r
$(OBJS)\monodll_dcgraph.obj &\r
$(OBJS)\monodll_dcsvg.obj &\r
+ $(OBJS)\monodll_dirctrlcmn.obj &\r
$(OBJS)\monodll_dlgcmn.obj &\r
$(OBJS)\monodll_dndcmn.obj &\r
$(OBJS)\monodll_dobjcmn.obj &\r
$(OBJS)\monodll_geometry.obj &\r
$(OBJS)\monodll_gifdecod.obj &\r
$(OBJS)\monodll_graphcmn.obj &\r
+ $(OBJS)\monodll_gridcmn.obj &\r
$(OBJS)\monodll_headercolcmn.obj &\r
$(OBJS)\monodll_headerctrlcmn.obj &\r
$(OBJS)\monodll_helpbase.obj &\r
$(OBJS)\monodll_menucmn.obj &\r
$(OBJS)\monodll_mousemanager.obj &\r
$(OBJS)\monodll_nbkbase.obj &\r
+ $(OBJS)\monodll_odcombocmn.obj &\r
$(OBJS)\monodll_overlaycmn.obj &\r
$(OBJS)\monodll_ownerdrwcmn.obj &\r
$(OBJS)\monodll_paper.obj &\r
+ $(OBJS)\monodll_panelcmn.obj &\r
$(OBJS)\monodll_persist.obj &\r
$(OBJS)\monodll_pickerbase.obj &\r
$(OBJS)\monodll_popupcmn.obj &\r
$(OBJS)\monodll_prntbase.obj &\r
$(OBJS)\monodll_quantize.obj &\r
+ $(OBJS)\monodll_radiobtncmn.obj &\r
$(OBJS)\monodll_radiocmn.obj &\r
$(OBJS)\monodll_rearrangectrl.obj &\r
$(OBJS)\monodll_rendcmn.obj &\r
$(OBJS)\monodll_rgncmn.obj &\r
+ $(OBJS)\monodll_scrolbarcmn.obj &\r
$(OBJS)\monodll_settcmn.obj &\r
$(OBJS)\monodll_sizer.obj &\r
+ $(OBJS)\monodll_slidercmn.obj &\r
+ $(OBJS)\monodll_spinbtncmn.obj &\r
$(OBJS)\monodll_spinctrlcmn.obj &\r
$(OBJS)\monodll_srchcmn.obj &\r
$(OBJS)\monodll_statbar.obj &\r
+ $(OBJS)\monodll_statbmpcmn.obj &\r
+ $(OBJS)\monodll_statboxcmn.obj &\r
+ $(OBJS)\monodll_statlinecmn.obj &\r
$(OBJS)\monodll_stattextcmn.obj &\r
$(OBJS)\monodll_stockitem.obj &\r
$(OBJS)\monodll_tbarbase.obj &\r
$(OBJS)\monolib_artstd.obj &\r
$(OBJS)\monolib_arttango.obj &\r
$(OBJS)\monolib_bmpbase.obj &\r
+ $(OBJS)\monolib_bmpbtncmn.obj &\r
$(OBJS)\monolib_bookctrl.obj &\r
$(OBJS)\monolib_btncmn.obj &\r
$(OBJS)\monolib_cairo.obj &\r
+ $(OBJS)\monolib_calctrlcmn.obj &\r
+ $(OBJS)\monolib_checkboxcmn.obj &\r
+ $(OBJS)\monolib_checklstcmn.obj &\r
$(OBJS)\monolib_choiccmn.obj &\r
$(OBJS)\monolib_clipcmn.obj &\r
$(OBJS)\monolib_clrpickercmn.obj &\r
$(OBJS)\monolib_dcbufcmn.obj &\r
$(OBJS)\monolib_dcgraph.obj &\r
$(OBJS)\monolib_dcsvg.obj &\r
+ $(OBJS)\monolib_dirctrlcmn.obj &\r
$(OBJS)\monolib_dlgcmn.obj &\r
$(OBJS)\monolib_dndcmn.obj &\r
$(OBJS)\monolib_dobjcmn.obj &\r
$(OBJS)\monolib_geometry.obj &\r
$(OBJS)\monolib_gifdecod.obj &\r
$(OBJS)\monolib_graphcmn.obj &\r
+ $(OBJS)\monolib_gridcmn.obj &\r
$(OBJS)\monolib_headercolcmn.obj &\r
$(OBJS)\monolib_headerctrlcmn.obj &\r
$(OBJS)\monolib_helpbase.obj &\r
$(OBJS)\monolib_menucmn.obj &\r
$(OBJS)\monolib_mousemanager.obj &\r
$(OBJS)\monolib_nbkbase.obj &\r
+ $(OBJS)\monolib_odcombocmn.obj &\r
$(OBJS)\monolib_overlaycmn.obj &\r
$(OBJS)\monolib_ownerdrwcmn.obj &\r
$(OBJS)\monolib_paper.obj &\r
+ $(OBJS)\monolib_panelcmn.obj &\r
$(OBJS)\monolib_persist.obj &\r
$(OBJS)\monolib_pickerbase.obj &\r
$(OBJS)\monolib_popupcmn.obj &\r
$(OBJS)\monolib_prntbase.obj &\r
$(OBJS)\monolib_quantize.obj &\r
+ $(OBJS)\monolib_radiobtncmn.obj &\r
$(OBJS)\monolib_radiocmn.obj &\r
$(OBJS)\monolib_rearrangectrl.obj &\r
$(OBJS)\monolib_rendcmn.obj &\r
$(OBJS)\monolib_rgncmn.obj &\r
+ $(OBJS)\monolib_scrolbarcmn.obj &\r
$(OBJS)\monolib_settcmn.obj &\r
$(OBJS)\monolib_sizer.obj &\r
+ $(OBJS)\monolib_slidercmn.obj &\r
+ $(OBJS)\monolib_spinbtncmn.obj &\r
$(OBJS)\monolib_spinctrlcmn.obj &\r
$(OBJS)\monolib_srchcmn.obj &\r
$(OBJS)\monolib_statbar.obj &\r
+ $(OBJS)\monolib_statbmpcmn.obj &\r
+ $(OBJS)\monolib_statboxcmn.obj &\r
+ $(OBJS)\monolib_statlinecmn.obj &\r
$(OBJS)\monolib_stattextcmn.obj &\r
$(OBJS)\monolib_stockitem.obj &\r
$(OBJS)\monolib_tbarbase.obj &\r
$(OBJS)\monolib_artstd.obj &\r
$(OBJS)\monolib_arttango.obj &\r
$(OBJS)\monolib_bmpbase.obj &\r
+ $(OBJS)\monolib_bmpbtncmn.obj &\r
$(OBJS)\monolib_bookctrl.obj &\r
$(OBJS)\monolib_btncmn.obj &\r
$(OBJS)\monolib_cairo.obj &\r
+ $(OBJS)\monolib_calctrlcmn.obj &\r
+ $(OBJS)\monolib_checkboxcmn.obj &\r
+ $(OBJS)\monolib_checklstcmn.obj &\r
$(OBJS)\monolib_choiccmn.obj &\r
$(OBJS)\monolib_clipcmn.obj &\r
$(OBJS)\monolib_clrpickercmn.obj &\r
$(OBJS)\monolib_dcbufcmn.obj &\r
$(OBJS)\monolib_dcgraph.obj &\r
$(OBJS)\monolib_dcsvg.obj &\r
+ $(OBJS)\monolib_dirctrlcmn.obj &\r
$(OBJS)\monolib_dlgcmn.obj &\r
$(OBJS)\monolib_dndcmn.obj &\r
$(OBJS)\monolib_dobjcmn.obj &\r
$(OBJS)\monolib_geometry.obj &\r
$(OBJS)\monolib_gifdecod.obj &\r
$(OBJS)\monolib_graphcmn.obj &\r
+ $(OBJS)\monolib_gridcmn.obj &\r
$(OBJS)\monolib_headercolcmn.obj &\r
$(OBJS)\monolib_headerctrlcmn.obj &\r
$(OBJS)\monolib_helpbase.obj &\r
$(OBJS)\monolib_menucmn.obj &\r
$(OBJS)\monolib_mousemanager.obj &\r
$(OBJS)\monolib_nbkbase.obj &\r
+ $(OBJS)\monolib_odcombocmn.obj &\r
$(OBJS)\monolib_overlaycmn.obj &\r
$(OBJS)\monolib_ownerdrwcmn.obj &\r
$(OBJS)\monolib_paper.obj &\r
+ $(OBJS)\monolib_panelcmn.obj &\r
$(OBJS)\monolib_persist.obj &\r
$(OBJS)\monolib_pickerbase.obj &\r
$(OBJS)\monolib_popupcmn.obj &\r
$(OBJS)\monolib_prntbase.obj &\r
$(OBJS)\monolib_quantize.obj &\r
+ $(OBJS)\monolib_radiobtncmn.obj &\r
$(OBJS)\monolib_radiocmn.obj &\r
$(OBJS)\monolib_rearrangectrl.obj &\r
$(OBJS)\monolib_rendcmn.obj &\r
$(OBJS)\monolib_rgncmn.obj &\r
+ $(OBJS)\monolib_scrolbarcmn.obj &\r
$(OBJS)\monolib_settcmn.obj &\r
$(OBJS)\monolib_sizer.obj &\r
+ $(OBJS)\monolib_slidercmn.obj &\r
+ $(OBJS)\monolib_spinbtncmn.obj &\r
$(OBJS)\monolib_spinctrlcmn.obj &\r
$(OBJS)\monolib_srchcmn.obj &\r
$(OBJS)\monolib_statbar.obj &\r
+ $(OBJS)\monolib_statbmpcmn.obj &\r
+ $(OBJS)\monolib_statboxcmn.obj &\r
+ $(OBJS)\monolib_statlinecmn.obj &\r
$(OBJS)\monolib_stattextcmn.obj &\r
$(OBJS)\monolib_stockitem.obj &\r
$(OBJS)\monolib_tbarbase.obj &\r
$(OBJS)\coredll_artstd.obj &\r
$(OBJS)\coredll_arttango.obj &\r
$(OBJS)\coredll_bmpbase.obj &\r
+ $(OBJS)\coredll_bmpbtncmn.obj &\r
$(OBJS)\coredll_bookctrl.obj &\r
$(OBJS)\coredll_btncmn.obj &\r
$(OBJS)\coredll_cairo.obj &\r
+ $(OBJS)\coredll_calctrlcmn.obj &\r
+ $(OBJS)\coredll_checkboxcmn.obj &\r
+ $(OBJS)\coredll_checklstcmn.obj &\r
$(OBJS)\coredll_choiccmn.obj &\r
$(OBJS)\coredll_clipcmn.obj &\r
$(OBJS)\coredll_clrpickercmn.obj &\r
$(OBJS)\coredll_dcbufcmn.obj &\r
$(OBJS)\coredll_dcgraph.obj &\r
$(OBJS)\coredll_dcsvg.obj &\r
+ $(OBJS)\coredll_dirctrlcmn.obj &\r
$(OBJS)\coredll_dlgcmn.obj &\r
$(OBJS)\coredll_dndcmn.obj &\r
$(OBJS)\coredll_dobjcmn.obj &\r
$(OBJS)\coredll_geometry.obj &\r
$(OBJS)\coredll_gifdecod.obj &\r
$(OBJS)\coredll_graphcmn.obj &\r
+ $(OBJS)\coredll_gridcmn.obj &\r
$(OBJS)\coredll_headercolcmn.obj &\r
$(OBJS)\coredll_headerctrlcmn.obj &\r
$(OBJS)\coredll_helpbase.obj &\r
$(OBJS)\coredll_menucmn.obj &\r
$(OBJS)\coredll_mousemanager.obj &\r
$(OBJS)\coredll_nbkbase.obj &\r
+ $(OBJS)\coredll_odcombocmn.obj &\r
$(OBJS)\coredll_overlaycmn.obj &\r
$(OBJS)\coredll_ownerdrwcmn.obj &\r
$(OBJS)\coredll_paper.obj &\r
+ $(OBJS)\coredll_panelcmn.obj &\r
$(OBJS)\coredll_persist.obj &\r
$(OBJS)\coredll_pickerbase.obj &\r
$(OBJS)\coredll_popupcmn.obj &\r
$(OBJS)\coredll_prntbase.obj &\r
$(OBJS)\coredll_quantize.obj &\r
+ $(OBJS)\coredll_radiobtncmn.obj &\r
$(OBJS)\coredll_radiocmn.obj &\r
$(OBJS)\coredll_rearrangectrl.obj &\r
$(OBJS)\coredll_rendcmn.obj &\r
$(OBJS)\coredll_rgncmn.obj &\r
+ $(OBJS)\coredll_scrolbarcmn.obj &\r
$(OBJS)\coredll_settcmn.obj &\r
$(OBJS)\coredll_sizer.obj &\r
+ $(OBJS)\coredll_slidercmn.obj &\r
+ $(OBJS)\coredll_spinbtncmn.obj &\r
$(OBJS)\coredll_spinctrlcmn.obj &\r
$(OBJS)\coredll_srchcmn.obj &\r
$(OBJS)\coredll_statbar.obj &\r
+ $(OBJS)\coredll_statbmpcmn.obj &\r
+ $(OBJS)\coredll_statboxcmn.obj &\r
+ $(OBJS)\coredll_statlinecmn.obj &\r
$(OBJS)\coredll_stattextcmn.obj &\r
$(OBJS)\coredll_stockitem.obj &\r
$(OBJS)\coredll_tbarbase.obj &\r
$(OBJS)\coredll_artstd.obj &\r
$(OBJS)\coredll_arttango.obj &\r
$(OBJS)\coredll_bmpbase.obj &\r
+ $(OBJS)\coredll_bmpbtncmn.obj &\r
$(OBJS)\coredll_bookctrl.obj &\r
$(OBJS)\coredll_btncmn.obj &\r
$(OBJS)\coredll_cairo.obj &\r
+ $(OBJS)\coredll_calctrlcmn.obj &\r
+ $(OBJS)\coredll_checkboxcmn.obj &\r
+ $(OBJS)\coredll_checklstcmn.obj &\r
$(OBJS)\coredll_choiccmn.obj &\r
$(OBJS)\coredll_clipcmn.obj &\r
$(OBJS)\coredll_clrpickercmn.obj &\r
$(OBJS)\coredll_dcbufcmn.obj &\r
$(OBJS)\coredll_dcgraph.obj &\r
$(OBJS)\coredll_dcsvg.obj &\r
+ $(OBJS)\coredll_dirctrlcmn.obj &\r
$(OBJS)\coredll_dlgcmn.obj &\r
$(OBJS)\coredll_dndcmn.obj &\r
$(OBJS)\coredll_dobjcmn.obj &\r
$(OBJS)\coredll_geometry.obj &\r
$(OBJS)\coredll_gifdecod.obj &\r
$(OBJS)\coredll_graphcmn.obj &\r
+ $(OBJS)\coredll_gridcmn.obj &\r
$(OBJS)\coredll_headercolcmn.obj &\r
$(OBJS)\coredll_headerctrlcmn.obj &\r
$(OBJS)\coredll_helpbase.obj &\r
$(OBJS)\coredll_menucmn.obj &\r
$(OBJS)\coredll_mousemanager.obj &\r
$(OBJS)\coredll_nbkbase.obj &\r
+ $(OBJS)\coredll_odcombocmn.obj &\r
$(OBJS)\coredll_overlaycmn.obj &\r
$(OBJS)\coredll_ownerdrwcmn.obj &\r
$(OBJS)\coredll_paper.obj &\r
+ $(OBJS)\coredll_panelcmn.obj &\r
$(OBJS)\coredll_persist.obj &\r
$(OBJS)\coredll_pickerbase.obj &\r
$(OBJS)\coredll_popupcmn.obj &\r
$(OBJS)\coredll_prntbase.obj &\r
$(OBJS)\coredll_quantize.obj &\r
+ $(OBJS)\coredll_radiobtncmn.obj &\r
$(OBJS)\coredll_radiocmn.obj &\r
$(OBJS)\coredll_rearrangectrl.obj &\r
$(OBJS)\coredll_rendcmn.obj &\r
$(OBJS)\coredll_rgncmn.obj &\r
+ $(OBJS)\coredll_scrolbarcmn.obj &\r
$(OBJS)\coredll_settcmn.obj &\r
$(OBJS)\coredll_sizer.obj &\r
+ $(OBJS)\coredll_slidercmn.obj &\r
+ $(OBJS)\coredll_spinbtncmn.obj &\r
$(OBJS)\coredll_spinctrlcmn.obj &\r
$(OBJS)\coredll_srchcmn.obj &\r
$(OBJS)\coredll_statbar.obj &\r
+ $(OBJS)\coredll_statbmpcmn.obj &\r
+ $(OBJS)\coredll_statboxcmn.obj &\r
+ $(OBJS)\coredll_statlinecmn.obj &\r
$(OBJS)\coredll_stattextcmn.obj &\r
$(OBJS)\coredll_stockitem.obj &\r
$(OBJS)\coredll_tbarbase.obj &\r
$(OBJS)\corelib_artstd.obj &\r
$(OBJS)\corelib_arttango.obj &\r
$(OBJS)\corelib_bmpbase.obj &\r
+ $(OBJS)\corelib_bmpbtncmn.obj &\r
$(OBJS)\corelib_bookctrl.obj &\r
$(OBJS)\corelib_btncmn.obj &\r
$(OBJS)\corelib_cairo.obj &\r
+ $(OBJS)\corelib_calctrlcmn.obj &\r
+ $(OBJS)\corelib_checkboxcmn.obj &\r
+ $(OBJS)\corelib_checklstcmn.obj &\r
$(OBJS)\corelib_choiccmn.obj &\r
$(OBJS)\corelib_clipcmn.obj &\r
$(OBJS)\corelib_clrpickercmn.obj &\r
$(OBJS)\corelib_dcbufcmn.obj &\r
$(OBJS)\corelib_dcgraph.obj &\r
$(OBJS)\corelib_dcsvg.obj &\r
+ $(OBJS)\corelib_dirctrlcmn.obj &\r
$(OBJS)\corelib_dlgcmn.obj &\r
$(OBJS)\corelib_dndcmn.obj &\r
$(OBJS)\corelib_dobjcmn.obj &\r
$(OBJS)\corelib_geometry.obj &\r
$(OBJS)\corelib_gifdecod.obj &\r
$(OBJS)\corelib_graphcmn.obj &\r
+ $(OBJS)\corelib_gridcmn.obj &\r
$(OBJS)\corelib_headercolcmn.obj &\r
$(OBJS)\corelib_headerctrlcmn.obj &\r
$(OBJS)\corelib_helpbase.obj &\r
$(OBJS)\corelib_menucmn.obj &\r
$(OBJS)\corelib_mousemanager.obj &\r
$(OBJS)\corelib_nbkbase.obj &\r
+ $(OBJS)\corelib_odcombocmn.obj &\r
$(OBJS)\corelib_overlaycmn.obj &\r
$(OBJS)\corelib_ownerdrwcmn.obj &\r
$(OBJS)\corelib_paper.obj &\r
+ $(OBJS)\corelib_panelcmn.obj &\r
$(OBJS)\corelib_persist.obj &\r
$(OBJS)\corelib_pickerbase.obj &\r
$(OBJS)\corelib_popupcmn.obj &\r
$(OBJS)\corelib_prntbase.obj &\r
$(OBJS)\corelib_quantize.obj &\r
+ $(OBJS)\corelib_radiobtncmn.obj &\r
$(OBJS)\corelib_radiocmn.obj &\r
$(OBJS)\corelib_rearrangectrl.obj &\r
$(OBJS)\corelib_rendcmn.obj &\r
$(OBJS)\corelib_rgncmn.obj &\r
+ $(OBJS)\corelib_scrolbarcmn.obj &\r
$(OBJS)\corelib_settcmn.obj &\r
$(OBJS)\corelib_sizer.obj &\r
+ $(OBJS)\corelib_slidercmn.obj &\r
+ $(OBJS)\corelib_spinbtncmn.obj &\r
$(OBJS)\corelib_spinctrlcmn.obj &\r
$(OBJS)\corelib_srchcmn.obj &\r
$(OBJS)\corelib_statbar.obj &\r
+ $(OBJS)\corelib_statbmpcmn.obj &\r
+ $(OBJS)\corelib_statboxcmn.obj &\r
+ $(OBJS)\corelib_statlinecmn.obj &\r
$(OBJS)\corelib_stattextcmn.obj &\r
$(OBJS)\corelib_stockitem.obj &\r
$(OBJS)\corelib_tbarbase.obj &\r
$(OBJS)\corelib_artstd.obj &\r
$(OBJS)\corelib_arttango.obj &\r
$(OBJS)\corelib_bmpbase.obj &\r
+ $(OBJS)\corelib_bmpbtncmn.obj &\r
$(OBJS)\corelib_bookctrl.obj &\r
$(OBJS)\corelib_btncmn.obj &\r
$(OBJS)\corelib_cairo.obj &\r
+ $(OBJS)\corelib_calctrlcmn.obj &\r
+ $(OBJS)\corelib_checkboxcmn.obj &\r
+ $(OBJS)\corelib_checklstcmn.obj &\r
$(OBJS)\corelib_choiccmn.obj &\r
$(OBJS)\corelib_clipcmn.obj &\r
$(OBJS)\corelib_clrpickercmn.obj &\r
$(OBJS)\corelib_dcbufcmn.obj &\r
$(OBJS)\corelib_dcgraph.obj &\r
$(OBJS)\corelib_dcsvg.obj &\r
+ $(OBJS)\corelib_dirctrlcmn.obj &\r
$(OBJS)\corelib_dlgcmn.obj &\r
$(OBJS)\corelib_dndcmn.obj &\r
$(OBJS)\corelib_dobjcmn.obj &\r
$(OBJS)\corelib_geometry.obj &\r
$(OBJS)\corelib_gifdecod.obj &\r
$(OBJS)\corelib_graphcmn.obj &\r
+ $(OBJS)\corelib_gridcmn.obj &\r
$(OBJS)\corelib_headercolcmn.obj &\r
$(OBJS)\corelib_headerctrlcmn.obj &\r
$(OBJS)\corelib_helpbase.obj &\r
$(OBJS)\corelib_menucmn.obj &\r
$(OBJS)\corelib_mousemanager.obj &\r
$(OBJS)\corelib_nbkbase.obj &\r
+ $(OBJS)\corelib_odcombocmn.obj &\r
$(OBJS)\corelib_overlaycmn.obj &\r
$(OBJS)\corelib_ownerdrwcmn.obj &\r
$(OBJS)\corelib_paper.obj &\r
+ $(OBJS)\corelib_panelcmn.obj &\r
$(OBJS)\corelib_persist.obj &\r
$(OBJS)\corelib_pickerbase.obj &\r
$(OBJS)\corelib_popupcmn.obj &\r
$(OBJS)\corelib_prntbase.obj &\r
$(OBJS)\corelib_quantize.obj &\r
+ $(OBJS)\corelib_radiobtncmn.obj &\r
$(OBJS)\corelib_radiocmn.obj &\r
$(OBJS)\corelib_rearrangectrl.obj &\r
$(OBJS)\corelib_rendcmn.obj &\r
$(OBJS)\corelib_rgncmn.obj &\r
+ $(OBJS)\corelib_scrolbarcmn.obj &\r
$(OBJS)\corelib_settcmn.obj &\r
$(OBJS)\corelib_sizer.obj &\r
+ $(OBJS)\corelib_slidercmn.obj &\r
+ $(OBJS)\corelib_spinbtncmn.obj &\r
$(OBJS)\corelib_spinctrlcmn.obj &\r
$(OBJS)\corelib_srchcmn.obj &\r
$(OBJS)\corelib_statbar.obj &\r
+ $(OBJS)\corelib_statbmpcmn.obj &\r
+ $(OBJS)\corelib_statboxcmn.obj &\r
+ $(OBJS)\corelib_statlinecmn.obj &\r
$(OBJS)\corelib_stattextcmn.obj &\r
$(OBJS)\corelib_stockitem.obj &\r
$(OBJS)\corelib_tbarbase.obj &\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_bmpbtncmn.obj : .AUTODEPEND ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_bookctrl.obj : .AUTODEPEND ..\..\src\common\bookctrl.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_checkboxcmn.obj : .AUTODEPEND ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_checklstcmn.obj : .AUTODEPEND ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_choiccmn.obj : .AUTODEPEND ..\..\src\common\choiccmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_dirctrlcmn.obj : .AUTODEPEND ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_dlgcmn.obj : .AUTODEPEND ..\..\src\common\dlgcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_gridcmn.obj : .AUTODEPEND ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_headercolcmn.obj : .AUTODEPEND ..\..\src\common\headercolcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_odcombocmn.obj : .AUTODEPEND ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_overlaycmn.obj : .AUTODEPEND ..\..\src\common\overlaycmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_panelcmn.obj : .AUTODEPEND ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_persist.obj : .AUTODEPEND ..\..\src\common\persist.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_radiobtncmn.obj : .AUTODEPEND ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_radiocmn.obj : .AUTODEPEND ..\..\src\common\radiocmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_scrolbarcmn.obj : .AUTODEPEND ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_settcmn.obj : .AUTODEPEND ..\..\src\common\settcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_slidercmn.obj : .AUTODEPEND ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_spinbtncmn.obj : .AUTODEPEND ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_spinctrlcmn.obj : .AUTODEPEND ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_statbmpcmn.obj : .AUTODEPEND ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_statboxcmn.obj : .AUTODEPEND ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monodll_statlinecmn.obj : .AUTODEPEND ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_stattextcmn.obj : .AUTODEPEND ..\..\src\common\stattextcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
!endif\r
\r
-!ifeq USE_GUI 1\r
-$(OBJS)\monodll_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
-!endif\r
-\r
!ifeq USE_GUI 1\r
$(OBJS)\monodll_datavcmn.obj : .AUTODEPEND ..\..\src\common\datavcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONODLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_bmpbtncmn.obj : .AUTODEPEND ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_bookctrl.obj : .AUTODEPEND ..\..\src\common\bookctrl.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_checkboxcmn.obj : .AUTODEPEND ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_checklstcmn.obj : .AUTODEPEND ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_choiccmn.obj : .AUTODEPEND ..\..\src\common\choiccmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_dirctrlcmn.obj : .AUTODEPEND ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_dlgcmn.obj : .AUTODEPEND ..\..\src\common\dlgcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_gridcmn.obj : .AUTODEPEND ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_headercolcmn.obj : .AUTODEPEND ..\..\src\common\headercolcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_odcombocmn.obj : .AUTODEPEND ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_overlaycmn.obj : .AUTODEPEND ..\..\src\common\overlaycmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_panelcmn.obj : .AUTODEPEND ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_persist.obj : .AUTODEPEND ..\..\src\common\persist.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_radiobtncmn.obj : .AUTODEPEND ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_radiocmn.obj : .AUTODEPEND ..\..\src\common\radiocmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_scrolbarcmn.obj : .AUTODEPEND ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_settcmn.obj : .AUTODEPEND ..\..\src\common\settcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_slidercmn.obj : .AUTODEPEND ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_spinbtncmn.obj : .AUTODEPEND ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_spinctrlcmn.obj : .AUTODEPEND ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_statbmpcmn.obj : .AUTODEPEND ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_statboxcmn.obj : .AUTODEPEND ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\monolib_statlinecmn.obj : .AUTODEPEND ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_stattextcmn.obj : .AUTODEPEND ..\..\src\common\stattextcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
!endif\r
\r
-!ifeq USE_GUI 1\r
-$(OBJS)\monolib_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
- $(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
-!endif\r
-\r
!ifeq USE_GUI 1\r
$(OBJS)\monolib_datavcmn.obj : .AUTODEPEND ..\..\src\common\datavcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(MONOLIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_bmpbtncmn.obj : .AUTODEPEND ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_bookctrl.obj : .AUTODEPEND ..\..\src\common\bookctrl.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_checkboxcmn.obj : .AUTODEPEND ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_checklstcmn.obj : .AUTODEPEND ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_choiccmn.obj : .AUTODEPEND ..\..\src\common\choiccmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_dirctrlcmn.obj : .AUTODEPEND ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_dlgcmn.obj : .AUTODEPEND ..\..\src\common\dlgcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_gridcmn.obj : .AUTODEPEND ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_headercolcmn.obj : .AUTODEPEND ..\..\src\common\headercolcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_odcombocmn.obj : .AUTODEPEND ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_overlaycmn.obj : .AUTODEPEND ..\..\src\common\overlaycmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_panelcmn.obj : .AUTODEPEND ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_persist.obj : .AUTODEPEND ..\..\src\common\persist.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_radiobtncmn.obj : .AUTODEPEND ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_radiocmn.obj : .AUTODEPEND ..\..\src\common\radiocmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_scrolbarcmn.obj : .AUTODEPEND ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_settcmn.obj : .AUTODEPEND ..\..\src\common\settcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_slidercmn.obj : .AUTODEPEND ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_spinbtncmn.obj : .AUTODEPEND ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_spinctrlcmn.obj : .AUTODEPEND ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_statbmpcmn.obj : .AUTODEPEND ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_statboxcmn.obj : .AUTODEPEND ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\coredll_statlinecmn.obj : .AUTODEPEND ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\coredll_stattextcmn.obj : .AUTODEPEND ..\..\src\common\stattextcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(COREDLL_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_bmpbtncmn.obj : .AUTODEPEND ..\..\src\common\bmpbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_bookctrl.obj : .AUTODEPEND ..\..\src\common\bookctrl.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_calctrlcmn.obj : .AUTODEPEND ..\..\src\common\calctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_checkboxcmn.obj : .AUTODEPEND ..\..\src\common\checkboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_checklstcmn.obj : .AUTODEPEND ..\..\src\common\checklstcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_choiccmn.obj : .AUTODEPEND ..\..\src\common\choiccmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_dirctrlcmn.obj : .AUTODEPEND ..\..\src\common\dirctrlcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_dlgcmn.obj : .AUTODEPEND ..\..\src\common\dlgcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_gridcmn.obj : .AUTODEPEND ..\..\src\common\gridcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_headercolcmn.obj : .AUTODEPEND ..\..\src\common\headercolcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_odcombocmn.obj : .AUTODEPEND ..\..\src\common\odcombocmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_overlaycmn.obj : .AUTODEPEND ..\..\src\common\overlaycmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_panelcmn.obj : .AUTODEPEND ..\..\src\common\panelcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_persist.obj : .AUTODEPEND ..\..\src\common\persist.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_radiobtncmn.obj : .AUTODEPEND ..\..\src\common\radiobtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_radiocmn.obj : .AUTODEPEND ..\..\src\common\radiocmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_scrolbarcmn.obj : .AUTODEPEND ..\..\src\common\scrolbarcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_settcmn.obj : .AUTODEPEND ..\..\src\common\settcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_slidercmn.obj : .AUTODEPEND ..\..\src\common\slidercmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_spinbtncmn.obj : .AUTODEPEND ..\..\src\common\spinbtncmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_spinctrlcmn.obj : .AUTODEPEND ..\..\src\common\spinctrlcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
!endif\r
\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_statbmpcmn.obj : .AUTODEPEND ..\..\src\common\statbmpcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_statboxcmn.obj : .AUTODEPEND ..\..\src\common\statboxcmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
+!ifeq USE_GUI 1\r
+$(OBJS)\corelib_statlinecmn.obj : .AUTODEPEND ..\..\src\common\statlinecmn.cpp\r
+ $(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
+!endif\r
+\r
!ifeq USE_GUI 1\r
$(OBJS)\corelib_stattextcmn.obj : .AUTODEPEND ..\..\src\common\stattextcmn.cpp\r
$(CXX) -bt=nt -zq -fo=$^@ $(CORELIB_CXXFLAGS) $<\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\include\wx\rtti.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\include\wx\scopedarray.h\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\include\wx\xtictor.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\include\wx\xtihandler.h\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\include\wx\xtiprop.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\include\wx\xtistrm.h\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\include\wx\xtitypes.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\include\wx\zipstrm.h\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\bmpbtncmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\bookctrl.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\calctrlcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\src\common\checkboxcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\src\common\checklstcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\choiccmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\dirctrlcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\dlgcmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\gridcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\headercolcmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\odcombocmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\overlaycmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\panelcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\paper.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\radiobtncmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\radiocmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\scrolbarcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\settcmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\slidercmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\src\common\spinbtncmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\spinctrlcmn.cpp\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\common\statbmpcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\src\common\statboxcmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=..\..\src\common\statlinecmn.cpp\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\common\stattextcmn.cpp\r
# End Source File\r
# Begin Source File\r
<File\r
RelativePath="..\..\include\wx\regex.h">\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\rtti.h">\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\scopedarray.h">\r
</File>\r
<File\r
RelativePath="..\..\include\wx\xti.h">\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtictor.h">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtihandler.h">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtiprop.h">\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\xtistrm.h">\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtitypes.h">\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\zipstrm.h">\r
</File>\r
<File\r
RelativePath="..\..\src\common\bmpbase.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\bmpbtncmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\bookctrl.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\cairo.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\calctrlcmn.cpp">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checkboxcmn.cpp">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checklstcmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\choiccmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\dcsvg.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\dirctrlcmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\dlgcmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\graphcmn.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\gridcmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\headercolcmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\nbkbase.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\odcombocmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\overlaycmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\ownerdrwcmn.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\panelcmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\paper.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\quantize.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\radiobtncmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\radiocmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\rgncmn.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\scrolbarcmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\settcmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\sizer.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\slidercmn.cpp">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\spinbtncmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\spinctrlcmn.cpp">\r
</File>\r
<File\r
RelativePath="..\..\src\common\statbar.cpp">\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\statbmpcmn.cpp">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statboxcmn.cpp">\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statlinecmn.cpp">\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\stattextcmn.cpp">\r
</File>\r
RelativePath="..\..\include\wx\regex.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\rtti.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\scopedarray.h"\r
>\r
RelativePath="..\..\include\wx\xti.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtictor.h"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtihandler.h"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtiprop.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\xtistrm.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtitypes.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\zipstrm.h"\r
>\r
RelativePath="..\..\src\common\bmpbase.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\bmpbtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\bookctrl.cpp"\r
>\r
RelativePath="..\..\src\common\cairo.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\calctrlcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checkboxcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checklstcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\choiccmn.cpp"\r
>\r
RelativePath="..\..\src\common\dcsvg.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\dirctrlcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\dlgcmn.cpp"\r
>\r
RelativePath="..\..\src\common\graphcmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\gridcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\headercolcmn.cpp"\r
>\r
RelativePath="..\..\src\common\nbkbase.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\odcombocmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\overlaycmn.cpp"\r
>\r
RelativePath="..\..\src\common\ownerdrwcmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\panelcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\paper.cpp"\r
>\r
RelativePath="..\..\src\common\quantize.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\radiobtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\radiocmn.cpp"\r
>\r
RelativePath="..\..\src\common\rgncmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\scrolbarcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\settcmn.cpp"\r
>\r
RelativePath="..\..\src\common\sizer.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\slidercmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\spinbtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\spinctrlcmn.cpp"\r
>\r
RelativePath="..\..\src\common\statbar.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\statbmpcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statboxcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statlinecmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\stattextcmn.cpp"\r
>\r
RelativePath="..\..\include\wx\regex.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\rtti.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\scopedarray.h"\r
>\r
RelativePath="..\..\include\wx\xti.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtictor.h"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtihandler.h"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtiprop.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\xtistrm.h"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\include\wx\xtitypes.h"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\include\wx\zipstrm.h"\r
>\r
RelativePath="..\..\src\common\bmpbase.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\bmpbtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\bookctrl.cpp"\r
>\r
RelativePath="..\..\src\common\cairo.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\calctrlcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checkboxcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\checklstcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\choiccmn.cpp"\r
>\r
RelativePath="..\..\src\common\dcsvg.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\dirctrlcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\dlgcmn.cpp"\r
>\r
RelativePath="..\..\src\common\graphcmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\gridcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\headercolcmn.cpp"\r
>\r
RelativePath="..\..\src\common\nbkbase.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\odcombocmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\overlaycmn.cpp"\r
>\r
RelativePath="..\..\src\common\ownerdrwcmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\panelcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\paper.cpp"\r
>\r
RelativePath="..\..\src\common\quantize.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\radiobtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\radiocmn.cpp"\r
>\r
RelativePath="..\..\src\common\rgncmn.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\scrolbarcmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\settcmn.cpp"\r
>\r
RelativePath="..\..\src\common\sizer.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\slidercmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\spinbtncmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\spinctrlcmn.cpp"\r
>\r
RelativePath="..\..\src\common\statbar.cpp"\r
>\r
</File>\r
+ <File\r
+ RelativePath="..\..\src\common\statbmpcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statboxcmn.cpp"\r
+ >\r
+ </File>\r
+ <File\r
+ RelativePath="..\..\src\common\statlinecmn.cpp"\r
+ >\r
+ </File>\r
<File\r
RelativePath="..\..\src\common\stattextcmn.cpp"\r
>\r
#endif
#endif
+/* ---------------------------------------------------------------------------- */
+/* XTI workarounds for dummy compilers */
+/* ---------------------------------------------------------------------------- */
+
+#if defined(__GNUC__) && !wxCHECK_GCC_VERSION( 3, 4 )
+ // GCC <= 3.4 has buggy template support
+# define wxUSE_MEMBER_TEMPLATES 0
+#endif
+
+#if defined(_MSC_VER) && _MSC_VER <= 1200
+ // MSVC <= 6.0 has buggy template support
+# define wxUSE_MEMBER_TEMPLATES 0
+# define wxUSE_FUNC_TEMPLATE_POINTER 0
+#endif
+
+#ifndef wxUSE_MEMBER_TEMPLATES
+# define wxUSE_MEMBER_TEMPLATES 1
+#endif
+
+#ifndef wxUSE_FUNC_TEMPLATE_POINTER
+# define wxUSE_FUNC_TEMPLATE_POINTER 1
+#endif
+
+#if wxUSE_MEMBER_TEMPLATES
+# define wxTEMPLATED_MEMBER_CALL( method, type ) method<type>()
+# define wxTEMPLATED_MEMBER_FIX( type )
+#else
+# define wxTEMPLATED_MEMBER_CALL( method, type ) method((type*)NULL)
+# define wxTEMPLATED_MEMBER_FIX( type ) type* =NULL
+#endif
+
+#if defined(_MSC_VER) && _MSC_VER <= 1200
+# define wxTEMPLATED_FUNCTION_FIX( type ), wxTEMPLATED_MEMBER_FIX(type)
+# define wxINFUNC_CLASS_TYPE_FIX( type ) typedef type type;
+#else
+# define wxTEMPLATED_FUNCTION_FIX( type )
+# define wxINFUNC_CLASS_TYPE_FIX( type )
+#endif
+
+#if wxUSE_FUNC_TEMPLATE_POINTER
+# define wxTO_STRING(type) wxToStringConverter<type>
+# define wxTO_STRING_IMP(type)
+# define wxFROM_STRING(type) wxFromStringConverter<type>
+# define wxFROM_STRING_IMP(type)
+#else
+# define wxTO_STRING(type) ToString##type
+# define wxTO_STRING_IMP(type) \
+ inline void ToString##type( const wxVariantBase& data, wxString &result ) \
+ { wxToStringConverter<type>(data, result); }
+
+# define wxFROM_STRING(type) FromString##type
+# define wxFROM_STRING_IMP(type) \
+ inline void FromString##type( const wxString& data, wxVariantBase &result ) \
+ { wxFromStringConverter<type>(data, result); }
+#endif
+
+// XTI helper macro. This one is used both by xti.h and rtti.h and
+// thus needs to go in a common header to avoid redundancy.
+#define wxDECLARE_CLASS_INFO_ITERATORS() \
+ class WXDLLIMPEXP_BASE const_iterator \
+ { \
+ typedef wxHashTable_Node Node; \
+ public: \
+ typedef const wxClassInfo* value_type; \
+ typedef const value_type& const_reference; \
+ typedef const_iterator itor; \
+ typedef value_type* ptr_type; \
+ \
+ Node* m_node; \
+ wxHashTable* m_table; \
+ public: \
+ typedef const_reference reference_type; \
+ typedef ptr_type pointer_type; \
+ \
+ const_iterator(Node* node, wxHashTable* table) \
+ : m_node(node), m_table(table) { } \
+ const_iterator() : m_node(NULL), m_table(NULL) { } \
+ value_type operator*() const; \
+ itor& operator++(); \
+ const itor operator++(int); \
+ bool operator!=(const itor& it) const \
+ { return it.m_node != m_node; } \
+ bool operator==(const itor& it) const \
+ { return it.m_node == m_node; } \
+ }; \
+ \
+ static const_iterator begin_classinfo(); \
+ static const_iterator end_classinfo();
+
/* ---------------------------------------------------------------------------- */
/* Geometric flags */
/* ---------------------------------------------------------------------------- */
unsigned long m_data;
};
-#define WX_DEFINE_FLAGS( flags ) \
+#if wxUSE_EXTENDED_RTTI
+
+#define wxDEFINE_FLAGS( flags ) \
class WXDLLIMPEXP_BASE flags \
{\
public : \
bool operator ==(const flags &rhs) const { return m_data == rhs.m_data; }\
} ;
+#else
+
+#define wxDEFINE_FLAGS( flags )
+
+#endif
+
+#if WXWIN_COMPATIBILITY_2_8
+ #define WX_DEFINE_FLAGS wxDEFINE_FLAGS
+#endif
+
#endif
wxDECLARE_NO_COPY_CLASS(wxMenuBase);
};
+#if wxUSE_EXTENDED_RTTI
+
+// ----------------------------------------------------------------------------
+// XTI accessor
+// ----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxMenuInfo : public wxObject
+{
+public:
+ wxMenuInfo() { m_menu = NULL; }
+ virtual ~wxMenuInfo() { }
+
+ bool Create( wxMenu *menu, const wxString &title )
+ {
+ m_menu = menu;
+ m_title = title;
+ return true;
+ }
+
+ wxMenu* GetMenu() const { return m_menu; }
+ wxString GetTitle() const { return m_title; }
+
+private:
+ wxMenu *m_menu;
+ wxString m_title;
+
+ DECLARE_DYNAMIC_CLASS(wxMenuInfo)
+};
+
+WX_DECLARE_EXPORTED_LIST(wxMenuInfo, wxMenuInfoList );
+
+#endif
+
// ----------------------------------------------------------------------------
// wxMenuBar
// ----------------------------------------------------------------------------
virtual bool CanBeOutsideClientArea() const { return true; }
+#if wxUSE_EXTENDED_RTTI
+ // XTI helpers:
+ bool AppendMenuInfo( const wxMenuInfo *info )
+ { return Append( info->GetMenu(), info->GetTitle() ); }
+ const wxMenuInfoList& GetMenuInfos() const;
+#endif
+
#if WXWIN_COMPATIBILITY_2_8
// get or change the label of the menu at given position
// Deprecated in favour of SetMenuLabel
// the list of all our menus
wxMenuList m_menus;
+#if wxUSE_EXTENDED_RTTI
+ // used by XTI
+ wxMenuInfoList m_menuInfos;
+#endif
+
// the frame we are attached to (may be NULL)
wxFrame *m_menuBarFrame;
extern WXDLLIMPEXP_DATA_CORE(const char) wxNotebookNameStr[];
+#if wxUSE_EXTENDED_RTTI
+
+// ----------------------------------------------------------------------------
+// XTI accessor
+// ----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxNotebookPageInfo : public wxObject
+{
+public:
+ wxNotebookPageInfo() { m_page = NULL; m_imageId = -1; m_selected = false; }
+ virtual ~wxNotebookPageInfo() { }
+
+ bool Create(wxNotebookPage *page,
+ const wxString& text,
+ bool selected,
+ int imageId)
+ {
+ m_page = page;
+ m_text = text;
+ m_selected = selected;
+ m_imageId = imageId;
+ return true;
+ }
+
+ wxNotebookPage* GetPage() const { return m_page; }
+ wxString GetText() const { return m_text; }
+ bool GetSelected() const { return m_selected; }
+ int GetImageId() const { return m_imageId; }
+
+private:
+ wxNotebookPage *m_page;
+ wxString m_text;
+ bool m_selected;
+ int m_imageId;
+
+ DECLARE_DYNAMIC_CLASS(wxNotebookPageInfo)
+};
+
+WX_DECLARE_EXPORTED_LIST(wxNotebookPageInfo, wxNotebookPageInfoList );
+
+#endif
+
// ----------------------------------------------------------------------------
// wxNotebookBase: define wxNotebook interface
// ----------------------------------------------------------------------------
// focus because we have tabs
virtual bool AcceptsFocus() const { return wxControl::AcceptsFocus(); }
+#if wxUSE_EXTENDED_RTTI
+ // XTI accessors
+ virtual void AddPageInfo( wxNotebookPageInfo* info );
+ virtual const wxNotebookPageInfoList& GetPageInfos() const;
+#endif
+
protected:
+#if wxUSE_EXTENDED_RTTI
+ wxNotebookPageInfoList m_pageInfos;
+#endif
wxDECLARE_NO_COPY_CLASS(wxNotebookBase);
};
#include "wx/memory.h"
-class WXDLLIMPEXP_FWD_BASE wxObject;
-class WXDLLIMPEXP_FWD_BASE wxString;
-
-#ifndef wxUSE_EXTENDED_RTTI
-#define wxUSE_EXTENDED_RTTI 0
-#endif
-
-#define wxDECLARE_CLASS_INFO_ITERATORS() \
- class WXDLLIMPEXP_BASE const_iterator \
- { \
- typedef wxHashTable_Node Node; \
- public: \
- typedef const wxClassInfo* value_type; \
- typedef const value_type& const_reference; \
- typedef const_iterator itor; \
- typedef value_type* ptr_type; \
- \
- Node* m_node; \
- wxHashTable* m_table; \
- public: \
- typedef const_reference reference_type; \
- typedef ptr_type pointer_type; \
- \
- const_iterator(Node* node, wxHashTable* table) \
- : m_node(node), m_table(table) { } \
- const_iterator() : m_node(NULL), m_table(NULL) { } \
- value_type operator*() const; \
- itor& operator++(); \
- const itor operator++(int); \
- bool operator!=(const itor& it) const \
- { return it.m_node != m_node; } \
- bool operator==(const itor& it) const \
- { return it.m_node == m_node; } \
- }; \
- \
- static const_iterator begin_classinfo(); \
- static const_iterator end_classinfo()
-
-#if wxUSE_EXTENDED_RTTI
+// based on the value of wxUSE_EXTENDED_RTTI symbol,
+// only one of the RTTI system will be compiled:
+// - the "old" one (defined by rtti.h) or
+// - the "new" one (defined by xti.h)
#include "wx/xti.h"
-#else
-
-// ----------------------------------------------------------------------------
-// conditional compilation
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_FWD_BASE wxClassInfo;
-class WXDLLIMPEXP_FWD_BASE wxHashTable;
-class WXDLLIMPEXP_FWD_BASE wxObject;
-class WXDLLIMPEXP_FWD_BASE wxPluginLibrary;
-class WXDLLIMPEXP_FWD_BASE wxHashTable_Node;
-
-// ----------------------------------------------------------------------------
-// wxClassInfo
-// ----------------------------------------------------------------------------
-
-typedef wxObject *(*wxObjectConstructorFn)(void);
-
-class WXDLLIMPEXP_BASE wxClassInfo
-{
- friend class WXDLLIMPEXP_FWD_BASE wxObject;
- friend WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name);
-public:
- wxClassInfo( const wxChar *className,
- const wxClassInfo *baseInfo1,
- const wxClassInfo *baseInfo2,
- int size,
- wxObjectConstructorFn ctor )
- : m_className(className)
- , m_objectSize(size)
- , m_objectConstructor(ctor)
- , m_baseInfo1(baseInfo1)
- , m_baseInfo2(baseInfo2)
- , m_next(sm_first)
- {
- sm_first = this;
- Register();
- }
-
- ~wxClassInfo();
-
- wxObject *CreateObject() const
- { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
- bool IsDynamic() const { return (NULL != m_objectConstructor); }
-
- const wxChar *GetClassName() const { return m_className; }
- const wxChar *GetBaseClassName1() const
- { return m_baseInfo1 ? m_baseInfo1->GetClassName() : NULL; }
- const wxChar *GetBaseClassName2() const
- { return m_baseInfo2 ? m_baseInfo2->GetClassName() : NULL; }
- const wxClassInfo *GetBaseClass1() const { return m_baseInfo1; }
- const wxClassInfo *GetBaseClass2() const { return m_baseInfo2; }
- int GetSize() const { return m_objectSize; }
-
- wxObjectConstructorFn GetConstructor() const
- { return m_objectConstructor; }
- static const wxClassInfo *GetFirst() { return sm_first; }
- const wxClassInfo *GetNext() const { return m_next; }
- static wxClassInfo *FindClass(const wxString& className);
-
- // Climb upwards through inheritance hierarchy.
- // Dual inheritance is catered for.
-
- bool IsKindOf(const wxClassInfo *info) const
- {
- return info != 0 &&
- ( info == this ||
- ( m_baseInfo1 && m_baseInfo1->IsKindOf(info) ) ||
- ( m_baseInfo2 && m_baseInfo2->IsKindOf(info) ) );
- }
-
- wxDECLARE_CLASS_INFO_ITERATORS();
-
-private:
- const wxChar *m_className;
- int m_objectSize;
- wxObjectConstructorFn m_objectConstructor;
-
- // Pointers to base wxClassInfos
-
- const wxClassInfo *m_baseInfo1;
- const wxClassInfo *m_baseInfo2;
-
- // class info object live in a linked list:
- // pointers to its head and the next element in it
-
- static wxClassInfo *sm_first;
- wxClassInfo *m_next;
-
- static wxHashTable *sm_classTable;
-
-protected:
- // registers the class
- void Register();
- void Unregister();
-
- wxDECLARE_NO_COPY_CLASS(wxClassInfo);
-};
-
-WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name);
-
-// ----------------------------------------------------------------------------
-// Dynamic class macros
-// ----------------------------------------------------------------------------
-
-#define wxDECLARE_ABSTRACT_CLASS(name) \
- public: \
- static wxClassInfo ms_classInfo; \
- virtual wxClassInfo *GetClassInfo() const
-
-#define wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(name) \
- wxDECLARE_NO_ASSIGN_CLASS(name); \
- wxDECLARE_DYNAMIC_CLASS(name)
-
-#define wxDECLARE_DYNAMIC_CLASS_NO_COPY(name) \
- wxDECLARE_NO_COPY_CLASS(name); \
- wxDECLARE_DYNAMIC_CLASS(name)
-
-#define wxDECLARE_DYNAMIC_CLASS(name) \
- wxDECLARE_ABSTRACT_CLASS(name); \
- static wxObject* wxCreateObject()
-
-#define wxDECLARE_CLASS(name) \
- wxDECLARE_DYNAMIC_CLASS(name)
-
-
-// common part of the macros below
-#define wxIMPLEMENT_CLASS_COMMON(name, basename, baseclsinfo2, func) \
- wxClassInfo name::ms_classInfo(wxT(#name), \
- &basename::ms_classInfo, \
- baseclsinfo2, \
- (int) sizeof(name), \
- func); \
- \
- wxClassInfo *name::GetClassInfo() const \
- { return &name::ms_classInfo; }
-
-#define wxIMPLEMENT_CLASS_COMMON1(name, basename, func) \
- wxIMPLEMENT_CLASS_COMMON(name, basename, NULL, func)
-
-#define wxIMPLEMENT_CLASS_COMMON2(name, basename1, basename2, func) \
- wxIMPLEMENT_CLASS_COMMON(name, basename1, &basename2::ms_classInfo, func)
-
-// -----------------------------------
-// for concrete classes
-// -----------------------------------
-
- // Single inheritance with one base class
-#define wxIMPLEMENT_DYNAMIC_CLASS(name, basename) \
- wxIMPLEMENT_CLASS_COMMON1(name, basename, name::wxCreateObject) \
- wxObject* name::wxCreateObject() \
- { return new name; }
-
- // Multiple inheritance with two base classes
-#define wxIMPLEMENT_DYNAMIC_CLASS2(name, basename1, basename2) \
- wxIMPLEMENT_CLASS_COMMON2(name, basename1, basename2, \
- name::wxCreateObject) \
- wxObject* name::wxCreateObject() \
- { return new name; }
-
-// -----------------------------------
-// for abstract classes
-// -----------------------------------
-
- // Single inheritance with one base class
-#define wxIMPLEMENT_ABSTRACT_CLASS(name, basename) \
- wxIMPLEMENT_CLASS_COMMON1(name, basename, NULL)
-
- // Multiple inheritance with two base classes
-#define wxIMPLEMENT_ABSTRACT_CLASS2(name, basename1, basename2) \
- wxIMPLEMENT_CLASS_COMMON2(name, basename1, basename2, NULL)
-
-#define wxIMPLEMENT_CLASS(name, basename) \
- wxIMPLEMENT_ABSTRACT_CLASS(name, basename)
-
-#define wxIMPLEMENT_CLASS2(name, basename1, basename2) \
- IMPLEMENT_ABSTRACT_CLASS2(name, basename1, basename2)
-
-#endif // !wxUSE_EXTENDED_RTTI
-
+#include "wx/rtti.h"
// -----------------------------------
// for pluggable classes
// Name: wx/xti.h
// Purpose: runtime metadata information (extended class info)
// Author: Stefan Csomor
-// Modified by:
+// Modified by: Francesco Montorsi
// Created: 27/07/03
// RCS-ID: $Id$
// Copyright: (c) 1997 Julian Smart
// This means we have the following domains :
//
// - Type Information for categorizing built in types as well as custom types
-// this includes information about enums, their values and names
-// - Type safe value storage : a kind of wxVariant, called right now wxxVariant
-// which will be merged with wxVariant
+// this includes information about enums, their values and names
+// - Type safe value storage : a kind of wxVariant, called right now wxVariantBase
+// which will be merged with wxVariant
// - Property Information and Property Accessors providing access to a class'
-// values and exposed event delegates
+// values and exposed event delegates
// - Information about event handlers
// - extended Class Information for accessing all these
// ----------------------------------------------------------------------------
#include "wx/defs.h"
-#include "wx/memory.h"
-#include "wx/flags.h"
-#include "wx/string.h"
-#include "wx/arrstr.h"
-#include "wx/hashmap.h"
-#include "wx/log.h"
-#include "wx/intl.h"
-
-#include <typeinfo>
-
-// we will move this later to defs.h
-
-#if defined(__GNUC__) && !wxCHECK_GCC_VERSION( 3 , 4 )
-# define wxUSE_MEMBER_TEMPLATES 0
-#endif
-
-#if defined(_MSC_VER) && _MSC_VER <= 1200
-# define wxUSE_MEMBER_TEMPLATES 0
-# define wxUSE_FUNC_TEMPLATE_POINTER 0
-#endif
-
-#ifndef wxUSE_MEMBER_TEMPLATES
-# define wxUSE_MEMBER_TEMPLATES 1
-#endif
-
-#ifndef wxUSE_FUNC_TEMPLATE_POINTER
-# define wxUSE_FUNC_TEMPLATE_POINTER 1
-#endif
-
-#if wxUSE_MEMBER_TEMPLATES
-# define wxTEMPLATED_MEMBER_CALL( method , type ) method<type>()
-# define wxTEMPLATED_MEMBER_FIX( type )
-#else
-# define wxTEMPLATED_MEMBER_CALL( method , type ) method(NULL)
-# define wxTEMPLATED_MEMBER_FIX( type ) type* =NULL
-#endif
-
-#if defined(_MSC_VER) && _MSC_VER <= 1200
-# define wxTEMPLATED_FUNCTION_FIX( type ) , wxTEMPLATED_MEMBER_FIX(type)
-# define wxINFUNC_CLASS_TYPE_FIX( type ) typedef type type;
-#else
-# define wxTEMPLATED_FUNCTION_FIX( type )
-# define wxINFUNC_CLASS_TYPE_FIX( type )
-#endif
-
-#define EMPTY_MACROVALUE /**/
-
-class WXDLLIMPEXP_FWD_BASE wxObject;
-class WXDLLIMPEXP_FWD_BASE wxClassInfo;
-class WXDLLIMPEXP_FWD_BASE wxDynamicClassInfo;
-class WXDLLIMPEXP_FWD_BASE wxHashTable;
-class WXDLLIMPEXP_FWD_BASE wxHashTable_Node;
-class WXDLLIMPEXP_FWD_BASE wxObjectRefData;
-class WXDLLIMPEXP_FWD_BASE wxEvent;
-class WXDLLIMPEXP_FWD_BASE wxEvtHandler;
-
-typedef void (wxObject::*wxObjectEventFunction)(wxEvent&);
-
-#if wxUSE_FUNC_TEMPLATE_POINTER
-# define wxTO_STRING(type) wxToStringConverter<type>
-# define wxTO_STRING_IMP(type)
-# define wxFROM_STRING(type) wxFromStringConverter<type>
-# define wxFROM_STRING_IMP(type)
-#else
-# define wxTO_STRING(type) ToString##type
-# define wxTO_STRING_IMP(type) inline void ToString##type( const wxxVariant& data , wxString &result ) { wxToStringConverter<type>(data, result); }
-# define wxFROM_STRING(type) FromString##type
-# define wxFROM_STRING_IMP(type) inline void FromString##type( const wxString& data , wxxVariant &result ) { wxFromStringConverter<type>(data, result); }
-#endif
-// ----------------------------------------------------------------------------
-// Enum Support
-//
-// In the header files there would no change from pure c++ code, in the
-// implementation, an enum would have
-// to be enumerated eg :
-//
-// wxBEGIN_ENUM( wxFlavor )
-// wxENUM_MEMBER( Vanilla )
-// wxENUM_MEMBER( Chocolate )
-// wxENUM_MEMBER( Strawberry )
-// wxEND_ENUM( wxFlavor )
-// ----------------------------------------------------------------------------
-
-struct WXDLLIMPEXP_BASE wxEnumMemberData
-{
- const wxChar* m_name;
- int m_value;
-};
-
-class WXDLLIMPEXP_BASE wxEnumData
-{
-public :
- wxEnumData( wxEnumMemberData* data ) ;
-
- // returns true if the member has been found and sets the int value
- // pointed to accordingly (if ptr != null )
- // if not found returns false, value left unchanged
- bool HasEnumMemberValue( const wxChar *name , int *value = NULL ) const ;
-
- // returns the value of the member, if not found in debug mode an
- // assert is issued, in release 0 is returned
- int GetEnumMemberValue(const wxChar *name ) const ;
-
- // returns the name of the enum member having the passed in value
- // returns an emtpy string if not found
- const wxChar *GetEnumMemberName(int value) const ;
-
- // returns the number of members in this enum
- int GetEnumCount() const { return m_count ; }
-
- // returns the value of the nth member
- int GetEnumMemberValueByIndex( int n ) const ;
-
- // returns the value of the nth member
- const wxChar *GetEnumMemberNameByIndex( int n ) const ;
-private :
- wxEnumMemberData *m_members;
- int m_count ;
-};
-
-#define wxBEGIN_ENUM( e ) \
- wxEnumMemberData s_enumDataMembers##e[] = {
-
-#define wxENUM_MEMBER( v ) { wxT(#v), v } ,
-
-#define wxEND_ENUM( e ) { NULL , 0 } } ; \
- wxEnumData s_enumData##e( s_enumDataMembers##e ) ; \
- wxEnumData *wxGetEnumData(e) { return &s_enumData##e ; } \
- template<> void wxStringReadValue(const wxString& s , e &data ) \
-{ \
- data = (e) s_enumData##e.GetEnumMemberValue(s) ; \
-} \
- template<> void wxStringWriteValue(wxString &s , const e &data ) \
-{ \
- s = s_enumData##e.GetEnumMemberName((int)data) ; \
-} \
- void FromLong##e( long data , wxxVariant& result ) { result = wxxVariant((e)data) ;} \
- void ToLong##e( const wxxVariant& data , long &result ) { result = (long) data.wxTEMPLATED_MEMBER_CALL(Get , e) ;} \
- wxTO_STRING_IMP( e ) \
- wxFROM_STRING_IMP( e ) \
- wxEnumTypeInfo s_typeInfo##e(wxT_ENUM , &s_enumData##e , &wxTO_STRING( e ) , &wxFROM_STRING( e ) , &ToLong##e , &FromLong##e , typeid(e).name() ) ;
-
-// ----------------------------------------------------------------------------
-// Set Support
-//
-// in the header :
-//
-// enum wxFlavor
-// {
-// Vanilla,
-// Chocolate,
-// Strawberry,
-// };
-//
-// typedef wxBitset<wxFlavor> wxCoupe ;
-//
-// in the implementation file :
-//
-// wxBEGIN_ENUM( wxFlavor )
-// wxENUM_MEMBER( Vanilla )
-// wxENUM_MEMBER( Chocolate )
-// wxENUM_MEMBER( Strawberry )
-// wxEND_ENUM( wxFlavor )
-//
-// wxIMPLEMENT_SET_STREAMING( wxCoupe , wxFlavor )
-//
-// implementation note : no partial specialization for streaming, but a delegation to a
-// different class
-//
-// ----------------------------------------------------------------------------
-
-// in order to remove dependancy on string tokenizer
-void WXDLLIMPEXP_BASE wxSetStringToArray( const wxString &s , wxArrayString &array ) ;
-
-template<typename e>
-void wxSetFromString(const wxString &s , wxBitset<e> &data )
-{
- wxEnumData* edata = wxGetEnumData((e) 0) ;
- data.reset() ;
-
- wxArrayString array ;
- wxSetStringToArray( s , array ) ;
- wxString flag;
- for ( int i = 0 ; i < array.Count() ; ++i )
- {
- flag = array[i] ;
- int ivalue ;
- if ( edata->HasEnumMemberValue( flag , &ivalue ) )
- {
- data.set( (e) ivalue ) ;
- }
- }
-}
-
-template<typename e>
-void wxSetToString( wxString &s , const wxBitset<e> &data )
-{
- wxEnumData* edata = wxGetEnumData((e) 0) ;
- int count = edata->GetEnumCount() ;
- int i ;
- s.Clear() ;
- for ( i = 0 ; i < count ; i++ )
- {
- e value = (e) edata->GetEnumMemberValueByIndex(i) ;
- if ( data.test( value ) )
- {
- // this could also be done by the templated calls
- if ( !s.empty() )
- s +=wxT("|") ;
- s += edata->GetEnumMemberNameByIndex(i) ;
- }
- }
-}
-
-#define wxIMPLEMENT_SET_STREAMING(SetName,e) \
- template<> void wxStringReadValue(const wxString &s , wxBitset<e> &data ) \
-{ \
- wxSetFromString( s , data ) ; \
-} \
- template<> void wxStringWriteValue( wxString &s , const wxBitset<e> &data ) \
-{ \
- wxSetToString( s , data ) ; \
-} \
- void FromLong##SetName( long data , wxxVariant& result ) { result = wxxVariant(SetName((unsigned long)data)) ;} \
- void ToLong##SetName( const wxxVariant& data , long &result ) { result = (long) data.wxTEMPLATED_MEMBER_CALL(Get , SetName).to_ulong() ;} \
- wxTO_STRING_IMP( SetName ) \
- wxFROM_STRING_IMP( SetName ) \
- wxEnumTypeInfo s_typeInfo##SetName(wxT_SET , &s_enumData##e , &wxTO_STRING( SetName ) , &wxFROM_STRING( SetName ) , &ToLong##SetName , &FromLong##SetName, typeid(SetName).name() ) ; \
-}
-
-template<typename e>
-void wxFlagsFromString(const wxString &s , e &data )
-{
- wxEnumData* edata = wxGetEnumData((e*) 0) ;
- data.m_data = 0 ;
-
- wxArrayString array ;
- wxSetStringToArray( s , array ) ;
- wxString flag;
- for ( size_t i = 0 ; i < array.Count() ; ++i )
- {
- flag = array[i] ;
- int ivalue ;
- if ( edata->HasEnumMemberValue( flag , &ivalue ) )
- {
- data.m_data |= ivalue ;
- }
- }
-}
-
-template<typename e>
-void wxFlagsToString( wxString &s , const e& data )
-{
- wxEnumData* edata = wxGetEnumData((e*) 0) ;
- int count = edata->GetEnumCount() ;
- int i ;
- s.Clear() ;
- long dataValue = data.m_data ;
- for ( i = 0 ; i < count ; i++ )
- {
- int value = edata->GetEnumMemberValueByIndex(i) ;
- // make this to allow for multi-bit constants to work
- if ( value && ( dataValue & value ) == value )
- {
- // clear the flags we just set
- dataValue &= ~value ;
- // this could also be done by the templated calls
- if ( !s.empty() )
- s +=wxT("|") ;
- s += edata->GetEnumMemberNameByIndex(i) ;
- }
- }
-}
-
-#define wxBEGIN_FLAGS( e ) \
- wxEnumMemberData s_enumDataMembers##e[] = {
-
-#define wxFLAGS_MEMBER( v ) { wxT(#v), v } ,
-
-#define wxEND_FLAGS( e ) { NULL , 0 } } ; \
- wxEnumData s_enumData##e( s_enumDataMembers##e ) ; \
- wxEnumData *wxGetEnumData(e*) { return &s_enumData##e ; } \
- template<> void wxStringReadValue(const wxString &s , e &data ) \
-{ \
- wxFlagsFromString<e>( s , data ) ; \
-} \
- template<> void wxStringWriteValue( wxString &s , const e& data ) \
-{ \
- wxFlagsToString<e>( s , data ) ; \
-} \
- void FromLong##e( long data , wxxVariant& result ) { result = wxxVariant(e(data)) ;} \
- void ToLong##e( const wxxVariant& data , long &result ) { result = (long) data.wxTEMPLATED_MEMBER_CALL(Get , e).m_data ;} \
- wxTO_STRING_IMP( e ) \
- wxFROM_STRING_IMP( e ) \
- wxEnumTypeInfo s_typeInfo##e(wxT_SET , &s_enumData##e , &wxTO_STRING( e ) , &wxFROM_STRING( e ) , &ToLong##e , &FromLong##e, typeid(e).name() ) ;
-// ----------------------------------------------------------------------------
-// Type Information
-// ----------------------------------------------------------------------------
-//
-//
-// All data exposed by the RTTI is characterized using the following classes.
-// The first characterization is done by wxTypeKind. All enums up to and including
-// wxT_CUSTOM represent so called simple types. These cannot be divided any further.
-// They can be converted to and from wxStrings, that's all.
-
-
-enum wxTypeKind
-{
- wxT_VOID = 0, // unknown type
- wxT_BOOL,
- wxT_CHAR,
- wxT_UCHAR,
- wxT_INT,
- wxT_UINT,
- wxT_LONG,
- wxT_ULONG,
- wxT_FLOAT,
- wxT_DOUBLE,
- wxT_STRING, // must be wxString
- wxT_SET, // must be wxBitset<> template
- wxT_ENUM,
- wxT_CUSTOM, // user defined type (e.g. wxPoint)
-
- wxT_LAST_SIMPLE_TYPE_KIND = wxT_CUSTOM ,
-
- wxT_OBJECT_PTR, // object reference
- wxT_OBJECT , // embedded object
- wxT_COLLECTION , // collection
-
- wxT_DELEGATE , // for connecting against an event source
-
- wxT_LAST_TYPE_KIND = wxT_DELEGATE // sentinel for bad data, asserts, debugging
-};
-
-class WXDLLIMPEXP_FWD_BASE wxxVariant ;
-class WXDLLIMPEXP_FWD_BASE wxTypeInfo ;
-
-WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxTypeInfo* , wxTypeInfoMap , class WXDLLIMPEXP_BASE ) ;
-
-class WXDLLIMPEXP_BASE wxTypeInfo
-{
-public :
- typedef void (*converterToString_t)( const wxxVariant& data , wxString &result ) ;
- typedef void (*converterFromString_t)( const wxString& data , wxxVariant &result ) ;
-
- wxTypeInfo(wxTypeKind kind,
- converterToString_t to = NULL, converterFromString_t from = NULL,
- const wxString &name = wxEmptyString):
- m_toString(to), m_fromString(from), m_kind(kind), m_name(name)
- {
- Register();
- }
-#if wxUSE_UNICODE
- wxTypeInfo(wxTypeKind kind,
- converterToString_t to, converterFromString_t from,
- const char *name):
- m_toString(to), m_fromString(from), m_kind(kind), m_name(wxString::FromAscii(name))
- {
- Register();
- }
-#endif
-
- virtual ~wxTypeInfo()
- {
- Unregister() ;
- }
-
- // return the kind of this type (wxT_... constants)
- wxTypeKind GetKind() const { return m_kind ; }
-
- // returns the unique name of this type
- const wxString& GetTypeName() const { return m_name ; }
-
- // is this type a delegate type
- bool IsDelegateType() const { return m_kind == wxT_DELEGATE ; }
-
- // is this type a custom type
- bool IsCustomType() const { return m_kind == wxT_CUSTOM ; }
-
- // is this type an object type
- bool IsObjectType() const { return m_kind == wxT_OBJECT || m_kind == wxT_OBJECT_PTR ; }
-
- // can the content of this type be converted to and from strings ?
- bool HasStringConverters() const { return m_toString != NULL && m_fromString != NULL ; }
-
- // convert a wxxVariant holding data of this type into a string
- void ConvertToString( const wxxVariant& data , wxString &result ) const
-
- { if ( m_toString ) (*m_toString)( data , result ) ; else wxLogError( wxGetTranslation(wxT("String conversions not supported")) ) ; }
-
- // convert a string into a wxxVariant holding the corresponding data in this type
- void ConvertFromString( const wxString& data , wxxVariant &result ) const
- { if( m_fromString ) (*m_fromString)( data , result ) ; else wxLogError( wxGetTranslation(wxT("String conversions not supported")) ) ; }
-
-#if wxUSE_UNICODE
- static wxTypeInfo *FindType(const char *typeName) { return FindType( wxString::FromAscii(typeName) ) ; }
-#endif
- static wxTypeInfo *FindType(const wxChar *typeName);
- static wxTypeInfo *FindType(const wxString typeName)
- {
-#if wxUSE_UNICODE
- return FindType( typeName.wchar_str() );
-#else
- return FindType( typeName.char_str() );
-#endif
- }
-
-private :
-
- void Register();
- void Unregister();
-
- converterToString_t m_toString ;
- converterFromString_t m_fromString ;
-
- static wxTypeInfoMap* ms_typeTable ;
-
- wxTypeKind m_kind;
- wxString m_name;
-};
-
-class WXDLLIMPEXP_BASE wxBuiltInTypeInfo : public wxTypeInfo
-{
-public :
- wxBuiltInTypeInfo( wxTypeKind kind , converterToString_t to = NULL , converterFromString_t from = NULL , const wxString &name = wxEmptyString ) :
- wxTypeInfo( kind , to , from , name )
- { wxASSERT_MSG( GetKind() < wxT_SET , wxT("Illegal Kind for Base Type") ) ; }
-#if wxUSE_UNICODE
- wxBuiltInTypeInfo( wxTypeKind kind , converterToString_t to , converterFromString_t from , const char *name ) :
- wxTypeInfo( kind , to , from , name )
- { wxASSERT_MSG( GetKind() < wxT_SET , wxT("Illegal Kind for Base Type") ) ; }
-#endif
-} ;
-
-class WXDLLIMPEXP_BASE wxCustomTypeInfo : public wxTypeInfo
-{
-public :
- wxCustomTypeInfo( const wxString &name , converterToString_t to , converterFromString_t from ) :
- wxTypeInfo( wxT_CUSTOM , to , from , name )
- {}
-#if wxUSE_UNICODE
- wxCustomTypeInfo( const char *name , converterToString_t to , converterFromString_t from ) :
- wxTypeInfo( wxT_CUSTOM , to , from , name )
- {}
-#endif
-} ;
-
-class WXDLLIMPEXP_BASE wxEnumTypeInfo : public wxTypeInfo
-{
-public :
- typedef void (*converterToLong_t)( const wxxVariant& data , long &result ) ;
- typedef void (*converterFromLong_t)( long data , wxxVariant &result ) ;
-
- wxEnumTypeInfo( wxTypeKind kind , wxEnumData* enumInfo , converterToString_t to , converterFromString_t from ,
- converterToLong_t toLong , converterFromLong_t fromLong , const wxString &name ) :
- wxTypeInfo( kind , to , from , name ) , m_toLong( toLong ) , m_fromLong( fromLong )
- { wxASSERT_MSG( kind == wxT_ENUM || kind == wxT_SET , wxT("Illegal Kind for Enum Type")) ; m_enumInfo = enumInfo ;}
-
-#if wxUSE_UNICODE
- wxEnumTypeInfo( wxTypeKind kind , wxEnumData* enumInfo , converterToString_t to , converterFromString_t from ,
- converterToLong_t toLong , converterFromLong_t fromLong , const char * name ) :
- wxTypeInfo( kind , to , from , name ) , m_toLong( toLong ) , m_fromLong( fromLong )
- { wxASSERT_MSG( kind == wxT_ENUM || kind == wxT_SET , wxT("Illegal Kind for Enum Type")) ; m_enumInfo = enumInfo ;}
-#endif
- const wxEnumData* GetEnumData() const { return m_enumInfo ; }
-
- // convert a wxxVariant holding data of this type into a long
- void ConvertToLong( const wxxVariant& data , long &result ) const
-
- { if( m_toLong ) (*m_toLong)( data , result ) ; else wxLogError( wxGetTranslation(wxT("Long Conversions not supported")) ) ; }
-
- // convert a long into a wxxVariant holding the corresponding data in this type
- void ConvertFromLong( long data , wxxVariant &result ) const
- { if( m_fromLong ) (*m_fromLong)( data , result ) ; else wxLogError( wxGetTranslation(wxT("Long Conversions not supported")) ) ;}
-
-private :
- converterToLong_t m_toLong ;
- converterFromLong_t m_fromLong ;
-
- wxEnumData *m_enumInfo; // Kind == wxT_ENUM or Kind == wxT_SET
-} ;
-
-class WXDLLIMPEXP_BASE wxClassTypeInfo : public wxTypeInfo
-{
-public :
- wxClassTypeInfo( wxTypeKind kind , wxClassInfo* classInfo , converterToString_t to = NULL , converterFromString_t from = NULL , const wxString &name = wxEmptyString) ;
-#if wxUSE_UNICODE
- wxClassTypeInfo( wxTypeKind kind , wxClassInfo* classInfo , converterToString_t to , converterFromString_t from , const char *name ) ;
-#endif
- const wxClassInfo *GetClassInfo() const { return m_classInfo ; }
-private :
- wxClassInfo *m_classInfo; // Kind == wxT_OBJECT - could be NULL
-} ;
-
-class WXDLLIMPEXP_BASE wxCollectionTypeInfo : public wxTypeInfo
-{
-public :
- wxCollectionTypeInfo( const wxString &elementName , converterToString_t to , converterFromString_t from , const wxString &name) :
- wxTypeInfo( wxT_COLLECTION , to , from , name )
- { m_elementTypeName = elementName ; m_elementType = NULL ;}
-#if wxUSE_UNICODE
- wxCollectionTypeInfo( const char *elementName , converterToString_t to , converterFromString_t from , const char *name ) :
- wxTypeInfo( wxT_COLLECTION , to , from , name )
- { m_elementTypeName = wxString::FromAscii( elementName ) ; m_elementType = NULL ;}
-#endif
- const wxTypeInfo* GetElementType() const
- {
- if ( m_elementType == NULL )
- m_elementType = wxTypeInfo::FindType( m_elementTypeName ) ;
- return m_elementType ; }
-private :
- mutable wxTypeInfo * m_elementType ;
- wxString m_elementTypeName ;
-} ;
-
-// a delegate is an exposed event source
-
-class WXDLLIMPEXP_BASE wxDelegateTypeInfo : public wxTypeInfo
-{
-public :
- wxDelegateTypeInfo( int eventType , wxClassInfo* eventClass , converterToString_t to = NULL , converterFromString_t from = NULL ) ;
- wxDelegateTypeInfo( int eventType , int lastEventType, wxClassInfo* eventClass , converterToString_t to = NULL , converterFromString_t from = NULL ) ;
- int GetEventType() const { return m_eventType ; }
- int GetLastEventType() const { return m_lastEventType ; }
- const wxClassInfo* GetEventClass() const { return m_eventClass ; }
-private :
- const wxClassInfo *m_eventClass; // (extended will merge into classinfo)
- int m_eventType ;
- int m_lastEventType ;
-} ;
-
-template<typename T> const wxTypeInfo* wxGetTypeInfo( T * ) { return wxTypeInfo::FindType(typeid(T).name()) ; }
-
-// this macro is for usage with custom, non-object derived classes and structs, wxPoint is such a custom type
-
-#if wxUSE_FUNC_TEMPLATE_POINTER
-#define wxCUSTOM_TYPE_INFO( e , toString , fromString ) \
- wxCustomTypeInfo s_typeInfo##e(typeid(e).name() , &toString , &fromString) ;
-#else
-#define wxCUSTOM_TYPE_INFO( e , toString , fromString ) \
- void ToString##e( const wxxVariant& data , wxString &result ) { toString(data, result); } \
- void FromString##e( const wxString& data , wxxVariant &result ) { fromString(data, result); } \
- wxCustomTypeInfo s_typeInfo##e(typeid(e).name() , &ToString##e , &FromString##e) ;
-#endif
-
-#define wxCOLLECTION_TYPE_INFO( element , collection ) \
- wxCollectionTypeInfo s_typeInfo##collection( typeid(element).name() , NULL , NULL , typeid(collection).name() ) ;
-
-// sometimes a compiler invents specializations that are nowhere called, use this macro to satisfy the refs, currently
-// we don't have to play tricks, but if we will have to according to the compiler, we will use that macro for that
-
-#define wxILLEGAL_TYPE_SPECIALIZATION( a )
-
-// ----------------------------------------------------------------------------
-// wxxVariant as typesafe data holder
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_BASE wxxVariantData
-{
-public:
- virtual ~wxxVariantData() {}
-
- // return a heap allocated duplicate
- virtual wxxVariantData* Clone() const = 0 ;
-
- // returns the type info of the contentc
- virtual const wxTypeInfo* GetTypeInfo() const = 0 ;
-} ;
-
-template<typename T> class wxxVariantDataT : public wxxVariantData
-{
-public:
- wxxVariantDataT(const T& d) : m_data(d) {}
- virtual ~wxxVariantDataT() {}
-
- // get a ref to the stored data
- T & Get() { return m_data; }
-
- // get a const ref to the stored data
- const T & Get() const { return m_data; }
-
- // set the data
- void Set(const T& d) { m_data = d; }
-
- // return a heap allocated duplicate
- virtual wxxVariantData* Clone() const { return new wxxVariantDataT<T>( Get() ) ; }
-
- // returns the type info of the contentc
- virtual const wxTypeInfo* GetTypeInfo() const { return wxGetTypeInfo( NULL ) ; }
-
-private:
- T m_data;
-};
-
-class WXDLLIMPEXP_BASE wxxVariant
-{
-public :
- wxxVariant() { m_data = NULL ; }
- wxxVariant( wxxVariantData* data , const wxString& name = wxEmptyString ) : m_data(data) , m_name(name) {}
- wxxVariant( const wxxVariant &d ) { if ( d.m_data ) m_data = d.m_data->Clone() ; else m_data = NULL ; m_name = d.m_name ; }
-
- template<typename T> wxxVariant( const T& data , const wxString& name = wxEmptyString ) :
- m_data(new wxxVariantDataT<T>(data) ), m_name(name) {}
-
- ~wxxVariant() { delete m_data ; }
-
- // get a ref to the stored data
- template<typename T> T& Get(wxTEMPLATED_MEMBER_FIX(T))
- {
- wxxVariantDataT<T> *dataptr = dynamic_cast<wxxVariantDataT<T>*> (m_data) ;
- wxASSERT_MSG( dataptr , wxString::Format(wxT("Cast to %s not possible"), typeid(T).name()) ) ;
- return dataptr->Get() ;
- }
-
- // get a ref to the stored data
- template<typename T> const T& Get(wxTEMPLATED_MEMBER_FIX(T)) const
- {
- const wxxVariantDataT<T> *dataptr = dynamic_cast<const wxxVariantDataT<T>*> (m_data) ;
- wxASSERT_MSG( dataptr , wxString::Format(wxT("Cast to %s not possible"), typeid(T).name()) ) ;
- return dataptr->Get() ;
- }
-
- bool IsEmpty() const { return m_data == NULL ; }
-
- template<typename T> bool HasData(wxTEMPLATED_MEMBER_FIX(T)) const
- {
- const wxxVariantDataT<T> *dataptr = dynamic_cast<const wxxVariantDataT<T>*> (m_data) ;
- return dataptr != NULL ;
- }
-
- // stores the data
- template<typename T> void Set(const T& data) const
- {
- delete m_data ;
- m_data = new wxxVariantDataT<T>(data) ;
- }
-
- wxxVariant& operator=(const wxxVariant &d)
- {
- delete m_data;
- m_data = d.m_data ? d.m_data->Clone() : NULL ;
- m_name = d.m_name ;
- return *this ;
- }
-
- // gets the stored data casted to a wxObject* , returning NULL if cast is not possible
- wxObject* GetAsObject() ;
-
- // get the typeinfo of the stored object
- const wxTypeInfo* GetTypeInfo() const { return m_data->GetTypeInfo() ; }
-
- // returns this value as string
- wxString GetAsString() const
- {
- wxString s ;
- GetTypeInfo()->ConvertToString( *this , s ) ;
- return s ;
- }
- const wxString& GetName() const { return m_name ; }
-private :
- wxxVariantData* m_data ;
- wxString m_name ;
-} ;
-
-#include "wx/dynarray.h"
-
-WX_DECLARE_OBJARRAY_WITH_DECL(wxxVariant, wxxVariantArray, class WXDLLIMPEXP_BASE);
-
-// templated streaming, every type must have their specialization for these methods
-
-template<typename T>
-void wxStringReadValue( const wxString &s , T &data );
-
-template<typename T>
-void wxStringWriteValue( wxString &s , const T &data);
-
-template<typename T>
-void wxToStringConverter( const wxxVariant &v, wxString &s wxTEMPLATED_FUNCTION_FIX(T)) { wxStringWriteValue( s , v.wxTEMPLATED_MEMBER_CALL(Get , T) ) ; }
-
-template<typename T>
-void wxFromStringConverter( const wxString &s, wxxVariant &v wxTEMPLATED_FUNCTION_FIX(T)) { T d ; wxStringReadValue( s , d ) ; v = wxxVariant(d) ; }
-
-// ----------------------------------------------------------------------------
-// Property Support
-//
-// wxPropertyInfo is used to inquire of the property by name. It doesn't
-// provide access to the property, only information about it. If you
-// want access, look at wxPropertyAccessor.
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_BASE wxSetter
-{
-public:
- wxSetter( const wxString name ) { m_name = name ; }
- virtual ~wxSetter() {}
- virtual void Set( wxObject *object, const wxxVariant &variantValue ) const = 0;
- const wxString& GetName() const { return m_name ; }
-private:
- wxString m_name;
-};
-
-class WXDLLIMPEXP_BASE wxGetter
-{
-public:
- wxGetter( const wxString name ) { m_name = name ; }
- virtual ~wxGetter() {}
- virtual void Get( const wxObject *object , wxxVariant& result) const = 0;
- const wxString& GetName() const { return m_name ; }
-private:
- wxString m_name;
-};
-
-class WXDLLIMPEXP_BASE wxCollectionGetter
-{
-public :
- wxCollectionGetter( const wxString name ) { m_name = name ; }
- virtual ~wxCollectionGetter() {}
- virtual void Get( const wxObject *object , wxxVariantArray& result) const = 0;
- const wxString& GetName() const { return m_name ; }
-private :
- wxString m_name ;
-} ;
-
-template<typename coll_t> void WXDLLIMPEXP_BASE wxCollectionToVariantArray( const coll_t& coll , wxxVariantArray& result ) ;
-
-class WXDLLIMPEXP_BASE wxAdder
-{
-public :
- wxAdder( const wxString name ) { m_name = name ; }
- virtual ~wxAdder() {}
- virtual void Add( wxObject *object, const wxxVariant &variantValue ) const= 0;
- const wxString& GetName() const { return m_name ; }
-private :
- wxString m_name ;
-} ;
-
-
-#define wxSETTER( property, Klass, valueType, setterMethod ) \
-class wxSetter##property : public wxSetter \
-{ \
-public: \
- wxINFUNC_CLASS_TYPE_FIX(Klass) \
- wxSetter##property() : wxSetter( wxT(#setterMethod) ) {} \
- virtual ~wxSetter##property() {} \
- void Set( wxObject *object, const wxxVariant &variantValue ) const \
-{ \
- Klass *obj = dynamic_cast<Klass*>(object) ; \
- if ( variantValue.wxTEMPLATED_MEMBER_CALL(HasData, valueType) ) \
- obj->setterMethod(variantValue.wxTEMPLATED_MEMBER_CALL(Get , valueType)) ; \
- else \
- obj->setterMethod(*variantValue.wxTEMPLATED_MEMBER_CALL(Get , valueType*)) ; \
-} \
-} ;
-
-#define wxGETTER( property, Klass, valueType , gettermethod ) \
-class wxGetter##property : public wxGetter \
-{ \
-public : \
- wxINFUNC_CLASS_TYPE_FIX(Klass) \
- wxGetter##property() : wxGetter( wxT(#gettermethod) ) {} \
- virtual ~wxGetter##property() {} \
- void Get( const wxObject *object , wxxVariant &result) const \
-{ \
- const Klass *obj = dynamic_cast<const Klass*>(object) ; \
- result = wxxVariant( obj->gettermethod() ) ; \
-} \
-} ;
-
-#define wxADDER( property, Klass, valueType , addermethod ) \
-class wxAdder##property : public wxAdder \
-{ \
-public: \
- wxINFUNC_CLASS_TYPE_FIX(Klass) \
- wxAdder##property() : wxAdder( wxT(#addermethod) ) {} \
- virtual ~wxAdder##property() {} \
- void Add( wxObject *object, const wxxVariant &variantValue ) const \
-{ \
- Klass *obj = dynamic_cast<Klass*>(object) ; \
- if ( variantValue.wxTEMPLATED_MEMBER_CALL(HasData, valueType) ) \
- obj->addermethod(variantValue.wxTEMPLATED_MEMBER_CALL(Get , valueType)) ; \
- else \
- obj->addermethod(*variantValue.wxTEMPLATED_MEMBER_CALL(Get , valueType*)) ; \
-} \
-} ;
-
-#define wxCOLLECTION_GETTER( property, Klass, valueType , gettermethod ) \
-class wxCollectionGetter##property : public wxCollectionGetter \
-{ \
-public : \
- wxINFUNC_CLASS_TYPE_FIX(Klass) \
- wxCollectionGetter##property() : wxCollectionGetter( wxT(#gettermethod) ) {} \
- virtual ~wxCollectionGetter##property() {} \
- void Get( const wxObject *object , wxxVariantArray &result) const \
-{ \
- const Klass *obj = dynamic_cast<const Klass*>(object) ; \
- wxCollectionToVariantArray( obj->gettermethod() , result ) ; \
-} \
-} ;
-
-class WXDLLIMPEXP_BASE wxPropertyAccessor
-{
-public :
- wxPropertyAccessor( wxSetter *setter , wxGetter *getter , wxAdder *adder , wxCollectionGetter *collectionGetter )
- { m_setter = setter ; m_getter = getter ; m_adder = adder ; m_collectionGetter = collectionGetter ;}
-
- virtual ~wxPropertyAccessor() {}
-
- // Setting a simple property (non-collection)
- virtual void SetProperty(wxObject *object, const wxxVariant &value) const
- { if ( m_setter ) m_setter->Set( object , value ) ; else wxLogError( wxGetTranslation(wxT("SetProperty called w/o valid setter")) ) ;}
-
- // Getting a simple property (non-collection)
- virtual void GetProperty(const wxObject *object, wxxVariant &result) const
- { if ( m_getter ) m_getter->Get( object , result ) ; else wxLogError( wxGetTranslation(wxT("GetProperty called w/o valid getter")) ) ;}
-
- // Adding an element to a collection property
- virtual void AddToPropertyCollection(wxObject *object, const wxxVariant &value) const
- { if ( m_adder ) m_adder->Add( object , value ) ; else wxLogError( wxGetTranslation(wxT("AddToPropertyCollection called w/o valid adder")) ) ;}
-
- // Getting a collection property
- virtual void GetPropertyCollection( const wxObject *obj, wxxVariantArray &result) const
- { if ( m_collectionGetter ) m_collectionGetter->Get( obj , result) ; else wxLogError( wxGetTranslation(wxT("GetPropertyCollection called w/o valid collection getter")) ) ;}
-
- virtual bool HasSetter() const { return m_setter != NULL ; }
- virtual bool HasCollectionGetter() const { return m_collectionGetter != NULL ; }
- virtual bool HasGetter() const { return m_getter != NULL ; }
- virtual bool HasAdder() const { return m_adder != NULL ; }
-
- virtual const wxString& GetCollectionGetterName() const
- { return m_collectionGetter->GetName() ; }
- virtual const wxString& GetGetterName() const
- { return m_getter->GetName() ; }
- virtual const wxString& GetSetterName() const
- { return m_setter->GetName() ; }
- virtual const wxString& GetAdderName() const
- { return m_adder->GetName() ; }
-
-protected :
- wxSetter *m_setter ;
- wxAdder *m_adder ;
- wxGetter *m_getter ;
- wxCollectionGetter* m_collectionGetter ;
-};
+#if wxUSE_EXTENDED_RTTI
-class WXDLLIMPEXP_BASE wxGenericPropertyAccessor : public wxPropertyAccessor
-{
-public :
- wxGenericPropertyAccessor( const wxString &propName ) ;
- virtual ~wxGenericPropertyAccessor() ;
-
- void RenameProperty( const wxString& WXUNUSED_UNLESS_DEBUG(oldName),
- const wxString& newName )
- {
- wxASSERT( oldName == m_propertyName ) ; m_propertyName = newName ;
- }
- virtual bool HasSetter() const { return true ; }
- virtual bool HasGetter() const { return true ; }
- virtual bool HasAdder() const { return false ; }
- virtual bool HasCollectionGetter() const { return false ; }
-
- virtual const wxString& GetGetterName() const
- { return m_getterName ; }
- virtual const wxString& GetSetterName() const
- { return m_setterName ; }
-
- virtual void SetProperty(wxObject *object, const wxxVariant &value) const ;
- virtual void GetProperty(const wxObject *object, wxxVariant &value) const ;
-
- // Adding an element to a collection property
- virtual void AddToPropertyCollection(wxObject *WXUNUSED(object), const wxxVariant &WXUNUSED(value)) const
- { wxLogError( wxGetTranslation(wxT("AddToPropertyCollection called on a generic accessor")) ) ;}
-
- // Getting a collection property
- virtual void GetPropertyCollection( const wxObject *WXUNUSED(obj), wxxVariantArray &WXUNUSED(result)) const
- { wxLogError ( wxGetTranslation(wxT("GetPropertyCollection called on a generic accessor")) ) ;}
-private :
- struct wxGenericPropertyAccessorInternal ;
- wxGenericPropertyAccessorInternal* m_data ;
- wxString m_propertyName ;
- wxString m_setterName ;
- wxString m_getterName ;
-} ;
-
-typedef long wxPropertyInfoFlags ;
-enum {
- // will be removed in future releases
- wxPROP_DEPRECATED = 0x00000001 ,
- // object graph property, will be streamed with priority (after constructor properties)
- wxPROP_OBJECT_GRAPH = 0x00000002 ,
- // this will only be streamed out and in as enum/set, the internal representation is still a long
- wxPROP_ENUM_STORE_LONG = 0x00000004 ,
- // don't stream out this property, needed eg to avoid streaming out children that are always created by their parents
- wxPROP_DONT_STREAM = 0x00000008 ,
-} ;
-
-class WXDLLIMPEXP_BASE wxPropertyInfo
-{
- friend class WXDLLIMPEXP_FWD_BASE wxDynamicClassInfo ;
-public :
- wxPropertyInfo(wxPropertyInfo* &iter,
- wxClassInfo* itsClass,
- const wxString& name,
- const wxString& typeName,
- wxPropertyAccessor *accessor,
- wxxVariant dv,
- wxPropertyInfoFlags flags = 0,
- const wxString& helpString = wxEmptyString,
- const wxString& groupString = wxEmptyString) :
- m_itsClass(itsClass),
- m_name(name),
- m_typeInfo(NULL),
- m_typeName(typeName) ,
- m_collectionElementTypeInfo(NULL),
- m_accessor(accessor),
- m_defaultValue(dv),
- m_flags(flags),
- m_helpString(helpString),
- m_groupString(groupString)
- {
- Insert(iter);
- }
-
-#if wxUSE_UNICODE
- wxPropertyInfo(wxPropertyInfo* &iter,
- wxClassInfo* itsClass,
- const wxString& name,
- const char* typeName,
- wxPropertyAccessor *accessor,
- wxxVariant dv,
- wxPropertyInfoFlags flags = 0,
- const wxString& helpString = wxEmptyString,
- const wxString& groupString = wxEmptyString) :
- m_itsClass(itsClass),
- m_name(name),
- m_typeInfo(NULL),
- m_typeName(wxString::FromAscii(typeName)) ,
- m_collectionElementTypeInfo(NULL),
- m_accessor(accessor),
- m_defaultValue(dv),
- m_flags(flags),
- m_helpString(helpString),
- m_groupString(groupString)
- {
- Insert(iter);
- }
-#endif
- wxPropertyInfo(wxPropertyInfo* &iter,
- wxClassInfo* itsClass,
- const wxString& name,
- wxDelegateTypeInfo* type,
- wxPropertyAccessor *accessor,
- wxxVariant dv,
- wxPropertyInfoFlags flags = 0,
- const wxString& helpString = wxEmptyString,
- const wxString& groupString = wxEmptyString) :
- m_itsClass(itsClass),
- m_name(name),
- m_typeInfo(type),
- m_collectionElementTypeInfo(NULL),
- m_accessor(accessor),
- m_defaultValue(dv),
- m_flags(flags),
- m_helpString(helpString),
- m_groupString(groupString)
- {
- Insert(iter);
- }
-
- wxPropertyInfo(wxPropertyInfo* &iter,
- wxClassInfo* itsClass, const wxString& name,
- const wxString& collectionTypeName,
- const wxString& elementTypeName,
- wxPropertyAccessor *accessor,
- wxPropertyInfoFlags flags = 0,
- const wxString& helpString = wxEmptyString,
- const wxString& groupString = wxEmptyString) :
- m_itsClass(itsClass),
- m_name(name),
- m_typeInfo(NULL),
- m_typeName(collectionTypeName) ,
- m_collectionElementTypeInfo(NULL),
- m_collectionElementTypeName(elementTypeName),
- m_accessor(accessor) ,
- m_flags(flags),
- m_helpString(helpString),
- m_groupString(groupString)
- {
- Insert(iter);
- }
-
-#if wxUSE_UNICODE
- wxPropertyInfo(wxPropertyInfo* &iter,
- wxClassInfo* itsClass, const wxString& name,
- const char* collectionTypeName,
- const char* elementTypeName,
- wxPropertyAccessor *accessor,
- wxPropertyInfoFlags flags = 0,
- const wxString& helpString = wxEmptyString,
- const wxString& groupString = wxEmptyString) :
- m_itsClass(itsClass),
- m_name(name),
- m_typeInfo(NULL),
- m_typeName(wxString::FromAscii(collectionTypeName)) ,
- m_collectionElementTypeInfo(NULL),
- m_collectionElementTypeName(wxString::FromAscii(elementTypeName)),
- m_accessor(accessor) ,
- m_flags(flags),
- m_helpString(helpString),
- m_groupString(groupString)
- {
- Insert(iter);
- }
-#endif
- ~wxPropertyInfo() ;
-
- // return the class this property is declared in
- const wxClassInfo* GetDeclaringClass() const { return m_itsClass ; }
-
- // return the name of this property
- const wxString& GetName() const { return m_name ; }
-
- // returns the flags of this property
- wxPropertyInfoFlags GetFlags() const { return m_flags ;}
-
- // returns the short help string of this property
- const wxString& GetHelpString() const { return m_helpString ; }
-
- // returns the group string of this property
- const wxString& GetGroupString() const { return m_groupString ; }
-
- // return the element type info of this property (for collections, otherwise NULL)
- const wxTypeInfo * GetCollectionElementTypeInfo() const
- {
- if ( m_collectionElementTypeInfo == NULL )
- m_collectionElementTypeInfo = wxTypeInfo::FindType(m_collectionElementTypeName) ;
- return m_collectionElementTypeInfo ;
- }
-
- // return the type info of this property
- const wxTypeInfo * GetTypeInfo() const
- {
- if ( m_typeInfo == NULL )
- m_typeInfo = wxTypeInfo::FindType(m_typeName) ;
- return m_typeInfo ;
- }
-
- // return the accessor for this property
- wxPropertyAccessor* GetAccessor() const { return m_accessor ; }
-
- // returns NULL if this is the last property of this class
- wxPropertyInfo* GetNext() const { return m_next ; }
-
- // returns the default value of this property, its kind may be wxT_VOID if it is not valid
- wxxVariant GetDefaultValue() const { return m_defaultValue ; }
-private :
- void Insert(wxPropertyInfo* &iter)
- {
- m_next = NULL ;
- if ( iter == NULL )
- iter = this ;
- else
- {
- wxPropertyInfo* i = iter ;
- while( i->m_next )
- i = i->m_next ;
-
- i->m_next = this ;
- }
- }
-
- wxClassInfo* m_itsClass ;
- wxString m_name ;
- mutable wxTypeInfo* m_typeInfo ;
- wxString m_typeName ;
- mutable wxTypeInfo* m_collectionElementTypeInfo ;
- wxString m_collectionElementTypeName ;
- wxPropertyAccessor* m_accessor ;
- wxxVariant m_defaultValue;
- wxPropertyInfoFlags m_flags ;
- wxString m_helpString ;
- wxString m_groupString ;
- // string representation of the default value
- // to be assigned by the designer to the property
- // when the component is dropped on the container.
- wxPropertyInfo* m_next ;
-};
-
-WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxPropertyInfo* , wxPropertyInfoMap , class WXDLLIMPEXP_BASE ) ;
-
-#define wxBEGIN_PROPERTIES_TABLE(theClass) \
- wxPropertyInfo *theClass::GetPropertiesStatic() \
-{ \
- typedef theClass class_t; \
- static wxPropertyInfo* first = NULL ;
-
-#define wxEND_PROPERTIES_TABLE() \
- return first ; }
-
-#define wxHIDE_PROPERTY( pname ) \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(void).name() ,NULL , wxxVariant() , wxPROP_DONT_STREAM , wxEmptyString , wxEmptyString ) ;
-
-#define wxPROPERTY( pname , type , setter , getter , defaultValue , flags , help , group) \
- wxSETTER( pname , class_t , type , setter ) \
- static wxSetter##pname _setter##pname ; \
- wxGETTER( pname , class_t , type , getter ) \
- static wxGetter##pname _getter##pname ; \
- static wxPropertyAccessor _accessor##pname( &_setter##pname , &_getter##pname , NULL , NULL ) ; \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(type).name() ,&_accessor##pname , wxxVariant(defaultValue) , flags , group , help ) ;
-
-#define wxPROPERTY_FLAGS( pname , flags , type , setter , getter ,defaultValue , pflags , help , group) \
- wxSETTER( pname , class_t , type , setter ) \
- static wxSetter##pname _setter##pname ; \
- wxGETTER( pname , class_t , type , getter ) \
- static wxGetter##pname _getter##pname ; \
- static wxPropertyAccessor _accessor##pname( &_setter##pname , &_getter##pname , NULL , NULL ) ; \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(flags).name() ,&_accessor##pname , wxxVariant(defaultValue), wxPROP_ENUM_STORE_LONG | pflags , help , group ) ;
-
-#define wxREADONLY_PROPERTY( pname , type , getter ,defaultValue , flags , help , group) \
- wxGETTER( pname , class_t , type , getter ) \
- static wxGetter##pname _getter##pname ; \
- static wxPropertyAccessor _accessor##pname( NULL , &_getter##pname , NULL , NULL ) ; \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(type).name() ,&_accessor##pname , wxxVariant(defaultValue), flags , help , group ) ;
-
-#define wxREADONLY_PROPERTY_FLAGS( pname , flags , type , getter ,defaultValue , pflags , help , group) \
- wxGETTER( pname , class_t , type , getter ) \
- static wxGetter##pname _getter##pname ; \
- static wxPropertyAccessor _accessor##pname( NULL , &_getter##pname , NULL , NULL ) ; \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(flags).name() ,&_accessor##pname , wxxVariant(defaultValue), wxPROP_ENUM_STORE_LONG | pflags , help , group ) ;
-
-#define wxPROPERTY_COLLECTION( pname , colltype , addelemtype , adder , getter , flags , help , group ) \
- wxADDER( pname , class_t , addelemtype , adder ) \
- static wxAdder##pname _adder##pname ; \
- wxCOLLECTION_GETTER( pname , class_t , colltype , getter ) \
- static wxCollectionGetter##pname _collectionGetter##pname ; \
- static wxPropertyAccessor _accessor##pname( NULL , NULL ,&_adder##pname , &_collectionGetter##pname ) ; \
- static wxPropertyInfo _propertyInfo##pname( first , class_t::GetClassInfoStatic() , wxT(#pname) , typeid(colltype).name() ,typeid(addelemtype).name() ,&_accessor##pname , flags , help , group ) ;
-
-#define wxREADONLY_PROPERTY_COLLECTION( pname , colltype , addelemtype , getter , flags , help , group) \
- wxCOLLECTION_GETTER( pname , class_t , colltype , getter ) \
- static wxCollectionGetter##pname _collectionGetter##pname ; \
- static wxPropertyAccessor _accessor##pname( NULL , NULL , NULL , &_collectionGetter##pname ) ; \
- static wxPropertyInfo _propertyInfo##pname( first ,class_t::GetClassInfoStatic() , wxT(#pname) , typeid(colltype).name() ,typeid(addelemtype).name() ,&_accessor##pname , flags , help , group ) ;
-
-
-#define wxEVENT_PROPERTY( name , eventType , eventClass ) \
- static wxDelegateTypeInfo _typeInfo##name( eventType , CLASSINFO( eventClass ) ) ; \
- static wxPropertyInfo _propertyInfo##name( first ,class_t::GetClassInfoStatic() , wxT(#name) , &_typeInfo##name , NULL , wxxVariant() ) ; \
-
-#define wxEVENT_RANGE_PROPERTY( name , eventType , lastEventType , eventClass ) \
- static wxDelegateTypeInfo _typeInfo##name( eventType , lastEventType , CLASSINFO( eventClass ) ) ; \
- static wxPropertyInfo _propertyInfo##name( first , class_t::GetClassInfoStatic() , wxT(#name) , &_typeInfo##name , NULL , wxxVariant() ) ; \
-
-// ----------------------------------------------------------------------------
-// Implementation Helper for Simple Properties
-// ----------------------------------------------------------------------------
-
-#define wxIMPLEMENT_PROPERTY(name, type) \
-private:\
- type m_##name; \
-public: \
- void Set##name( type const & p) { m_##name = p; } \
- type const & Get##name() const { return m_##name; }
-
-// ----------------------------------------------------------------------------
-// Handler Info
-//
-// this is describing an event sink
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_BASE wxHandlerInfo
-{
- friend class WXDLLIMPEXP_FWD_BASE wxDynamicClassInfo ;
-public :
- wxHandlerInfo(wxHandlerInfo* &iter,
- wxClassInfo* itsClass,
- const wxString& name,
- wxObjectEventFunction address,
- const wxClassInfo* eventClassInfo) :
- m_eventFunction(address),
- m_name(name),
- m_eventClassInfo(eventClassInfo) ,
- m_itsClass(itsClass)
- {
- m_next = NULL ;
- if ( iter == NULL )
- iter = this ;
- else
- {
- wxHandlerInfo* i = iter ;
- while( i->m_next )
- i = i->m_next ;
-
- i->m_next = this ;
- }
- }
-
- ~wxHandlerInfo() ;
-
- // return the name of this handler
- const wxString& GetName() const { return m_name ; }
-
- // return the class info of the event
- const wxClassInfo *GetEventClassInfo() const { return m_eventClassInfo ; }
-
- // get the handler function pointer
- wxObjectEventFunction GetEventFunction() const { return m_eventFunction ; }
-
- // returns NULL if this is the last handler of this class
- wxHandlerInfo* GetNext() const { return m_next ; }
-
- // return the class this property is declared in
- const wxClassInfo* GetDeclaringClass() const { return m_itsClass ; }
-
-private :
- wxObjectEventFunction m_eventFunction ;
- wxString m_name;
- const wxClassInfo* m_eventClassInfo ;
- wxHandlerInfo* m_next ;
- wxClassInfo* m_itsClass ;
-};
-
-#define wxHANDLER(name,eventClassType) \
- static wxHandlerInfo _handlerInfo##name( first , class_t::GetClassInfoStatic() , wxT(#name) , (wxObjectEventFunction) (wxEventFunction) &name , CLASSINFO( eventClassType ) ) ;
-
-#define wxBEGIN_HANDLERS_TABLE(theClass) \
- wxHandlerInfo *theClass::GetHandlersStatic() \
-{ \
- typedef theClass class_t; \
- static wxHandlerInfo* first = NULL ;
-
-#define wxEND_HANDLERS_TABLE() \
- return first ; }
-
-// ----------------------------------------------------------------------------
-// Constructor Bridges
-//
-// allow to set up constructors with params during runtime
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_BASE wxConstructorBridge
-{
-public :
- virtual ~wxConstructorBridge() {};
- virtual void Create(wxObject * &o, wxxVariant *args) = 0;
-};
-
-// a direct constructor bridge calls the operator new for this class and
-// passes all params to the constructor. needed for classes that cannot be
-// instantiated using alloc-create semantics
-class WXDLLIMPEXP_BASE wxDirectConstructorBrigde : public wxConstructorBridge
-{
-public :
- virtual void Create(wxObject * &o, wxxVariant *args) = 0;
-} ;
-
-// Creator Bridges for all Numbers of Params
-
-// no params
-
-template<typename Class>
-struct wxConstructorBridge_0 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create();
- }
-};
-
-struct wxConstructorBridge_Dummy : public wxConstructorBridge
-{
- void Create(wxObject *&, wxxVariant *)
- {
- }
-} ;
-
-#define wxCONSTRUCTOR_0(klass) \
- wxConstructorBridge_0<klass> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { NULL } ; \
- const int klass::ms_constructorPropertiesCount = 0 ;
-
-#define wxCONSTRUCTOR_DUMMY(klass) \
- wxConstructorBridge_Dummy constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { NULL } ; \
- const int klass::ms_constructorPropertiesCount = 0 ;
-
-// 1 param
-
-template<typename Class, typename T0>
-struct wxConstructorBridge_1 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0)
- );
- }
-};
-
-#define wxCONSTRUCTOR_1(klass,t0,v0) \
- wxConstructorBridge_1<klass,t0> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) } ; \
- const int klass::ms_constructorPropertiesCount = 1 ;
-
-// 2 params
-
-template<typename Class,
-typename T0, typename T1>
-struct wxConstructorBridge_2 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1)
- );
- }
-};
-
-#define wxCONSTRUCTOR_2(klass,t0,v0,t1,v1) \
- wxConstructorBridge_2<klass,t0,t1> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) } ; \
- const int klass::ms_constructorPropertiesCount = 2;
-
-// direct constructor version
-
-template<typename Class,
-typename T0, typename T1>
-struct wxDirectConstructorBridge_2 : public wxDirectConstructorBrigde
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- o = new Class(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1)
- );
- }
-};
-
-#define wxDIRECT_CONSTRUCTOR_2(klass,t0,v0,t1,v1) \
- wxDirectConstructorBridge_2<klass,t0,t1> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) } ; \
- const int klass::ms_constructorPropertiesCount = 2;
-
-
-// 3 params
-
-template<typename Class,
-typename T0, typename T1, typename T2>
-struct wxConstructorBridge_3 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2)
- );
- }
-};
-
-#define wxCONSTRUCTOR_3(klass,t0,v0,t1,v1,t2,v2) \
- wxConstructorBridge_3<klass,t0,t1,t2> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) } ; \
- const int klass::ms_constructorPropertiesCount = 3 ;
-
-// direct constructor version
-
-template<typename Class,
-typename T0, typename T1, typename T2>
-struct wxDirectConstructorBridge_3 : public wxDirectConstructorBrigde
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- o = new Class(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2)
- );
- }
-};
-
-#define wxDIRECT_CONSTRUCTOR_3(klass,t0,v0,t1,v1,t2,v2) \
- wxDirectConstructorBridge_3<klass,t0,t1,t2> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) } ; \
- const int klass::ms_constructorPropertiesCount = 3;
-
-// 4 params
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3>
-struct wxConstructorBridge_4 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3)
- );
- }
-};
+// include definitions of other XTI structures
+#include "wx/variantbase.h"
+#include "wx/xtitypes.h"
+#include "wx/xtictor.h"
+#include "wx/xtiprop.h"
+#include "wx/xtihandler.h"
-#define wxCONSTRUCTOR_4(klass,t0,v0,t1,v1,t2,v2,t3,v3) \
- wxConstructorBridge_4<klass,t0,t1,t2,t3> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) } ; \
- const int klass::ms_constructorPropertiesCount = 4 ;
-
-// 5 params
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3, typename T4>
-struct wxConstructorBridge_5 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3) ,
- args[4].wxTEMPLATED_MEMBER_CALL(Get , T4)
- );
- }
-};
-
-#define wxCONSTRUCTOR_5(klass,t0,v0,t1,v1,t2,v2,t3,v3,t4,v4) \
- wxConstructorBridge_5<klass,t0,t1,t2,t3,t4> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) , wxT(#v4) } ; \
- const int klass::ms_constructorPropertiesCount = 5;
-
-// 6 params
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3, typename T4, typename T5>
-struct wxConstructorBridge_6 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3) ,
- args[4].wxTEMPLATED_MEMBER_CALL(Get , T4) ,
- args[5].wxTEMPLATED_MEMBER_CALL(Get , T5)
- );
- }
-};
-
-#define wxCONSTRUCTOR_6(klass,t0,v0,t1,v1,t2,v2,t3,v3,t4,v4,t5,v5) \
- wxConstructorBridge_6<klass,t0,t1,t2,t3,t4,t5> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) , wxT(#v4) , wxT(#v5) } ; \
- const int klass::ms_constructorPropertiesCount = 6;
-
-// direct constructor version
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3, typename T4, typename T5>
-struct wxDirectConstructorBridge_6 : public wxDirectConstructorBrigde
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- o = new Class(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3) ,
- args[4].wxTEMPLATED_MEMBER_CALL(Get , T4) ,
- args[5].wxTEMPLATED_MEMBER_CALL(Get , T5)
- );
- }
-};
-
-#define wxDIRECT_CONSTRUCTOR_6(klass,t0,v0,t1,v1,t2,v2,t3,v3,t4,v4,t5,v5) \
- wxDirectConstructorBridge_6<klass,t0,t1,t2,t3,t4,t5> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) , wxT(#v4) , wxT(#v5) } ; \
- const int klass::ms_constructorPropertiesCount = 6;
-
-// 7 params
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
-struct wxConstructorBridge_7 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3) ,
- args[4].wxTEMPLATED_MEMBER_CALL(Get , T4) ,
- args[5].wxTEMPLATED_MEMBER_CALL(Get , T5) ,
- args[6].wxTEMPLATED_MEMBER_CALL(Get , T6)
- );
- }
-};
-
-#define wxCONSTRUCTOR_7(klass,t0,v0,t1,v1,t2,v2,t3,v3,t4,v4,t5,v5,t6,v6) \
- wxConstructorBridge_7<klass,t0,t1,t2,t3,t4,t5,t6> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) , wxT(#v4) , wxT(#v5) , wxT(#v6) } ; \
- const int klass::ms_constructorPropertiesCount = 7;
-
-// 8 params
-
-template<typename Class,
-typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7>
-struct wxConstructorBridge_8 : public wxConstructorBridge
-{
- void Create(wxObject * &o, wxxVariant *args)
- {
- Class *obj = dynamic_cast<Class*>(o);
- obj->Create(
- args[0].wxTEMPLATED_MEMBER_CALL(Get , T0) ,
- args[1].wxTEMPLATED_MEMBER_CALL(Get , T1) ,
- args[2].wxTEMPLATED_MEMBER_CALL(Get , T2) ,
- args[3].wxTEMPLATED_MEMBER_CALL(Get , T3) ,
- args[4].wxTEMPLATED_MEMBER_CALL(Get , T4) ,
- args[5].wxTEMPLATED_MEMBER_CALL(Get , T5) ,
- args[6].wxTEMPLATED_MEMBER_CALL(Get , T6) ,
- args[7].wxTEMPLATED_MEMBER_CALL(Get , T7)
- );
- }
-};
-
-#define wxCONSTRUCTOR_8(klass,t0,v0,t1,v1,t2,v2,t3,v3,t4,v4,t5,v5,t6,v6,t7,v7) \
- wxConstructorBridge_8<klass,t0,t1,t2,t3,t4,t5,t6,t7> constructor##klass ; \
- wxConstructorBridge* klass::ms_constructor = &constructor##klass ; \
- const wxChar *klass::ms_constructorProperties[] = { wxT(#v0) , wxT(#v1) , wxT(#v2) , wxT(#v3) , wxT(#v4) , wxT(#v5) , wxT(#v6) , wxT(#v7) } ; \
- const int klass::ms_constructorPropertiesCount = 8;
// ----------------------------------------------------------------------------
// wxClassInfo
// ----------------------------------------------------------------------------
+class WXDLLIMPEXP_BASE wxObject;
+class WXDLLIMPEXP_BASE wxVariantBase;
+class WXDLLIMPEXP_BASE wxVariantBaseArray;
+
typedef wxObject *(*wxObjectConstructorFn)(void);
-typedef wxObject* (*wxVariantToObjectConverter)( wxxVariant &data ) ;
-typedef wxxVariant (*wxObjectToVariantConverter)( wxObject* ) ;
+typedef wxObject* (*wxVariantToObjectConverter)( wxVariantBase &data );
+typedef wxVariantBase (*wxObjectToVariantConverter)( wxObject* );
-class WXDLLIMPEXP_FWD_BASE wxWriter;
-class WXDLLIMPEXP_FWD_BASE wxPersister;
+class WXDLLIMPEXP_BASE wxObjectWriter;
+class WXDLLIMPEXP_BASE wxObjectReaderCallback;
-typedef bool (*wxObjectStreamingCallback) ( const wxObject *, wxWriter * , wxPersister * , wxxVariantArray & ) ;
+typedef bool (*wxObjectStreamingCallback) ( const wxObject *, wxObjectWriter *, \
+ wxObjectReaderCallback *, wxVariantBaseArray & );
class WXDLLIMPEXP_BASE wxClassInfo
{
- friend class WXDLLIMPEXP_FWD_BASE wxPropertyInfo ;
- friend class WXDLLIMPEXP_FWD_BASE wxHandlerInfo ;
- friend wxObject *wxCreateDynamicObject(const wxString& name);
+ friend class WXDLLIMPEXP_BASE wxPropertyInfo;
+ friend class WXDLLIMPEXP_BASE wxHandlerInfo;
+ friend wxObject *wxCreateDynamicObject(const wxChar *name);
+
public:
wxClassInfo(const wxClassInfo **_Parents,
- const wxChar *_UnitName,
- const wxChar *_ClassName,
- int size,
- wxObjectConstructorFn ctor ,
- wxPropertyInfo *_Props ,
- wxHandlerInfo *_Handlers ,
- wxConstructorBridge* _Constructor ,
- const wxChar ** _ConstructorProperties ,
- const int _ConstructorPropertiesCount ,
- wxVariantToObjectConverter _PtrConverter1 ,
- wxVariantToObjectConverter _Converter2 ,
- wxObjectToVariantConverter _Converter3 ,
- wxObjectStreamingCallback _streamingCallback = NULL
- ) :
-
+ const wxChar *_UnitName,
+ const wxChar *_ClassName,
+ int size,
+ wxObjectConstructorFn ctor,
+ wxPropertyInfo *_Props,
+ wxHandlerInfo *_Handlers,
+ wxObjectAllocatorAndCreator* _Constructor,
+ const wxChar ** _ConstructorProperties,
+ const int _ConstructorPropertiesCount,
+ wxVariantToObjectConverter _PtrConverter1,
+ wxVariantToObjectConverter _Converter2,
+ wxObjectToVariantConverter _Converter3,
+ wxObjectStreamingCallback _streamingCallback = NULL) :
m_className(_ClassName),
m_objectSize(size),
m_objectConstructor(ctor),
m_streamingCallback(_streamingCallback)
{
sm_first = this;
- Register() ;
+ Register();
}
wxClassInfo(const wxChar *_UnitName, const wxChar *_ClassName,
m_streamingCallback(NULL)
{
sm_first = this;
- Register() ;
+ Register();
+ }
+
+ // ctor compatible with old RTTI system
+ wxClassInfo(const wxChar *_ClassName,
+ const wxClassInfo *_Parent1,
+ const wxClassInfo *_Parent2,
+ int size,
+ wxObjectConstructorFn ctor) :
+ m_className(_ClassName),
+ m_objectSize(size),
+ m_objectConstructor(ctor),
+ m_next(sm_first),
+ m_firstProperty(NULL),
+ m_firstHandler(NULL),
+ m_parents(NULL),
+ m_unitName(NULL),
+ m_constructor(NULL),
+ m_constructorProperties(NULL),
+ m_constructorPropertiesCount(0),
+ m_variantOfPtrToObjectConverter(NULL),
+ m_variantToObjectConverter(NULL),
+ m_objectToVariantConverter(NULL),
+ m_streamingCallback(NULL)
+ {
+ sm_first = this;
+ m_parents[0] = _Parent1;
+ m_parents[1] = _Parent2;
+ m_parents[2] = NULL;
+ Register();
}
- virtual ~wxClassInfo() ;
+ virtual ~wxClassInfo();
- // allocates an instance of this class, this object does not have to be initialized or fully constructed
- // as this call will be followed by a call to Create
- virtual wxObject *AllocateObject() const { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
+ // allocates an instance of this class, this object does not have to be
+ // initialized or fully constructed as this call will be followed by a call to Create
+ virtual wxObject *AllocateObject() const
+ { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
// 'old naming' for AllocateObject staying here for backward compatibility
- wxObject *CreateObject() const { return AllocateObject() ; }
+ wxObject *CreateObject() const { return AllocateObject(); }
// direct construction call for classes that cannot construct instances via alloc/create
- wxObject *ConstructObject(int ParamCount, wxxVariant *Params) const
- {
- if ( ParamCount != m_constructorPropertiesCount )
- {
- wxLogError( wxGetTranslation(wxT("Illegal Parameter Count for ConstructObject Method")) ) ;
- return NULL ;
- }
- wxObject *object = NULL ;
- m_constructor->Create( object , Params ) ;
- return object ;
- }
+ wxObject *ConstructObject(int ParamCount, wxVariantBase *Params) const;
- bool NeedsDirectConstruction() const { return dynamic_cast<wxDirectConstructorBrigde*>( m_constructor) != NULL ; }
+ bool NeedsDirectConstruction() const
+ { return wx_dynamic_cast(wxObjectAllocator*, m_constructor) != NULL; }
- const wxChar *GetClassName() const { return m_className; }
+ const wxChar *GetClassName() const
+ { return m_className; }
const wxChar *GetBaseClassName1() const
{ return m_parents[0] ? m_parents[0]->GetClassName() : NULL; }
const wxChar *GetBaseClassName2() const
{ return (m_parents[0] && m_parents[1]) ? m_parents[1]->GetClassName() : NULL; }
- const wxChar *GetIncludeName() const { return m_unitName ; }
- const wxClassInfo **GetParents() const { return m_parents; }
- int GetSize() const { return m_objectSize; }
- bool IsDynamic() const { return (NULL != m_objectConstructor); }
- wxObjectConstructorFn GetConstructor() const { return m_objectConstructor; }
- static const wxClassInfo *GetFirst() { return sm_first; }
- const wxClassInfo *GetNext() const { return m_next; }
- static wxClassInfo *FindClass(const wxString& className);
+ const wxClassInfo *GetBaseClass1() const
+ { return m_parents[0]; }
+ const wxClassInfo *GetBaseClass2() const
+ { return m_parents[0] ? m_parents[1] : NULL; }
+
+ const wxChar *GetIncludeName() const
+ { return m_unitName; }
+ const wxClassInfo **GetParents() const
+ { return m_parents; }
+ int GetSize() const
+ { return m_objectSize; }
+ bool IsDynamic() const
+ { return (NULL != m_objectConstructor); }
+
+ wxObjectConstructorFn GetConstructor() const
+ { return m_objectConstructor; }
+ const wxClassInfo *GetNext() const
+ { return m_next; }
+
+ // statics:
+
+ static void CleanUp();
+ static wxClassInfo *FindClass(const wxChar *className);
+ static const wxClassInfo *GetFirst()
+ { return sm_first; }
+
// Climb upwards through inheritance hierarchy.
// Dual inheritance is catered for.
- bool IsKindOf(const wxClassInfo *info) const
- {
- if ( info != 0 )
- {
- if ( info == this )
- return true ;
-
- for ( int i = 0 ; m_parents[i] ; ++ i )
- {
- if ( m_parents[i]->IsKindOf( info ) )
- return true ;
- }
- }
- return false ;
- }
+ bool IsKindOf(const wxClassInfo *info) const;
- DECLARE_CLASS_INFO_ITERATORS()
+ wxDECLARE_CLASS_INFO_ITERATORS()
// if there is a callback registered with that class it will be called
// before this object will be written to disk, it can veto streaming out
// this object by returning false, if this class has not registered a
// callback, the search will go up the inheritance tree if no callback has
// been registered true will be returned by default
- bool BeforeWriteObject( const wxObject *obj, wxWriter *streamer , wxPersister *persister , wxxVariantArray &metadata) const ;
+ bool BeforeWriteObject( const wxObject *obj, wxObjectWriter *streamer, \
+ wxObjectReaderCallback *persister, wxVariantBaseArray &metadata) const;
// gets the streaming callback from this class or any superclass
- wxObjectStreamingCallback GetStreamingCallback() const ;
-
- static void CleanUp();
+ wxObjectStreamingCallback GetStreamingCallback() const;
// returns the first property
- const wxPropertyInfo* GetFirstProperty() const { return m_firstProperty ; }
+ const wxPropertyInfo* GetFirstProperty() const
+ { return m_firstProperty; }
// returns the first handler
- const wxHandlerInfo* GetFirstHandler() const { return m_firstHandler ; }
+ const wxHandlerInfo* GetFirstHandler() const
+ { return m_firstHandler; }
// Call the Create upon an instance of the class, in the end the object is fully
// initialized
- virtual void Create (wxObject *object, int ParamCount, wxxVariant *Params) const
- {
- if ( ParamCount != m_constructorPropertiesCount )
- {
- wxLogError( wxGetTranslation(wxT("Illegal Parameter Count for Create Method")) ) ;
- return ;
- }
- m_constructor->Create( object , Params ) ;
- }
+ virtual bool Create (wxObject *object, int ParamCount, wxVariantBase *Params) const;
// get number of parameters for constructor
- virtual int GetCreateParamCount() const { return m_constructorPropertiesCount; }
+ virtual int GetCreateParamCount() const
+ { return m_constructorPropertiesCount; }
// get n-th constructor parameter
- virtual const wxChar* GetCreateParamName(int n) const { return m_constructorProperties[n] ; }
+ virtual const wxChar* GetCreateParamName(int n) const
+ { return m_constructorProperties[n]; }
- // Runtime access to objects for simple properties (get/set) by property name, and variant data
- virtual void SetProperty (wxObject *object, const wxChar *propertyName, const wxxVariant &value) const ;
- virtual wxxVariant GetProperty (wxObject *object, const wxChar *propertyName) const;
+ // Runtime access to objects for simple properties (get/set) by property
+ // name and variant data
+ virtual void SetProperty (wxObject *object, const wxChar *propertyName,
+ const wxVariantBase &value) const;
+ virtual wxVariantBase GetProperty (wxObject *object, const wxChar *propertyName) const;
// Runtime access to objects for collection properties by property name
- virtual wxxVariantArray GetPropertyCollection(wxObject *object, const wxChar *propertyName) const ;
- virtual void AddToPropertyCollection(wxObject *object, const wxChar *propertyName , const wxxVariant& value) const ;
+ virtual wxVariantBaseArray GetPropertyCollection(wxObject *object,
+ const wxChar *propertyName) const;
+ virtual void AddToPropertyCollection(wxObject *object, const wxChar *propertyName,
+ const wxVariantBase& value) const;
- // we must be able to cast variants to wxObject pointers, templates seem not to be suitable
- wxObject* VariantToInstance( wxxVariant &data ) const
+ // we must be able to cast variants to wxObject pointers, templates seem
+ // not to be suitable
+ wxObject* VariantToInstance( wxVariantBase &data ) const
{
if ( data.GetTypeInfo()->GetKind() == wxT_OBJECT )
- return m_variantToObjectConverter( data ) ;
+ return m_variantToObjectConverter( data );
else
- return m_variantOfPtrToObjectConverter( data ) ;
+ return m_variantOfPtrToObjectConverter( data );
}
- wxxVariant InstanceToVariant( wxObject *object ) const { return m_objectToVariantConverter( object ) ; }
+ wxVariantBase InstanceToVariant( wxObject *object ) const
+ { return m_objectToVariantConverter( object ); }
// find property by name
- virtual const wxPropertyInfo *FindPropertyInfo (const wxChar *PropertyName) const ;
+ virtual const wxPropertyInfo *FindPropertyInfo (const wxChar *PropertyName) const;
// find handler by name
- virtual const wxHandlerInfo *FindHandlerInfo (const wxChar *PropertyName) const ;
+ virtual const wxHandlerInfo *FindHandlerInfo (const wxChar *handlerName) const;
// find property by name
- virtual wxPropertyInfo *FindPropertyInfoInThisClass (const wxChar *PropertyName) const ;
+ virtual wxPropertyInfo *FindPropertyInfoInThisClass (const wxChar *PropertyName) const;
// find handler by name
- virtual wxHandlerInfo *FindHandlerInfoInThisClass (const wxChar *PropertyName) const ;
+ virtual wxHandlerInfo *FindHandlerInfoInThisClass (const wxChar *handlerName) const;
+
+ // puts all the properties of this class and its superclasses in the map,
+ // as long as there is not yet an entry with the same name (overriding mechanism)
+ void GetProperties( wxPropertyInfoMap &map ) const;
- // puts all the properties of this class and its superclasses in the map, as long as there is not yet
- // an entry with the same name (overriding mechanism)
- void GetProperties( wxPropertyInfoMap &map ) const ;
private:
const wxChar *m_className;
int m_objectSize;
- wxObjectConstructorFn m_objectConstructor;
+ wxObjectConstructorFn m_objectConstructor;
// class info object live in a linked list:
// pointers to its head and the next element in it
static wxClassInfo *sm_first;
- wxClassInfo *m_next;
+ wxClassInfo *m_next;
static wxHashTable *sm_classTable;
-protected :
- wxPropertyInfo * m_firstProperty ;
- wxHandlerInfo * m_firstHandler ;
+protected:
+ wxPropertyInfo * m_firstProperty;
+ wxHandlerInfo * m_firstHandler;
+
private:
- const wxClassInfo** m_parents ;
- const wxChar* m_unitName;
-
- wxConstructorBridge* m_constructor ;
- const wxChar ** m_constructorProperties ;
- const int m_constructorPropertiesCount ;
- wxVariantToObjectConverter m_variantOfPtrToObjectConverter ;
- wxVariantToObjectConverter m_variantToObjectConverter ;
- wxObjectToVariantConverter m_objectToVariantConverter ;
- wxObjectStreamingCallback m_streamingCallback ;
- const wxPropertyAccessor *FindAccessor (const wxChar *propertyName) const ;
+ const wxClassInfo** m_parents;
+ const wxChar* m_unitName;
+
+ wxObjectAllocatorAndCreator* m_constructor;
+ const wxChar ** m_constructorProperties;
+ const int m_constructorPropertiesCount;
+ wxVariantToObjectConverter m_variantOfPtrToObjectConverter;
+ wxVariantToObjectConverter m_variantToObjectConverter;
+ wxObjectToVariantConverter m_objectToVariantConverter;
+ wxObjectStreamingCallback m_streamingCallback;
+
+ const wxPropertyAccessor *FindAccessor (const wxChar *propertyName) const;
protected:
// registers the class
void Register();
void Unregister();
- wxDECLARE_NO_COPY_CLASS(wxClassInfo);
+ DECLARE_NO_COPY_CLASS(wxClassInfo)
};
+WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxChar *name);
-WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name);
// ----------------------------------------------------------------------------
-// wxDynamicObject
+// wxDynamicClassInfo
// ----------------------------------------------------------------------------
-//
+
// this object leads to having a pure runtime-instantiation
class WXDLLIMPEXP_BASE wxDynamicClassInfo : public wxClassInfo
{
- friend class WXDLLIMPEXP_FWD_BASE wxDynamicObject ;
-public :
- wxDynamicClassInfo( const wxChar *_UnitName, const wxChar *_ClassName , const wxClassInfo* superClass ) ;
- virtual ~wxDynamicClassInfo() ;
+ friend class WXDLLIMPEXP_BASE wxDynamicObject;
+
+public:
+ wxDynamicClassInfo( const wxChar *_UnitName, const wxChar *_ClassName,
+ const wxClassInfo* superClass );
+ virtual ~wxDynamicClassInfo();
// constructs a wxDynamicObject with an instance
- virtual wxObject *AllocateObject() const ;
+ virtual wxObject *AllocateObject() const;
// Call the Create method for a class
- virtual void Create (wxObject *object, int ParamCount, wxxVariant *Params) const ;
+ virtual bool Create (wxObject *object, int ParamCount, wxVariantBase *Params) const;
// get number of parameters for constructor
- virtual int GetCreateParamCount() const ;
+ virtual int GetCreateParamCount() const;
// get i-th constructor parameter
- virtual const wxChar* GetCreateParamName(int i) const ;
+ virtual const wxChar* GetCreateParamName(int i) const;
// Runtime access to objects by property name, and variant data
- virtual void SetProperty (wxObject *object, const wxChar *PropertyName, const wxxVariant &Value) const ;
- virtual wxxVariant GetProperty (wxObject *object, const wxChar *PropertyName) const ;
+ virtual void SetProperty (wxObject *object, const wxChar *PropertyName,
+ const wxVariantBase &Value) const;
+ virtual wxVariantBase GetProperty (wxObject *object, const wxChar *PropertyName) const;
// adds a property to this class at runtime
- void AddProperty( const wxChar *propertyName , const wxTypeInfo* typeInfo ) ;
+ void AddProperty( const wxChar *propertyName, const wxTypeInfo* typeInfo );
// removes an existing runtime-property
- void RemoveProperty( const wxChar *propertyName ) ;
+ void RemoveProperty( const wxChar *propertyName );
// renames an existing runtime-property
- void RenameProperty( const wxChar *oldPropertyName , const wxChar *newPropertyName ) ;
+ void RenameProperty( const wxChar *oldPropertyName, const wxChar *newPropertyName );
// as a handler to this class at runtime
- void AddHandler( const wxChar *handlerName , wxObjectEventFunction address , const wxClassInfo* eventClassInfo ) ;
+ void AddHandler( const wxChar *handlerName, wxObjectEventFunction address,
+ const wxClassInfo* eventClassInfo );
// removes an existing runtime-handler
- void RemoveHandler( const wxChar *handlerName ) ;
+ void RemoveHandler( const wxChar *handlerName );
// renames an existing runtime-handler
- void RenameHandler( const wxChar *oldHandlerName , const wxChar *newHandlerName ) ;
-private :
- struct wxDynamicClassInfoInternal ;
- wxDynamicClassInfoInternal* m_data ;
-} ;
+ void RenameHandler( const wxChar *oldHandlerName, const wxChar *newHandlerName );
+
+private:
+ struct wxDynamicClassInfoInternal;
+ wxDynamicClassInfoInternal* m_data;
+};
+
// ----------------------------------------------------------------------------
-// Dynamic class macros
+// wxDECLARE class macros
// ----------------------------------------------------------------------------
-#define _DECLARE_DYNAMIC_CLASS(name) \
- public: \
- static wxClassInfo ms_classInfo; \
- static const wxClassInfo* ms_classParents[] ; \
- static wxPropertyInfo* GetPropertiesStatic() ; \
- static wxHandlerInfo* GetHandlersStatic() ; \
- static wxClassInfo *GetClassInfoStatic() \
-{ return &name::ms_classInfo; } \
- virtual wxClassInfo *GetClassInfo() const \
-{ return &name::ms_classInfo; }
-
-/*
-#define _DECLARE_DYNAMIC_CLASS(name) \
- public: \
- static wxClassInfo ms_class##name; \
- static const wxClassInfo* ms_classParents##name[] ; \
- static wxPropertyInfo* GetPropertiesStatic() ; \
- static wxHandlerInfo* GetHandlersStatic() ; \
- static wxClassInfo *GetClassInfoStatic() \
-{ return &name::ms_class##name; } \
- virtual wxClassInfo *GetClassInfo() const \
-{ return &name::ms_class##name; }
-*/
-#define DECLARE_DYNAMIC_CLASS(name) \
- static wxConstructorBridge* ms_constructor ; \
- static const wxChar * ms_constructorProperties[] ; \
- static const int ms_constructorPropertiesCount ; \
+#define _DECLARE_DYNAMIC_CLASS(name) \
+ public: \
+ static wxClassInfo ms_classInfo; \
+ static const wxClassInfo* ms_classParents[]; \
+ static wxPropertyInfo* GetPropertiesStatic(); \
+ static wxHandlerInfo* GetHandlersStatic(); \
+ static wxClassInfo *GetClassInfoStatic() \
+ { return &name::ms_classInfo; } \
+ virtual wxClassInfo *GetClassInfo() const \
+ { return &name::ms_classInfo; }
+
+#define wxDECLARE_DYNAMIC_CLASS(name) \
+ static wxObjectAllocatorAndCreator* ms_constructor; \
+ static const wxChar * ms_constructorProperties[]; \
+ static const int ms_constructorPropertiesCount; \
_DECLARE_DYNAMIC_CLASS(name)
-#define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(name) \
- DECLARE_NO_ASSIGN_CLASS(name) \
- DECLARE_DYNAMIC_CLASS(name)
+#define wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(name) \
+ wxDECLARE_NO_ASSIGN_CLASS(name) \
+ wxDECLARE_DYNAMIC_CLASS(name)
-#define DECLARE_DYNAMIC_CLASS_NO_COPY(name) \
- DECLARE_NO_COPY_CLASS(name) \
- DECLARE_DYNAMIC_CLASS(name)
+#define wxDECLARE_DYNAMIC_CLASS_NO_COPY(name) \
+ wxDECLARE_NO_COPY_CLASS(name) \
+ wxDECLARE_DYNAMIC_CLASS(name)
-#define DECLARE_ABSTRACT_CLASS(name) _DECLARE_DYNAMIC_CLASS(name)
-#define DECLARE_CLASS(name) DECLARE_DYNAMIC_CLASS(name)
+#define wxDECLARE_ABSTRACT_CLASS(name) _DECLARE_DYNAMIC_CLASS(name)
+#define wxCLASSINFO(name) (&name::ms_classInfo)
-// -----------------------------------
-// for concrete classes
-// -----------------------------------
+
+// ----------------------------------------------------------------------------
+// wxIMPLEMENT class macros for concrete classes
+// ----------------------------------------------------------------------------
// Single inheritance with one base class
-#define _TYPEINFO_CLASSES(n , toString , fromString ) \
- wxClassTypeInfo s_typeInfo##n(wxT_OBJECT , &n::ms_classInfo , toString , fromString , typeid(n).name()) ; \
- wxClassTypeInfo s_typeInfoPtr##n(wxT_OBJECT_PTR , &n::ms_classInfo , toString , fromString , typeid(n*).name()) ;
-
-#define _IMPLEMENT_DYNAMIC_CLASS(name, basename, unit , callback) \
- wxObject* wxConstructorFor##name() \
-{ return new name; } \
- const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo ,NULL } ; \
- wxObject* wxVariantOfPtrToObjectConverter##name ( wxxVariant &data ) { return data.wxTEMPLATED_MEMBER_CALL(Get , name*) ; } \
- wxxVariant wxObjectToVariantConverter##name ( wxObject *data ) { return wxxVariant( dynamic_cast<name*> (data) ) ; } \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxT(unit) , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) wxConstructorFor##name , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor , name::ms_constructorProperties , \
- name::ms_constructorPropertiesCount , wxVariantOfPtrToObjectConverter##name , NULL , wxObjectToVariantConverter##name , callback);
-
-#define _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY(name, basename, unit, callback ) \
- wxObject* wxConstructorFor##name() \
-{ return new name; } \
- const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo ,NULL } ; \
- wxObject* wxVariantToObjectConverter##name ( wxxVariant &data ) { return &data.wxTEMPLATED_MEMBER_CALL(Get , name) ; } \
- wxObject* wxVariantOfPtrToObjectConverter##name ( wxxVariant &data ) { return data.wxTEMPLATED_MEMBER_CALL(Get , name*) ; } \
- wxxVariant wxObjectToVariantConverter##name ( wxObject *data ) { return wxxVariant( dynamic_cast<name*> (data) ) ; } \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxT(unit) , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) wxConstructorFor##name , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor , name::ms_constructorProperties, \
- name::ms_constructorPropertiesCount , wxVariantOfPtrToObjectConverter##name , wxVariantToObjectConverter##name , wxObjectToVariantConverter##name, callback);
-
-#define IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name , basename ) \
- _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name , basename , "" , NULL ) \
- _TYPEINFO_CLASSES(name, NULL , NULL) \
- const wxPropertyInfo *name::GetPropertiesStatic() { return NULL ; } \
- const wxHandlerInfo *name::GetHandlersStatic() { return NULL ; } \
+#define _TYPEINFO_CLASSES(n, toString, fromString ) \
+ wxClassTypeInfo s_typeInfo##n(wxT_OBJECT, &n::ms_classInfo, \
+ toString, fromString, typeid(n).name()); \
+ wxClassTypeInfo s_typeInfoPtr##n(wxT_OBJECT_PTR, &n::ms_classInfo, \
+ toString, fromString, typeid(n*).name());
+
+#define _IMPLEMENT_DYNAMIC_CLASS(name, basename, unit, callback) \
+ wxObject* wxConstructorFor##name() \
+ { return new name; } \
+ wxObject* wxVariantOfPtrToObjectConverter##name ( wxVariantBase &data ) \
+ { return data.wxTEMPLATED_MEMBER_CALL(Get, name*); } \
+ wxVariantBase wxObjectToVariantConverter##name ( wxObject *data ) \
+ { return wxVariantBase( wx_dynamic_cast(name*, data) ); } \
+ \
+ const wxClassInfo* name::ms_classParents[] = \
+ { &basename::ms_classInfo, NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxT(unit), \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) wxConstructorFor##name, \
+ name::GetPropertiesStatic(), name::GetHandlersStatic(), name::ms_constructor, \
+ name::ms_constructorProperties, name::ms_constructorPropertiesCount, \
+ wxVariantOfPtrToObjectConverter##name, NULL, wxObjectToVariantConverter##name, \
+ callback);
+
+#define _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY(name, basename, unit, callback ) \
+ wxObject* wxConstructorFor##name() \
+ { return new name; } \
+ wxObject* wxVariantToObjectConverter##name ( wxVariantBase &data ) \
+ { return &data.wxTEMPLATED_MEMBER_CALL(Get, name); } \
+ wxObject* wxVariantOfPtrToObjectConverter##name ( wxVariantBase &data ) \
+ { return data.wxTEMPLATED_MEMBER_CALL(Get, name*); } \
+ wxVariantBase wxObjectToVariantConverter##name ( wxObject *data ) \
+ { return wxVariantBase( wx_dynamic_cast(name*, data) ); } \
+ \
+ const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo,NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxT(unit), \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) wxConstructorFor##name, \
+ name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor, \
+ name::ms_constructorProperties, name::ms_constructorPropertiesCount, \
+ wxVariantOfPtrToObjectConverter##name, wxVariantToObjectConverter##name, \
+ wxObjectToVariantConverter##name, callback);
+
+#define wxIMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name, basename ) \
+ _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name, basename, "", NULL ) \
+ _TYPEINFO_CLASSES(name, NULL, NULL) \
+ const wxPropertyInfo *name::GetPropertiesStatic() \
+ { return (wxPropertyInfo*) NULL; } \
+ const wxHandlerInfo *name::GetHandlersStatic() \
+ { return (wxHandlerInfo*) NULL; } \
wxCONSTRUCTOR_DUMMY( name )
-#define IMPLEMENT_DYNAMIC_CLASS( name , basename ) \
- _IMPLEMENT_DYNAMIC_CLASS( name , basename , "" , NULL ) \
- _TYPEINFO_CLASSES(name, NULL , NULL) \
- wxPropertyInfo *name::GetPropertiesStatic() { return NULL ; } \
- wxHandlerInfo *name::GetHandlersStatic() { return NULL ; } \
+#define wxIMPLEMENT_DYNAMIC_CLASS( name, basename ) \
+ _IMPLEMENT_DYNAMIC_CLASS( name, basename, "", NULL ) \
+ _TYPEINFO_CLASSES(name, NULL, NULL) \
+ wxPropertyInfo *name::GetPropertiesStatic() \
+ { return (wxPropertyInfo*) NULL; } \
+ wxHandlerInfo *name::GetHandlersStatic() \
+ { return (wxHandlerInfo*) NULL; } \
wxCONSTRUCTOR_DUMMY( name )
-#define IMPLEMENT_DYNAMIC_CLASS_XTI( name , basename , unit ) \
- _IMPLEMENT_DYNAMIC_CLASS( name , basename , unit , NULL ) \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS_XTI( name, basename, unit ) \
+ _IMPLEMENT_DYNAMIC_CLASS( name, basename, unit, NULL ) \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
-#define IMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK( name , basename , unit , callback ) \
- _IMPLEMENT_DYNAMIC_CLASS( name , basename , unit , &callback ) \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK( name, basename, unit, callback )\
+ _IMPLEMENT_DYNAMIC_CLASS( name, basename, unit, &callback ) \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
-#define IMPLEMENT_DYNAMIC_CLASS_WITH_COPY_XTI( name , basename , unit ) \
- _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name , basename , unit , NULL ) \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS_WITH_COPY_XTI( name, basename, unit ) \
+ _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name, basename, unit, NULL ) \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
-#define IMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( name , basename , unit , toString , fromString ) \
- _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name , basename , unit , NULL ) \
- _TYPEINFO_CLASSES(name, toString , fromString)
+#define wxIMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( name, basename, \
+ unit, toString, \
+ fromString ) \
+ _IMPLEMENT_DYNAMIC_CLASS_WITH_COPY( name, basename, unit, NULL ) \
+ _TYPEINFO_CLASSES(name, toString, fromString)
-// this is for classes that do not derive from wxobject, there are no creators for these
+// this is for classes that do not derive from wxObject, there are no creators for these
-#define IMPLEMENT_DYNAMIC_CLASS_NO_WXOBJECT_NO_BASE_XTI( name , unit ) \
- const wxClassInfo* name::ms_classParents[] = { NULL } ; \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxEmptyString , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) 0 , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),0 , 0 , \
- 0 , 0 , 0 ); \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS_NO_WXOBJECT_NO_BASE_XTI( name, unit ) \
+ const wxClassInfo* name::ms_classParents[] = { NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxEmptyString, \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) 0, \
+ name::GetPropertiesStatic(),name::GetHandlersStatic(), 0, 0, \
+ 0, 0, 0 ); \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
-// this is for subclasses that still do not derive from wxobject
+// this is for subclasses that still do not derive from wxObject
-#define IMPLEMENT_DYNAMIC_CLASS_NO_WXOBJECT_XTI( name , basename, unit ) \
- const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo ,NULL } ; \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxEmptyString , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) 0 , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),0 , 0 , \
- 0 , 0 , 0 ); \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS_NO_WXOBJECT_XTI( name, basename, unit ) \
+ const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo, NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxEmptyString, \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) 0, \
+ name::GetPropertiesStatic(),name::GetHandlersStatic(), 0, 0, \
+ 0, 0, 0 ); \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
// Multiple inheritance with two base classes
-#define _IMPLEMENT_DYNAMIC_CLASS2(name, basename, basename2, unit, callback) \
- wxObject* wxConstructorFor##name() \
-{ return new name; } \
- const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo ,&basename2::ms_classInfo , NULL } ; \
- wxObject* wxVariantOfPtrToObjectConverter##name ( wxxVariant &data ) { return data.wxTEMPLATED_MEMBER_CALL(Get , name*) ; } \
- wxxVariant wxObjectToVariantConverter##name ( wxObject *data ) { return wxxVariant( dynamic_cast<name*> (data) ) ; } \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxT(unit) , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) wxConstructorFor##name , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor , name::ms_constructorProperties , \
- name::ms_constructorPropertiesCount , wxVariantOfPtrToObjectConverter##name , NULL , wxObjectToVariantConverter##name , callback);
-
-#define IMPLEMENT_DYNAMIC_CLASS2( name , basename , basename2) \
- _IMPLEMENT_DYNAMIC_CLASS2( name , basename , basename2 , "", NULL) \
- _TYPEINFO_CLASSES(name, NULL , NULL) \
- wxPropertyInfo *name::GetPropertiesStatic() { return NULL ; } \
- wxHandlerInfo *name::GetHandlersStatic() { return NULL ; } \
+#define _IMPLEMENT_DYNAMIC_CLASS2(name, basename, basename2, unit, callback) \
+ wxObject* wxConstructorFor##name() { return new name; } \
+ wxObject* wxVariantOfPtrToObjectConverter##name ( wxVariantBase &data ) \
+ { return data.wxTEMPLATED_MEMBER_CALL(Get, name*); } \
+ wxVariantBase wxObjectToVariantConverter##name ( wxObject *data ) \
+ { return wxVariantBase( wx_dynamic_cast(name*, data) ); } \
+ \
+ const wxClassInfo* name::ms_classParents[] = \
+ { &basename::ms_classInfo,&basename2::ms_classInfo, NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxT(unit), \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) wxConstructorFor##name, \
+ name::GetPropertiesStatic(),name::GetHandlersStatic(),name::ms_constructor, \
+ name::ms_constructorProperties, name::ms_constructorPropertiesCount, \
+ wxVariantOfPtrToObjectConverter##name, NULL, wxObjectToVariantConverter##name, \
+ callback);
+
+#define wxIMPLEMENT_DYNAMIC_CLASS2( name, basename, basename2) \
+ _IMPLEMENT_DYNAMIC_CLASS2( name, basename, basename2, "", NULL) \
+ _TYPEINFO_CLASSES(name, NULL, NULL) \
+ wxPropertyInfo *name::GetPropertiesStatic() { return (wxPropertyInfo*) NULL; } \
+ wxHandlerInfo *name::GetHandlersStatic() { return (wxHandlerInfo*) NULL; } \
wxCONSTRUCTOR_DUMMY( name )
-#define IMPLEMENT_DYNAMIC_CLASS2_XTI( name , basename , basename2, unit) \
- _IMPLEMENT_DYNAMIC_CLASS2( name , basename , basename2 , unit, NULL) \
- _TYPEINFO_CLASSES(name, NULL , NULL)
+#define wxIMPLEMENT_DYNAMIC_CLASS2_XTI( name, basename, basename2, unit) \
+ _IMPLEMENT_DYNAMIC_CLASS2( name, basename, basename2, unit, NULL) \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
-// -----------------------------------
-// for abstract classes
-// -----------------------------------
+
+// ----------------------------------------------------------------------------
+// wxIMPLEMENT class macros for abstract classes
+// ----------------------------------------------------------------------------
// Single inheritance with one base class
-#define _IMPLEMENT_ABSTRACT_CLASS(name, basename) \
- const wxClassInfo* name::ms_classParents[] = { &basename::ms_classInfo ,NULL } ; \
- wxObject* wxVariantToObjectConverter##name ( wxxVariant &data ) { return data.wxTEMPLATED_MEMBER_CALL(Get , name*) ; } \
- wxObject* wxVariantOfPtrToObjectConverter##name ( wxxVariant &data ) { return data.wxTEMPLATED_MEMBER_CALL(Get , name*) ; } \
- wxxVariant wxObjectToVariantConverter##name ( wxObject *data ) { return wxxVariant( dynamic_cast<name*> (data) ) ; } \
- wxClassInfo name::ms_classInfo(name::ms_classParents , wxEmptyString , wxT(#name), \
- (int) sizeof(name), \
- (wxObjectConstructorFn) 0 , \
- name::GetPropertiesStatic(),name::GetHandlersStatic(),0 , 0 , \
- 0 , wxVariantOfPtrToObjectConverter##name ,wxVariantToObjectConverter##name , wxObjectToVariantConverter##name); \
- _TYPEINFO_CLASSES(name, NULL , NULL)
-
-#define IMPLEMENT_ABSTRACT_CLASS( name , basename ) \
- _IMPLEMENT_ABSTRACT_CLASS( name , basename ) \
- wxHandlerInfo *name::GetHandlersStatic() { return NULL ; } \
- wxPropertyInfo *name::GetPropertiesStatic() { return NULL ; }
+#define _IMPLEMENT_ABSTRACT_CLASS(name, basename) \
+ wxObject* wxVariantToObjectConverter##name ( wxVariantBase &data ) \
+ { return data.wxTEMPLATED_MEMBER_CALL(Get, name*); } \
+ wxObject* wxVariantOfPtrToObjectConverter##name ( wxVariantBase &data ) \
+ { return data.wxTEMPLATED_MEMBER_CALL(Get, name*); } \
+ wxVariantBase wxObjectToVariantConverter##name ( wxObject *data ) \
+ { return wxVariantBase( wx_dynamic_cast(name*, data) ); } \
+ \
+ const wxClassInfo* name::ms_classParents[] = \
+ { &basename::ms_classInfo,NULL }; \
+ wxClassInfo name::ms_classInfo(name::ms_classParents, wxEmptyString, \
+ wxT(#name), (int) sizeof(name), (wxObjectConstructorFn) 0, \
+ name::GetPropertiesStatic(),name::GetHandlersStatic(), 0, 0, \
+ 0, wxVariantOfPtrToObjectConverter##name,wxVariantToObjectConverter##name, \
+ wxObjectToVariantConverter##name); \
+ _TYPEINFO_CLASSES(name, NULL, NULL)
+
+#define wxIMPLEMENT_ABSTRACT_CLASS( name, basename ) \
+ _IMPLEMENT_ABSTRACT_CLASS( name, basename ) \
+ wxHandlerInfo *name::GetHandlersStatic() { return (wxHandlerInfo*) NULL; } \
+ wxPropertyInfo *name::GetPropertiesStatic() { return (wxPropertyInfo*) NULL; }
// Multiple inheritance with two base classes
-#define IMPLEMENT_ABSTRACT_CLASS2(name, basename1, basename2) \
- wxClassInfo name::ms_classInfo(wxT(#name), wxT(#basename1), \
- wxT(#basename2), (int) sizeof(name), \
- (wxObjectConstructorFn) 0);
+#define wxIMPLEMENT_ABSTRACT_CLASS2(name, basename1, basename2) \
+ wxClassInfo name::ms_classInfo(wxT(#name), wxT(#basename1), \
+ wxT(#basename2), (int) sizeof(name), \
+ (wxObjectConstructorFn) 0);
-#define IMPLEMENT_CLASS IMPLEMENT_ABSTRACT_CLASS
-#define IMPLEMENT_CLASS2 IMPLEMENT_ABSTRACT_CLASS2
-#define wxBEGIN_EVENT_TABLE( a , b ) BEGIN_EVENT_TABLE( a , b )
-#define wxEND_EVENT_TABLE() END_EVENT_TABLE()
// --------------------------------------------------------------------------
// Collection Support
// --------------------------------------------------------------------------
-template<typename iter , typename collection_t > void wxListCollectionToVariantArray( const collection_t& coll , wxxVariantArray &value )
+template<typename iter, typename collection_t > void wxListCollectionToVariantArray(
+ const collection_t& coll, wxVariantBaseArray &value )
{
- iter current = coll.GetFirst() ;
+ iter current = coll.GetFirst();
while (current)
{
- value.Add( new wxxVariant(current->GetData()) ) ;
+ value.Add( new wxVariantBase(current->GetData()) );
current = current->GetNext();
}
}
-template<typename collection_t> void wxArrayCollectionToVariantArray( const collection_t& coll , wxxVariantArray &value )
+template<typename collection_t> void wxArrayCollectionToVariantArray(
+ const collection_t& coll, wxVariantBaseArray &value )
{
- for( size_t i = 0 ; i < coll.GetCount() ; i++ )
+ for( size_t i = 0; i < coll.GetCount(); i++ )
{
- value.Add( new wxxVariant(coll[i]) ) ;
+ value.Add( new wxVariantBase(coll[i]) );
}
}
-
+#endif // wxUSE_EXTENDED_RTTI
#endif // _WX_XTIH__
#ifndef _WX_XTISTRMH__
#define _WX_XTISTRMH__
-#include "wx/wx.h"
+#include "wx/defs.h"
#if wxUSE_EXTENDED_RTTI
-const int wxInvalidObjectID = -2 ;
-const int wxNullObjectID = -3 ;
+#include "wx/string.h"
+#include "wx/object.h"
+
+const int wxInvalidObjectID = -2;
+const int wxNullObjectID = -3;
// Filer contains the interfaces for streaming objects in and out of XML,
// rendering them either to objects in memory, or to code. Note: We
// in mind when looking at the property streamers and callback interfaces
// listed below.
-/*
-Main interfaces for streaming out objects.
-*/
// ----------------------------------------------------------------------------
-// wxPersister
+// wxObjectReaderCallback
//
// This class will be asked during the streaming-out process about every single
// property or object instance. It can veto streaming out by returning false
// or modify the value before it is streamed-out.
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_FWD_BASE wxWriter ;
-class WXDLLIMPEXP_FWD_BASE wxReader ;
+class WXDLLIMPEXP_BASE wxObjectWriter;
+class WXDLLIMPEXP_BASE wxObjectReader;
+class WXDLLIMPEXP_BASE wxClassInfo;
+class WXDLLIMPEXP_BASE wxVariantBaseArray;
+class WXDLLIMPEXP_BASE wxPropertyInfo;
+class WXDLLIMPEXP_BASE wxVariantBase;
+class WXDLLIMPEXP_BASE wxObjectWriter;
+class WXDLLIMPEXP_BASE wxHandlerInfo;
-class WXDLLIMPEXP_BASE wxPersister
+class WXDLLIMPEXP_BASE wxObjectReaderCallback
{
-public :
- virtual ~wxPersister() {}
+public:
+ virtual ~wxObjectReaderCallback() {}
// will be called before an object is written, may veto by returning false
- virtual bool BeforeWriteObject( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object) , const wxClassInfo *WXUNUSED(classInfo) , wxxVariantArray &WXUNUSED(metadata)) { return true ; }
-
- // will be called after this object has been written, may be needed for adjusting stacks
- virtual void AfterWriteObject( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object) , const wxClassInfo *WXUNUSED(classInfo) ) {}
-
- // will be called before a property gets written, may change the value , eg replace a concrete wxSize by wxSize( wxDefaultCoord , wxDefaultCoord ) or veto
- // writing that property at all by returning false
- virtual bool BeforeWriteProperty( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object), const wxPropertyInfo *WXUNUSED(propInfo) , wxxVariant &WXUNUSED(value) ) { return true ; }
-
- // will be called before a property gets written, may change the value , eg replace a concrete wxSize by wxSize( wxDefaultCoord , wxDefaultCoord ) or veto
- // writing that property at all by returning false
- virtual bool BeforeWriteProperty( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object), const wxPropertyInfo *WXUNUSED(propInfo) , wxxVariantArray &WXUNUSED(value) ) { return true ; }
-
- // will be called after a property has been written out, may be needed for adjusting stacks
- virtual void AfterWriteProperty( wxWriter *WXUNUSED(writer) , const wxPropertyInfo *WXUNUSED(propInfo) ) {}
+ virtual bool BeforeWriteObject( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxClassInfo *WXUNUSED(classInfo),
+ wxVariantBaseArray &WXUNUSED(metadata))
+ { return true; }
+
+ // will be called after this object has been written, may be
+ // needed for adjusting stacks
+ virtual void AfterWriteObject( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxClassInfo *WXUNUSED(classInfo) )
+ {}
+
+ // will be called before a property gets written, may change the value,
+ // eg replace a concrete wxSize by wxSize( wxDefaultCoord, wxDefaultCoord )
+ // or veto writing that property at all by returning false
+ virtual bool BeforeWriteProperty( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxPropertyInfo *WXUNUSED(propInfo),
+ wxVariantBase &WXUNUSED(value) )
+ { return true; }
+
+ // will be called before a property gets written, may change the value,
+ // eg replace a concrete wxSize by wxSize( wxDefaultCoord, wxDefaultCoord )
+ // or veto writing that property at all by returning false
+ virtual bool BeforeWriteProperty( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxPropertyInfo *WXUNUSED(propInfo),
+ wxVariantBaseArray &WXUNUSED(value) )
+ { return true; }
+
+ // will be called after a property has been written out, may be needed
+ // for adjusting stacks
+ virtual void AfterWriteProperty( wxObjectWriter *WXUNUSED(writer),
+ const wxPropertyInfo *WXUNUSED(propInfo) )
+ {}
// will be called before this delegate gets written
- virtual bool BeforeWriteDelegate( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object), const wxClassInfo* WXUNUSED(classInfo) , const wxPropertyInfo *WXUNUSED(propInfo) ,
- const wxObject *&WXUNUSED(eventSink) , const wxHandlerInfo* &WXUNUSED(handlerInfo) ) { return true ; }
-
- virtual void AfterWriteDelegate( wxWriter *WXUNUSED(writer) , const wxObject *WXUNUSED(object), const wxClassInfo* WXUNUSED(classInfo) , const wxPropertyInfo *WXUNUSED(propInfo) ,
- const wxObject *&WXUNUSED(eventSink) , const wxHandlerInfo* &WXUNUSED(handlerInfo) ) { }
-} ;
+ virtual bool BeforeWriteDelegate( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxClassInfo* WXUNUSED(classInfo),
+ const wxPropertyInfo *WXUNUSED(propInfo),
+ const wxObject *&WXUNUSED(eventSink),
+ const wxHandlerInfo* &WXUNUSED(handlerInfo) )
+ { return true; }
+
+ virtual void AfterWriteDelegate( wxObjectWriter *WXUNUSED(writer),
+ const wxObject *WXUNUSED(object),
+ const wxClassInfo* WXUNUSED(classInfo),
+ const wxPropertyInfo *WXUNUSED(propInfo),
+ const wxObject *&WXUNUSED(eventSink),
+ const wxHandlerInfo* &WXUNUSED(handlerInfo) )
+ { }
+};
-class WXDLLIMPEXP_BASE wxWriter : public wxObject
+class WXDLLIMPEXP_BASE wxObjectWriter: public wxObject
{
-public :
- wxWriter() ;
- virtual ~wxWriter() ;
+public:
+ wxObjectWriter();
+ virtual ~wxObjectWriter();
// with this call you start writing out a new top-level object
- void WriteObject(const wxObject *object, const wxClassInfo *classInfo , wxPersister *persister , const wxString &name , wxxVariantArray &WXUNUSED(metadata)) ;
+ void WriteObject(const wxObject *object, const wxClassInfo *classInfo,
+ wxObjectReaderCallback *persister, const wxString &name,
+ wxVariantBaseArray &WXUNUSED(metadata));
- //
// Managing the object identity table a.k.a context
//
- // these methods make sure that no object gets written twice, because sometimes multiple calls to the WriteObject will be
- // made without wanting to have duplicate objects written, the object identity table will be reset manually
-
- virtual void ClearObjectContext() ;
+ // these methods make sure that no object gets written twice,
+ // because sometimes multiple calls to the WriteObject will be
+ // made without wanting to have duplicate objects written, the
+ // object identity table will be reset manually
+ virtual void ClearObjectContext();
// gets the object Id for a passed in object in the context
- int GetObjectID(const wxObject *obj) ;
+ int GetObjectID(const wxObject *obj);
// returns true if this object has already been written in this context
- bool IsObjectKnown( const wxObject *obj ) ;
+ bool IsObjectKnown( const wxObject *obj );
//
// streaming callbacks
// these callbacks really write out the values in the stream format
// begins writing out a new toplevel entry which has the indicated unique name
- virtual void DoBeginWriteTopLevelEntry( const wxString &name ) = 0 ;
+ virtual void DoBeginWriteTopLevelEntry( const wxString &name ) = 0;
// ends writing out a new toplevel entry which has the indicated unique name
- virtual void DoEndWriteTopLevelEntry( const wxString &name ) = 0 ;
+ virtual void DoEndWriteTopLevelEntry( const wxString &name ) = 0;
// start of writing an object having the passed in ID
- virtual void DoBeginWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID , wxxVariantArray &metadata ) = 0 ;
+ virtual void DoBeginWriteObject(const wxObject *object, const wxClassInfo *classInfo,
+ int objectID, wxVariantBaseArray &metadata ) = 0;
- // end of writing an toplevel object name param is used for unique identification within the container
- virtual void DoEndWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID ) = 0 ;
+ // end of writing an toplevel object name param is used for unique
+ // identification within the container
+ virtual void DoEndWriteObject(const wxObject *object,
+ const wxClassInfo *classInfo, int objectID ) = 0;
// writes a simple property in the stream format
- virtual void DoWriteSimpleType( wxxVariant &value ) = 0 ;
+ virtual void DoWriteSimpleType( wxVariantBase &value ) = 0;
// start of writing a complex property into the stream (
- virtual void DoBeginWriteProperty( const wxPropertyInfo *propInfo ) = 0 ;
+ virtual void DoBeginWriteProperty( const wxPropertyInfo *propInfo ) = 0;
// end of writing a complex property into the stream
virtual void DoEndWriteProperty( const wxPropertyInfo *propInfo ) = 0;
- virtual void DoBeginWriteElement() = 0 ;
- virtual void DoEndWriteElement() = 0 ;
+ virtual void DoBeginWriteElement() = 0;
+ virtual void DoEndWriteElement() = 0;
// insert an object reference to an already written object
- virtual void DoWriteRepeatedObject( int objectID ) = 0 ;
+ virtual void DoWriteRepeatedObject( int objectID ) = 0;
// insert a null reference
- virtual void DoWriteNullObject() = 0 ;
+ virtual void DoWriteNullObject() = 0;
// writes a delegate in the stream format
- virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo , const wxPropertyInfo *propInfo ,
- const wxObject *eventSink , int sinkObjectID , const wxClassInfo* eventSinkClassInfo , const wxHandlerInfo* handlerIndo ) = 0;
-private :
+ virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo,
+ const wxPropertyInfo *propInfo, const wxObject *eventSink,
+ int sinkObjectID, const wxClassInfo* eventSinkClassInfo,
+ const wxHandlerInfo* handlerIndo ) = 0;
+
+private:
+ struct wxObjectWriterInternal;
+ wxObjectWriterInternal* m_data;
+
+ struct wxObjectWriterInternalPropertiesData;
- struct wxWriterInternal ;
- wxWriterInternal* m_data ;
+ void WriteAllProperties( const wxObject * obj, const wxClassInfo* ci,
+ wxObjectReaderCallback *persister,
+ wxObjectWriterInternalPropertiesData * data );
- struct wxWriterInternalPropertiesData ;
+ void WriteOneProperty( const wxObject *obj, const wxClassInfo* ci,
+ const wxPropertyInfo* pi, wxObjectReaderCallback *persister,
+ wxObjectWriterInternalPropertiesData *data );
- void WriteAllProperties( const wxObject * obj , const wxClassInfo* ci , wxPersister *persister, wxWriterInternalPropertiesData * data ) ;
- void WriteOneProperty( const wxObject *obj , const wxClassInfo* ci , const wxPropertyInfo* pi , wxPersister *persister , wxWriterInternalPropertiesData *data ) ;
- void WriteObject(const wxObject *object, const wxClassInfo *classInfo , wxPersister *persister , bool isEmbedded, wxxVariantArray &metadata ) ;
- void FindConnectEntry(const wxEvtHandler * evSource,const wxDelegateTypeInfo* dti, const wxObject* &sink , const wxHandlerInfo *&handler) ;
-} ;
+ void WriteObject(const wxObject *object, const wxClassInfo *classInfo,
+ wxObjectReaderCallback *persister, bool isEmbedded, wxVariantBaseArray &metadata );
+
+ void FindConnectEntry(const wxEvtHandler * evSource,
+ const wxEventSourceTypeInfo* dti, const wxObject* &sink,
+ const wxHandlerInfo *&handler);
+};
/*
Streaming callbacks for depersisting XML to code, or running objects
*/
-class WXDLLIMPEXP_FWD_BASE wxDepersister ;
+class WXDLLIMPEXP_BASE wxObjectWriterCallback;
/*
-wxReader handles streaming in a class from a arbitrary format. While walking through
-it issues calls out to interfaces to depersist the guts from the underlying storage format.
+wxObjectReader handles streaming in a class from a arbitrary format.
+While walking through it issues calls out to interfaces to depersist
+the guts from the underlying storage format.
*/
-class WXDLLIMPEXP_BASE wxReader : public wxObject
+class WXDLLIMPEXP_BASE wxObjectReader: public wxObject
{
-public :
- wxReader() ;
- virtual ~wxReader() ;
+public:
+ wxObjectReader();
+ virtual ~wxObjectReader();
- // the only thing wxReader knows about is the class info by object ID
- wxClassInfo *GetObjectClassInfo(int objectID) ;
- bool HasObjectClassInfo( int objectID ) ;
+ // the only thing wxObjectReader knows about is the class info by object ID
+ wxClassInfo *GetObjectClassInfo(int objectID);
+ bool HasObjectClassInfo( int objectID );
void SetObjectClassInfo(int objectID, wxClassInfo* classInfo);
// Reads the component the reader is pointed at from the underlying format.
// then be used to ask the depersister about that object
// if there was a problem you will get back wxInvalidObjectID and the current
// error log will carry the problems encoutered
- virtual int ReadObject( const wxString &name , wxDepersister *depersist ) = 0 ;
+ virtual int ReadObject( const wxString &name, wxObjectWriterCallback *depersist ) = 0;
-private :
- struct wxReaderInternal;
- wxReaderInternal *m_data;
-} ;
+private:
+ struct wxObjectReaderInternal;
+ wxObjectReaderInternal *m_data;
+};
// This abstract class matches the allocate-init/create model of creation of objects.
// At runtime, these will create actual instances, and manipulate them.
// When generating code, these will just create statements of C++
// code to create the objects.
-class WXDLLIMPEXP_BASE wxDepersister
+class WXDLLIMPEXP_BASE wxObjectWriterCallback
{
-public :
- virtual ~wxDepersister() {}
+public:
+ virtual ~wxObjectWriterCallback() {}
// allocate the new object on the heap, that object will have the passed in ID
- virtual void AllocateObject(int objectID, wxClassInfo *classInfo, wxxVariantArray &metadata) = 0;
+ virtual void AllocateObject(int objectID, wxClassInfo *classInfo,
+ wxVariantBaseArray &metadata) = 0;
// initialize the already allocated object having the ID objectID with the Create method
// creation parameters which are objects are having their Ids passed in objectIDValues
virtual void CreateObject(int objectID,
const wxClassInfo *classInfo,
int paramCount,
- wxxVariant *VariantValues ,
- int *objectIDValues ,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata) = 0;
+ wxVariantBase *VariantValues,
+ int *objectIDValues,
+ const wxClassInfo **objectClassInfos,
+ wxVariantBaseArray &metadata) = 0;
- // construct the new object on the heap, that object will have the passed in ID (for objects that
- // don't support allocate-create type of creation)
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
+ // construct the new object on the heap, that object will have the passed in ID
+ // (for objects that don't support allocate-create type of creation)
+ // creation parameters which are objects are having their Ids passed in
+ // objectIDValues having objectId <> wxInvalidObjectID
virtual void ConstructObject(int objectID,
const wxClassInfo *classInfo,
int paramCount,
- wxxVariant *VariantValues ,
- int *objectIDValues ,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata) = 0;
-
- // destroy the heap-allocated object having the ID objectID, this may be used if an object
- // is embedded in another object and set via value semantics, so the intermediate
- // object can be destroyed after safely
+ wxVariantBase *VariantValues,
+ int *objectIDValues,
+ const wxClassInfo **objectClassInfos,
+ wxVariantBaseArray &metadata) = 0;
+
+ // destroy the heap-allocated object having the ID objectID, this may be used
+ // if an object is embedded in another object and set via value semantics,
+ // so the intermediate object can be destroyed after safely
virtual void DestroyObject(int objectID, wxClassInfo *classInfo) = 0;
// set the corresponding property
virtual void SetProperty(int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &VariantValue) = 0;
+ const wxPropertyInfo* propertyInfo,
+ const wxVariantBase &VariantValue) = 0;
// sets the corresponding property (value is an object)
virtual void SetPropertyAsObject(int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
+ const wxPropertyInfo* propertyInfo,
int valueObjectId) = 0;
// adds an element to a property collection
- virtual void AddToPropertyCollection( int objectID ,
+ virtual void AddToPropertyCollection( int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &VariantValue) = 0;
+ const wxPropertyInfo* propertyInfo,
+ const wxVariantBase &VariantValue) = 0;
// sets the corresponding property (value is an object)
virtual void AddToPropertyCollectionAsObject(int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
+ const wxPropertyInfo* propertyInfo,
int valueObjectId) = 0;
// sets the corresponding event handler
virtual void SetConnect(int EventSourceObjectID,
const wxClassInfo *EventSourceClassInfo,
- const wxPropertyInfo *delegateInfo ,
- const wxClassInfo *EventSinkClassInfo ,
- const wxHandlerInfo* handlerInfo ,
+ const wxPropertyInfo *delegateInfo,
+ const wxClassInfo *EventSinkClassInfo,
+ const wxHandlerInfo* handlerInfo,
int EventSinkObjectID ) = 0;
};
/*
-wxRuntimeDepersister implements the callbacks that will depersist
+wxObjectRuntimeReaderCallback implements the callbacks that will depersist
an object into a running memory image, as opposed to writing
C++ initialization code to bring the object to life.
*/
-class WXDLLIMPEXP_BASE wxRuntimeDepersister : public wxDepersister
+class WXDLLIMPEXP_BASE wxObjectRuntimeReaderCallback: public wxObjectWriterCallback
{
- struct wxRuntimeDepersisterInternal ;
- wxRuntimeDepersisterInternal * m_data ;
-public :
- wxRuntimeDepersister();
- virtual ~wxRuntimeDepersister();
+ struct wxObjectRuntimeReaderCallbackInternal;
+ wxObjectRuntimeReaderCallbackInternal * m_data;
+
+public:
+ wxObjectRuntimeReaderCallback();
+ virtual ~wxObjectRuntimeReaderCallback();
// returns the object having the corresponding ID fully constructed
- wxObject *GetObject(int objectID) ;
+ wxObject *GetObject(int objectID);
// allocate the new object on the heap, that object will have the passed in ID
- virtual void AllocateObject(int objectID, wxClassInfo *classInfo ,
- wxxVariantArray &metadata) ;
+ virtual void AllocateObject(int objectID, wxClassInfo *classInfo,
+ wxVariantBaseArray &metadata);
- // initialize the already allocated object having the ID objectID with the Create method
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
+ // initialize the already allocated object having the ID objectID with
+ // the Create method creation parameters which are objects are having
+ // their Ids passed in objectIDValues having objectId <> wxInvalidObjectID
virtual void CreateObject(int objectID,
const wxClassInfo *classInfo,
int paramCount,
- wxxVariant *VariantValues ,
+ wxVariantBase *VariantValues,
int *objectIDValues,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata
- ) ;
+ const wxClassInfo **objectClassInfos,
+ wxVariantBaseArray &metadata
+ );
- // construct the new object on the heap, that object will have the passed in ID (for objects that
- // don't support allocate-create type of creation)
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
+ // construct the new object on the heap, that object will have the
+ // passed in ID (for objects that don't support allocate-create type of
+ // creation) creation parameters which are objects are having their Ids
+ // passed in objectIDValues having objectId <> wxInvalidObjectID
virtual void ConstructObject(int objectID,
const wxClassInfo *classInfo,
int paramCount,
- wxxVariant *VariantValues ,
- int *objectIDValues ,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata) ;
-
- // destroy the heap-allocated object having the ID objectID, this may be used if an object
- // is embedded in another object and set via value semantics, so the intermediate
- // object can be destroyed after safely
- virtual void DestroyObject(int objectID, wxClassInfo *classInfo) ;
-
- // set the corresponding property
- virtual void SetProperty(int objectID,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &variantValue);
-
- // sets the corresponding property (value is an object)
- virtual void SetPropertyAsObject(int objectId,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
-
- // adds an element to a property collection
- virtual void AddToPropertyCollection( int objectID ,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &VariantValue) ;
-
- // sets the corresponding property (value is an object)
- virtual void AddToPropertyCollectionAsObject(int objectID,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
-
- // sets the corresponding event handler
- virtual void SetConnect(int eventSourceObjectID,
- const wxClassInfo *eventSourceClassInfo,
- const wxPropertyInfo *delegateInfo ,
- const wxClassInfo *eventSinkClassInfo ,
- const wxHandlerInfo* handlerInfo ,
- int eventSinkObjectID ) ;
-};
-
-/*
-wxDepersisterCode implements the callbacks that will depersist
-an object into a C++ initialization function. this will move to
-a utility lib soon
-*/
-
-class WXDLLIMPEXP_FWD_BASE wxTextOutputStream ;
-
-class WXDLLIMPEXP_BASE wxCodeDepersister : public wxDepersister
-{
-private :
- struct wxCodeDepersisterInternal ;
- wxCodeDepersisterInternal * m_data ;
- wxTextOutputStream *m_fp;
- wxString ValueAsCode( const wxxVariant ¶m ) ;
-public:
- wxCodeDepersister(wxTextOutputStream *out);
- virtual ~wxCodeDepersister();
-
- // allocate the new object on the heap, that object will have the passed in ID
- virtual void AllocateObject(int objectID, wxClassInfo *classInfo ,
- wxxVariantArray &metadata) ;
-
- // initialize the already allocated object having the ID objectID with the Create method
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
-
- virtual void CreateObject(int objectID,
- const wxClassInfo *classInfo,
- int paramCount,
- wxxVariant *variantValues ,
+ wxVariantBase *VariantValues,
int *objectIDValues,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata
- ) ;
-
- // construct the new object on the heap, that object will have the passed in ID (for objects that
- // don't support allocate-create type of creation)
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
-
- virtual void ConstructObject(int objectID,
- const wxClassInfo *classInfo,
- int paramCount,
- wxxVariant *VariantValues ,
- int *objectIDValues ,
- const wxClassInfo **objectClassInfos ,
- wxxVariantArray &metadata) ;
+ const wxClassInfo **objectClassInfos,
+ wxVariantBaseArray &metadata);
- // destroy the heap-allocated object having the ID objectID, this may be used if an object
- // is embedded in another object and set via value semantics, so the intermediate
- // object can be destroyed after safely
- virtual void DestroyObject(int objectID, wxClassInfo *classInfo) ;
+ // destroy the heap-allocated object having the ID objectID, this may be
+ // used if an object is embedded in another object and set via value semantics,
+ // so the intermediate object can be destroyed after safely
+ virtual void DestroyObject(int objectID, wxClassInfo *classInfo);
// set the corresponding property
virtual void SetProperty(int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &variantValue);
+ const wxPropertyInfo* propertyInfo,
+ const wxVariantBase &variantValue);
// sets the corresponding property (value is an object)
virtual void SetPropertyAsObject(int objectId,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
+ const wxPropertyInfo* propertyInfo,
+ int valueObjectId);
// adds an element to a property collection
- virtual void AddToPropertyCollection( int objectID ,
+ virtual void AddToPropertyCollection( int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &VariantValue) ;
+ const wxPropertyInfo* propertyInfo,
+ const wxVariantBase &VariantValue);
// sets the corresponding property (value is an object)
virtual void AddToPropertyCollectionAsObject(int objectID,
const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
+ const wxPropertyInfo* propertyInfo,
+ int valueObjectId);
// sets the corresponding event handler
virtual void SetConnect(int eventSourceObjectID,
const wxClassInfo *eventSourceClassInfo,
- const wxPropertyInfo *delegateInfo ,
- const wxClassInfo *eventSinkClassInfo ,
- const wxHandlerInfo* handlerInfo ,
- int eventSinkObjectID ) ;
+ const wxPropertyInfo *delegateInfo,
+ const wxClassInfo *eventSinkClassInfo,
+ const wxHandlerInfo* handlerInfo,
+ int eventSinkObjectID );
};
#endif // wxUSE_EXTENDED_RTTI
#ifndef _WX_XTIXMLH__
#define _WX_XTIXMLH__
-#include "wx/wx.h"
+#include "wx/defs.h"
#if wxUSE_EXTENDED_RTTI
+#include "wx/string.h"
#include "wx/xtistrm.h"
-class WXDLLIMPEXP_FWD_XML wxXmlNode ;
+class WXDLLIMPEXP_XML wxXmlNode;
+class WXDLLIMPEXP_BASE wxPropertyInfo;
+class WXDLLIMPEXP_BASE wxObject;
+class WXDLLIMPEXP_BASE wxClassInfo;
+class WXDLLIMPEXP_BASE wxVariantBaseArray;
+class WXDLLIMPEXP_BASE wxHandlerInfo;
+class WXDLLIMPEXP_BASE wxObjectWriterCallback;
-class WXDLLIMPEXP_XML wxXmlWriter : public wxWriter
+class WXDLLIMPEXP_XML wxObjectXmlWriter: public wxObjectWriter
{
-public :
+public:
- wxXmlWriter( wxXmlNode * parent ) ;
- virtual ~wxXmlWriter() ;
+ wxObjectXmlWriter( wxXmlNode * parent );
+ virtual ~wxObjectXmlWriter();
//
// streaming callbacks
// these callbacks really write out the values in the stream format
// begins writing out a new toplevel entry which has the indicated unique name
- virtual void DoBeginWriteTopLevelEntry( const wxString &name ) ;
+ virtual void DoBeginWriteTopLevelEntry( const wxString &name );
// ends writing out a new toplevel entry which has the indicated unique name
- virtual void DoEndWriteTopLevelEntry( const wxString &name ) ;
+ virtual void DoEndWriteTopLevelEntry( const wxString &name );
// start of writing an object having the passed in ID
- virtual void DoBeginWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID , wxxVariantArray &metadata ) ;
+ virtual void DoBeginWriteObject(const wxObject *object,
+ const wxClassInfo *classInfo, int objectID, wxVariantBaseArray &metadata );
- // end of writing an toplevel object name param is used for unique identification within the container
- virtual void DoEndWriteObject(const wxObject *object, const wxClassInfo *classInfo, int objectID ) ;
+ // end of writing an toplevel object name param is used for unique
+ // identification within the container
+ virtual void DoEndWriteObject(const wxObject *object,
+ const wxClassInfo *classInfo, int objectID );
// writes a simple property in the stream format
- virtual void DoWriteSimpleType( wxxVariant &value ) ;
+ virtual void DoWriteSimpleType( wxVariantBase &value );
// start of writing a complex property into the stream (
- virtual void DoBeginWriteProperty( const wxPropertyInfo *propInfo ) ;
+ virtual void DoBeginWriteProperty( const wxPropertyInfo *propInfo );
// end of writing a complex property into the stream
- virtual void DoEndWriteProperty( const wxPropertyInfo *propInfo ) ;
+ virtual void DoEndWriteProperty( const wxPropertyInfo *propInfo );
- virtual void DoBeginWriteElement() ;
- virtual void DoEndWriteElement() ;
+ virtual void DoBeginWriteElement();
+ virtual void DoEndWriteElement();
// insert an object reference to an already written object
- virtual void DoWriteRepeatedObject( int objectID ) ;
+ virtual void DoWriteRepeatedObject( int objectID );
// insert a null reference
- virtual void DoWriteNullObject() ;
+ virtual void DoWriteNullObject();
// writes a delegate in the stream format
- virtual void DoWriteDelegate( const wxObject *object, const wxClassInfo* classInfo , const wxPropertyInfo *propInfo ,
- const wxObject *eventSink , int sinkObjectID , const wxClassInfo* eventSinkClassInfo , const wxHandlerInfo* handlerIndo ) ;
-private :
- struct wxXmlWriterInternal ;
- wxXmlWriterInternal* m_data ;
-} ;
+ virtual void DoWriteDelegate( const wxObject *object,
+ const wxClassInfo* classInfo, const wxPropertyInfo *propInfo,
+ const wxObject *eventSink, int sinkObjectID,
+ const wxClassInfo* eventSinkClassInfo, const wxHandlerInfo* handlerIndo );
+
+private:
+ struct wxObjectXmlWriterInternal;
+ wxObjectXmlWriterInternal* m_data;
+};
/*
-wxXmlReader handles streaming in a class from XML
+wxObjectXmlReader handles streaming in a class from XML
*/
-class WXDLLIMPEXP_XML wxXmlReader : public wxReader
+class WXDLLIMPEXP_XML wxObjectXmlReader: public wxObjectReader
{
public:
- wxXmlReader(wxXmlNode *parent) { m_parent = parent ; }
- virtual ~wxXmlReader() {}
+ wxObjectXmlReader(wxXmlNode *parent) { m_parent = parent; }
+ virtual ~wxObjectXmlReader() {}
// Reads a component from XML. The return value is the root object ID, which can
// then be used to ask the depersister about that object
- virtual int ReadObject( const wxString &name , wxDepersister *depersist ) ;
+ virtual int ReadObject( const wxString &name, wxObjectWriterCallback *depersist );
-private :
- int ReadComponent(wxXmlNode *parent, wxDepersister *callbacks);
+private:
+ int ReadComponent(wxXmlNode *parent, wxObjectWriterCallback *callbacks);
// read the content of this node (simple type) and return the corresponding value
- wxxVariant ReadValue(wxXmlNode *Node,
- const wxTypeInfo *type );
+ wxVariantBase ReadValue(wxXmlNode *Node, const wxTypeInfo *type );
- wxXmlNode * m_parent ;
+ wxXmlNode * m_parent;
};
#endif // wxUSE_EXTENDED_RTTI
#import <AppKit/NSButton.h>
#import <Foundation/NSString.h>
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxControl)
BEGIN_EVENT_TABLE(wxBitmapButton, wxBitmapButtonBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxBitmapButton,NSButton,NSControl,NSView)
#import <AppKit/NSButton.h>
#import <Foundation/NSString.h>
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
BEGIN_EVENT_TABLE(wxCheckBox, wxCheckBoxBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxCheckBox,NSButton,NSControl,NSView)
#import <Foundation/NSNotification.h>
#import <Foundation/NSDictionary.h>
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
BEGIN_EVENT_TABLE(wxChoice, wxChoiceBase)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxChoice,NSButton,NSControl,NSView)
#import <AppKit/NSColor.h>
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
void wxColour::Init()
{
m_cocoaNSColor = NULL;
#import <AppKit/NSComboBox.h>
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
BEGIN_EVENT_TABLE(wxComboBox, wxControl)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxComboBox,NSComboBox,NSTextField,NSView)
BEGIN_EVENT_TABLE(wxFrame, wxFrameBase)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
void wxFrame::Init()
{
m_frameNSView = nil;
#include <math.h>
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
BEGIN_EVENT_TABLE(wxGauge, wxGaugeBase)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxGauge,NSProgressIndicator,NSView,NSView)
// class wxListBox
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxListBox,NSTableView,NSControl,NSView)
WX_DEFINE_LIST(wxRadioButtonList);
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
// wxRadioButtonBase == wxControl
BEGIN_EVENT_TABLE(wxRadioButton, wxControl)
END_EVENT_TABLE()
#import <AppKit/NSScroller.h>
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
BEGIN_EVENT_TABLE(wxScrollBar, wxScrollBarBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxScrollBar,NSScroller,NSControl,NSView)
#import <AppKit/NSEvent.h>
#import <AppKit/NSWindow.h>
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
- BEGIN_EVENT_TABLE(wxSlider, wxSliderBase)
+BEGIN_EVENT_TABLE(wxSlider, wxSliderBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxSlider,NSSlider,NSControl,NSView)
#import <AppKit/NSStepper.h>
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
BEGIN_EVENT_TABLE(wxSpinButton, wxSpinButtonBase)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxSpinButton,NSStepper,NSControl,NSView)
#import <AppKit/NSImageView.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
BEGIN_EVENT_TABLE(wxStaticBitmap, wxControl)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxStaticBitmap,NSTextField,NSControl,NSView)
#import <AppKit/NSBox.h>
#import <Foundation/NSString.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
BEGIN_EVENT_TABLE(wxStaticBox, wxStaticBoxBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxStaticBox,NSBox,NSView,NSView)
#import <AppKit/NSBox.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
BEGIN_EVENT_TABLE(wxStaticLine, wxStaticLineBase)
END_EVENT_TABLE()
// WX_IMPLEMENT_COCOA_OWNER(wxStaticLine,NSTextField,NSControl,NSView)
#import <AppKit/NSTextField.h>
#include <math.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
BEGIN_EVENT_TABLE(wxStaticText, wxControl)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxStaticText,NSTextField,NSControl,NSView)
#include <math.h>
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
END_EVENT_TABLE()
WX_IMPLEMENT_COCOA_OWNER(wxTextCtrl,NSTextField,NSControl,NSView)
// normally the base classes aren't included, but wxWindow is special
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowCocoa, wxWindowBase)
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
#endif
BEGIN_EVENT_TABLE(wxWindowCocoa, wxWindowBase)
#include "wx/toplevel.h"
#endif //WX_PRECOMP
+
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxButtonStyle )
+wxBEGIN_FLAGS( wxButtonStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxBU_LEFT)
+wxFLAGS_MEMBER(wxBU_RIGHT)
+wxFLAGS_MEMBER(wxBU_TOP)
+wxFLAGS_MEMBER(wxBU_BOTTOM)
+wxFLAGS_MEMBER(wxBU_EXACTFIT)
+wxEND_FLAGS( wxButtonStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxButton, wxControl, "wx/button.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxButton)
+wxEVENT_PROPERTY( Click, wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEvent )
+
+wxPROPERTY( Font, wxFont, SetFont, GetFont, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("The font associated with the button label"), wxT("group"))
+wxPROPERTY( Label, wxString, SetLabel, GetLabel, wxString(), \
+ 0 /*flags*/, wxT("The button label"), wxT("group") )
+
+wxPROPERTY_FLAGS( WindowStyle, wxButtonStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("The button style"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxButton)
+
+wxCONSTRUCTOR_6( wxButton, wxWindow*, Parent, wxWindowID, Id, wxString, \
+ Label, wxPoint, Position, wxSize, Size, long, WindowStyle )
+
+
// ============================================================================
// implementation
// ============================================================================
#include "wx/calctrl.h"
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxCalendarCtrlStyle )
+wxBEGIN_FLAGS( wxCalendarCtrlStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxCAL_SUNDAY_FIRST)
+wxFLAGS_MEMBER(wxCAL_MONDAY_FIRST)
+wxFLAGS_MEMBER(wxCAL_SHOW_HOLIDAYS)
+wxFLAGS_MEMBER(wxCAL_NO_YEAR_CHANGE)
+wxFLAGS_MEMBER(wxCAL_NO_MONTH_CHANGE)
+wxFLAGS_MEMBER(wxCAL_SEQUENTIAL_MONTH_SELECTION)
+wxFLAGS_MEMBER(wxCAL_SHOW_SURROUNDING_WEEKS)
+
+wxEND_FLAGS( wxCalendarCtrlStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxCalendarCtrl, wxControl, "wx/calctrl.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxCalendarCtrl)
+wxEVENT_RANGE_PROPERTY( Updated, wxEVT_CALENDAR_SEL_CHANGED, \
+ wxEVT_CALENDAR_WEEKDAY_CLICKED, wxCalendarEvent )
+
+wxHIDE_PROPERTY( Children )
+
+wxPROPERTY( Date,wxDateTime, SetDate, GetDate, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY_FLAGS( WindowStyle, wxCalendarCtrlStyle, long, \
+ SetWindowStyleFlag, GetWindowStyleFlag, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), \
+ wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxCalendarCtrl)
+
+wxCONSTRUCTOR_6( wxCalendarCtrl, wxWindow*, Parent, wxWindowID, Id, \
+ wxDateTime, Date, wxPoint, Position, wxSize, Size, long, WindowStyle )
+
// ----------------------------------------------------------------------------
// events
// ----------------------------------------------------------------------------
const char wxChoiceNameStr[] = "choice";
+
+wxDEFINE_FLAGS( wxChoiceStyle )
+wxBEGIN_FLAGS( wxChoiceStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxEND_FLAGS( wxChoiceStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxChoice, wxControlWithItems, "wx/choice.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxChoice)
+wxEVENT_PROPERTY( Select, wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEvent )
+
+wxPROPERTY( Font, wxFont, SetFont, GetFont , wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY_COLLECTION( Choices, wxArrayString, wxString, AppendString, \
+ GetStrings, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Selection,int, SetSelection, GetSelection, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+/*
+ TODO PROPERTIES
+ selection (long)
+ content (list)
+ item
+ */
+
+wxPROPERTY_FLAGS( WindowStyle, wxChoiceStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxChoice)
+
+wxCONSTRUCTOR_4( wxChoice, wxWindow*, Parent, wxWindowID, Id, \
+ wxPoint, Position, wxSize, Size )
+
// ============================================================================
// implementation
// ============================================================================
IMPLEMENT_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT)
#endif
+
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+#if wxUSE_EXTENDED_RTTI
+
+#include <string.h>
+
+template<> void wxStringReadValue(const wxString &s, wxColour &data )
+{
+ if ( !data.Set(s) )
+ {
+ wxLogError(_("String To Colour : Incorrect colour specification : %s"),
+ s.c_str() );
+ data = wxNullColour;
+ }
+}
+
+template<> void wxStringWriteValue(wxString &s, const wxColour &data )
+{
+ s = data.GetAsString(wxC2S_HTML_SYNTAX);
+}
+
+wxTO_STRING_IMP( wxColour )
+wxFROM_STRING_IMP( wxColour )
+
+wxIMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( wxColour, wxObject, \
+ "wx/colour.h", &wxTO_STRING( wxColour ), &wxFROM_STRING( wxColour ))
+
+wxBEGIN_PROPERTIES_TABLE(wxColour)
+wxREADONLY_PROPERTY( Red, unsigned char, Red, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxREADONLY_PROPERTY( Green, unsigned char, Green, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxREADONLY_PROPERTY( Blue, unsigned char, Blue, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxDIRECT_CONSTRUCTOR_3( wxColour, unsigned char, Red, \
+ unsigned char, Green, unsigned char, Blue )
+
+wxEMPTY_HANDLERS_TABLE(wxColour)
+#else
+
+#if wxCOLOUR_IS_GDIOBJECT
+wxIMPLEMENT_DYNAMIC_CLASS(wxColour, wxGDIObject)
+#else
+wxIMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
+#endif
+
+#endif
+
// ============================================================================
// wxString <-> wxColour conversions
// ============================================================================
#include "wx/combo.h"
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxComboBoxStyle )
+wxBEGIN_FLAGS( wxComboBoxStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxCB_SIMPLE)
+wxFLAGS_MEMBER(wxCB_SORT)
+wxFLAGS_MEMBER(wxCB_READONLY)
+wxFLAGS_MEMBER(wxCB_DROPDOWN)
+
+wxEND_FLAGS( wxComboBoxStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxChoice, "wx/combobox.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxComboBox)
+wxEVENT_PROPERTY( Select, wxEVT_COMMAND_COMBOBOX_SELECTED, wxCommandEvent )
+wxEVENT_PROPERTY( TextEnter, wxEVT_COMMAND_TEXT_ENTER, wxCommandEvent )
+
+// TODO DELEGATES
+wxPROPERTY( Font, wxFont, SetFont, GetFont, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY_COLLECTION( Choices, wxArrayString, wxString, AppendString, \
+ GetStrings, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Value,wxString, SetValue, GetValue, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Selection,int, SetSelection, GetSelection, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+wxPROPERTY_FLAGS( WindowStyle, wxComboBoxStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxComboBox)
+
+wxCONSTRUCTOR_5( wxComboBox, wxWindow*, Parent, wxWindowID, Id, \
+ wxString, Value, wxPoint, Position, wxSize, Size )
// constants
// ----------------------------------------------------------------------------
#include "wx/display.h"
#endif
+
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxDialogStyle )
+wxBEGIN_FLAGS( wxDialogStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxNO_BORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+
+// dialog styles
+wxFLAGS_MEMBER(wxWS_EX_VALIDATE_RECURSIVELY)
+wxFLAGS_MEMBER(wxSTAY_ON_TOP)
+wxFLAGS_MEMBER(wxCAPTION)
+#if WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxTHICK_FRAME)
+#endif // WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxSYSTEM_MENU)
+wxFLAGS_MEMBER(wxRESIZE_BORDER)
+#if WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxRESIZE_BOX)
+#endif // WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxCLOSE_BOX)
+wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
+wxFLAGS_MEMBER(wxMINIMIZE_BOX)
+wxEND_FLAGS( wxDialogStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxDialog, wxTopLevelWindow, "wx/dialog.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxDialog)
+wxPROPERTY( Title, wxString, SetTitle, GetTitle, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+wxPROPERTY_FLAGS( WindowStyle, wxDialogStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxDialog)
+
+wxCONSTRUCTOR_6( wxDialog, wxWindow*, Parent, wxWindowID, Id, \
+ wxString, Title, wxPoint, Position, wxSize, Size, long, WindowStyle)
+
// ----------------------------------------------------------------------------
// wxDialogBase
// ----------------------------------------------------------------------------
return buf;
}
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxBEGIN_ENUM( wxFontFamily )
+wxENUM_MEMBER( wxDEFAULT )
+wxENUM_MEMBER( wxDECORATIVE )
+wxENUM_MEMBER( wxROMAN )
+wxENUM_MEMBER( wxSCRIPT )
+wxENUM_MEMBER( wxSWISS )
+wxENUM_MEMBER( wxMODERN )
+wxENUM_MEMBER( wxTELETYPE )
+wxEND_ENUM( wxFontFamily )
+
+wxBEGIN_ENUM( wxFontStyle )
+wxENUM_MEMBER( wxNORMAL )
+wxENUM_MEMBER( wxITALIC )
+wxENUM_MEMBER( wxSLANT )
+wxEND_ENUM( wxFontStyle )
+
+wxBEGIN_ENUM( wxFontWeight )
+wxENUM_MEMBER( wxNORMAL )
+wxENUM_MEMBER( wxLIGHT )
+wxENUM_MEMBER( wxBOLD )
+wxEND_ENUM( wxFontWeight )
+
+wxIMPLEMENT_DYNAMIC_CLASS_WITH_COPY_XTI(wxFont, wxGDIObject, "wx/font.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxFont)
+wxPROPERTY( Size,int, SetPointSize, GetPointSize, 12, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Family, int , SetFamily, GetFamily, (int)wxDEFAULT, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group")) // wxFontFamily
+wxPROPERTY( Style, int, SetStyle, GetStyle, (int)wxNORMAL, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // wxFontStyle
+wxPROPERTY( Weight, int, SetWeight, GetWeight, (int)wxNORMAL, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // wxFontWeight
+wxPROPERTY( Underlined, bool, SetUnderlined, GetUnderlined, false, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Face, wxString, SetFaceName, GetFaceName, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Encoding, wxFontEncoding, SetEncoding, GetEncoding, \
+ wxFONTENCODING_DEFAULT, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxCONSTRUCTOR_6( wxFont, int, Size, int, Family, int, Style, int, Weight, \
+ bool, Underlined, wxString, Face )
+
+wxEMPTY_HANDLERS_TABLE(wxFont)
+
// ============================================================================
// implementation
// ============================================================================
#include "wx/encconv.h"
-#if wxUSE_EXTENDED_RTTI
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
wxBEGIN_ENUM( wxFontEncoding )
- wxENUM_MEMBER( wxFONTENCODING_SYSTEM )
- wxENUM_MEMBER( wxFONTENCODING_DEFAULT )
-
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_1 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_2 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_3 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_4 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_5 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_6 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_7 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_8 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_9 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_10 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_11 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_12 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_13 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_14 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_15 )
- wxENUM_MEMBER( wxFONTENCODING_ISO8859_MAX )
- wxENUM_MEMBER( wxFONTENCODING_KOI8 )
- wxENUM_MEMBER( wxFONTENCODING_KOI8_U )
- wxENUM_MEMBER( wxFONTENCODING_ALTERNATIVE )
- wxENUM_MEMBER( wxFONTENCODING_BULGARIAN )
- wxENUM_MEMBER( wxFONTENCODING_CP437 )
- wxENUM_MEMBER( wxFONTENCODING_CP850 )
- wxENUM_MEMBER( wxFONTENCODING_CP852 )
- wxENUM_MEMBER( wxFONTENCODING_CP855 )
- wxENUM_MEMBER( wxFONTENCODING_CP866 )
-
- wxENUM_MEMBER( wxFONTENCODING_CP874 )
- wxENUM_MEMBER( wxFONTENCODING_CP932 )
- wxENUM_MEMBER( wxFONTENCODING_CP936 )
- wxENUM_MEMBER( wxFONTENCODING_CP949 )
- wxENUM_MEMBER( wxFONTENCODING_CP950 )
- wxENUM_MEMBER( wxFONTENCODING_CP1250 )
- wxENUM_MEMBER( wxFONTENCODING_CP1251 )
- wxENUM_MEMBER( wxFONTENCODING_CP1252 )
- wxENUM_MEMBER( wxFONTENCODING_CP1253 )
- wxENUM_MEMBER( wxFONTENCODING_CP1254 )
- wxENUM_MEMBER( wxFONTENCODING_CP1255 )
- wxENUM_MEMBER( wxFONTENCODING_CP1256 )
- wxENUM_MEMBER( wxFONTENCODING_CP1257 )
- wxENUM_MEMBER( wxFONTENCODING_CP12_MAX )
- wxENUM_MEMBER( wxFONTENCODING_UTF7 )
- wxENUM_MEMBER( wxFONTENCODING_UTF8 )
- wxENUM_MEMBER( wxFONTENCODING_GB2312 )
- wxENUM_MEMBER( wxFONTENCODING_BIG5 )
- wxENUM_MEMBER( wxFONTENCODING_SHIFT_JIS )
- wxENUM_MEMBER( wxFONTENCODING_EUC_JP )
- wxENUM_MEMBER( wxFONTENCODING_UNICODE )
+wxENUM_MEMBER( wxFONTENCODING_SYSTEM )
+wxENUM_MEMBER( wxFONTENCODING_DEFAULT )
+
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_1 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_2 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_3 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_4 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_5 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_6 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_7 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_8 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_9 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_10 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_11 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_12 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_13 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_14 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_15 )
+wxENUM_MEMBER( wxFONTENCODING_ISO8859_MAX )
+wxENUM_MEMBER( wxFONTENCODING_KOI8 )
+wxENUM_MEMBER( wxFONTENCODING_KOI8_U )
+wxENUM_MEMBER( wxFONTENCODING_ALTERNATIVE )
+wxENUM_MEMBER( wxFONTENCODING_BULGARIAN )
+wxENUM_MEMBER( wxFONTENCODING_CP437 )
+wxENUM_MEMBER( wxFONTENCODING_CP850 )
+wxENUM_MEMBER( wxFONTENCODING_CP852 )
+wxENUM_MEMBER( wxFONTENCODING_CP855 )
+wxENUM_MEMBER( wxFONTENCODING_CP866 )
+
+wxENUM_MEMBER( wxFONTENCODING_CP874 )
+wxENUM_MEMBER( wxFONTENCODING_CP932 )
+wxENUM_MEMBER( wxFONTENCODING_CP936 )
+wxENUM_MEMBER( wxFONTENCODING_CP949 )
+wxENUM_MEMBER( wxFONTENCODING_CP950 )
+wxENUM_MEMBER( wxFONTENCODING_CP1250 )
+wxENUM_MEMBER( wxFONTENCODING_CP1251 )
+wxENUM_MEMBER( wxFONTENCODING_CP1252 )
+wxENUM_MEMBER( wxFONTENCODING_CP1253 )
+wxENUM_MEMBER( wxFONTENCODING_CP1254 )
+wxENUM_MEMBER( wxFONTENCODING_CP1255 )
+wxENUM_MEMBER( wxFONTENCODING_CP1256 )
+wxENUM_MEMBER( wxFONTENCODING_CP1257 )
+wxENUM_MEMBER( wxFONTENCODING_CP12_MAX )
+wxENUM_MEMBER( wxFONTENCODING_UTF7 )
+wxENUM_MEMBER( wxFONTENCODING_UTF8 )
+wxENUM_MEMBER( wxFONTENCODING_GB2312 )
+wxENUM_MEMBER( wxFONTENCODING_BIG5 )
+wxENUM_MEMBER( wxFONTENCODING_SHIFT_JIS )
+wxENUM_MEMBER( wxFONTENCODING_EUC_JP )
+wxENUM_MEMBER( wxFONTENCODING_UNICODE )
wxEND_ENUM( wxFontEncoding )
-#endif
// ----------------------------------------------------------------------------
// constants
// implementation
// ============================================================================
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxFrameStyle )
+wxBEGIN_FLAGS( wxFrameStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+// frame styles
+wxFLAGS_MEMBER(wxSTAY_ON_TOP)
+wxFLAGS_MEMBER(wxCAPTION)
+#if WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxTHICK_FRAME)
+#endif // WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxSYSTEM_MENU)
+wxFLAGS_MEMBER(wxRESIZE_BORDER)
+#if WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxRESIZE_BOX)
+#endif // WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxCLOSE_BOX)
+wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
+wxFLAGS_MEMBER(wxMINIMIZE_BOX)
+
+wxFLAGS_MEMBER(wxFRAME_TOOL_WINDOW)
+wxFLAGS_MEMBER(wxFRAME_FLOAT_ON_PARENT)
+
+wxFLAGS_MEMBER(wxFRAME_SHAPED)
+wxEND_FLAGS( wxFrameStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxFrame, wxTopLevelWindow, "wx/frame.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxFrame)
+wxEVENT_PROPERTY( Menu, wxEVT_COMMAND_MENU_SELECTED, wxCommandEvent)
+
+wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxString(), 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY_FLAGS( WindowStyle, wxFrameStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxPROPERTY( MenuBar, wxMenuBar *, SetMenuBar, GetMenuBar, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxFrame)
+
+wxCONSTRUCTOR_6( wxFrame, wxWindow*, Parent, wxWindowID, Id, wxString, Title, \
+ wxPoint, Position, wxSize, Size, long, WindowStyle)
+
// ----------------------------------------------------------------------------
// construction/destruction
// ----------------------------------------------------------------------------
// this destructor is required for Darwin
}
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxGaugeStyle )
+wxBEGIN_FLAGS( wxGaugeStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxGA_HORIZONTAL)
+wxFLAGS_MEMBER(wxGA_VERTICAL)
+#if WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxGA_PROGRESSBAR)
+#endif // WXWIN_COMPATIBILITY_2_6
+wxFLAGS_MEMBER(wxGA_SMOOTH)
+wxEND_FLAGS( wxGaugeStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxGauge, wxControl, "wx/gauge.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxGauge)
+wxPROPERTY( Value, int, SetValue, GetValue, 0, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Range, int, SetRange, GetRange, 0, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY( ShadowWidth, int, SetShadowWidth, GetShadowWidth, \
+ 0, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( BezelFace, int, SetBezelFace, GetBezelFace, \
+ 0, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+wxPROPERTY_FLAGS( WindowStyle, wxGaugeStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxGauge)
+
+wxCONSTRUCTOR_6( wxGauge, wxWindow*, Parent, wxWindowID, Id, int, Range, \
+ wxPoint, Position, wxSize, Size, long, WindowStyle )
+
// ----------------------------------------------------------------------------
// wxGauge creation
// ----------------------------------------------------------------------------
// this destructor is required for Darwin
}
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxListBoxStyle )
+wxBEGIN_FLAGS( wxListBoxStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxLB_SINGLE)
+wxFLAGS_MEMBER(wxLB_MULTIPLE)
+wxFLAGS_MEMBER(wxLB_EXTENDED)
+wxFLAGS_MEMBER(wxLB_HSCROLL)
+wxFLAGS_MEMBER(wxLB_ALWAYS_SB)
+wxFLAGS_MEMBER(wxLB_NEEDED_SB)
+wxFLAGS_MEMBER(wxLB_SORT)
+wxEND_FLAGS( wxListBoxStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxListBox, wxControlWithItems, "wx/listbox.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxListBox)
+wxEVENT_PROPERTY( Select, wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEvent )
+wxEVENT_PROPERTY( DoubleClick, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEvent )
+
+wxPROPERTY( Font, wxFont, SetFont, GetFont , wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY_COLLECTION( Choices, wxArrayString, wxString, AppendString, \
+ GetStrings, 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Selection, int, SetSelection, GetSelection, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+
+wxPROPERTY_FLAGS( WindowStyle, wxListBoxStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxListBox)
+
+wxCONSTRUCTOR_4( wxListBox, wxWindow*, Parent, wxWindowID, Id, \
+ wxPoint, Position, wxSize, Size )
+
+/*
+ TODO PROPERTIES
+ selection
+ content
+ item
+ */
+
// ----------------------------------------------------------------------------
// selection
// ----------------------------------------------------------------------------
wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_FOCUSED, wxListEvent );
wxDEFINE_EVENT( wxEVT_COMMAND_LIST_CACHE_HINT, wxListEvent );
+// -----------------------------------------------------------------------------
+// XTI
+// -----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxListCtrlStyle )
+wxBEGIN_FLAGS( wxListCtrlStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxLC_LIST)
+wxFLAGS_MEMBER(wxLC_REPORT)
+wxFLAGS_MEMBER(wxLC_ICON)
+wxFLAGS_MEMBER(wxLC_SMALL_ICON)
+wxFLAGS_MEMBER(wxLC_ALIGN_TOP)
+wxFLAGS_MEMBER(wxLC_ALIGN_LEFT)
+wxFLAGS_MEMBER(wxLC_AUTOARRANGE)
+wxFLAGS_MEMBER(wxLC_USER_TEXT)
+wxFLAGS_MEMBER(wxLC_EDIT_LABELS)
+wxFLAGS_MEMBER(wxLC_NO_HEADER)
+wxFLAGS_MEMBER(wxLC_SINGLE_SEL)
+wxFLAGS_MEMBER(wxLC_SORT_ASCENDING)
+wxFLAGS_MEMBER(wxLC_SORT_DESCENDING)
+wxFLAGS_MEMBER(wxLC_VIRTUAL)
+wxEND_FLAGS( wxListCtrlStyle )
+
+#if ((!defined(__WXMSW__) && !(defined(__WXMAC__) && wxOSX_USE_CARBON)) || defined(__WXUNIVERSAL__))
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxGenericListCtrl, "wx/listctrl.h")
+#else
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl, "wx/listctrl.h")
+#endif
+
+wxBEGIN_PROPERTIES_TABLE(wxListCtrl)
+wxEVENT_PROPERTY( TextUpdated, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEvent )
+
+wxPROPERTY_FLAGS( WindowStyle, wxListCtrlStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxListCtrl)
+
+wxCONSTRUCTOR_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
+ (see NotebookPageInfo)
+ */
+
+IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
+IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
+IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
+
#endif // wxUSE_LISTCTRL
// implementation
// ============================================================================
+// ----------------------------------------------------------------------------
+// XTI for wxMenu(Bar)
+// ----------------------------------------------------------------------------
+
+#if wxUSE_EXTENDED_RTTI
+
+WX_DEFINE_LIST( wxMenuInfoList )
+
+wxDEFINE_FLAGS( wxMenuStyle )
+wxBEGIN_FLAGS( wxMenuStyle )
+wxFLAGS_MEMBER(wxMENU_TEAROFF)
+wxEND_FLAGS( wxMenuStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxMenu, wxEvtHandler, "wx/menu.h")
+wxCOLLECTION_TYPE_INFO( wxMenuItem *, wxMenuItemList ) ;
+
+template<> void wxCollectionToVariantArray( wxMenuItemList const &theList,
+ wxVariantBaseArray &value)
+{
+ wxListCollectionToVariantArray<wxMenuItemList::compatibility_iterator>( theList, value ) ;
+}
+
+wxBEGIN_PROPERTIES_TABLE(wxMenu)
+wxEVENT_PROPERTY( Select, wxEVT_COMMAND_MENU_SELECTED, wxCommandEvent)
+
+wxPROPERTY( Title, wxString, SetTitle, GetTitle, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+
+wxREADONLY_PROPERTY_FLAGS( MenuStyle, wxMenuStyle, long, GetStyle, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), \
+ wxT("group")) // style
+
+wxPROPERTY_COLLECTION( MenuItems, wxMenuItemList, wxMenuItem*, Append, \
+ GetMenuItems, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxMenu)
+
+wxDIRECT_CONSTRUCTOR_2( wxMenu, wxString, Title, long, MenuStyle )
+
+wxDEFINE_FLAGS( wxMenuBarStyle )
+
+wxBEGIN_FLAGS( wxMenuBarStyle )
+wxFLAGS_MEMBER(wxMB_DOCKABLE)
+wxEND_FLAGS( wxMenuBarStyle )
+
+// the negative id would lead the window (its superclass !) to
+// vetoe streaming out otherwise
+bool wxMenuBarStreamingCallback( const wxObject *WXUNUSED(object), wxObjectWriter *,
+ wxObjectReaderCallback *, wxVariantBaseArray & )
+{
+ return true;
+}
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxMenuBar, wxWindow, "wx/menu.h", \
+ wxMenuBarStreamingCallback)
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxMenuInfo, wxObject, "wx/menu.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxMenuInfo)
+wxREADONLY_PROPERTY( Menu, wxMenu*, GetMenu, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+wxREADONLY_PROPERTY( Title, wxString, GetTitle, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxMenuInfo)
+
+wxCONSTRUCTOR_2( wxMenuInfo, wxMenu*, Menu, wxString, Title )
+
+wxCOLLECTION_TYPE_INFO( wxMenuInfo *, wxMenuInfoList ) ;
+
+template<> void wxCollectionToVariantArray( wxMenuInfoList const &theList,
+ wxVariantBaseArray &value)
+{
+ wxListCollectionToVariantArray<wxMenuInfoList::compatibility_iterator>( theList, value ) ;
+}
+
+wxBEGIN_PROPERTIES_TABLE(wxMenuBar)
+wxPROPERTY_COLLECTION( MenuInfos, wxMenuInfoList, wxMenuInfo*, AppendMenuInfo, \
+ GetMenuInfos, 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxMenuBar)
+
+wxCONSTRUCTOR_DUMMY( wxMenuBar )
+
+#else
+// IMPLEMENT_DYNAMIC_CLASS(wxMenu, wxEvtHandler)
+// IMPLEMENT_DYNAMIC_CLASS(wxMenuBar, wxWindow)
+// IMPLEMENT_DYNAMIC_CLASS(wxMenuInfo, wxObject)
+#endif
+
+
+// ----------------------------------------------------------------------------
+// XTI for wxMenuItem
+// ----------------------------------------------------------------------------
+
+#if wxUSE_EXTENDED_RTTI
+
+bool wxMenuItemStreamingCallback( const wxObject *object, wxObjectWriter *,
+ wxObjectReaderCallback *, wxVariantBaseArray & )
+{
+ const wxMenuItem * mitem = wx_dynamic_cast(const wxMenuItem*, object);
+ if ( mitem->GetMenu() && !mitem->GetMenu()->GetTitle().empty() )
+ {
+ // we don't stream out the first two items for menus with a title,
+ // they will be reconstructed
+ if ( mitem->GetMenu()->FindItemByPosition(0) == mitem ||
+ mitem->GetMenu()->FindItemByPosition(1) == mitem )
+ return false;
+ }
+ return true;
+}
+
+wxBEGIN_ENUM( wxItemKind )
+wxENUM_MEMBER( wxITEM_SEPARATOR )
+wxENUM_MEMBER( wxITEM_NORMAL )
+wxENUM_MEMBER( wxITEM_CHECK )
+wxENUM_MEMBER( wxITEM_RADIO )
+wxEND_ENUM( wxItemKind )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxMenuItem, wxObject, "wx/menuitem.h", \
+ wxMenuItemStreamingCallback)
+
+wxBEGIN_PROPERTIES_TABLE(wxMenuItem)
+wxPROPERTY( Parent, wxMenu*, SetMenu, GetMenu, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Id, int, SetId, GetId, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Text, wxString, SetText, GetText, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Help, wxString, SetHelp, GetHelp, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxREADONLY_PROPERTY( Kind, wxItemKind, GetKind, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( SubMenu, wxMenu*, SetSubMenu, GetSubMenu, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Enabled, bool, Enable, IsEnabled, wxVariantBase((bool)true), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Checked, bool, Check, IsChecked, wxVariantBase((bool)false), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Checkable, bool, SetCheckable, IsCheckable, wxVariantBase((bool)false), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxMenuItem)
+
+wxDIRECT_CONSTRUCTOR_6( wxMenuItem, wxMenu*, Parent, int, Id, wxString, \
+ Text, wxString, Help, wxItemKind, Kind, wxMenu*, SubMenu )
+#else
+//IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
+#endif
+
// ----------------------------------------------------------------------------
// wxMenuItemBase
// ----------------------------------------------------------------------------
wxDEFINE_EVENT( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxBookCtrlEvent );
wxDEFINE_EVENT( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, wxBookCtrlEvent );
+#if wxUSE_EXTENDED_RTTI
+
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+#include "wx/listimpl.cpp"
+WX_DEFINE_LIST( wxNotebookPageInfoList )
+
+wxDEFINE_FLAGS( wxNotebookStyle )
+wxBEGIN_FLAGS( wxNotebookStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxNB_FIXEDWIDTH)
+wxFLAGS_MEMBER(wxBK_DEFAULT)
+wxFLAGS_MEMBER(wxBK_TOP)
+wxFLAGS_MEMBER(wxBK_LEFT)
+wxFLAGS_MEMBER(wxBK_RIGHT)
+wxFLAGS_MEMBER(wxBK_BOTTOM)
+wxFLAGS_MEMBER(wxNB_NOPAGETHEME)
+wxFLAGS_MEMBER(wxNB_FLAT)
+wxEND_FLAGS( wxNotebookStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebook, wxControl, "wx/notebook.h")
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxNotebookPageInfo, wxObject, "wx/notebook.h" )
+
+wxCOLLECTION_TYPE_INFO( wxNotebookPageInfo *, wxNotebookPageInfoList );
+
+#if wxUSE_EXTENDED_RTTI
+template<> void wxCollectionToVariantArray( wxNotebookPageInfoList const &theList,
+ wxVariantBaseArray &value)
+{
+ wxListCollectionToVariantArray<wxNotebookPageInfoList::compatibility_iterator>( theList, value );
+}
+#endif
+
+wxBEGIN_PROPERTIES_TABLE(wxNotebook)
+wxEVENT_PROPERTY( PageChanging, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, wxNotebookEvent )
+wxEVENT_PROPERTY( PageChanged, wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEvent )
+
+wxPROPERTY_COLLECTION( PageInfos, wxNotebookPageInfoList, wxNotebookPageInfo*, \
+ AddPageInfo, GetPageInfos, 0 /*flags*/, wxT("Helpstring"), \
+ wxT("group"))
+wxPROPERTY_FLAGS( WindowStyle, wxNotebookStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxNotebook)
+
+wxCONSTRUCTOR_5( wxNotebook, wxWindow*, Parent, wxWindowID, Id, \
+ wxPoint, Position, wxSize, Size, long, WindowStyle)
+
+wxBEGIN_PROPERTIES_TABLE(wxNotebookPageInfo)
+wxREADONLY_PROPERTY( Page, wxNotebookPage*, GetPage, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxREADONLY_PROPERTY( Text, wxString, GetText, wxString(), 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxREADONLY_PROPERTY( Selected, bool, GetSelected, false, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group") )
+wxREADONLY_PROPERTY( ImageId, int, GetImageId, -1, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxNotebookPageInfo)
+
+wxCONSTRUCTOR_4( wxNotebookPageInfo, wxNotebookPage*, Page, \
+ wxString, Text, bool, Selected, int, ImageId )
+
+// XTI accessors:
+
+void wxNotebookBase::AddPageInfo( wxNotebookPageInfo* info )
+{
+ AddPage( info->GetPage(), info->GetText(), info->GetSelected(), info->GetImageId() );
+}
+
+const wxNotebookPageInfoList& wxNotebookBase::GetPageInfos() const
+{
+ wxNotebookPageInfoList* list = const_cast< wxNotebookPageInfoList* >( &m_pageInfos );
+ WX_CLEAR_LIST( wxNotebookPageInfoList, *list );
+ for( size_t i = 0; i < GetPageCount(); ++i )
+ {
+ wxNotebookPageInfo *info = new wxNotebookPageInfo();
+ info->Create( const_cast<wxNotebookBase*>(this)->GetPage(i), GetPageText(i),
+ GetSelection() == int(i), GetPageImage(i) );
+ list->Append( info );
+ }
+ return m_pageInfos;
+}
+
+#endif
+
// ----------------------------------------------------------------------------
// geometry
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+// TODO: wxCONSTRUCTOR
+#if 0 // wxUSE_EXTENDED_RTTI
+wxDEFINE_FLAGS( wxRadioBoxStyle )
+
+wxBEGIN_FLAGS( wxRadioBoxStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxRA_SPECIFY_COLS)
+wxFLAGS_MEMBER(wxRA_HORIZONTAL)
+wxFLAGS_MEMBER(wxRA_SPECIFY_ROWS)
+wxFLAGS_MEMBER(wxRA_VERTICAL)
+
+wxEND_FLAGS( wxRadioBoxStyle )
+
+IMPLEMENT_DYNAMIC_CLASS_XTI(wxRadioBox, wxControl,"wx/radiobox.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxRadioBox)
+wxEVENT_PROPERTY( Select , wxEVT_COMMAND_RADIOBOX_SELECTED , wxCommandEvent )
+wxPROPERTY_FLAGS( WindowStyle , wxRadioBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+/*
+ selection
+ content
+ label
+ dimension
+ item
+ */
+
+#endif
+
+
+// ----------------------------------------------------------------------------
+// wxRadioBoxBase
+// ----------------------------------------------------------------------------
+
void wxRadioBoxBase::SetMajorDim(unsigned int majorDim, long style)
{
wxCHECK_RET( majorDim != 0, wxT("major radiobox dimension can't be 0") );
wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEvent);
wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED, wxSpinDoubleEvent);
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxSpinCtrlStyle )
+wxBEGIN_FLAGS( wxSpinCtrlStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxSP_HORIZONTAL)
+wxFLAGS_MEMBER(wxSP_VERTICAL)
+wxFLAGS_MEMBER(wxSP_ARROW_KEYS)
+wxFLAGS_MEMBER(wxSP_WRAP)
+wxEND_FLAGS( wxSpinCtrlStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinCtrl, wxControl, "wx/spinbut.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxSpinCtrl)
+wxEVENT_RANGE_PROPERTY( Spin, wxEVT_SCROLL_TOP, wxEVT_SCROLL_CHANGED, wxSpinEvent )
+
+wxEVENT_PROPERTY( Updated, wxEVT_COMMAND_SPINCTRL_UPDATED, wxCommandEvent )
+wxEVENT_PROPERTY( TextUpdated, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEvent )
+wxEVENT_PROPERTY( TextEnter, wxEVT_COMMAND_TEXT_ENTER, wxCommandEvent )
+
+wxPROPERTY( ValueString, wxString, SetValue, GetValue, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) ;
+wxPROPERTY( Value, int, SetValue, GetValue, 0, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+/*
+ wxPROPERTY( Min, int, SetMin, GetMin, 0, 0 /*flags, wxT("Helpstring"), wxT("group") )
+ wxPROPERTY( Max, int, SetMax, GetMax, 0, 0 /*flags, wxT("Helpstring"), wxT("group"))
+ */
+wxPROPERTY_FLAGS( WindowStyle, wxSpinCtrlStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+/*
+ TODO PROPERTIES
+ style wxSP_ARROW_KEYS
+ */
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxSpinCtrl)
+
+wxCONSTRUCTOR_6( wxSpinCtrl, wxWindow*, Parent, wxWindowID, Id, \
+ wxString, ValueString, wxPoint, Position, \
+ wxSize, Size, long, WindowStyle )
+
+
#endif // wxUSE_SPINCTRL
#if wxUSE_STATTEXT
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxStaticTextStyle )
+wxBEGIN_FLAGS( wxStaticTextStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxST_NO_AUTORESIZE)
+wxFLAGS_MEMBER(wxALIGN_LEFT)
+wxFLAGS_MEMBER(wxALIGN_RIGHT)
+wxFLAGS_MEMBER(wxALIGN_CENTRE)
+wxEND_FLAGS( wxStaticTextStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticText, wxControl, "wx/stattext.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxStaticText)
+wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString(), 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY_FLAGS( WindowStyle, wxStaticTextStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxStaticText)
+
+wxCONSTRUCTOR_6( wxStaticText, wxWindow*, Parent, wxWindowID, Id, \
+ wxString, Label, wxPoint, Position, wxSize, Size, long, WindowStyle )
+
+
// ----------------------------------------------------------------------------
// wxTextWrapper
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxTextCtrlStyle )
+wxBEGIN_FLAGS( wxTextCtrlStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxTE_PROCESS_ENTER)
+wxFLAGS_MEMBER(wxTE_PROCESS_TAB)
+wxFLAGS_MEMBER(wxTE_MULTILINE)
+wxFLAGS_MEMBER(wxTE_PASSWORD)
+wxFLAGS_MEMBER(wxTE_READONLY)
+wxFLAGS_MEMBER(wxHSCROLL)
+wxFLAGS_MEMBER(wxTE_RICH)
+wxFLAGS_MEMBER(wxTE_RICH2)
+wxFLAGS_MEMBER(wxTE_AUTO_URL)
+wxFLAGS_MEMBER(wxTE_NOHIDESEL)
+wxFLAGS_MEMBER(wxTE_LEFT)
+wxFLAGS_MEMBER(wxTE_CENTRE)
+wxFLAGS_MEMBER(wxTE_RIGHT)
+wxFLAGS_MEMBER(wxTE_DONTWRAP)
+wxFLAGS_MEMBER(wxTE_CHARWRAP)
+wxFLAGS_MEMBER(wxTE_WORDWRAP)
+wxEND_FLAGS( wxTextCtrlStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxTextCtrl, wxControl, "wx/textctrl.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxTextCtrl)
+wxEVENT_PROPERTY( TextUpdated, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEvent )
+wxEVENT_PROPERTY( TextEnter, wxEVT_COMMAND_TEXT_ENTER, wxCommandEvent )
+
+wxPROPERTY( Font, wxFont, SetFont, GetFont , wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Value, wxString, SetValue, GetValue, wxString(), \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+
+wxPROPERTY_FLAGS( WindowStyle, wxTextCtrlStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxTextCtrl)
+
+wxCONSTRUCTOR_6( wxTextCtrl, wxWindow*, Parent, wxWindowID, Id, \
+ wxString, Value, wxPoint, Position, wxSize, Size, \
+ long, WindowStyle)
+
+
IMPLEMENT_DYNAMIC_CLASS(wxTextUrlEvent, wxCommandEvent)
wxDEFINE_EVENT( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEvent );
wxDEFINE_EVENT( wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, wxTreeEvent );
wxDEFINE_EVENT( wxEVT_COMMAND_TREE_ITEM_MENU, wxTreeEvent );
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+wxDEFINE_FLAGS( wxTreeCtrlStyle )
+wxBEGIN_FLAGS( wxTreeCtrlStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxFLAGS_MEMBER(wxTR_EDIT_LABELS)
+wxFLAGS_MEMBER(wxTR_NO_BUTTONS)
+wxFLAGS_MEMBER(wxTR_HAS_BUTTONS)
+wxFLAGS_MEMBER(wxTR_TWIST_BUTTONS)
+wxFLAGS_MEMBER(wxTR_NO_LINES)
+wxFLAGS_MEMBER(wxTR_FULL_ROW_HIGHLIGHT)
+wxFLAGS_MEMBER(wxTR_LINES_AT_ROOT)
+wxFLAGS_MEMBER(wxTR_HIDE_ROOT)
+wxFLAGS_MEMBER(wxTR_ROW_LINES)
+wxFLAGS_MEMBER(wxTR_HAS_VARIABLE_ROW_HEIGHT)
+wxFLAGS_MEMBER(wxTR_SINGLE)
+wxFLAGS_MEMBER(wxTR_MULTIPLE)
+#if WXWIN_COMPATIBILITY_2_8
+wxFLAGS_MEMBER(wxTR_EXTENDED)
+#endif
+wxFLAGS_MEMBER(wxTR_DEFAULT_STYLE)
+wxEND_FLAGS( wxTreeCtrlStyle )
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxTreeCtrl, wxControl, "wx/treectrl.h")
+
+wxBEGIN_PROPERTIES_TABLE(wxTreeCtrl)
+wxEVENT_PROPERTY( TextUpdated, wxEVT_COMMAND_TEXT_UPDATED, wxCommandEvent )
+wxEVENT_RANGE_PROPERTY( TreeEvent, wxEVT_COMMAND_TREE_BEGIN_DRAG, \
+ wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, wxTreeEvent )
+
+wxPROPERTY_FLAGS( WindowStyle, wxTreeCtrlStyle, long, SetWindowStyleFlag, \
+ GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // style
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxTreeCtrl)
+
+wxCONSTRUCTOR_5( wxTreeCtrl, wxWindow*, Parent, wxWindowID, Id, \
+ wxPoint, Position, wxSize, Size, long, WindowStyle )
+
// ----------------------------------------------------------------------------
// Tree event
// ----------------------------------------------------------------------------
// implementation of the common functionality of the wxWindow class
// ============================================================================
+// ----------------------------------------------------------------------------
+// XTI
+// ----------------------------------------------------------------------------
+
+#if wxUSE_EXTENDED_RTTI
+
+// windows that are created from a parent window during its Create method,
+// eg. spin controls in a calendar controls must never been streamed out
+// separately otherwise chaos occurs. Right now easiest is to test for negative ids,
+// as windows with negative ids never can be recreated anyway
+
+bool wxWindowStreamingCallback( const wxObject *object, wxObjectWriter *,
+ wxObjectReaderCallback *, wxVariantBaseArray & )
+{
+ const wxWindow * win = wx_dynamic_cast(const wxWindow*, object);
+ if ( win && win->GetId() < 0 )
+ return false;
+ return true;
+}
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxWindow, wxWindowBase, "wx/window.h", \
+ wxWindowStreamingCallback)
+
+// make wxWindowList known before the property is used
+
+wxCOLLECTION_TYPE_INFO( wxWindow*, wxWindowList );
+
+template<> void wxCollectionToVariantArray( wxWindowList const &theList,
+ wxVariantBaseArray &value)
+{
+ wxListCollectionToVariantArray<wxWindowList::compatibility_iterator>( theList, value );
+}
+
+wxDEFINE_FLAGS( wxWindowStyle )
+
+wxBEGIN_FLAGS( wxWindowStyle )
+// new style border flags, we put them first to
+// use them for streaming out
+
+wxFLAGS_MEMBER(wxBORDER_SIMPLE)
+wxFLAGS_MEMBER(wxBORDER_SUNKEN)
+wxFLAGS_MEMBER(wxBORDER_DOUBLE)
+wxFLAGS_MEMBER(wxBORDER_RAISED)
+wxFLAGS_MEMBER(wxBORDER_STATIC)
+wxFLAGS_MEMBER(wxBORDER_NONE)
+
+// old style border flags
+wxFLAGS_MEMBER(wxSIMPLE_BORDER)
+wxFLAGS_MEMBER(wxSUNKEN_BORDER)
+wxFLAGS_MEMBER(wxDOUBLE_BORDER)
+wxFLAGS_MEMBER(wxRAISED_BORDER)
+wxFLAGS_MEMBER(wxSTATIC_BORDER)
+wxFLAGS_MEMBER(wxBORDER)
+
+// standard window styles
+wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
+wxFLAGS_MEMBER(wxCLIP_CHILDREN)
+wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
+wxFLAGS_MEMBER(wxWANTS_CHARS)
+wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
+wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
+wxFLAGS_MEMBER(wxVSCROLL)
+wxFLAGS_MEMBER(wxHSCROLL)
+
+wxEND_FLAGS( wxWindowStyle )
+
+wxBEGIN_PROPERTIES_TABLE(wxWindow)
+wxEVENT_PROPERTY( Close, wxEVT_CLOSE_WINDOW, wxCloseEvent)
+wxEVENT_PROPERTY( Create, wxEVT_CREATE, wxWindowCreateEvent )
+wxEVENT_PROPERTY( Destroy, wxEVT_DESTROY, wxWindowDestroyEvent )
+// Always constructor Properties first
+
+wxREADONLY_PROPERTY( Parent,wxWindow*, GetParent, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Id,wxWindowID, SetId, GetId, -1 /*wxID_ANY*/, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group") )
+wxPROPERTY( Position,wxPoint, SetPosition, GetPosition, wxDefaultPosition, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group")) // pos
+wxPROPERTY( Size,wxSize, SetSize, GetSize, wxDefaultSize, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group")) // size
+wxPROPERTY( WindowStyle, long, SetWindowStyleFlag, GetWindowStyleFlag, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) // style
+wxPROPERTY( Name,wxString, SetName, GetName, wxEmptyString, 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group") )
+
+// Then all relations of the object graph
+
+wxREADONLY_PROPERTY_COLLECTION( Children, wxWindowList, wxWindowBase*, \
+ GetWindowChildren, wxPROP_OBJECT_GRAPH /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+
+// and finally all other properties
+
+wxPROPERTY( ExtraStyle, long, SetExtraStyle, GetExtraStyle, wxEMPTY_PARAMETER_VALUE, \
+ 0 /*flags*/, wxT("Helpstring"), wxT("group")) // extstyle
+wxPROPERTY( BackgroundColour, wxColour, SetBackgroundColour, GetBackgroundColour, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) // bg
+wxPROPERTY( ForegroundColour, wxColour, SetForegroundColour, GetForegroundColour, \
+ wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, wxT("Helpstring"), wxT("group")) // fg
+wxPROPERTY( Enabled, bool, Enable, IsEnabled, wxVariantBase((bool)true), 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+wxPROPERTY( Shown, bool, Show, IsShown, wxVariantBase((bool)true), 0 /*flags*/, \
+ wxT("Helpstring"), wxT("group"))
+
+#if 0
+// possible property candidates (not in xrc) or not valid in all subclasses
+wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxEmptyString )
+wxPROPERTY( Font, wxFont, SetFont, GetWindowFont , )
+wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxEmptyString )
+// MaxHeight, Width, MinHeight, Width
+// TODO switch label to control and title to toplevels
+
+wxPROPERTY( ThemeEnabled, bool, SetThemeEnabled, GetThemeEnabled, )
+//wxPROPERTY( Cursor, wxCursor, SetCursor, GetCursor, )
+// wxPROPERTY( ToolTip, wxString, SetToolTip, GetToolTipText, )
+wxPROPERTY( AutoLayout, bool, SetAutoLayout, GetAutoLayout, )
+#endif
+wxEND_PROPERTIES_TABLE()
+
+wxEMPTY_HANDLERS_TABLE(wxWindow)
+
+wxCONSTRUCTOR_DUMMY(wxWindow)
+
+#else
+
+#ifndef __WXUNIVERSAL__
+IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
+#endif
+
+#endif
+
// ----------------------------------------------------------------------------
// initialization
// ----------------------------------------------------------------------------
EVT_SYS_COLOUR_CHANGED(wxGenericCalendarCtrl::OnSysColourChanged)
END_EVENT_TABLE()
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxCalendarCtrlStyle )
-
-wxBEGIN_FLAGS( wxCalendarCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxCAL_SUNDAY_FIRST)
- wxFLAGS_MEMBER(wxCAL_MONDAY_FIRST)
- wxFLAGS_MEMBER(wxCAL_SHOW_HOLIDAYS)
- wxFLAGS_MEMBER(wxCAL_NO_YEAR_CHANGE)
- wxFLAGS_MEMBER(wxCAL_NO_MONTH_CHANGE)
- wxFLAGS_MEMBER(wxCAL_SEQUENTIAL_MONTH_SELECTION)
- wxFLAGS_MEMBER(wxCAL_SHOW_SURROUNDING_WEEKS)
- wxFLAGS_MEMBER(wxCAL_SHOW_WEEK_NUMBERS)
-
-wxEND_FLAGS( wxCalendarCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxGenericCalendarCtrl, wxControl,"wx/calctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxGenericCalendarCtrl)
- wxEVENT_RANGE_PROPERTY( Updated , wxEVT_CALENDAR_SEL_CHANGED , wxEVT_CALENDAR_WEEK_CLICKED , wxCalendarEvent )
- wxHIDE_PROPERTY( Children )
- wxPROPERTY( Date,wxDateTime, SetDate , GetDate, , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxCalendarCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxGenericCalendarCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxGenericCalendarCtrl , wxWindow* , Parent , wxWindowID , Id , wxDateTime , Date , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxGenericCalendarCtrl, wxControl)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
#include "wx/gdicmn.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
// Colour
void wxColour::Init()
#include "wx/commandlinkbutton.h"
#include "wx/artprov.h"
-#if wxUSE_EXTENDED_RTTI
- wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxCommandLinkButton, wxButton, "wx/commandlinkbutton.h")
-#else
- wxIMPLEMENT_DYNAMIC_CLASS(wxCommandLinkButton, wxButton)
-#endif // wxUSE_EXTENDED_RTTI
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxCommandLinkButton, wxButton, "wx/commandlinkbutton.h")
// ----------------------------------------------------------------------------
// Generic command link button
// wxGenericDirCtrl
//-----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxGenericDirCtrlStyle )
-
-wxBEGIN_FLAGS( wxGenericDirCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxDIRCTRL_DIR_ONLY)
- wxFLAGS_MEMBER(wxDIRCTRL_3D_INTERNAL)
- wxFLAGS_MEMBER(wxDIRCTRL_SELECT_FIRST)
- wxFLAGS_MEMBER(wxDIRCTRL_MULTIPLE)
-
-wxEND_FLAGS( wxGenericDirCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxGenericDirCtrl, wxControl,"wx/dirctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxGenericDirCtrl)
- wxHIDE_PROPERTY( Children )
- wxPROPERTY( DefaultPath , wxString , SetDefaultPath , GetDefaultPath , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Filter , wxString , SetFilter , GetFilter , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( DefaultFilter , int , SetFilterIndex, GetFilterIndex, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY_FLAGS( WindowStyle, wxGenericDirCtrlStyle, long, SetWindowStyleFlag, GetWindowStyleFlag, EMPTY_MACROVALUE , 0, wxT("Helpstring"), wxT("group") )
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxGenericDirCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_8( wxGenericDirCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , DefaultPath ,
- wxPoint , Position , wxSize , Size , long , WindowStyle , wxString , Filter , int , DefaultFilter )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxGenericDirCtrl, wxControl)
-#endif
-
BEGIN_EVENT_TABLE(wxGenericDirCtrl, wxControl)
EVT_TREE_ITEM_EXPANDING (wxID_TREECTRL, wxGenericDirCtrl::OnExpandItem)
EVT_TREE_ITEM_COLLAPSED (wxID_TREECTRL, wxGenericDirCtrl::OnCollapseItem)
/////////////////////////////////////////////////////////////////////
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxGridStyle )
-
-wxBEGIN_FLAGS( wxGridStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB)
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxGridStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxGrid, wxScrolledWindow,"wx/grid.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxGrid)
- wxHIDE_PROPERTY( Children )
- wxPROPERTY_FLAGS( WindowStyle , wxGridStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxGrid)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxGrid , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-/*
- TODO : Expose more information of a list's layout, etc. via appropriate objects (e.g., NotebookPageInfo)
-*/
-#else
-IMPLEMENT_DYNAMIC_CLASS( wxGrid, wxScrolledWindow )
-#endif
-
BEGIN_EVENT_TABLE( wxGrid, wxScrolledWindow )
EVT_PAINT( wxGrid::OnPaint )
EVT_SIZE( wxGrid::OnSize )
#include "wx/listctrl.h"
-#if ((!defined(__WXMSW__) && !(defined(__WXMAC__) && wxOSX_USE_CARBON)) || defined(__WXUNIVERSAL__))
- // if we have a native version, its implementation file does all this
- IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
- IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
- IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
-
- IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxGenericListCtrl)
-#endif
-
#ifndef WX_PRECOMP
#include "wx/scrolwin.h"
#include "wx/timer.h"
BEGIN_EVENT_TABLE(wxOwnerDrawnComboBox, wxComboCtrl)
END_EVENT_TABLE()
-
-#if wxUSE_EXTENDED_RTTI
-IMPLEMENT_DYNAMIC_CLASS2_XTI(wxOwnerDrawnComboBox, wxComboCtrl, wxControlWithItems, "wx/odcombo.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxOwnerDrawnComboBox)
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxOwnerDrawnComboBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxOwnerDrawnComboBox , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS2(wxOwnerDrawnComboBox, wxComboCtrl, wxControlWithItems)
-#endif
-
void wxOwnerDrawnComboBox::Init()
{
}
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxPanelStyle )
-
-wxBEGIN_FLAGS( wxPanelStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxPanelStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxPanel, wxWindow,"wx/panel.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxPanel)
- wxPROPERTY_FLAGS( WindowStyle , wxPanelStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-// style wxTAB_TRAVERSAL
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxPanel)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxPanel , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxPanel, wxWindow)
-#endif
-
BEGIN_EVENT_TABLE(wxPanel, wxWindow)
WX_EVENT_TABLE_CONTROL_CONTAINER(wxPanel)
END_EVENT_TABLE()
// wxSpinCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxSpinCtrlGenericBase)
-
void wxSpinCtrl::DoSendEvent()
{
wxSpinEvent event( wxEVT_COMMAND_SPINCTRL_UPDATED, GetId());
#include "wx/generic/statbmpg.h"
-IMPLEMENT_DYNAMIC_CLASS(wxGenericStaticBitmap, wxStaticBitmapBase)
-
bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
const wxBitmap& bitmap,
const wxPoint& pos, const wxSize& size,
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
EVT_TREE_ITEM_GETTOOLTIP(wxID_ANY, wxGenericTreeCtrl::OnGetToolTip)
END_EVENT_TABLE()
-#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
-/*
- * wxTreeCtrl has to be a real class or we have problems with
- * the run-time information.
- */
-
-IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxGenericTreeCtrl)
-#endif
-
// -----------------------------------------------------------------------------
// construction/destruction
// -----------------------------------------------------------------------------
#include "wx/bmpbuttn.h"
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
-
bool wxBitmapButton::Create(wxWindow *parent,
wxWindowID id,
const wxBitmap& bitmap,
// wxCheckBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
-
wxCheckBox::wxCheckBox()
{
}
// wxChoice
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
void wxChoice::Init()
{
m_strings = NULL;
// GDK's values are in 0..65535 range, ours are in 0..255
#define SHIFT 8
-IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject)
-
wxColour::wxColour(const GdkColor& gdkColor)
{
m_refData = new wxColourRefData(gdkColor.red, gdkColor.green, gdkColor.blue);
// wxComboBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxChoice)
-
BEGIN_EVENT_TABLE(wxComboBox, wxChoice)
EVT_CHAR(wxComboBox::OnChar)
// event tables
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
// ============================================================================
// implementation
// ============================================================================
// wxGauge
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
bool wxGauge::Create( wxWindow *parent,
wxWindowID id,
int range,
// wxListBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
// ----------------------------------------------------------------------------
// construction
// ----------------------------------------------------------------------------
// wxRadioButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton,wxControl)
-
bool wxRadioButton::Create( wxWindow *parent,
wxWindowID id,
const wxString& label,
// wxScrollBar
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar,wxControl)
-
wxScrollBar::wxScrollBar()
{
}
// wxSlider
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
-
wxSlider::wxSlider()
{
m_pos = 0;
// wxSpinButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton,wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxSpinButton, wxControl)
EVT_SIZE(wxSpinButton::OnSize)
END_EVENT_TABLE()
// wxSpinCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxSpinCtrlGTKBase)
-
//-----------------------------------------------------------------------------
// wxSpinCtrlDouble
//-----------------------------------------------------------------------------
// wxStaticBitmap
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap,wxControl)
-
wxStaticBitmap::wxStaticBitmap(void)
{
}
// wxStaticBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
wxStaticBox::wxStaticBox()
{
}
// wxStaticLine
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
wxStaticLine::wxStaticLine()
{
}
// wxStaticText
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText,wxControl)
-
wxStaticText::wxStaticText()
{
}
// wxTextCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_CHAR(wxTextCtrl::OnChar)
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowGTK, wxWindowBase)
-#else // __WXGTK__
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif // __WXUNIVERSAL__/__WXGTK__
+#endif // __WXUNIVERSAL__
void wxWindowGTK::Init()
{
// wxBitmapButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
-
void wxBitmapButton::Init()
{
m_hasFocus =
// wxButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxButton,wxControl)
-
wxButton::wxButton()
{
}
// wxCheckBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox,wxControl)
-
wxCheckBox::wxCheckBox()
{
}
// wxChoice
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
wxChoice::wxChoice()
{
m_strings = NULL;
// GDK's values are in 0..65535 range, our are in 0..255
#define SHIFT 8
-IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject)
-
wxColour::~wxColour()
{
}
// wxComboBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox,wxControl)
-
BEGIN_EVENT_TABLE(wxComboBox, wxControl)
EVT_SIZE(wxComboBox::OnSize)
EVT_CHAR(wxComboBox::OnChar)
EVT_CLOSE (wxDialog::OnCloseWindow)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxDialog,wxTopLevelWindow)
-
void wxDialog::Init()
{
m_returnCode = 0;
// event tables
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
// ============================================================================
// implementation
// ============================================================================
// wxGauge
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
bool wxGauge::Create( wxWindow *parent,
wxWindowID id,
int range,
// wxListBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
// ----------------------------------------------------------------------------
// construction
// ----------------------------------------------------------------------------
// wxRadioButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton,wxControl)
-
bool wxRadioButton::Create( wxWindow *parent,
wxWindowID id,
const wxString& label,
// wxScrollBar
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar,wxControl)
-
wxScrollBar::~wxScrollBar()
{
}
// wxSlider
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSlider,wxControl)
-
bool wxSlider::Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
const wxPoint& pos, const wxSize& size,
// wxSpinButton
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton,wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxSpinButton, wxControl)
EVT_SIZE(wxSpinButton::OnSize)
END_EVENT_TABLE()
// wxSpinCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
-
BEGIN_EVENT_TABLE(wxSpinCtrl, wxControl)
EVT_CHAR(wxSpinCtrl::OnChar)
END_EVENT_TABLE()
// wxStaticBitmap
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap,wxControl)
-
wxStaticBitmap::wxStaticBitmap(void)
{
}
// wxStaticBox
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
wxStaticBox::wxStaticBox()
{
}
// wxStaticLine
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
wxStaticLine::wxStaticLine()
{
}
// wxStaticText
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText,wxControl)
-
wxStaticText::wxStaticText()
{
}
// wxTextCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_CHAR(wxTextCtrl::OnChar)
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowGTK, wxWindowBase)
-#else // __WXGTK__
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif // __WXUNIVERSAL__/__WXGTK__
+#endif // __WXUNIVERSAL__
void wxWindowGTK::Init()
{
IMPLEMENT_ABSTRACT_CLASS(wxHtmlProcessor,wxObject)
-#if wxUSE_EXTENDED_RTTI
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxHtmlWindow, wxScrolledWindow,"wx/html/htmlwin.h")
-
wxBEGIN_PROPERTIES_TABLE(wxHtmlWindow)
/*
TODO PROPERTIES
wxEND_HANDLERS_TABLE()
wxCONSTRUCTOR_5( wxHtmlWindow , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxHtmlWindow,wxScrolledWindow)
-#endif
+
+wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxHtmlWindow, wxScrolledWindow,"wx/html/htmlwin.h")
BEGIN_EVENT_TABLE(wxHtmlWindow, wxScrolledWindow)
EVT_SIZE(wxHtmlWindow::OnSize)
// Pixmap XCreateInsensitivePixmap( Display *display, Pixmap pixmap );
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-
wxBitmapButton::wxBitmapButton()
{
m_marginX = m_marginY = wxDEFAULT_BUTTON_MARGIN;
void wxButtonCallback (Widget w, XtPointer clientData, XtPointer ptr);
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-
#define MIN_WIDTH 78
#define MIN_LARGE_HEIGHT 30
void wxCheckBoxCallback (Widget w, XtPointer clientData,
XtPointer ptr);
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-
// Single check box item
bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
const wxPoint& pos,
#define WIDTH_OVERHEAD_SUBTRACT 40
#define HEIGHT_OVERHEAD 15
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
void wxChoiceCallback (Widget w, XtPointer clientData,
XtPointer ptr);
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
wxCOMPILE_TIME_ASSERT( sizeof(WXPixel) == sizeof(Pixel), PixelSizeIsOk );
// Colour
#define wxUSE_INVISIBLE_RESIZE 1
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
-
wxDialog::wxDialog()
{
m_modalShowing = false;
EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
// ============================================================================
// implementation
// ============================================================================
#endif
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
#if !wxCHECK_MOTIF_VERSION( 2, 0 ) || wxCHECK_LESSTIF()
// XmGauge copyright notice:
#endif
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
static void wxListBoxCallback(Widget w,
XtPointer clientData,
XmListCallbackStruct * cbs);
void wxRadioButtonCallback (Widget w, XtPointer clientData,
XmToggleButtonCallbackStruct * cbs);
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
wxRadioButton::wxRadioButton()
{
}
static void wxScrollBarCallback(Widget widget, XtPointer clientData,
XmScaleCallbackStruct *cbs);
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-
// Scrollbar
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos,
static void wxSliderCallback (Widget widget, XtPointer clientData, XmScaleCallbackStruct * cbs);
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-
BEGIN_EVENT_TABLE(wxSlider, wxControl)
END_EVENT_TABLE()
// wxSpinButton
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
static void CalcSizes( const wxPoint& pt, const wxSize& sz,
wxPoint& pt1, wxSize& sz1,
wxPoint& pt2, wxSize& sz2,
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
/*
* wxStaticBitmap
*/
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
BEGIN_EVENT_TABLE(wxStaticBox, wxControl)
//EVT_ERASE_BACKGROUND(wxStaticBox::OnEraseBackground)
END_EVENT_TABLE()
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-
bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
const wxString& label,
const wxPoint& pos,
static void wxTextWindowLoseFocusProc(Widget w, XtPointer clientData, XmAnyCallbackStruct *cbs);
static void wxTextWindowActivateProc(Widget w, XtPointer clientData, XmAnyCallbackStruct *ptr);
- IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
EVT_CHAR(wxTextCtrl::OnChar)
// event tables
// ----------------------------------------------------------------------------
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-
BEGIN_EVENT_TABLE(wxWindow, wxWindowBase)
EVT_SYS_COLOUR_CHANGED(wxWindow::OnSysColourChanged)
END_EVENT_TABLE()
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-
-WX_DEFINE_FLAGS( wxBitmapButtonStyle )
-
-wxBEGIN_FLAGS( wxBitmapButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxBU_AUTODRAW)
- wxFLAGS_MEMBER(wxBU_LEFT)
- wxFLAGS_MEMBER(wxBU_RIGHT)
- wxFLAGS_MEMBER(wxBU_TOP)
- wxFLAGS_MEMBER(wxBU_BOTTOM)
-wxEND_FLAGS( wxBitmapButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxBitmapButton, wxButton,"wx/bmpbuttn.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxBitmapButton)
- wxPROPERTY_FLAGS( WindowStyle , wxBitmapButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxBitmapButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxBitmapButton , wxWindow* , Parent , wxWindowID , Id , wxBitmap , Bitmap , wxPoint , Position , wxSize , Size )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-#endif
-
BEGIN_EVENT_TABLE(wxBitmapButton, wxBitmapButtonBase)
EVT_SYS_COLOUR_CHANGED(wxBitmapButton::OnSysColourChanged)
END_EVENT_TABLE()
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-
-WX_DEFINE_FLAGS( wxButtonStyle )
-
-wxBEGIN_FLAGS( wxButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxBU_LEFT)
- wxFLAGS_MEMBER(wxBU_RIGHT)
- wxFLAGS_MEMBER(wxBU_TOP)
- wxFLAGS_MEMBER(wxBU_BOTTOM)
- wxFLAGS_MEMBER(wxBU_EXACTFIT)
-wxEND_FLAGS( wxButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxButton, wxControl,"wx/button.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxButton)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEvent)
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label, wxString , SetLabel, GetLabel, wxString(), 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
-
- wxPROPERTY_FLAGS( WindowStyle , wxButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxButton , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// implementation
// ============================================================================
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxCheckBoxStyle )
-
-wxBEGIN_FLAGS( wxCheckBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxNO_BORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxNO_FULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxCheckBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxCheckBox, wxControl,"wx/checkbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxCheckBox)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Value ,bool, SetValue, GetValue, EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxCheckBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxCheckBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxCheckBox , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-#endif
-
-
// ----------------------------------------------------------------------------
// wxCheckBox creation
// ----------------------------------------------------------------------------
#include "wx/msw/private.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxChoiceStyle )
-
-wxBEGIN_FLAGS( wxChoiceStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxChoiceStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxChoice, wxControlWithItems,"wx/choice.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxChoice)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxChoiceStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxChoice)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_4( wxChoice , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-#endif
-/*
- TODO PROPERTIES
- selection (long)
- content (list)
- item
-*/
-
// ============================================================================
// implementation
// ============================================================================
#include <string.h>
-#if wxUSE_EXTENDED_RTTI
-
-template<> void wxStringReadValue(const wxString &s , wxColour &data )
-{
- if ( !data.Set(s) )
- {
- wxLogError(_("String To Colour : Incorrect colour specification : %s"),
- s.c_str() );
- data = wxNullColour;
- }
-}
-
-template<> void wxStringWriteValue(wxString &s , const wxColour &data )
-{
- s = data.GetAsString(wxC2S_HTML_SYNTAX);
-}
-
-wxTO_STRING_IMP( wxColour )
-wxFROM_STRING_IMP( wxColour )
-
-IMPLEMENT_DYNAMIC_CLASS_WITH_COPY_AND_STREAMERS_XTI( wxColour , wxObject , "wx/colour.h" , &wxTO_STRING( wxColour ) , &wxFROM_STRING( wxColour ))
-
-wxBEGIN_PROPERTIES_TABLE(wxColour)
- wxREADONLY_PROPERTY( Red, unsigned char, Red, EMPTY_MACROVALUE , 0 /*flags*/, wxT("Helpstring"), wxT("group"))
- wxREADONLY_PROPERTY( Green, unsigned char, Green, EMPTY_MACROVALUE , 0 /*flags*/, wxT("Helpstring"), wxT("group"))
- wxREADONLY_PROPERTY( Blue, unsigned char, Blue, EMPTY_MACROVALUE , 0 /*flags*/, wxT("Helpstring"), wxT("group"))
-wxEND_PROPERTIES_TABLE()
-
-wxDIRECT_CONSTRUCTOR_3( wxColour, unsigned char, Red, unsigned char, Green, unsigned char, Blue )
-
-wxBEGIN_HANDLERS_TABLE(wxColour)
-wxEND_HANDLERS_TABLE()
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-#endif
-
// Colour
void wxColour::Init()
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxComboBoxStyle )
-
-wxBEGIN_FLAGS( wxComboBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxCB_SIMPLE)
- wxFLAGS_MEMBER(wxCB_SORT)
- wxFLAGS_MEMBER(wxCB_READONLY)
- wxFLAGS_MEMBER(wxCB_DROPDOWN)
-
-wxEND_FLAGS( wxComboBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxChoice,"wx/combobox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxComboBox)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- // TODO DELEGATES
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Value ,wxString, SetValue, GetValue, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxComboBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxComboBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxComboBox , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size )
-
-#else
-
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxChoice)
-
-#endif
-
BEGIN_EVENT_TABLE(wxComboBox, wxControl)
EVT_MENU(wxID_CUT, wxComboBox::OnCut)
EVT_MENU(wxID_COPY, wxComboBox::OnCopy)
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxDialogStyle )
-
-wxBEGIN_FLAGS( wxDialogStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxNO_BORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
-
- // dialog styles
- wxFLAGS_MEMBER(wxWS_EX_VALIDATE_RECURSIVELY)
- wxFLAGS_MEMBER(wxSTAY_ON_TOP)
- wxFLAGS_MEMBER(wxCAPTION)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxTHICK_FRAME)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxSYSTEM_MENU)
- wxFLAGS_MEMBER(wxRESIZE_BORDER)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxRESIZE_BOX)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxCLOSE_BOX)
- wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
- wxFLAGS_MEMBER(wxMINIMIZE_BOX)
-wxEND_FLAGS( wxDialogStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxDialog, wxTopLevelWindow,"wx/dialog.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxDialog)
- wxPROPERTY( Title, wxString, SetTitle, GetTitle, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxDialogStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxDialog)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxDialog , wxWindow* , Parent , wxWindowID , Id , wxString , Title , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
-#endif
-
// ----------------------------------------------------------------------------
// wxDialogModalData
// ----------------------------------------------------------------------------
EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
END_EVENT_TABLE()
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxFrameStyle )
-
-wxBEGIN_FLAGS( wxFrameStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- // frame styles
- wxFLAGS_MEMBER(wxSTAY_ON_TOP)
- wxFLAGS_MEMBER(wxCAPTION)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxTHICK_FRAME)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxSYSTEM_MENU)
- wxFLAGS_MEMBER(wxRESIZE_BORDER)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxRESIZE_BOX)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxCLOSE_BOX)
- wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
- wxFLAGS_MEMBER(wxMINIMIZE_BOX)
-
- wxFLAGS_MEMBER(wxFRAME_TOOL_WINDOW)
- wxFLAGS_MEMBER(wxFRAME_FLOAT_ON_PARENT)
-
- wxFLAGS_MEMBER(wxFRAME_SHAPED)
-
-wxEND_FLAGS( wxFrameStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxFrame, wxTopLevelWindow,"wx/frame.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxFrame)
- wxEVENT_PROPERTY( Menu , wxEVT_COMMAND_MENU_SELECTED , wxCommandEvent)
-
- wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxFrameStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
- wxPROPERTY( MenuBar , wxMenuBar * , SetMenuBar , GetMenuBar , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxFrame)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxFrame , wxWindow* , Parent , wxWindowID , Id , wxString , Title , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxGaugeStyle )
-
-wxBEGIN_FLAGS( wxGaugeStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxGA_HORIZONTAL)
- wxFLAGS_MEMBER(wxGA_VERTICAL)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxGA_PROGRESSBAR)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxGA_SMOOTH)
-
-wxEND_FLAGS( wxGaugeStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxGauge, wxControl,"wx/gauge.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxGauge)
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Range , int , SetRange, GetRange, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ShadowWidth , int , SetShadowWidth, GetShadowWidth, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( BezelFace , int , SetBezelFace, GetBezelFace, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxGaugeStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxGauge)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxGauge , wxWindow* , Parent , wxWindowID , Id , int , Range , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-#endif
-
// ============================================================================
// wxGauge implementation
// ============================================================================
#include "wx/ownerdrw.h"
#endif
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxListBoxStyle )
-
-wxBEGIN_FLAGS( wxListBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLB_SINGLE)
- wxFLAGS_MEMBER(wxLB_MULTIPLE)
- wxFLAGS_MEMBER(wxLB_EXTENDED)
- wxFLAGS_MEMBER(wxLB_HSCROLL)
- wxFLAGS_MEMBER(wxLB_ALWAYS_SB)
- wxFLAGS_MEMBER(wxLB_NEEDED_SB)
- wxFLAGS_MEMBER(wxLB_NO_SB)
- wxFLAGS_MEMBER(wxLB_SORT)
-
-wxEND_FLAGS( wxListBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxListBox, wxControlWithItems,"wx/listbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxListBox)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_LISTBOX_SELECTED , wxCommandEvent )
- wxEVENT_PROPERTY( DoubleClick , wxEVT_COMMAND_LISTBOX_DOUBLECLICKED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY_FLAGS( WindowStyle , wxListBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxListBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_4( wxListBox , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-#endif
-
-/*
-TODO PROPERTIES
- selection
- content
- item
-*/
-
// ============================================================================
// list box item declaration and implementation
// ============================================================================
wxDECLARE_NO_COPY_CLASS(wxMSWListItemData);
};
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxListCtrlStyle )
-
-wxBEGIN_FLAGS( wxListCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLC_LIST)
- wxFLAGS_MEMBER(wxLC_REPORT)
- wxFLAGS_MEMBER(wxLC_ICON)
- wxFLAGS_MEMBER(wxLC_SMALL_ICON)
- wxFLAGS_MEMBER(wxLC_ALIGN_TOP)
- wxFLAGS_MEMBER(wxLC_ALIGN_LEFT)
- wxFLAGS_MEMBER(wxLC_AUTOARRANGE)
- wxFLAGS_MEMBER(wxLC_USER_TEXT)
- wxFLAGS_MEMBER(wxLC_EDIT_LABELS)
- wxFLAGS_MEMBER(wxLC_NO_HEADER)
- wxFLAGS_MEMBER(wxLC_SINGLE_SEL)
- wxFLAGS_MEMBER(wxLC_SORT_ASCENDING)
- wxFLAGS_MEMBER(wxLC_SORT_DESCENDING)
- wxFLAGS_MEMBER(wxLC_VIRTUAL)
-
-wxEND_FLAGS( wxListCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl,"wx/listctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxListCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
-
- wxPROPERTY_FLAGS( WindowStyle , wxListCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxListCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_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 (a la NotebookPageInfo)
-*/
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
-#endif
-
-IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
-IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
-
-IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxListCtrl, wxControl)
EVT_PAINT(wxListCtrl::OnPaint)
END_EVENT_TABLE()
// wxRadioButton creation
// ----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxRadioButtonStyle )
-
-wxBEGIN_FLAGS( wxRadioButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxRB_GROUP)
-
-wxEND_FLAGS( wxRadioButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxRadioButton, wxControl,"wx/radiobut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxRadioButton)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_RADIOBUTTON_SELECTED , wxCommandEvent )
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString(), 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Value ,bool, SetValue, GetValue, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY_FLAGS( WindowStyle , wxRadioButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxRadioButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxRadioButton , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-#endif
-
-
void wxRadioButton::Init()
{
m_isChecked = false;
#include "wx/msw/private.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxScrollBarStyle )
-
-wxBEGIN_FLAGS( wxScrollBarStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSB_HORIZONTAL)
- wxFLAGS_MEMBER(wxSB_VERTICAL)
-
-wxEND_FLAGS( wxScrollBarStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxScrollBar, wxControl,"wx/scrolbar.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxScrollBar)
- wxEVENT_RANGE_PROPERTY( Scroll , wxEVT_SCROLL_TOP , wxEVT_SCROLL_CHANGED , wxScrollEvent )
-
- wxPROPERTY( ThumbPosition , int , SetThumbPosition, GetThumbPosition, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Range , int , SetRange, GetRange, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ThumbSize , int , SetThumbSize, GetThumbSize, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( PageSize , int , SetPageSize, GetPageSize, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxScrollBarStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxScrollBar)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxScrollBar , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-#endif
-
// Scrollbar
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos,
} // anonymous namespace
-// ----------------------------------------------------------------------------
-// XTI
-// ----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSliderStyle )
-
-wxBEGIN_FLAGS( wxSliderStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSL_HORIZONTAL)
- wxFLAGS_MEMBER(wxSL_VERTICAL)
- wxFLAGS_MEMBER(wxSL_AUTOTICKS)
- wxFLAGS_MEMBER(wxSL_LEFT)
- wxFLAGS_MEMBER(wxSL_TOP)
- wxFLAGS_MEMBER(wxSL_RIGHT)
- wxFLAGS_MEMBER(wxSL_BOTTOM)
- wxFLAGS_MEMBER(wxSL_BOTH)
- wxFLAGS_MEMBER(wxSL_SELRANGE)
- wxFLAGS_MEMBER(wxSL_INVERSE)
- wxFLAGS_MEMBER(wxSL_MIN_MAX_LABELS)
- wxFLAGS_MEMBER(wxSL_VALUE_LABEL)
- wxFLAGS_MEMBER(wxSL_LABELS)
-
-wxEND_FLAGS( wxSliderStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSlider, wxControl,"wx/slider.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSlider)
- wxEVENT_RANGE_PROPERTY( Scroll , wxEVT_SCROLL_TOP , wxEVT_SCROLL_CHANGED , wxScrollEvent )
- wxEVENT_PROPERTY( Updated , wxEVT_COMMAND_SLIDER_UPDATED , wxCommandEvent )
-
- wxPROPERTY( Value , int , SetValue, GetValue , 0, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Minimum , int , SetMin, GetMin, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Maximum , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( PageSize , int , SetPageSize, GetLineSize, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( LineSize , int , SetLineSize, GetLineSize, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ThumbLength , int , SetThumbLength, GetThumbLength, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSliderStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSlider)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_8( wxSlider , wxWindow* , Parent , wxWindowID , Id , int , Value , int , Minimum , int , Maximum , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-#endif
-
// ============================================================================
// wxSlider implementation
// ============================================================================
#include "wx/spinbutt.h"
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
#include "wx/msw/private.h"
#ifndef UDM_SETRANGE32
// wxWin macros
// ----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSpinButtonStyle )
-
-wxBEGIN_FLAGS( wxSpinButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSP_HORIZONTAL)
- wxFLAGS_MEMBER(wxSP_VERTICAL)
- wxFLAGS_MEMBER(wxSP_ARROW_KEYS)
- wxFLAGS_MEMBER(wxSP_WRAP)
-
-wxEND_FLAGS( wxSpinButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinButton, wxControl,"wx/spinbut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSpinButton)
- wxEVENT_RANGE_PROPERTY( Spin , wxEVT_SCROLL_TOP , wxEVT_SCROLL_CHANGED , wxSpinEvent )
-
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Min , int , SetMin, GetMin, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Max , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSpinButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSpinButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxSpinButton , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-#endif
-
-
-
// ----------------------------------------------------------------------------
// wxSpinButton
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSpinCtrlStyle )
-
-wxBEGIN_FLAGS( wxSpinCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSP_HORIZONTAL)
- wxFLAGS_MEMBER(wxSP_VERTICAL)
- wxFLAGS_MEMBER(wxSP_ARROW_KEYS)
- wxFLAGS_MEMBER(wxSP_WRAP)
-
-wxEND_FLAGS( wxSpinCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinCtrl, wxControl,"wx/spinbut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSpinCtrl)
- wxEVENT_RANGE_PROPERTY( Spin , wxEVT_SCROLL_TOP , wxEVT_SCROLL_CHANGED , wxSpinEvent )
- wxEVENT_PROPERTY( Updated , wxEVT_COMMAND_SPINCTRL_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- wxPROPERTY( ValueString , wxString , SetValue , GetValue , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) ;
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Min , int , SetMin, GetMin, 0, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Max , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSpinCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-/*
- TODO PROPERTIES
- style wxSP_ARROW_KEYS
-*/
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSpinCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxSpinCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , ValueString , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl)
-#endif
-
BEGIN_EVENT_TABLE(wxSpinCtrl, wxSpinButton)
EVT_CHAR(wxSpinCtrl::OnChar)
EVT_SET_FOCUS(wxSpinCtrl::OnSetFocus)
// macors
// ---------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticBitmapStyle )
-
-wxBEGIN_FLAGS( wxStaticBitmapStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxStaticBitmapStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticBitmap, wxControl,"wx/statbmp.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticBitmap)
- wxPROPERTY_FLAGS( WindowStyle , wxStaticBitmapStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticBitmap)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxStaticBitmap, wxWindow* , Parent , wxWindowID , Id , wxBitmap, Bitmap, wxPoint , Position , wxSize , Size )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-#endif
-
-/*
- TODO PROPERTIES :
- bitmap
-*/
-
// ===========================================================================
// implementation
// ===========================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticBoxStyle )
-
-wxBEGIN_FLAGS( wxStaticBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxStaticBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticBox, wxControl,"wx/statbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticBox)
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxStaticBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-/*
- TODO PROPERTIES :
- label
-*/
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxStaticBox , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// implementation
// ============================================================================
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticLineStyle )
-
-wxBEGIN_FLAGS( wxStaticLineStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLI_HORIZONTAL)
- wxFLAGS_MEMBER(wxLI_VERTICAL)
-
-wxEND_FLAGS( wxStaticLineStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticLine, wxControl,"wx/statline.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticLine)
- wxPROPERTY_FLAGS( WindowStyle , wxStaticLineStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticLine)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxStaticLine, wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-#endif
-
-/*
- TODO PROPERTIES :
- style (wxLI_HORIZONTAL)
-*/
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
#include "wx/msw/private.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticTextStyle )
-
-wxBEGIN_FLAGS( wxStaticTextStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxST_NO_AUTORESIZE)
- wxFLAGS_MEMBER(wxALIGN_LEFT)
- wxFLAGS_MEMBER(wxALIGN_RIGHT)
- wxFLAGS_MEMBER(wxALIGN_CENTRE)
-
-wxEND_FLAGS( wxStaticTextStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticText, wxControl,"wx/stattext.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticText)
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxStaticTextStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticText)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxStaticText , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-#endif
-
bool wxStaticText::Create(wxWindow *parent,
wxWindowID id,
const wxString& label,
// event tables and other macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxTextCtrlStyle )
-
-wxBEGIN_FLAGS( wxTextCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxTE_PROCESS_ENTER)
- wxFLAGS_MEMBER(wxTE_PROCESS_TAB)
- wxFLAGS_MEMBER(wxTE_MULTILINE)
- wxFLAGS_MEMBER(wxTE_PASSWORD)
- wxFLAGS_MEMBER(wxTE_READONLY)
- wxFLAGS_MEMBER(wxHSCROLL)
- wxFLAGS_MEMBER(wxTE_RICH)
- wxFLAGS_MEMBER(wxTE_RICH2)
- wxFLAGS_MEMBER(wxTE_AUTO_URL)
- wxFLAGS_MEMBER(wxTE_NOHIDESEL)
- wxFLAGS_MEMBER(wxTE_LEFT)
- wxFLAGS_MEMBER(wxTE_CENTRE)
- wxFLAGS_MEMBER(wxTE_RIGHT)
- wxFLAGS_MEMBER(wxTE_DONTWRAP)
- wxFLAGS_MEMBER(wxTE_CHARWRAP)
- wxFLAGS_MEMBER(wxTE_WORDWRAP)
-
-wxEND_FLAGS( wxTextCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxTextCtrl, wxControl,"wx/textctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxTextCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Value , wxString , SetValue, GetValue, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxTextCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxTextCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxTextCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size , long , WindowStyle)
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-#endif
-
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_CHAR(wxTextCtrl::OnChar)
EVT_KEY_DOWN(wxTextCtrl::OnKeyDown)
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxTreeCtrlStyle )
-
-wxBEGIN_FLAGS( wxTreeCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxTR_EDIT_LABELS)
- wxFLAGS_MEMBER(wxTR_NO_BUTTONS)
- wxFLAGS_MEMBER(wxTR_HAS_BUTTONS)
- wxFLAGS_MEMBER(wxTR_TWIST_BUTTONS)
- wxFLAGS_MEMBER(wxTR_NO_LINES)
- wxFLAGS_MEMBER(wxTR_FULL_ROW_HIGHLIGHT)
- wxFLAGS_MEMBER(wxTR_LINES_AT_ROOT)
- wxFLAGS_MEMBER(wxTR_HIDE_ROOT)
- wxFLAGS_MEMBER(wxTR_ROW_LINES)
- wxFLAGS_MEMBER(wxTR_HAS_VARIABLE_ROW_HEIGHT)
- wxFLAGS_MEMBER(wxTR_SINGLE)
- wxFLAGS_MEMBER(wxTR_MULTIPLE)
-#if WXWIN_COMPATIBILITY_2_8
- wxFLAGS_MEMBER(wxTR_EXTENDED)
-#endif
- wxFLAGS_MEMBER(wxTR_DEFAULT_STYLE)
-
-wxEND_FLAGS( wxTreeCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxTreeCtrl, wxControl,"wx/treectrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxTreeCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_RANGE_PROPERTY( TreeEvent , wxEVT_COMMAND_TREE_BEGIN_DRAG , wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK , wxTreeEvent )
- wxPROPERTY_FLAGS( WindowStyle , wxTreeCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxTreeCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxTreeCtrl , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
-#endif
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
#include "wx/spinbutt.h" // for wxSpinnerBestSize
-#if wxUSE_EXTENDED_RTTI
-// TODO
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
-#endif
-
#define GetBuddyHwnd() (HWND)(m_hwndBuddy)
#define IsVertical(wxStyle) ( (wxStyle & wxSP_HORIZONTAL) != wxSP_HORIZONTAL )
// event tables and other macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-// TODO
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
-#endif
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
EVT_CHAR(wxTextCtrl::OnChar)
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowMSW, wxWindowBase)
-#else // __WXMSW__
-#if wxUSE_EXTENDED_RTTI
-
-// windows that are created from a parent window during its Create method, eg. spin controls in a calendar controls
-// must never been streamed out separately otherwise chaos occurs. Right now easiest is to test for negative ids, as
-// windows with negative ids never can be recreated anyway
-
-bool wxWindowStreamingCallback( const wxObject *object, wxWriter * , wxPersister * , wxxVariantArray & )
-{
- const wxWindow * win = dynamic_cast<const wxWindow*>(object) ;
- if ( win && win->GetId() < 0 )
- return false ;
- return true ;
-}
-
-IMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxWindow, wxWindowBase,"wx/window.h", wxWindowStreamingCallback)
-
-// make wxWindowList known before the property is used
-
-wxCOLLECTION_TYPE_INFO( wxWindow* , wxWindowList ) ;
-
-template<> void wxCollectionToVariantArray( wxWindowList const &theList, wxxVariantArray &value)
-{
- wxListCollectionToVariantArray<wxWindowList::compatibility_iterator>( theList , value ) ;
-}
-
-WX_DEFINE_FLAGS( wxWindowStyle )
-
-wxBEGIN_FLAGS( wxWindowStyle )
- // new style border flags, we put them first to
- // use them for streaming out
-
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxWindowStyle )
-
-wxBEGIN_PROPERTIES_TABLE(wxWindow)
- wxEVENT_PROPERTY( Close , wxEVT_CLOSE_WINDOW , wxCloseEvent)
- wxEVENT_PROPERTY( Create , wxEVT_CREATE , wxWindowCreateEvent )
- wxEVENT_PROPERTY( Destroy , wxEVT_DESTROY , wxWindowDestroyEvent )
- // Always constructor Properties first
-
- wxREADONLY_PROPERTY( Parent,wxWindow*, GetParent, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Id,wxWindowID, SetId, GetId, -1 /*wxID_ANY*/ , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Position,wxPoint, SetPosition , GetPosition, wxDefaultPosition , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // pos
- wxPROPERTY( Size,wxSize, SetSize, GetSize, wxDefaultSize , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // size
- wxPROPERTY( WindowStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-
- // Then all relations of the object graph
-
- wxREADONLY_PROPERTY_COLLECTION( Children , wxWindowList , wxWindowBase* , GetWindowChildren , wxPROP_OBJECT_GRAPH /*flags*/ , wxT("Helpstring") , wxT("group"))
-
- // and finally all other properties
-
- wxPROPERTY( ExtraStyle , long , SetExtraStyle , GetExtraStyle , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // extstyle
- wxPROPERTY( BackgroundColour , wxColour , SetBackgroundColour , GetBackgroundColour , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // bg
- wxPROPERTY( ForegroundColour , wxColour , SetForegroundColour , GetForegroundColour , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // fg
- wxPROPERTY( Enabled , bool , Enable , IsEnabled , wxxVariant((bool)true) , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Shown , bool , Show , IsShown , wxxVariant((bool)true) , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
-#if 0
- // possible property candidates (not in xrc) or not valid in all subclasses
- wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxEmptyString )
- wxPROPERTY( Font , wxFont , SetFont , GetWindowFont , )
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxEmptyString )
- // MaxHeight, Width , MinHeight , Width
- // TODO switch label to control and title to toplevels
-
- wxPROPERTY( ThemeEnabled , bool , SetThemeEnabled , GetThemeEnabled , )
- //wxPROPERTY( Cursor , wxCursor , SetCursor , GetCursor , )
- // wxPROPERTY( ToolTip , wxString , SetToolTip , GetToolTipText , )
- wxPROPERTY( AutoLayout , bool , SetAutoLayout , GetAutoLayout , )
-
-
-
-#endif
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxWindow)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_DUMMY(wxWindow)
-
-#else
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif
-#endif // __WXUNIVERSAL__/__WXMSW__
+#endif // __WXUNIVERSAL__
BEGIN_EVENT_TABLE(wxWindowMSW, wxWindowBase)
EVT_SYS_COLOUR_CHANGED(wxWindowMSW::OnSysColourChanged)
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-
#define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
bool wxBitmapButton::Create( wxWindow* pParent,
#define BST_CHECKED 0x0001
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-
// Button
bool wxButton::Create( wxWindow* pParent,
// macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
extern void wxAssociateWinWithHandle( HWND hWnd
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
bool wxChoice::Create(
wxWindow* pParent
, wxWindowID vId
#define INCL_PM
#include<os2.h>
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
// Colour
void wxColour::Init()
//
static WXFARPROC gfnWndprocEdit = (WXFARPROC)NULL;
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) )
{
long lSel = GetSelection();
#define wxDIALOG_DEFAULT_WIDTH 500
#define wxDIALOG_DEFAULT_HEIGHT 500
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
// ----------------------------------------------------------------------------
// wxDialogModalData
EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow)
-
// ============================================================================
// implementation
// ============================================================================
,wxWindowOS2* pWin
);
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxGaugeBase)
-
MRESULT EXPENTRY wxGaugeWndProc( HWND hWnd,
UINT uMessage,
MPARAM wParam,
#include "wx/ownerdrw.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
// ============================================================================
// list box item declaration and implementation
// ============================================================================
pField->offStruct = 0;
} // end of ConvertToOS2ListCol
-
-IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
-IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
-
-IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxListCtrl, wxControl)
EVT_PAINT(wxListCtrl::OnPaint)
END_EVENT_TABLE()
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
extern void wxAssociateWinWithHandle( HWND hWnd
,wxWindowOS2* pWin
);
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-
// Scrollbar
bool wxScrollBar::Create(wxWindow* pParent,
wxWindowID vId,
#include "wx/slider.h"
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-
wxSlider::wxSlider()
{
m_hStaticValue = 0L;
,wxWindowOS2* pWin
);
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
#include "wx/os2/private.h"
// ============================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-
bool wxSpinButton::Create(
wxWindow* pParent
, wxWindowID vId
static WXFARPROC fnWndProcSpinCtrl = (WXFARPROC)NULL;
wxArraySpins wxSpinCtrl::m_svAllSpins;
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl)
-
BEGIN_EVENT_TABLE(wxSpinCtrl, wxSpinButton)
EVT_CHAR(wxSpinCtrl::OnChar)
EVT_SPIN(wxID_ANY, wxSpinCtrl::OnSpinChange)
// macros
// ---------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
BEGIN_EVENT_TABLE(wxStaticBitmap, wxWindow)
EVT_PAINT(wxStaticBitmap::OnPaint)
END_EVENT_TABLE()
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
bool wxStaticBox::Create( wxWindow* pParent,
wxWindowID vId,
const wxString& rsLabel,
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
#include "wx/os2/private.h"
#include <stdio.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-
bool wxStaticText::Create( wxWindow* pParent,
wxWindowID vId,
const wxString& rsLabel,
// event tables and other macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_CHAR(wxTextCtrl::OnChar)
EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
// wxWin macros
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowOS2, wxWindowBase)
-#else // __WXPM__
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif // __WXUNIVERSAL__/__WXPM__
+#endif // __WXUNIVERSAL__
BEGIN_EVENT_TABLE(wxWindowOS2, wxWindowBase)
EVT_ERASE_BACKGROUND(wxWindowOS2::OnEraseBackground)
#include "wx/dcmemory.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-
-
#include "wx/osx/private.h"
//---------------------------------------------------------------------------
} // anonymous namespace
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-
BEGIN_EVENT_TABLE(wxButton, wxControl)
EVT_ENTER_WINDOW(wxButton::OnEnterWindow)
EVT_LEAVE_WINDOW(wxButton::OnLeaveWindow)
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
WX_DELEGATE_TO_CONTROL_CONTAINER(wxComboBox, wxControl)
BEGIN_EVENT_TABLE(wxComboBox, wxControl)
#endif
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
#if TARGET_API_MAC_OSX
#define USE_HICOMBOBOX 1 //use hi combobox define
#else
EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
#define WX_MAC_STATUSBAR_HEIGHT 18
// ----------------------------------------------------------------------------
#include "wx/hashmap.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxListCtrlStyle )
-
-wxBEGIN_FLAGS( wxListCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLC_LIST)
- wxFLAGS_MEMBER(wxLC_REPORT)
- wxFLAGS_MEMBER(wxLC_ICON)
- wxFLAGS_MEMBER(wxLC_SMALL_ICON)
- wxFLAGS_MEMBER(wxLC_ALIGN_TOP)
- wxFLAGS_MEMBER(wxLC_ALIGN_LEFT)
- wxFLAGS_MEMBER(wxLC_AUTOARRANGE)
- wxFLAGS_MEMBER(wxLC_USER_TEXT)
- wxFLAGS_MEMBER(wxLC_EDIT_LABELS)
- wxFLAGS_MEMBER(wxLC_NO_HEADER)
- wxFLAGS_MEMBER(wxLC_SINGLE_SEL)
- wxFLAGS_MEMBER(wxLC_SORT_ASCENDING)
- wxFLAGS_MEMBER(wxLC_SORT_DESCENDING)
- wxFLAGS_MEMBER(wxLC_VIRTUAL)
-
-wxEND_FLAGS( wxListCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl,"wx/listctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxListCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
-
- wxPROPERTY_FLAGS( WindowStyle , wxListCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxListCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_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 (a la NotebookPageInfo)
-*/
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
-#endif
-
-IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
-IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
-
-IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
-
WX_DECLARE_HASH_MAP( int, wxListItem*, wxIntegerHash, wxIntegerEqual, wxListItemList );
#include "wx/listimpl.cpp"
#include "wx/dcclient.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
/*
* wxStaticBitmap
*/
#include "wx/statbox.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
-
bool wxStaticLine::Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos,
#include "wx/checkbox.h"
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
// Single check box item
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
wxChoice::~wxChoice()
{
if ( HasClientObjectData() )
// work in progress
+@interface wxNSTableDataSource : NSObject wxOSX_10_6_AND_LATER(<NSComboBoxDataSource>)
+{
+ wxNSComboBoxControl* impl;
+}
+
+- (NSInteger)numberOfItemsInComboBox:(NSComboBox *)aComboBox;
+- (id)comboBox:(NSComboBox *)aComboBox objectValueForItemAtIndex:(NSInteger)index;
+
+@end
+
+
@interface wxNSComboBox : NSComboBox
{
}
// work in progress
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
wxComboBox::~wxComboBox()
{
}
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
-
#if wxOSX_USE_COCOA_OR_CARBON
wxColour::wxColour(const RGBColor& col)
{
s_openDialogs--;
}
-
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
-
void wxDialog::Init()
{
m_modality = wxDIALOG_MODALITY_NONE;
#include "wx/gauge.h"
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
#include "wx/osx/private.h"
bool wxGauge::Create( wxWindow *parent,
#include "wx/dcclient.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
BEGIN_EVENT_TABLE(wxListBox, wxControl)
END_EVENT_TABLE()
#include "wx/radiobut.h"
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
-
bool wxRadioButton::Create( wxWindow *parent,
wxWindowID id,
const wxString& label,
#if wxUSE_SCROLLBAR
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-
BEGIN_EVENT_TABLE(wxScrollBar, wxControl)
END_EVENT_TABLE()
#include "wx/slider.h"
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-
BEGIN_EVENT_TABLE(wxSlider, wxControl)
END_EVENT_TABLE()
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent)
-
-
wxSpinButton::wxSpinButton()
: wxSpinButtonBase()
{
EVT_SPIN(wxID_ANY, wxSpinCtrlButton::OnSpinButton)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl)
-
BEGIN_EVENT_TABLE(wxSpinCtrl, wxControl)
WX_EVENT_TABLE_CONTROL_CONTAINER(wxSpinCtrl)
END_EVENT_TABLE()
#include "wx/statbox.h"
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
bool wxStaticBox::Create( wxWindow *parent,
wxWindowID id,
const wxString& label,
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
#include <stdio.h>
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-
bool wxStaticText::Create( wxWindow *parent,
wxWindowID id,
#include "wx/osx/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
EVT_CHAR(wxTextCtrl::OnChar)
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowMac, wxWindowBase)
-#else
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
#endif
BEGIN_EVENT_TABLE(wxWindowMac, wxWindowBase)
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-
-WX_DEFINE_FLAGS( wxBitmapButtonStyle )
-
-wxBEGIN_FLAGS( wxBitmapButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxBU_AUTODRAW)
- wxFLAGS_MEMBER(wxBU_LEFT)
- wxFLAGS_MEMBER(wxBU_RIGHT)
- wxFLAGS_MEMBER(wxBU_TOP)
- wxFLAGS_MEMBER(wxBU_BOTTOM)
-wxEND_FLAGS( wxBitmapButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxBitmapButton, wxButton,"wx/bmpbuttn.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxBitmapButton)
- wxPROPERTY_FLAGS( WindowStyle , wxBitmapButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxBitmapButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxBitmapButton , wxWindow* , Parent , wxWindowID , Id , wxBitmap , Bitmap , wxPoint , Position , wxSize , Size )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-#endif
-
#define BUTTON_HEIGHT_FACTOR (EDIT_CONTROL_FACTOR * 1.1)
bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id,
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-
-WX_DEFINE_FLAGS( wxButtonStyle )
-
-wxBEGIN_FLAGS( wxButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxBU_LEFT)
- wxFLAGS_MEMBER(wxBU_RIGHT)
- wxFLAGS_MEMBER(wxBU_TOP)
- wxFLAGS_MEMBER(wxBU_BOTTOM)
- wxFLAGS_MEMBER(wxBU_EXACTFIT)
-wxEND_FLAGS( wxButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxButton, wxControl,"wx/button.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxButton)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEvent)
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label, wxString , SetLabel, GetLabel, wxString(), 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
-
- wxPROPERTY_FLAGS( WindowStyle , wxButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxButton , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-#endif
-
// this macro tries to adjust the default button height to a reasonable value
// using the char height as the base
#define BUTTON_HEIGHT_FROM_CHAR_HEIGHT(cy) (11*EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy)/10)
// implementation
// ============================================================================
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxCheckBoxStyle )
-
-wxBEGIN_FLAGS( wxCheckBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxNO_BORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxNO_FULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxCheckBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxCheckBox, wxControl,"wx/checkbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxCheckBox)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Value ,bool, SetValue, GetValue, EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxCheckBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxCheckBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxCheckBox , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-#endif
-
-
// ----------------------------------------------------------------------------
// wxCheckBox
// ----------------------------------------------------------------------------
#include "wx/settings.h"
#endif
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxChoiceStyle )
-
-wxBEGIN_FLAGS( wxChoiceStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxChoiceStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxChoice, wxControl,"wx/choice.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxChoice)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_CHOICE_SELECTED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxChoiceStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxChoice)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_4( wxChoice , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxComboBoxStyle )
-
-wxBEGIN_FLAGS( wxComboBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxCB_SIMPLE)
- wxFLAGS_MEMBER(wxCB_SORT)
- wxFLAGS_MEMBER(wxCB_READONLY)
- wxFLAGS_MEMBER(wxCB_DROPDOWN)
-
-wxEND_FLAGS( wxComboBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxComboBox, wxControl,"wx/combobox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxComboBox)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_COMBOBOX_SELECTED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- // TODO DELEGATES
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Value ,wxString, SetValue, GetValue, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxComboBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxComboBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxComboBox , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-#endif
-
// ----------------------------------------------------------------------------
// function prototypes
// ----------------------------------------------------------------------------
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxDialogStyle )
-
-wxBEGIN_FLAGS( wxDialogStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxNO_BORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
-
- // dialog styles
- wxFLAGS_MEMBER(wxWS_EX_VALIDATE_RECURSIVELY)
- wxFLAGS_MEMBER(wxSTAY_ON_TOP)
- wxFLAGS_MEMBER(wxCAPTION)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxTHICK_FRAME)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxSYSTEM_MENU)
- wxFLAGS_MEMBER(wxRESIZE_BORDER)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxRESIZE_BOX)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxCLOSE_BOX)
- wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
- wxFLAGS_MEMBER(wxMINIMIZE_BOX)
-wxEND_FLAGS( wxDialogStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxDialog, wxTopLevelWindow,"wx/dialog.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxDialog)
- wxPROPERTY( Title, wxString, SetTitle, GetTitle, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxDialogStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxDialog)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxDialog , wxWindow* , Parent , wxWindowID , Id , wxString , Title , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxDialog, wxTopLevelWindow)
-#endif
-
// ----------------------------------------------------------------------------
// wxDialogModalData
// ----------------------------------------------------------------------------
EVT_PAINT(wxFrame::OnPaint)
END_EVENT_TABLE()
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxFrameStyle )
-
-wxBEGIN_FLAGS( wxFrameStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- // frame styles
- wxFLAGS_MEMBER(wxSTAY_ON_TOP)
- wxFLAGS_MEMBER(wxCAPTION)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxTHICK_FRAME)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxSYSTEM_MENU)
- wxFLAGS_MEMBER(wxRESIZE_BORDER)
-#if WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxRESIZE_BOX)
-#endif // WXWIN_COMPATIBILITY_2_6
- wxFLAGS_MEMBER(wxCLOSE_BOX)
- wxFLAGS_MEMBER(wxMAXIMIZE_BOX)
- wxFLAGS_MEMBER(wxMINIMIZE_BOX)
-
- wxFLAGS_MEMBER(wxFRAME_TOOL_WINDOW)
- wxFLAGS_MEMBER(wxFRAME_FLOAT_ON_PARENT)
-
- wxFLAGS_MEMBER(wxFRAME_SHAPED)
-
-wxEND_FLAGS( wxFrameStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxFrame, wxTopLevelWindow,"wx/frame.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxFrame)
- wxEVENT_PROPERTY( Menu , wxEVT_COMMAND_MENU_SELECTED , wxCommandEvent)
-
- wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxFrameStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
- wxPROPERTY( MenuBar , wxMenuBar * , SetMenuBar , GetMenuBar , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxFrame)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxFrame , wxWindow* , Parent , wxWindowID , Id , wxString , Title , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxGaugeStyle )
-
-wxBEGIN_FLAGS( wxGaugeStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxGA_HORIZONTAL)
- wxFLAGS_MEMBER(wxGA_VERTICAL)
- wxFLAGS_MEMBER(wxGA_SMOOTH)
-
-wxEND_FLAGS( wxGaugeStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxGauge, wxControl,"wx/gauge.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxGauge)
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Range , int , SetRange, GetRange, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ShadowWidth , int , SetShadowWidth, GetShadowWidth, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( BezelFace , int , SetBezelFace, GetBezelFace, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxGaugeStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxGauge)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxGauge , wxWindow* , Parent , wxWindowID , Id , int , Range , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-#endif
-
// ============================================================================
// wxGauge implementation
// ============================================================================
#include "wx/ownerdrw.h"
#endif
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxListBoxStyle )
-
-wxBEGIN_FLAGS( wxListBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLB_SINGLE)
- wxFLAGS_MEMBER(wxLB_MULTIPLE)
- wxFLAGS_MEMBER(wxLB_EXTENDED)
- wxFLAGS_MEMBER(wxLB_HSCROLL)
- wxFLAGS_MEMBER(wxLB_ALWAYS_SB)
- wxFLAGS_MEMBER(wxLB_NEEDED_SB)
- wxFLAGS_MEMBER(wxLB_SORT)
-
-wxEND_FLAGS( wxListBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxListBox, wxControl,"wx/listbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxListBox)
- wxEVENT_PROPERTY( Select , wxEVT_COMMAND_LISTBOX_SELECTED , wxCommandEvent )
- wxEVENT_PROPERTY( DoubleClick , wxEVT_COMMAND_LISTBOX_DOUBLECLICKED , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Selection ,int, SetSelection, GetSelection, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY_FLAGS( WindowStyle , wxListBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxListBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_4( wxListBox , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-#endif
-
// ============================================================================
// list box item declaration and implementation
// ============================================================================
#include "wx/imaglist.h"
#include "wx/listctrl.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxListCtrlStyle )
-
-wxBEGIN_FLAGS( wxListCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLC_LIST)
- wxFLAGS_MEMBER(wxLC_REPORT)
- wxFLAGS_MEMBER(wxLC_ICON)
- wxFLAGS_MEMBER(wxLC_SMALL_ICON)
- wxFLAGS_MEMBER(wxLC_ALIGN_TOP)
- wxFLAGS_MEMBER(wxLC_ALIGN_LEFT)
- wxFLAGS_MEMBER(wxLC_AUTOARRANGE)
- wxFLAGS_MEMBER(wxLC_USER_TEXT)
- wxFLAGS_MEMBER(wxLC_EDIT_LABELS)
- wxFLAGS_MEMBER(wxLC_NO_HEADER)
- wxFLAGS_MEMBER(wxLC_SINGLE_SEL)
- wxFLAGS_MEMBER(wxLC_SORT_ASCENDING)
- wxFLAGS_MEMBER(wxLC_SORT_DESCENDING)
- wxFLAGS_MEMBER(wxLC_VIRTUAL)
-
-wxEND_FLAGS( wxListCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl,"wx/listctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxListCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
-
- wxPROPERTY_FLAGS( WindowStyle , wxListCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxListCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_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 (à la NotebookPageInfo)
-*/
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxListCtrl, wxControl)
-#endif
-
-IMPLEMENT_DYNAMIC_CLASS(wxListView, wxListCtrl)
-IMPLEMENT_DYNAMIC_CLASS(wxListItem, wxObject)
-
-IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
-
BEGIN_EVENT_TABLE(wxListCtrl, wxControl)
EVT_PAINT(wxListCtrl::OnPaint)
END_EVENT_TABLE()
// wxRadioButton creation
// ----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxRadioButtonStyle )
-
-wxBEGIN_FLAGS( wxRadioButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxRB_GROUP)
-
-wxEND_FLAGS( wxRadioButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxRadioButton, wxControl,"wx/radiobut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxRadioButton)
- wxEVENT_PROPERTY( Click , wxEVT_COMMAND_RADIOBUTTON_SELECTED , wxCommandEvent )
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString(), 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Value ,bool, SetValue, GetValue, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY_FLAGS( WindowStyle , wxRadioButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxRadioButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxRadioButton , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-#endif
-
-
void wxRadioButton::Init()
{
m_radioStyle = pushButtonCtl;
#include "wx/palmos/private.h"
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxScrollBarStyle )
-
-wxBEGIN_FLAGS( wxScrollBarStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSB_HORIZONTAL)
- wxFLAGS_MEMBER(wxSB_VERTICAL)
-
-wxEND_FLAGS( wxScrollBarStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxScrollBar, wxControl,"wx/scrolbar.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxScrollBar)
- wxEVENT_RANGE_PROPERTY( Scroll , wxEVT_SCROLL_TOP , wxEVT_SCROLL_ENDSCROLL , wxScrollEvent )
-
- wxPROPERTY( ThumbPosition , int , SetThumbPosition, GetThumbPosition, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Range , int , SetRange, GetRange, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ThumbSize , int , SetThumbSize, GetThumbSize, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( PageSize , int , SetPageSize, GetPageSize, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxScrollBarStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxScrollBar)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxScrollBar , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-#endif
-
// Scrollbar
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos,
#include <Form.h>
#include <Control.h>
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSliderStyle )
-
-wxBEGIN_FLAGS( wxSliderStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSL_HORIZONTAL)
- wxFLAGS_MEMBER(wxSL_VERTICAL)
- wxFLAGS_MEMBER(wxSL_AUTOTICKS)
- wxFLAGS_MEMBER(wxSL_LABELS)
- wxFLAGS_MEMBER(wxSL_LEFT)
- wxFLAGS_MEMBER(wxSL_TOP)
- wxFLAGS_MEMBER(wxSL_RIGHT)
- wxFLAGS_MEMBER(wxSL_BOTTOM)
- wxFLAGS_MEMBER(wxSL_BOTH)
- wxFLAGS_MEMBER(wxSL_SELRANGE)
-
-wxEND_FLAGS( wxSliderStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSlider, wxControl,"wx/slider.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSlider)
- wxEVENT_RANGE_PROPERTY( Scroll , wxEVT_SCROLL_TOP , wxEVT_SCROLL_ENDSCROLL , wxScrollEvent )
- wxEVENT_PROPERTY( Updated , wxEVT_COMMAND_SLIDER_UPDATED , wxCommandEvent )
-
- wxPROPERTY( Value , int , SetValue, GetValue , 0, 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Minimum , int , SetMin, GetMin, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Maximum , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( PageSize , int , SetPageSize, GetLineSize, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( LineSize , int , SetLineSize, GetLineSize, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( ThumbLength , int , SetThumbLength, GetThumbLength, 1 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSliderStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSlider)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_8( wxSlider , wxWindow* , Parent , wxWindowID , Id , int , Value , int , Minimum , int , Maximum , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-#endif
-
// Slider
void wxSlider::Init()
{
#include "wx/app.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-
// ============================================================================
// implementation
// ============================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSpinButtonStyle )
-
-wxBEGIN_FLAGS( wxSpinButtonStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSP_HORIZONTAL)
- wxFLAGS_MEMBER(wxSP_VERTICAL)
- wxFLAGS_MEMBER(wxSP_ARROW_KEYS)
- wxFLAGS_MEMBER(wxSP_WRAP)
-
-wxEND_FLAGS( wxSpinButtonStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinButton, wxControl,"wx/spinbut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSpinButton)
- wxEVENT_RANGE_PROPERTY( Spin , wxEVT_SCROLL_TOP , wxEVT_SCROLL_ENDSCROLL , wxSpinEvent )
-
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Min , int , SetMin, GetMin, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Max , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSpinButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSpinButton)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxSpinButton , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-#endif
-
-
-
// ----------------------------------------------------------------------------
// wxSpinButton
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxSpinCtrlStyle )
-
-wxBEGIN_FLAGS( wxSpinCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxSP_HORIZONTAL)
- wxFLAGS_MEMBER(wxSP_VERTICAL)
- wxFLAGS_MEMBER(wxSP_ARROW_KEYS)
- wxFLAGS_MEMBER(wxSP_WRAP)
-
-wxEND_FLAGS( wxSpinCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinCtrl, wxControl,"wx/spinbut.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxSpinCtrl)
- wxEVENT_RANGE_PROPERTY( Spin , wxEVT_SCROLL_TOP , wxEVT_SCROLL_ENDSCROLL , wxSpinEvent )
- wxEVENT_PROPERTY( Updated , wxEVT_COMMAND_SPINCTRL_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- wxPROPERTY( ValueString , wxString , SetValue , GetValue , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) ;
- wxPROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Min , int , SetMin, GetMin, 0, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Max , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxSpinCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-/*
- TODO PROPERTIES
- style wxSP_ARROW_KEYS
-*/
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxSpinCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxSpinCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , ValueString , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl)
-#endif
-
BEGIN_EVENT_TABLE(wxSpinCtrl, wxSpinButton)
EVT_CHAR(wxSpinCtrl::OnChar)
// macors
// ---------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticBitmapStyle )
-
-wxBEGIN_FLAGS( wxStaticBitmapStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxStaticBitmapStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticBitmap, wxControl,"wx/statbmp.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticBitmap)
- wxPROPERTY_FLAGS( WindowStyle , wxStaticBitmapStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticBitmap)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxStaticBitmap, wxWindow* , Parent , wxWindowID , Id , wxBitmap, Bitmap, wxPoint , Position , wxSize , Size )
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-#endif
-
-/*
- TODO PROPERTIES :
- bitmap
-*/
-
// ===========================================================================
// implementation
// ===========================================================================
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticBoxStyle )
-
-wxBEGIN_FLAGS( wxStaticBoxStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxStaticBoxStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticBox, wxControl,"wx/statbox.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticBox)
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxStaticBoxStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-/*
- TODO PROPERTIES :
- label
-*/
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticBox)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxStaticBox , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-#endif
-
// ============================================================================
// implementation
// ============================================================================
// implementation
// ============================================================================
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticLineStyle )
-
-wxBEGIN_FLAGS( wxStaticLineStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxLI_HORIZONTAL)
- wxFLAGS_MEMBER(wxLI_VERTICAL)
-
-wxEND_FLAGS( wxStaticLineStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticLine, wxControl,"wx/statline.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticLine)
- wxPROPERTY_FLAGS( WindowStyle , wxStaticLineStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticLine)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxStaticLine, wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle)
-
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-#endif
-
-/*
- TODO PROPERTIES :
- style (wxLI_HORIZONTAL)
-*/
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
#include <Field.h>
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxStaticTextStyle )
-
-wxBEGIN_FLAGS( wxStaticTextStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxST_NO_AUTORESIZE)
- wxFLAGS_MEMBER(wxALIGN_LEFT)
- wxFLAGS_MEMBER(wxALIGN_RIGHT)
- wxFLAGS_MEMBER(wxALIGN_CENTRE)
-
-wxEND_FLAGS( wxStaticTextStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticText, wxControl,"wx/stattext.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxStaticText)
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxStaticTextStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxStaticText)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxStaticText , wxWindow* , Parent , wxWindowID , Id , wxString , Label , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
-#endif
-
bool wxStaticText::Create(wxWindow *parent,
wxWindowID id,
const wxString& label,
// event tables and other macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxTextCtrlStyle )
-
-wxBEGIN_FLAGS( wxTextCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxTE_PROCESS_ENTER)
- wxFLAGS_MEMBER(wxTE_PROCESS_TAB)
- wxFLAGS_MEMBER(wxTE_MULTILINE)
- wxFLAGS_MEMBER(wxTE_PASSWORD)
- wxFLAGS_MEMBER(wxTE_READONLY)
- wxFLAGS_MEMBER(wxHSCROLL)
- wxFLAGS_MEMBER(wxTE_RICH)
- wxFLAGS_MEMBER(wxTE_RICH2)
- wxFLAGS_MEMBER(wxTE_AUTO_URL)
- wxFLAGS_MEMBER(wxTE_NOHIDESEL)
- wxFLAGS_MEMBER(wxTE_LEFT)
- wxFLAGS_MEMBER(wxTE_CENTRE)
- wxFLAGS_MEMBER(wxTE_RIGHT)
- wxFLAGS_MEMBER(wxTE_DONTWRAP)
- wxFLAGS_MEMBER(wxTE_CHARWRAP)
- wxFLAGS_MEMBER(wxTE_WORDWRAP)
-
-wxEND_FLAGS( wxTextCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxTextCtrl, wxControl,"wx/textctrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxTextCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_PROPERTY( TextEnter , wxEVT_COMMAND_TEXT_ENTER , wxCommandEvent )
-
- wxPROPERTY( Font , wxFont , SetFont , GetFont , EMPTY_MACROVALUE, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Value , wxString , SetValue, GetValue, wxString() , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY_FLAGS( WindowStyle , wxTextCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxTextCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_6( wxTextCtrl , wxWindow* , Parent , wxWindowID , Id , wxString , Value , wxPoint , Position , wxSize , Size , long , WindowStyle)
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-#endif
-
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_CHAR(wxTextCtrl::OnChar)
EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
// wxWin macros
// ----------------------------------------------------------------------------
-#if wxUSE_EXTENDED_RTTI
-WX_DEFINE_FLAGS( wxTreeCtrlStyle )
-
-wxBEGIN_FLAGS( wxTreeCtrlStyle )
- // new style border flags, we put them first to
- // use them for streaming out
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
- wxFLAGS_MEMBER(wxTR_EDIT_LABELS)
- wxFLAGS_MEMBER(wxTR_NO_BUTTONS)
- wxFLAGS_MEMBER(wxTR_HAS_BUTTONS)
- wxFLAGS_MEMBER(wxTR_TWIST_BUTTONS)
- wxFLAGS_MEMBER(wxTR_NO_LINES)
- wxFLAGS_MEMBER(wxTR_FULL_ROW_HIGHLIGHT)
- wxFLAGS_MEMBER(wxTR_LINES_AT_ROOT)
- wxFLAGS_MEMBER(wxTR_HIDE_ROOT)
- wxFLAGS_MEMBER(wxTR_ROW_LINES)
- wxFLAGS_MEMBER(wxTR_HAS_VARIABLE_ROW_HEIGHT)
- wxFLAGS_MEMBER(wxTR_SINGLE)
- wxFLAGS_MEMBER(wxTR_MULTIPLE)
- wxFLAGS_MEMBER(wxTR_EXTENDED)
- wxFLAGS_MEMBER(wxTR_DEFAULT_STYLE)
-
-wxEND_FLAGS( wxTreeCtrlStyle )
-
-IMPLEMENT_DYNAMIC_CLASS_XTI(wxTreeCtrl, wxControl,"wx/treectrl.h")
-
-wxBEGIN_PROPERTIES_TABLE(wxTreeCtrl)
- wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
- wxEVENT_RANGE_PROPERTY( TreeEvent , wxEVT_COMMAND_TREE_BEGIN_DRAG , wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK , wxTreeEvent )
- wxPROPERTY_FLAGS( WindowStyle , wxTreeCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxTreeCtrl)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_5( wxTreeCtrl , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
-#else
-IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrl, wxControl)
-#endif
-
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
// method
#ifdef __WXUNIVERSAL__
IMPLEMENT_ABSTRACT_CLASS(wxWindowPalm, wxWindowBase)
-#else // __WXPalm__
-#if wxUSE_EXTENDED_RTTI
-
-// windows that are created from a parent window during its Create method, eg. spin controls in a calendar controls
-// must never been streamed out separately otherwise chaos occurs. Right now easiest is to test for negative ids, as
-// windows with negative ids never can be recreated anyway
-
-bool wxWindowStreamingCallback( const wxObject *object, wxWriter * , wxPersister * , wxxVariantArray & )
-{
- return false;
-}
-
-IMPLEMENT_DYNAMIC_CLASS_XTI_CALLBACK(wxWindow, wxWindowBase,"wx/window.h", wxWindowStreamingCallback)
-
-// make wxWindowList known before the property is used
-
-wxCOLLECTION_TYPE_INFO( wxWindow* , wxWindowList ) ;
-
-template<> void wxCollectionToVariantArray( wxWindowList const &theList, wxxVariantArray &value)
-{
- wxListCollectionToVariantArray<wxWindowList::compatibility_iterator>( theList , value ) ;
-}
-
-WX_DEFINE_FLAGS( wxWindowStyle )
-
-wxBEGIN_FLAGS( wxWindowStyle )
- // new style border flags, we put them first to
- // use them for streaming out
-
- wxFLAGS_MEMBER(wxBORDER_SIMPLE)
- wxFLAGS_MEMBER(wxBORDER_SUNKEN)
- wxFLAGS_MEMBER(wxBORDER_DOUBLE)
- wxFLAGS_MEMBER(wxBORDER_RAISED)
- wxFLAGS_MEMBER(wxBORDER_STATIC)
- wxFLAGS_MEMBER(wxBORDER_NONE)
-
- // old style border flags
- wxFLAGS_MEMBER(wxSIMPLE_BORDER)
- wxFLAGS_MEMBER(wxSUNKEN_BORDER)
- wxFLAGS_MEMBER(wxDOUBLE_BORDER)
- wxFLAGS_MEMBER(wxRAISED_BORDER)
- wxFLAGS_MEMBER(wxSTATIC_BORDER)
- wxFLAGS_MEMBER(wxBORDER)
-
- // standard window styles
- wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
- wxFLAGS_MEMBER(wxCLIP_CHILDREN)
- wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
- wxFLAGS_MEMBER(wxWANTS_CHARS)
- wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
- wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
- wxFLAGS_MEMBER(wxVSCROLL)
- wxFLAGS_MEMBER(wxHSCROLL)
-
-wxEND_FLAGS( wxWindowStyle )
-
-wxBEGIN_PROPERTIES_TABLE(wxWindow)
- wxEVENT_PROPERTY( Close , wxEVT_CLOSE_WINDOW , wxCloseEvent)
- wxEVENT_PROPERTY( Create , wxEVT_CREATE , wxWindowCreateEvent )
- wxEVENT_PROPERTY( Destroy , wxEVT_DESTROY , wxWindowDestroyEvent )
- // Always constructor Properties first
-
- wxREADONLY_PROPERTY( Parent,wxWindow*, GetParent, EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Id,wxWindowID, SetId, GetId, wxID_ANY, 0 /*flags*/ , wxT("Helpstring") , wxT("group") )
- wxPROPERTY( Position,wxPoint, SetPosition , GetPosition, wxDefaultPosition , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // pos
- wxPROPERTY( Size,wxSize, SetSize, GetSize, wxDefaultSize , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // size
- wxPROPERTY( WindowStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-
- // Then all relations of the object graph
-
- wxREADONLY_PROPERTY_COLLECTION( Children , wxWindowList , wxWindowBase* , GetWindowChildren , wxPROP_OBJECT_GRAPH /*flags*/ , wxT("Helpstring") , wxT("group"))
-
- // and finally all other properties
-
- wxPROPERTY( ExtraStyle , long , SetExtraStyle , GetExtraStyle , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // extstyle
- wxPROPERTY( BackgroundColour , wxColour , SetBackgroundColour , GetBackgroundColour , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // bg
- wxPROPERTY( ForegroundColour , wxColour , SetForegroundColour , GetForegroundColour , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // fg
- wxPROPERTY( Enabled , bool , Enable , IsEnabled , wxxVariant((bool)true) , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
- wxPROPERTY( Shown , bool , Show , IsShown , wxxVariant((bool)true) , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
-#if 0
- // possible property candidates (not in xrc) or not valid in all subclasses
- wxPROPERTY( Title,wxString, SetTitle, GetTitle, wxT("") )
- wxPROPERTY( Font , wxFont , SetFont , GetWindowFont , )
- wxPROPERTY( Label,wxString, SetLabel, GetLabel, wxT("") )
- // MaxHeight, Width , MinHeight , Width
- // TODO switch label to control and title to toplevels
-
- wxPROPERTY( ThemeEnabled , bool , SetThemeEnabled , GetThemeEnabled , )
- //wxPROPERTY( Cursor , wxCursor , SetCursor , GetCursor , )
- // wxPROPERTY( ToolTip , wxString , SetToolTip , GetToolTipText , )
- wxPROPERTY( AutoLayout , bool , SetAutoLayout , GetAutoLayout , )
-
-
-
-#endif
-wxEND_PROPERTIES_TABLE()
-
-wxBEGIN_HANDLERS_TABLE(wxWindow)
-wxEND_HANDLERS_TABLE()
-
-wxCONSTRUCTOR_DUMMY(wxWindow)
-
-#else
- IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase)
-#endif
-#endif // __WXUNIVERSAL__/__WXPalm__
+#endif // __WXUNIVERSAL__
BEGIN_EVENT_TABLE(wxWindowPalm, wxWindowBase)
EVT_ERASE_BACKGROUND(wxWindowPalm::OnEraseBackground)
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton, wxButton)
-
BEGIN_EVENT_TABLE(wxBitmapButton, wxButton)
EVT_SET_FOCUS(wxBitmapButton::OnSetFocus)
EVT_KILL_FOCUS(wxBitmapButton::OnKillFocus)
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxButton, wxControl)
-
// ----------------------------------------------------------------------------
// creation
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-
// ----------------------------------------------------------------------------
// wxCheckBox
// ----------------------------------------------------------------------------
#include "wx/arrstr.h"
#endif
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
BEGIN_EVENT_TABLE(wxChoice, wxComboBox)
EVT_COMBOBOX(wxID_ANY, wxChoice::OnComboBox)
END_EVENT_TABLE()
EVT_CLOSE (wxDialog::OnCloseWindow)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxDialog,wxTopLevelWindow)
-
void wxDialog::Init()
{
m_returnCode = 0;
EVT_SYS_COLOUR_CHANGED(wxFrame::OnSysColourChanged)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxFrame, wxTopLevelWindow)
-
// ----------------------------------------------------------------------------
// ctors
// ----------------------------------------------------------------------------
#include "wx/univ/renderer.h"
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
-
// ============================================================================
// implementation
// ============================================================================
// implementation of wxListBox
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControlWithItems)
-
BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase)
EVT_SIZE(wxListBox::OnSize)
END_EVENT_TABLE()
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
-
// ----------------------------------------------------------------------------
// wxRadioButton
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxScrollBar, wxControl)
-
BEGIN_EVENT_TABLE(wxScrollBar, wxScrollBarBase)
END_EVENT_TABLE()
// implementation of wxSlider
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxSlider, wxControl)
-
BEGIN_EVENT_TABLE(wxSlider, wxControl)
EVT_SIZE(wxSlider::OnSize)
END_EVENT_TABLE()
// implementation of wxSpinButton
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
-IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
-
// ----------------------------------------------------------------------------
// creation
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticBitmap
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticBox
// ----------------------------------------------------------------------------
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
// ----------------------------------------------------------------------------
// wxStaticLine
// ----------------------------------------------------------------------------
EVT_SIZE(wxTextCtrl::OnSize)
END_EVENT_TABLE()
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
// ----------------------------------------------------------------------------
// creation
// ----------------------------------------------------------------------------
#define SHIFT (8*(sizeof(short int)-sizeof(char)))
-IMPLEMENT_DYNAMIC_CLASS(wxColour,wxGDIObject)
-
wxColour::~wxColour()
{
}
// wxTextCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_PAINT(wxTextCtrl::OnPaint)
EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)