#ifndef WXSNEWWINDOWDLG_H #define WXSNEWWINDOWDLG_H //(*Headers(wxsNewWindowDlg) #include #include #include #include #include #include #include #include //*) #include "resources/wxswindowres.h" class wxsNewWindowDlg : public wxDialog { public: wxsNewWindowDlg(wxWindow* parent,const wxString& ResType); virtual ~wxsNewWindowDlg(); //(*Identifiers(wxsNewWindowDlg) //*) protected: //(*Handlers(wxsNewWindowDlg) void OnCreate(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); void OnClassChanged(wxCommandEvent& event); void OnSourceChanged(wxCommandEvent& event); void OnHeaderChanged(wxCommandEvent& evend); void OnUseXrcChange(wxCommandEvent& event); void OnXrcChanged(wxCommandEvent& event); //*) //(*Declarations(wxsNewWindowDlg) wxTextCtrl* Class; wxTextCtrl* Header; wxTextCtrl* Source; wxCheckBox* UseXrc; wxTextCtrl* Xrc; //*) virtual bool PrepareResource(wxsWindowRes* Res) { return true; } private: bool SourceNotTouched; bool HeaderNotTouched; bool XrcNotTouched; bool BlockText; wxString Type; DECLARE_EVENT_TABLE() }; #endif // WXSNEWDIALOGDLG_H