X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3498362ed5759522a9664a70e4da819e51bd2fbe..6580df1b72539453610530247a0b3bea8dad172a:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 5b4c1cd0b3..98c2bd6b49 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -18,7 +18,7 @@ // headers // ---------------------------------------------------------------------------- -#include "wx/window.h" +#include "wx/nonownedwnd.h" #include "wx/iconbndl.h" // the default names for various classes @@ -115,7 +115,7 @@ enum // wxTopLevelWindow: a top level (as opposed to child) window // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxTopLevelWindowBase : public wxWindow +class WXDLLEXPORT wxTopLevelWindowBase : public wxNonOwnedWindow { public: // construction