Be explicit we don't care about the wxID of the control

This commit is contained in:
Ian McInerney 2021-04-16 15:07:03 +01:00
parent 3a6a919097
commit 0bdce00c42
1 changed files with 3 additions and 3 deletions

View File

@ -222,7 +222,7 @@ class TEXT_BUTTON_FP_CHOOSER : public wxComboCtrl
public:
TEXT_BUTTON_FP_CHOOSER( wxWindow* aParent, DIALOG_SHIM* aParentDlg,
const wxString& aPreselect ) :
wxComboCtrl( aParent, -1, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxComboCtrl( aParent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxTE_PROCESS_ENTER ),
m_dlg( aParentDlg ),
m_preselect( aPreselect )
@ -281,7 +281,7 @@ class TEXT_BUTTON_URL : public wxComboCtrl
{
public:
TEXT_BUTTON_URL( wxWindow* aParent, DIALOG_SHIM* aParentDlg ) :
wxComboCtrl( aParent, -1, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxComboCtrl( aParent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxTE_PROCESS_ENTER ),
m_dlg( aParentDlg )
{
@ -333,7 +333,7 @@ public:
wxString* aCurrentDir, wxString* aExt = nullptr,
bool aNormalize = false,
wxString aNormalizeBasePath = wxEmptyString ) :
wxComboCtrl( aParent, -1, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxComboCtrl( aParent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
wxTE_PROCESS_ENTER ),
m_dlg( aParentDlg ),
m_grid( aGrid ),