8 #ifndef __VehicleDlg_H__
9 #define __VehicleDlg_H__
11 #include "wx/colourdata.h"
14 #include "../PlantingOptions.h"
26 VehicleDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
27 const wxPoint& pos = wxDefaultPosition,
28 const wxSize& size = wxDefaultSize,
29 long style = wxDEFAULT_DIALOG_STYLE );
31 void UpdateColorControl();
32 void UpdateEnabling();
39 wxButton* GetSetColor() {
return (wxButton*) FindWindow( ID_SET_VEHICLE_COLOR ); }
40 wxStaticBitmap* GetColor() {
return (wxStaticBitmap*) FindWindow( ID_COLOR3 ); }
41 wxChoice* GetChoice() {
return (wxChoice*) FindWindow( ID_CHOICE_VEHICLES ); }
45 wxColourData m_ColorData;
49 void OnChoiceVehicle( wxCommandEvent &
event );
50 void OnSetColor( wxCommandEvent &event );
51 void OnInitDialog(wxInitDialogEvent& event);
57 #endif // __VehicleDlg_H__