X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..b3031762e87338b20e682af9278731aec1d123c6:/src/msw/nativdlg.cpp diff --git a/src/msw/nativdlg.cpp b/src/msw/nativdlg.cpp index 886418996f..9c3088c8bd 100644 --- a/src/msw/nativdlg.cpp +++ b/src/msw/nativdlg.cpp @@ -31,7 +31,7 @@ extern wxWindow *wxWndHook; extern LONG APIENTRY _EXPORT wxDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); -bool wxWindow::LoadNativeDialog(wxWindow* parent, const wxWindowID& id) +bool wxWindow::LoadNativeDialog(wxWindow* parent, wxWindowID& id) { m_windowId = id; wxWndHook = this; @@ -91,7 +91,7 @@ bool wxWindow::LoadNativeDialog(wxWindow* parent, const wxString& name) return TRUE; } -wxWindow* wxWindow::GetWindowChild1(const wxWindowID& id) +wxWindow* wxWindow::GetWindowChild1(wxWindowID& id) { if ( m_windowId == id ) return this; @@ -109,7 +109,7 @@ wxWindow* wxWindow::GetWindowChild1(const wxWindowID& id) return NULL; } -wxWindow* wxWindow::GetWindowChild(const wxWindowID& id) +wxWindow* wxWindow::GetWindowChild(wxWindowID& id) { wxWindow* win = GetWindowChild1(id); if ( !win )