]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
fix the run-time behaviour after the last compilation fixing patch
[wxWidgets.git] / include / wx / toplevel.h
index 5b4c1cd0b321770d8c95ceccda35f4ea00172543..98c2bd6b491ace60761d493af82a3387a966c542 100644 (file)
@@ -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