made FindWindow() member functions const (this makes it possible to use XRCCTRL() in const methods)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-01-07 23:51:04 +00:00
parent e3d64157d7
commit 6b73af793f
3 changed files with 6 additions and 6 deletions

View File

@@ -570,8 +570,8 @@ public:
// find window among the descendants of this one either by id or by
// name (return NULL if not found)
wxWindow *FindWindow( long winid );
wxWindow *FindWindow( const wxString& name );
wxWindow *FindWindow(long winid) const;
wxWindow *FindWindow(const wxString& name) const;
// Find a window among any window (all return NULL if not found)
static wxWindow *FindWindowById( long winid, const wxWindow *parent = NULL );