X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c50f1fb9226d9260454ccb9c8a67d0be23c2827f..0530737d1e46ff91dec84f7854661799f2efa77b:/include/wx/generic/textdlgg.h diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index 5b0e013ccb..e95ab6dc2d 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -20,6 +20,8 @@ #include "wx/dialog.h" +class WXDLLEXPORT wxTextCtrl; + // Handy dialog functions (will be converted into classes at some point) WXDLLEXPORT_DATA(extern const wxChar*) wxGetTextFromUserPromptStr; WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; @@ -45,11 +47,16 @@ public: protected: wxTextCtrl *m_textctrl; wxString m_value; + int m_dialogStyle; private: DECLARE_EVENT_TABLE() }; +// ---------------------------------------------------------------------------- +// function to get a string from user +// ---------------------------------------------------------------------------- + wxString WXDLLEXPORT wxGetTextFromUser(const wxString& message, const wxString& caption = wxGetTextFromUserPromptStr,