call static functions directly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2006-05-06 16:57:00 +00:00
parent 53ee60908a
commit 5625d0d4ca
5 changed files with 6 additions and 7 deletions

View File

@@ -471,8 +471,7 @@ bool wxWindow::Enable(bool enable)
bool wxWindow::IsFocused() const
{
wxWindow *self = wxConstCast(this, wxWindow);
return self->FindFocus() == self;
return FindFocus() == this;
}
bool wxWindow::IsPressed() const