wxPg::wxComboCtrl_updater Class Reference

Updater for wxComboCtrl. More...

Inheritance diagram for wxPg::wxComboCtrl_updater:

wxPg::wxWindow_def_updater wxPg::wxWindow_updater

List of all members.

Public Member Functions

 wxComboCtrl_updater (wxComboCtrl *combo, const wxString &field)
 Constructor.
virtual void operator() (Data_row_provider *data)
 Update control.
virtual void operator() (Updatable_row *row)
 Store value to field.


Detailed Description

Updater for wxComboCtrl.


Constructor & Destructor Documentation

wxPg::wxComboCtrl_updater::wxComboCtrl_updater ( wxComboCtrl *  combo,
const wxString &  field 
)

Constructor.

Parameters:
combo - wxComboCtrl to be updated.
field - database field name.


Member Function Documentation

virtual void wxPg::wxComboCtrl_updater::operator() ( Updatable_row row  )  [virtual]

Store value to field.

Override this method in derived class to provide update functionality.

Parameters:
row - updatable row, containing field to update.

Reimplemented from wxPg::wxWindow_updater.

virtual void wxPg::wxComboCtrl_updater::operator() ( Data_row_provider data  )  [virtual]

Update control.

This method should be overrided in derived class.

Parameters:
win - wxWindow to be updated.
data - row to obtain value from.

Implements wxPg::wxWindow_updater.


Generated on Wed Oct 7 23:14:39 2009 for wxPostgres by  doxygen 1.5.8