25#ifndef __SENDTOGPSDLG_H__
26#define __SENDTOGPSDLG_H__
36#define ID_STGDIALOG 10005
37#define SYMBOL_STG_STYLE \
38 wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX | \
39 wxFRAME_FLOAT_ON_PARENT
40#define SYMBOL_STG_TITLE _("Send to GPS")
41#define SYMBOL_STG_IDNAME ID_STGDIALOG
42#define SYMBOL_STG_SIZE wxSize(500, 500)
43#define SYMBOL_STG_POSITION wxDefaultPosition
45enum { ID_STG_CANCEL = 10000, ID_STG_OK, ID_STG_CHOICE_COMM };
62 SendToGpsDlg(wxWindow* parent, wxWindowID
id,
const wxString& caption,
63 const wxString& hint,
const wxPoint& pos,
const wxSize& size,
67 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_STG_IDNAME,
68 const wxString& caption = SYMBOL_STG_TITLE,
69 const wxString& hint = SYMBOL_STG_TITLE,
70 const wxPoint& pos = SYMBOL_STG_POSITION,
71 const wxSize& size = SYMBOL_STG_SIZE,
72 long style = SYMBOL_STG_STYLE);
73 void SetRoute(
Route* pRoute) { m_pRoute = pRoute; }
74 void SetWaypoint(
RoutePoint* pRoutePoint) { m_pRoutePoint = pRoutePoint; }
75 wxGauge* GetProgressGauge() {
return m_pgauge; }
76 void SetMessage(wxString message);
79 void CreateControls(
const wxString& hint);
81 void OnCancelClick(wxCommandEvent& event);
82 void OnSendClick(wxCommandEvent& event);
86 wxComboBox* m_itemCommListBox;
88 wxButton* m_CancelButton;
89 wxButton* m_SendButton;
90 wxStaticText* premtext;
Route "Send to GPS..." Dialog Definition.