]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Only update the size if the parent is a frame and the frame is
[wxWidgets.git] / src / common / toplvcmn.cpp
index 0146f40ab4553fe2d3f93eb6b4cff17f4bda493d..83361facd64902d08ebcabef78d360d76a82ad9b 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "toplevelbase.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -46,7 +42,7 @@ END_EVENT_TABLE()
 // implementation
 // ============================================================================
 
-IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
+IMPLEMENT_ABSTRACT_CLASS(wxTopLevelWindow, wxWindow)
 
 // ----------------------------------------------------------------------------
 // construction/destruction