1 #ifndef BINDTONEWTYPE_H 2 #define BINDTONEWTYPE_H 3 4 //(*Headers(BindtoNewType) 5 #include <wx/sizer.h> 6 #include <wx/stattext.h> 7 #include <wx/textctrl.h> 8 #include <wx/dialog.h> 9 //*) 10 11 class BindtoNewType: public wxDialog 12 { 13 public: 14 15 BindtoNewType(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize); 16 virtual ~BindtoNewType(); 17 18 //(*Declarations(BindtoNewType) 19 wxTextCtrl* tc_Fortran; 20 wxTextCtrl* tc_C; 21 wxTextCtrl* tc_BindC; 22 //*) 23 void SetEditType(const wxString& ft, const wxString& bt, const wxString& ct); 24 wxString GetFortranType(); 25 wxString GetBindCType(); 26 wxString GetCType(); 27 28 protected: 29 30 //(*Identifiers(BindtoNewType) 31 static const long ID_TEXTCTRL1; 32 static const long ID_TEXTCTRL2; 33 static const long ID_TEXTCTRL3; 34 //*) 35 36 private: 37 38 //(*Handlers(BindtoNewType) 39 //*) 40 void OnOK(wxCommandEvent& event); 41 42 DECLARE_EVENT_TABLE() 43 }; 44 45 #endif 46