#include <wxRefinableObj.h>
Inheritance diagram for ObjCryst::WXFieldOption::
Public Methods | |
WXFieldOption (wxWindow *parent, const int field_id, RefObjOpt *option) | |
virtual | ~WXFieldOption () |
void | OnUpdateUI (wxUpdateUIEvent &WXUNUSED(event)) |
void | OnChoice (wxCommandEvent &WXUNUSED(event)) |
When a new value is entered. The Field reads the new value, then forwards the event to its owner, who will take care of anything that must be done. | |
virtual void | CrystUpdate () |
Update the display, by getting new values from the object. New values should be grabbed from the object, and then a wxUpdateUI event should be posted (this for multi-thread, since only one thread should do graphical changes). | |
void | Revert () |
After a user entry, this allows to go back to the last value, if for some reason the entry was rejected (because the object is currently busy, ...). | |
Protected Attributes | |
int | mChoice |
int | mChoiceOld |
RefObjOpt * | mpOption |
wxChoice * | mpList |