X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..aa33452c949f27fb1f7b7bcdc26d82ceb6aa453a:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index ccba8e7c53..7af94827f8 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -427,7 +427,7 @@ bool wxWindowBase::Enable(bool enable) bool wxWindowBase::IsTopLevel() const { - return wxDynamicCast(this, wxFrame) || wxDynamicCast(this, wxDialog); + return FALSE; } // ----------------------------------------------------------------------------