32int SendRoute(std::string dest_ip_address, std::string server_name, std::vector<Route*> route, std::vector<RoutePoint*> routepoint, std::vector<Track*> track,
bool overwrite =
false);
35 #define ID_PCDDIALOG 10005
36 #define SYMBOL_PCD_STYLE \
37 wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxCLOSE_BOX
39 #define SYMBOL_PCD_TITLE _("Send to GPS")
40 #define SYMBOL_PCD_IDNAME ID_PCDDIALOG
41 #define SYMBOL_PCD_SIZE wxSize(500, 500)
42 #define SYMBOL_PCD_POSITION wxDefaultPosition
44enum { ID_PCD_CANCEL = 10000, ID_PCD_OK, ID_PCD_CHECK1 };
54 const wxString& hint,
const wxPoint& pos,
const wxSize& size,
58 bool Create(wxWindow* parent, wxWindowID
id = SYMBOL_PCD_IDNAME,
59 const wxString& caption = SYMBOL_PCD_TITLE,
60 const wxString& hint = SYMBOL_PCD_TITLE,
61 const wxPoint& pos = SYMBOL_PCD_POSITION,
62 const wxSize& size = SYMBOL_PCD_SIZE,
63 long style = SYMBOL_PCD_STYLE);
64 void SetMessage(
const wxString &message);
65 void SetText1Message(
const wxString &message);
67 wxString GetText1Value(){
return m_pText1->GetValue(); }
69 void OnCancelClick(wxCommandEvent& event);
70 void OnOKClick(wxCommandEvent& event);
73 void CreateControls(
const wxString& hint);
76 wxButton* m_CancelButton;
78 wxStaticText* premtext;
80 wxString m_checkbox1_msg;