Derive wxGenericFileCtrl from wxControl.

wxFileCtrl -- which can be #define'd as wxGenericFileCtrl -- is documented to
inherit from wxControl and does derive from it in the native GTK version, so
do it for the generic version too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-05-04 22:20:55 +00:00
parent 43868fdedc
commit 5804d539be
2 changed files with 9 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
#if wxUSE_FILECTRL
#include "wx/panel.h"
#include "wx/containr.h"
#include "wx/listctrl.h"
#include "wx/filectrl.h"
#include "wx/filename.h"
@@ -182,7 +182,7 @@ private:
DECLARE_EVENT_TABLE()
};
class WXDLLIMPEXP_CORE wxGenericFileCtrl : public wxPanel,
class WXDLLIMPEXP_CORE wxGenericFileCtrl : public wxNavigationEnabled<wxControl>,
public wxFileCtrlBase
{
public: