made wxNumberEntryDialog public; extracted it and wxGetNumberFromUser() in a separate header (patch 882545)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-02-07 13:55:49 +00:00
parent 7d0bf46a34
commit fc5414a1c6
5 changed files with 129 additions and 53 deletions

View File

@@ -1,21 +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_
#include "wx/generic/textdlgg.h"
// ----------------------------------------------------------------------------
// 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_