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