Add optional label to wxFileDialogCustomize::AddTextCtrl()
Creating a text with a label is a common operation and can be implemented to look slightly better than AddStaticText() followed by AddTextCtrl() without a label when using IFileDialog.
This commit is contained in:
@@ -130,7 +130,7 @@ class wxFileDialogCustomize
|
||||
public:
|
||||
wxFileDialogButton* AddButton(const wxString& label);
|
||||
wxFileDialogCheckBox* AddCheckBox(const wxString& label);
|
||||
wxFileDialogTextCtrl* AddTextCtrl();
|
||||
wxFileDialogTextCtrl* AddTextCtrl(const wxString& label = wxString());
|
||||
wxFileDialogStaticText* AddStaticText(const wxString& label);
|
||||
|
||||
~wxFileDialogCustomize();
|
||||
|
||||
@@ -58,7 +58,7 @@ class wxFileDialogCustomizeImpl
|
||||
public:
|
||||
virtual wxFileDialogButtonImpl* AddButton(const wxString& label) = 0;
|
||||
virtual wxFileDialogCheckBoxImpl* AddCheckBox(const wxString& label) = 0;
|
||||
virtual wxFileDialogTextCtrlImpl* AddTextCtrl() = 0;
|
||||
virtual wxFileDialogTextCtrlImpl* AddTextCtrl(const wxString& label) = 0;
|
||||
virtual wxFileDialogStaticTextImpl* AddStaticText(const wxString& label) = 0;
|
||||
|
||||
virtual ~wxFileDialogCustomizeImpl();
|
||||
|
||||
Reference in New Issue
Block a user