X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31528cd3cac75558beef4bce0ba21fd182a808ab..706f14210b7d782742b4fdbaea0adc25bdcced4d:/include/wx/textdlg.h diff --git a/include/wx/textdlg.h b/include/wx/textdlg.h index 564f6e14cf..7eb37741fc 100644 --- a/include/wx/textdlg.h +++ b/include/wx/textdlg.h @@ -1,25 +1,23 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: textdlg.h +// Purpose: wxTextEntryDialog class +// Author: Julian Smart +// Modified by: +// Created: 01/02/97 +// RCS-ID: $Id$ +// Copyright: (c) Julian Smart +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + #ifndef _WX_TEXTDLG_H_BASE_ #define _WX_TEXTDLG_H_BASE_ -#ifdef __WXGTK__ -#include "wx/gtk/textdlg.h" -#else #include "wx/generic/textdlgg.h" -#endif -// ---------------------------------------------------------------------------- -// function to get a number from user -// ---------------------------------------------------------------------------- +#if WXWIN_COMPATIBILITY_2_4 + // for wxGetNumberFromUser() + #include "wx/numdlg.h" +#endif // WXWIN_COMPATIBILITY_2_4 -long WXDLLEXPORT -wxGetNumberFromUser(const wxString& message, - const wxString& prompt, - const wxString& caption, - long value = 0, - long min = 0, - long max = 100, - wxWindow *parent = (wxWindow *)NULL, - const wxPoint& pos = wxDefaultPosition); +#endif // _WX_TEXTDLG_H_BASE_ -#endif - // _WX_TEXTDLG_H_BASE_