added default ctor and Create() to wxRearrangeDialog for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -266,9 +266,30 @@ public:
|
||||
class wxRearrangeDialog
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Default constructor.
|
||||
|
||||
Create() must be called later to effectively create the control.
|
||||
*/
|
||||
wxRearrangeDialog();
|
||||
|
||||
/**
|
||||
Constructor creating the dialog.
|
||||
|
||||
Please see Create() for the parameters description.
|
||||
*/
|
||||
wxRearrangeDialog(wxWindow *parent,
|
||||
const wxString& message,
|
||||
const wxString& title,
|
||||
const wxArrayInt& order,
|
||||
const wxArrayString& items,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxString& name = wxRearrangeDialogNameStr);
|
||||
|
||||
/**
|
||||
Effectively creates the dialog for an object created using the default
|
||||
constructor.
|
||||
|
||||
@param parent
|
||||
The dialog parent, possibly @NULL.
|
||||
@param message
|
||||
@@ -284,14 +305,17 @@ public:
|
||||
Optional dialog position.
|
||||
@param name
|
||||
Optional dialog name.
|
||||
@return
|
||||
@true if the dialog was successfully created or @false if creation
|
||||
failed.
|
||||
*/
|
||||
wxRearrangeDialog(wxWindow *parent,
|
||||
const wxString& message,
|
||||
const wxString& title,
|
||||
const wxArrayInt& order,
|
||||
const wxArrayString& items,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxString& name = wxRearrangeDialogNameStr);
|
||||
bool Create(wxWindow *parent,
|
||||
const wxString& message,
|
||||
const wxString& title,
|
||||
const wxArrayInt& order,
|
||||
const wxArrayString& items,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxString& name = wxRearrangeDialogNameStr);
|
||||
|
||||
/**
|
||||
Return the array describing the order of items after it was modified by
|
||||
|
Reference in New Issue
Block a user