8 #ifndef __ImportVegDlg_H__
9 #define __ImportVegDlg_H__
11 #include "VTBuilder_UI.h"
24 ImportVegDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
25 const wxPoint& pos = wxDefaultPosition,
26 const wxSize& size = wxDefaultSize,
27 long style = wxDEFAULT_DIALOG_STYLE );
30 void SetShapefileName(
const wxString &filename);
34 VegImportFieldType m_datatype;
35 wxComboBox *m_pcbField;
36 wxRadioButton *m_pDensity, *m_pBiotype1, *m_pBiotype2;
40 wxRadioButton* GetDensity() {
return (wxRadioButton*) FindWindow( ID_DENSITY ); }
41 wxRadioButton* GetBiotype2() {
return (wxRadioButton*) FindWindow( ID_BIOTYPE2 ); }
42 wxRadioButton* GetBiotype1() {
return (wxRadioButton*) FindWindow( ID_BIOTYPE1 ); }
43 wxComboBox* GetField() {
return (wxComboBox*) FindWindow( ID_FIELD ); }
47 void OnInitDialog(wxInitDialogEvent&
event);
51 void OnOK( wxCommandEvent &event );
57 #endif // __ImportVegDlg_H__