Make wxPGCanvas accept focus even with child windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-09-30 11:34:19 +00:00
parent 1e6935a670
commit 7a8092229f

View File

@@ -422,6 +422,11 @@ protected:
void OnPaint( wxPaintEvent& event );
// Always be focussable, even with child windows
virtual void SetCanFocus(bool WXUNUSED(canFocus))
{ wxPanel::SetCanFocus(true); }
private:
DECLARE_EVENT_TABLE()
DECLARE_ABSTRACT_CLASS(wxPGCanvas)