8 #ifndef __ExtentDlg_H__
9 #define __ExtentDlg_H__
11 #include "VTBuilder_UI.h"
24 ExtentDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
25 const wxPoint& pos = wxDefaultPosition,
26 const wxSize& size = wxDefaultSize,
27 long style = wxDEFAULT_DIALOG_STYLE );
30 wxCheckBox* GetDMS() {
return (wxCheckBox*) FindWindow( ID_DMS ); }
31 void SetArea(
DRECT area,
bool bMeters);
32 void FormatExtent(wxString &str,
double value);
33 double GetValueFrom(
const wxString &str);
52 void OnExtentAll( wxCommandEvent &
event );
53 void OnExtentS( wxCommandEvent &event );
54 void OnExtentE( wxCommandEvent &event );
55 void OnExtentW( wxCommandEvent &event );
56 void OnExtentN( wxCommandEvent &event );
57 void OnDMS( wxCommandEvent &event );
59 void FormatStrings(
int which);
60 void OnInitDialog(wxInitDialogEvent& event);
66 #endif // __ExtentDlg_H__