This class represents the font chooser dialog.
wxFontDialog is available under Motif and Windows. Under XView there seem to be some problems, probably related to modal dialogs.
wxFontDialog::wxFontDialog
wxFontDialog::~wxFontDialog
wxFontDialog::GetFontData
wxFontDialog::Show
void wxFontDialog(wxWindow *parent, wxFontData *data = NULL)
Constructor. Pass a parent window, and optionally a pointer to a block of font data, which will be copied to the font dialog's font data.
void ~wxFontDialog(void)
Destructor.
wxFontData& GetFontData(void)
Returns the font data associated with the font dialog.
Bool Show(Bool flag)
Shows the dialog, returning TRUE if the user pressed Ok, and FALSE otherwise.
If the user cancels the dialog (Show returns FALSE), no font will be created. If the user presses OK (Show returns TRUE), a new wxFont will be created and stored in the font dialog's wxFontData structure. Retrieve and delete this font if you do not wish to use it. Otherwise, retrieve and use it.