00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: textctrl_wizardpage.h,v 1.4 2002/09/10 18:07:56 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _TEXTCTRL_WIZARDPAGE_H_
00019 #define _TEXTCTRL_WIZARDPAGE_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "textctrl_wizardpage.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin feature removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 #if ( setupUSE_WIZARDS )
00040
00041 //----------------------------------------------------------------------------------------
00042 // Headers
00043 //----------------------------------------------------------------------------------------
00044
00045 #include "wx/wizard.h"
00046
00047 //----------------------------------------------------------------------------------------
00048 // Class definition: textctrl_wizardpage
00049 //----------------------------------------------------------------------------------------
00050
00052
00056 class textctrl_wizardpage : public wxWizardPageSimple
00057 {
00058 public:
00059
00061
00075 textctrl_wizardpage( wxWizard* parent,
00076 const wxArrayString message_string_array,
00077 const wxString& textctrl_label = wxEmptyString,
00078 const wxString& textctrl_value = wxEmptyString,
00079 bool entry_required = TRUE,
00080 wxBitmap bitmap = wxNullBitmap );
00081
00083 ~textctrl_wizardpage();
00084
00086
00089 wxString get_textctrl_value();
00090
00092
00095 wxTextCtrl* get_textctrl() const { return m_textctrl; }
00096
00097 private:
00098
00100
00104 void on_wizardpage_changing( wxWizardEvent& event );
00105
00106 wxTextCtrl* m_textctrl;
00107 bool m_entry_required;
00108
00109 DECLARE_EVENT_TABLE()
00110
00111 };
00112
00113 //----------------------------------------------------------------------------------------
00114 // End feature removal condition
00115 //----------------------------------------------------------------------------------------
00116
00117 #endif // setupUSE_WIZARDS
00118
00119 //----------------------------------------------------------------------------------------
00120 // End single inclusion of this .h file condition
00121 //----------------------------------------------------------------------------------------
00122
00123 #endif //_TEXTCTRL_WIZARDPAGE_H_