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:
@@ -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
|
||||
|
Reference in New Issue
Block a user