]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
wxStrnicmp() function is not defined under windows, so I've provided a workaround...
[wxWidgets.git] / src / common / wincmn.cpp
index ccba8e7c5370a7fddc60655c643d672706ffb163..7af94827f8e059b9553afb5925111f753c752076 100644 (file)
@@ -427,7 +427,7 @@ bool wxWindowBase::Enable(bool enable)
 
 bool wxWindowBase::IsTopLevel() const
 {
-    return wxDynamicCast(this, wxFrame) || wxDynamicCast(this, wxDialog);
+    return FALSE;
 }
 
 // ----------------------------------------------------------------------------