wxWidgets/interface/wx/numdlg.h
Vadim Zeitlin 526954c596 Globally use "wxWindows licence" consistently.
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.

See #12165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00

38 lines
1.4 KiB
C

/////////////////////////////////////////////////////////////////////////////
// Name: numdlg.h
// Purpose: interface of global functions
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/** @addtogroup group_funcmacro_dialog */
//@{
/**
Shows a dialog asking the user for numeric input. The dialogs title is set
to @c caption, it contains a (possibly) multiline @c message above the
single line @c prompt and the zone for entering the number.
The number entered must be in the range @c min to @c max (both of which
should be positive) and @c value is the initial value of it. If the user
enters an invalid value, it is forced to fall into the specified range. If
the user cancels the dialog, the function returns -1.
Dialog is centered on its @c parent unless an explicit position is given
in @c pos.
@header{wx/numdlg.h}
*/
long wxGetNumberFromUser(const wxString& message,
const wxString& prompt,
const wxString& caption,
long value,
long min = 0,
long max = 100,
wxWindow* parent = NULL,
const wxPoint& pos = wxDefaultPosition);
//@}