// headers
// ----------------------------------------------------------------------------
-#include "wx/window.h"
+#include "wx/nonownedwnd.h"
#include "wx/iconbndl.h"
// the default names for various classes
// wxTopLevelWindow: a top level (as opposed to child) window
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTopLevelWindowBase : public wxWindow
+class WXDLLEXPORT wxTopLevelWindowBase : public wxNonOwnedWindow
{
public:
// construction