This was done, apparently accidentally, by r68366 and resulted in cursor arrow
keys not being sent by default to the wxFrame children under MSW any more as
they were used for dialog navigation instead.
So don't derive wxTopLevelWindow from wxNavigationEnabled<> any more and only
derive from it at wxDialog level.
Closes #15445.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74722
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef _WX_DIALOG_H_BASE_
#define _WX_DIALOG_H_BASE_
-#include "wx/defs.h"
#include "wx/toplevel.h"
+#include "wx/containr.h"
class WXDLLIMPEXP_FWD_CORE wxSizer;
class WXDLLIMPEXP_FWD_CORE wxStdDialogButtonSizer;
extern WXDLLIMPEXP_DATA_CORE(const char) wxDialogNameStr[];
-class WXDLLIMPEXP_CORE wxDialogBase : public wxTopLevelWindow
+class WXDLLIMPEXP_CORE wxDialogBase : public wxNavigationEnabled<wxTopLevelWindow>
{
public:
wxDialogBase();
#include "wx/nonownedwnd.h"
#include "wx/iconbndl.h"
-#include "wx/containr.h"
#include "wx/weakref.h"
// the default names for various classes
// wxTopLevelWindow: a top level (as opposed to child) window
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxTopLevelWindowBase :
- public wxNavigationEnabled<wxNonOwnedWindow>
+class WXDLLIMPEXP_CORE wxTopLevelWindowBase : public wxNonOwnedWindow
{
public:
// construction